Known changes that require a major version (v2)
List of changes we want to do that would require a new major version of Designsystemet according to semver.
Search for @deprecated comments in code. Remove when applicable.
Other known deprecations:
- Remove deprecated
Combobox(whenSuggestionis out of experimental) #2610 - Remove deprecated CSS variable #3405
- Remove
skiplink.cssandtogglegroup.css#3829 - Remove
@digdir/designsystemet-react/colors#3848 - Remove deprecated
color.d.ts(generated fromtokens build) #3837 - Remove some exported React hooks, contenders: #3849
useMediaQueryuseDebounceCallbackuseIsomorphicLayoutEffectuseSynchronizedAnimation
- "typography" #3646
- "Default color names" #4053
Delete skiplink.css and togglegoup.css (skip-link and toggle-group replaces) #3829
Look at https://github.com/digdir/designsystemet/issues/2449 again
- Consolidate to a single package?
- Use data-props in React too?
- Move component tokens to
:root? - Simplify Card? (compound compoent now)
- Add Flex/Grid primitives?
- Remove utility-classes?
- Consolidate to a single package?
Could you elaborate? We currently have multiple packages so consumers only use what they need, without having to install a lot of dependencies.
- Use data-props in React too?
I want to implement this is v1, and deprecate the non data- props :) Seems weird to have a prop that just maps to data-NAME...
- Add Flex/Grid primitives?
Can do this without V2 :)