digdir / designsystemet Goto Github PK
View Code? Open in Web Editor NEWDesignsystemet
Home Page: https://designsystemet.no
License: MIT License
Designsystemet
Home Page: https://designsystemet.no
License: MIT License
Some of the components we make are not standard html components and need to be correctly specified and developed so that they work as excpected.
With the org licence we will have:
Tag
component instead.When resizing window (storybook) the component seems to be a fix width and does not scale.
There should be two sizes: Medium with 18px, and Small with 16px font size both for label, description and options. Seems like the options is larger than the selected text.
Should be named "Single select" and "Multi select" instead of "Flervalgsmeny" and E"nkel"
See Figma sketches for correct design:
https://www.figma.com/file/vpM9dqqQPHqU6ogfKp5tlr/DDS---Core-Components?node-id=7577%3A43639&t=xlYDTn7VXmpckqPy-1
Go to https://digdir.github.io/designsystem/?path=/story/kjernekomponenter-select-flervalgsmeny--normal to reproduce the behavior.
No response
Link
Link to correct placement in our Figma component library.
<meta name="robots" content="noindex">
Prøve å lage "preview-head.html" file i ".storybook" mappa og putte meta taggen inn der: https://storybook.js.org/docs/react/configure/story-rendering
In order to add custom formatting and components to labels, descriptions etc., it is not sufficient to take in these properties as simple strings. I suggest changing their type to React.ReactNode
. This will make it possible to use the design system components in the preview mode of the form builder in Altinn Studio:
Workshop med Marked/Kom
Det er satt opp to økter med Marked og Kom 8.juni.
Text-area er påbegynt i denne issuen, men mangler noen detaljer fra Figma-designet:
Popover
Link to correct placement in our Figma component library.
https://www.figma.com/file/vpM9dqqQPHqU6ogfKp5tlr/DDS---Core-Components?node-id=10702%3A68732&t=gzm3ed7E13uV63R1-1
Notes:
Features:
Issue in app-frontend-react for tracking purposes: https://github.com/orgs/Altinn/projects/39/views/2?pane=issue&itemId=18161239
Related issues:
Lage en docs-component i storybook som henter ut changelog fra github og viser den på tokens siden i storybook.
Vi må finne ut hva som blir viktigst av komponenter fremover, slik at design kan ligge i forkant av utvikling
Remove this: https://altinn.github.io/DesignSystem/ from google search.
Add a PR to https://github.com/Altinn/DesignSystem
metatag i header som gjør at den ikke indekseres i søkemotorer:
<meta name="robots" content="noindex">
Legge til en commit-regel i repoet som tvinger brukere til å følge conventional-commits standarden. Konsekvensen av denne endringen er at brukere får ikke lov til å commite om det ikke følger standarden.
Link to correct placement in our Figma component library
Vi bruker Storybook som mellomløsning inntil videre, med mål om å lage en egen dokumentasjonsside senere. React komponentene vi bygger opp i markdown filene kan flyttes over til ny løsning (ikonsøk, komponent-bruk osv). NAV bruker https://www.sanity.io/, og har en react-app som konsumerer CMSet via et API. Siden det er et CMS, gir det alle med tilgang gode redigeringsmuligheter på nettsiden.
Kanskje vi bør vurdere å ikke vise de overskriftene som ikke er egne sider i venstremenyen. Det blir litt voldsomt. Er dette mulig @Thuneer ? :) Slik at vi under Select viser kun "Enkel" og "Flervalgsmeny".
Description
Because of lisens issues and lacking functionality on FF DIN and Altinn-DIN we have to find one font that we can use on all our products. After reviewing different potensial Open Source fonts we landed on Inter as the best solution.
The font should be replaced in all components and texts in Figma. Inter is larger than the previous used DIN-font, so we should make sure it aligns correct in different contexts, and that the vertical space inside containers is correct.
In scope
Before we can remove the components from Altinn Storybook, we need to publish the new design system as an NPM package.
(Se kommentar fra Dorthe/Gørild i Figma)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.