@vaneui/ui 1.4.4 → 1.4.5-alpha.20261029101344.297c4e3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +115 -75
- package/dist/cjs/components/defaultTheme.cjs +6 -0
- package/dist/cjs/components/defaultTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/button/defaultButtonSpinnerTheme.cjs +0 -1
- package/dist/cjs/components/ui/button/defaultButtonSpinnerTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/card/CardCategories.cjs +3 -0
- package/dist/cjs/components/ui/card/CardCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxCheckTheme.cjs +0 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxCheckTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxIndeterminateTheme.cjs +0 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxIndeterminateTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxTheme.cjs +0 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxWrapperTheme.cjs +0 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/col/ColCategories.cjs +3 -0
- package/dist/cjs/components/ui/col/ColCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/divider/defaultDividerTheme.cjs +0 -1
- package/dist/cjs/components/ui/divider/defaultDividerTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/grid/gridSubThemes.cjs +10 -2
- package/dist/cjs/components/ui/grid/gridSubThemes.cjs.map +1 -1
- package/dist/cjs/components/ui/img/ImgCategories.cjs +1 -1
- package/dist/cjs/components/ui/img/ImgCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/img/defaultImgTheme.cjs +3 -1
- package/dist/cjs/components/ui/img/defaultImgTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/input/defaultInputErrorIconTheme.cjs +0 -1
- package/dist/cjs/components/ui/input/defaultInputErrorIconTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/input/defaultInputTheme.cjs +0 -1
- package/dist/cjs/components/ui/input/defaultInputTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs +0 -1
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkCategories.cjs +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/navLink/defaultNavLinkTheme.cjs +5 -0
- package/dist/cjs/components/ui/navLink/defaultNavLinkTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/progress/Progress.cjs +48 -0
- package/dist/cjs/components/ui/progress/Progress.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs +6 -0
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs +6 -0
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/defaultProgressFillTheme.cjs +40 -0
- package/dist/cjs/components/ui/progress/defaultProgressFillTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/defaultProgressTheme.cjs +45 -0
- package/dist/cjs/components/ui/progress/defaultProgressTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/index.cjs +20 -0
- package/dist/cjs/components/ui/progress/index.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/progressDefaults.cjs +15 -0
- package/dist/cjs/components/ui/progress/progressDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/progress/progressFillDefaults.cjs +13 -0
- package/dist/cjs/components/ui/progress/progressFillDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/props/categoryBuilders.cjs +18 -3
- package/dist/cjs/components/ui/props/categoryBuilders.cjs.map +1 -1
- package/dist/cjs/components/ui/props/index.cjs +5 -0
- package/dist/cjs/components/ui/props/index.cjs.map +1 -1
- package/dist/cjs/components/ui/props/keys.cjs +20 -4
- package/dist/cjs/components/ui/props/keys.cjs.map +1 -1
- package/dist/cjs/components/ui/props/propDescriptions.cjs +46 -1
- package/dist/cjs/components/ui/props/propDescriptions.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/defaultRadioDotTheme.cjs +0 -1
- package/dist/cjs/components/ui/radio/defaultRadioDotTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs +0 -1
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs +0 -1
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/section/SectionCategories.cjs +1 -1
- package/dist/cjs/components/ui/section/SectionCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/select/defaultSelectChevronTheme.cjs +0 -1
- package/dist/cjs/components/ui/select/defaultSelectChevronTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/select/defaultSelectTheme.cjs +0 -1
- package/dist/cjs/components/ui/select/defaultSelectTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs +0 -1
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/spinner/defaultSpinnerTheme.cjs +0 -1
- package/dist/cjs/components/ui/spinner/defaultSpinnerTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/defaultSwitchTheme.cjs +0 -1
- package/dist/cjs/components/ui/switch/defaultSwitchTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/defaultSwitchThumbTheme.cjs +0 -1
- package/dist/cjs/components/ui/switch/defaultSwitchThumbTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.cjs +0 -1
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs +0 -1
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/shadowAppearanceClassMapper.cjs +13 -7
- package/dist/cjs/components/ui/theme/appearance/shadowAppearanceClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/strongBorderClassMapper.cjs +16 -0
- package/dist/cjs/components/ui/theme/appearance/strongBorderClassMapper.cjs.map +1 -0
- package/dist/cjs/components/ui/theme/common/layoutClassMappers.cjs +7 -1
- package/dist/cjs/components/ui/theme/common/layoutClassMappers.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/defaults.cjs +27 -5
- package/dist/cjs/components/ui/theme/defaults.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/index.cjs +2 -2
- package/dist/cjs/components/ui/theme/layout/dividedClassMapper.cjs +16 -0
- package/dist/cjs/components/ui/theme/layout/dividedClassMapper.cjs.map +1 -0
- package/dist/cjs/components/ui/theme/layout/indicatorClassMapper.cjs +17 -0
- package/dist/cjs/components/ui/theme/layout/indicatorClassMapper.cjs.map +1 -0
- package/dist/cjs/components/ui/theme/size/gapClassMapper.cjs +1 -1
- package/dist/cjs/components/ui/theme/size/gapClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/index.cjs +1 -0
- package/dist/cjs/components/ui/typography/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +31 -20
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/defaultTheme.mjs +6 -0
- package/dist/esm/components/defaultTheme.mjs.map +1 -1
- package/dist/esm/components/ui/button/defaultButtonSpinnerTheme.mjs +0 -1
- package/dist/esm/components/ui/button/defaultButtonSpinnerTheme.mjs.map +1 -1
- package/dist/esm/components/ui/card/CardCategories.mjs +4 -1
- package/dist/esm/components/ui/card/CardCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxCheckTheme.mjs +0 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxCheckTheme.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxIndeterminateTheme.mjs +0 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxIndeterminateTheme.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxTheme.mjs +0 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxTheme.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxWrapperTheme.mjs +0 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/col/ColCategories.mjs +4 -1
- package/dist/esm/components/ui/col/ColCategories.mjs.map +1 -1
- package/dist/esm/components/ui/divider/defaultDividerTheme.mjs +0 -1
- package/dist/esm/components/ui/divider/defaultDividerTheme.mjs.map +1 -1
- package/dist/esm/components/ui/grid/gridSubThemes.mjs +10 -2
- package/dist/esm/components/ui/grid/gridSubThemes.mjs.map +1 -1
- package/dist/esm/components/ui/img/ImgCategories.mjs +1 -1
- package/dist/esm/components/ui/img/ImgCategories.mjs.map +1 -1
- package/dist/esm/components/ui/img/defaultImgTheme.mjs +3 -1
- package/dist/esm/components/ui/img/defaultImgTheme.mjs.map +1 -1
- package/dist/esm/components/ui/input/defaultInputErrorIconTheme.mjs +0 -1
- package/dist/esm/components/ui/input/defaultInputErrorIconTheme.mjs.map +1 -1
- package/dist/esm/components/ui/input/defaultInputTheme.mjs +0 -1
- package/dist/esm/components/ui/input/defaultInputTheme.mjs.map +1 -1
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs +0 -1
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs.map +1 -1
- package/dist/esm/components/ui/navLink/NavLinkCategories.mjs +2 -2
- package/dist/esm/components/ui/navLink/NavLinkCategories.mjs.map +1 -1
- package/dist/esm/components/ui/navLink/defaultNavLinkTheme.mjs +5 -0
- package/dist/esm/components/ui/navLink/defaultNavLinkTheme.mjs.map +1 -1
- package/dist/esm/components/ui/progress/Progress.mjs +46 -0
- package/dist/esm/components/ui/progress/Progress.mjs.map +1 -0
- package/dist/esm/components/ui/progress/ProgressCategories.mjs +4 -0
- package/dist/esm/components/ui/progress/ProgressCategories.mjs.map +1 -0
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs +4 -0
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs.map +1 -0
- package/dist/esm/components/ui/progress/defaultProgressFillTheme.mjs +38 -0
- package/dist/esm/components/ui/progress/defaultProgressFillTheme.mjs.map +1 -0
- package/dist/esm/components/ui/progress/defaultProgressTheme.mjs +43 -0
- package/dist/esm/components/ui/progress/defaultProgressTheme.mjs.map +1 -0
- package/dist/esm/components/ui/progress/index.mjs +8 -0
- package/dist/esm/components/ui/progress/index.mjs.map +1 -0
- package/dist/esm/components/ui/progress/progressDefaults.mjs +13 -0
- package/dist/esm/components/ui/progress/progressDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/progress/progressFillDefaults.mjs +11 -0
- package/dist/esm/components/ui/progress/progressFillDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/props/categoryBuilders.mjs +15 -4
- package/dist/esm/components/ui/props/categoryBuilders.mjs.map +1 -1
- package/dist/esm/components/ui/props/index.mjs +2 -1
- package/dist/esm/components/ui/props/index.mjs.map +1 -1
- package/dist/esm/components/ui/props/keys.mjs +18 -6
- package/dist/esm/components/ui/props/keys.mjs.map +1 -1
- package/dist/esm/components/ui/props/propDescriptions.mjs +46 -1
- package/dist/esm/components/ui/props/propDescriptions.mjs.map +1 -1
- package/dist/esm/components/ui/radio/defaultRadioDotTheme.mjs +0 -1
- package/dist/esm/components/ui/radio/defaultRadioDotTheme.mjs.map +1 -1
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs +0 -1
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs.map +1 -1
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs +0 -1
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/section/SectionCategories.mjs +2 -2
- package/dist/esm/components/ui/section/SectionCategories.mjs.map +1 -1
- package/dist/esm/components/ui/select/defaultSelectChevronTheme.mjs +0 -1
- package/dist/esm/components/ui/select/defaultSelectChevronTheme.mjs.map +1 -1
- package/dist/esm/components/ui/select/defaultSelectTheme.mjs +0 -1
- package/dist/esm/components/ui/select/defaultSelectTheme.mjs.map +1 -1
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs +0 -1
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/spinner/defaultSpinnerTheme.mjs +0 -1
- package/dist/esm/components/ui/spinner/defaultSpinnerTheme.mjs.map +1 -1
- package/dist/esm/components/ui/switch/defaultSwitchTheme.mjs +0 -1
- package/dist/esm/components/ui/switch/defaultSwitchTheme.mjs.map +1 -1
- package/dist/esm/components/ui/switch/defaultSwitchThumbTheme.mjs +0 -1
- package/dist/esm/components/ui/switch/defaultSwitchThumbTheme.mjs.map +1 -1
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs +0 -1
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs +0 -1
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/shadowAppearanceClassMapper.mjs +13 -7
- package/dist/esm/components/ui/theme/appearance/shadowAppearanceClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/strongBorderClassMapper.mjs +14 -0
- package/dist/esm/components/ui/theme/appearance/strongBorderClassMapper.mjs.map +1 -0
- package/dist/esm/components/ui/theme/common/layoutClassMappers.mjs +7 -1
- package/dist/esm/components/ui/theme/common/layoutClassMappers.mjs.map +1 -1
- package/dist/esm/components/ui/theme/defaults.mjs +27 -5
- package/dist/esm/components/ui/theme/defaults.mjs.map +1 -1
- package/dist/esm/components/ui/theme/index.mjs +1 -1
- package/dist/esm/components/ui/theme/layout/dividedClassMapper.mjs +14 -0
- package/dist/esm/components/ui/theme/layout/dividedClassMapper.mjs.map +1 -0
- package/dist/esm/components/ui/theme/layout/indicatorClassMapper.mjs +15 -0
- package/dist/esm/components/ui/theme/layout/indicatorClassMapper.mjs.map +1 -0
- package/dist/esm/components/ui/theme/size/gapClassMapper.mjs +1 -1
- package/dist/esm/components/ui/theme/size/gapClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/typography/index.mjs +1 -0
- package/dist/esm/components/ui/typography/index.mjs.map +1 -1
- package/dist/esm/index.mjs +20 -10
- package/dist/esm/index.mjs.map +1 -1
- package/dist/tokens.css +112 -96
- package/dist/types/components/themeTypes.d.cts +8 -0
- package/dist/types/components/themeTypes.d.mts +8 -0
- package/dist/types/components/themeTypes.d.ts +8 -0
- package/dist/types/components/ui/card/Card.d.cts +1 -1
- package/dist/types/components/ui/card/Card.d.mts +1 -1
- package/dist/types/components/ui/card/Card.d.ts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardProps.d.cts +2 -2
- package/dist/types/components/ui/card/CardProps.d.mts +2 -2
- package/dist/types/components/ui/card/CardProps.d.ts +2 -2
- package/dist/types/components/ui/col/Col.d.cts +1 -1
- package/dist/types/components/ui/col/Col.d.mts +1 -1
- package/dist/types/components/ui/col/Col.d.ts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.cts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.mts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.ts +1 -1
- package/dist/types/components/ui/col/ColProps.d.cts +2 -2
- package/dist/types/components/ui/col/ColProps.d.mts +2 -2
- package/dist/types/components/ui/col/ColProps.d.ts +2 -2
- package/dist/types/components/ui/container/Container.d.cts +1 -1
- package/dist/types/components/ui/container/Container.d.mts +1 -1
- package/dist/types/components/ui/container/Container.d.ts +1 -1
- package/dist/types/components/ui/container/ContainerProps.d.cts +2 -2
- package/dist/types/components/ui/container/ContainerProps.d.mts +2 -2
- package/dist/types/components/ui/container/ContainerProps.d.ts +2 -2
- package/dist/types/components/ui/field/Field.d.cts +14 -0
- package/dist/types/components/ui/field/Field.d.mts +14 -0
- package/dist/types/components/ui/field/Field.d.ts +14 -0
- package/dist/types/components/ui/grid/Grid2.d.cts +1 -1
- package/dist/types/components/ui/grid/Grid2.d.mts +1 -1
- package/dist/types/components/ui/grid/Grid2.d.ts +1 -1
- package/dist/types/components/ui/grid/Grid3.d.cts +1 -1
- package/dist/types/components/ui/grid/Grid3.d.mts +1 -1
- package/dist/types/components/ui/grid/Grid3.d.ts +1 -1
- package/dist/types/components/ui/grid/Grid4.d.cts +1 -1
- package/dist/types/components/ui/grid/Grid4.d.mts +1 -1
- package/dist/types/components/ui/grid/Grid4.d.ts +1 -1
- package/dist/types/components/ui/grid/Grid5.d.cts +1 -1
- package/dist/types/components/ui/grid/Grid5.d.mts +1 -1
- package/dist/types/components/ui/grid/Grid5.d.ts +1 -1
- package/dist/types/components/ui/grid/Grid6.d.cts +1 -1
- package/dist/types/components/ui/grid/Grid6.d.mts +1 -1
- package/dist/types/components/ui/grid/Grid6.d.ts +1 -1
- package/dist/types/components/ui/grid/GridProps.d.cts +2 -2
- package/dist/types/components/ui/grid/GridProps.d.mts +2 -2
- package/dist/types/components/ui/grid/GridProps.d.ts +2 -2
- package/dist/types/components/ui/grid/GridTheme.d.cts +6 -2
- package/dist/types/components/ui/grid/GridTheme.d.mts +6 -2
- package/dist/types/components/ui/grid/GridTheme.d.ts +6 -2
- package/dist/types/components/ui/img/Img.d.cts +1 -1
- package/dist/types/components/ui/img/Img.d.mts +1 -1
- package/dist/types/components/ui/img/Img.d.ts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.cts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.mts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.ts +1 -1
- package/dist/types/components/ui/img/ImgProps.d.cts +2 -2
- package/dist/types/components/ui/img/ImgProps.d.mts +2 -2
- package/dist/types/components/ui/img/ImgProps.d.ts +2 -2
- package/dist/types/components/ui/img/ImgTheme.d.cts +2 -1
- package/dist/types/components/ui/img/ImgTheme.d.mts +2 -1
- package/dist/types/components/ui/img/ImgTheme.d.ts +2 -1
- package/dist/types/components/ui/navLink/NavLink.d.cts +1 -1
- package/dist/types/components/ui/navLink/NavLink.d.mts +1 -1
- package/dist/types/components/ui/navLink/NavLink.d.ts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.cts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.mts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.ts +1 -1
- package/dist/types/components/ui/navLink/NavLinkProps.d.cts +2 -2
- package/dist/types/components/ui/navLink/NavLinkProps.d.mts +2 -2
- package/dist/types/components/ui/navLink/NavLinkProps.d.ts +2 -2
- package/dist/types/components/ui/navLink/NavLinkTheme.d.cts +7 -2
- package/dist/types/components/ui/navLink/NavLinkTheme.d.mts +7 -2
- package/dist/types/components/ui/navLink/NavLinkTheme.d.ts +7 -2
- package/dist/types/components/ui/navLink/defaultNavLinkTheme.d.cts +2 -1
- package/dist/types/components/ui/navLink/defaultNavLinkTheme.d.mts +2 -1
- package/dist/types/components/ui/navLink/defaultNavLinkTheme.d.ts +2 -1
- package/dist/types/components/ui/progress/Progress.d.cts +5 -0
- package/dist/types/components/ui/progress/Progress.d.mts +5 -0
- package/dist/types/components/ui/progress/Progress.d.ts +5 -0
- package/dist/types/components/ui/progress/ProgressCategories.d.cts +1 -0
- package/dist/types/components/ui/progress/ProgressCategories.d.mts +1 -0
- package/dist/types/components/ui/progress/ProgressCategories.d.ts +1 -0
- package/dist/types/components/ui/progress/ProgressFillCategories.d.cts +2 -0
- package/dist/types/components/ui/progress/ProgressFillCategories.d.mts +2 -0
- package/dist/types/components/ui/progress/ProgressFillCategories.d.ts +2 -0
- package/dist/types/components/ui/progress/ProgressFillProps.d.cts +7 -0
- package/dist/types/components/ui/progress/ProgressFillProps.d.mts +7 -0
- package/dist/types/components/ui/progress/ProgressFillProps.d.ts +7 -0
- package/dist/types/components/ui/progress/ProgressFillTheme.d.cts +15 -0
- package/dist/types/components/ui/progress/ProgressFillTheme.d.mts +15 -0
- package/dist/types/components/ui/progress/ProgressFillTheme.d.ts +15 -0
- package/dist/types/components/ui/progress/ProgressProps.d.cts +11 -0
- package/dist/types/components/ui/progress/ProgressProps.d.mts +11 -0
- package/dist/types/components/ui/progress/ProgressProps.d.ts +11 -0
- package/dist/types/components/ui/progress/ProgressTheme.d.cts +20 -0
- package/dist/types/components/ui/progress/ProgressTheme.d.mts +20 -0
- package/dist/types/components/ui/progress/ProgressTheme.d.ts +20 -0
- package/dist/types/components/ui/progress/defaultProgressFillTheme.d.cts +4 -0
- package/dist/types/components/ui/progress/defaultProgressFillTheme.d.mts +4 -0
- package/dist/types/components/ui/progress/defaultProgressFillTheme.d.ts +4 -0
- package/dist/types/components/ui/progress/defaultProgressTheme.d.cts +4 -0
- package/dist/types/components/ui/progress/defaultProgressTheme.d.mts +4 -0
- package/dist/types/components/ui/progress/defaultProgressTheme.d.ts +4 -0
- package/dist/types/components/ui/progress/index.d.cts +11 -0
- package/dist/types/components/ui/progress/index.d.mts +11 -0
- package/dist/types/components/ui/progress/index.d.ts +11 -0
- package/dist/types/components/ui/progress/progressDefaults.d.cts +3 -0
- package/dist/types/components/ui/progress/progressDefaults.d.mts +3 -0
- package/dist/types/components/ui/progress/progressDefaults.d.ts +3 -0
- package/dist/types/components/ui/progress/progressFillDefaults.d.cts +3 -0
- package/dist/types/components/ui/progress/progressFillDefaults.d.mts +3 -0
- package/dist/types/components/ui/progress/progressFillDefaults.d.ts +3 -0
- package/dist/types/components/ui/props/categoryBuilders.d.cts +11 -7
- package/dist/types/components/ui/props/categoryBuilders.d.mts +11 -7
- package/dist/types/components/ui/props/categoryBuilders.d.ts +11 -7
- package/dist/types/components/ui/props/dividedProps.d.cts +7 -0
- package/dist/types/components/ui/props/dividedProps.d.mts +7 -0
- package/dist/types/components/ui/props/dividedProps.d.ts +7 -0
- package/dist/types/components/ui/props/indicatorProps.d.cts +9 -0
- package/dist/types/components/ui/props/indicatorProps.d.mts +9 -0
- package/dist/types/components/ui/props/indicatorProps.d.ts +9 -0
- package/dist/types/components/ui/props/keys.d.cts +22 -6
- package/dist/types/components/ui/props/keys.d.mts +22 -6
- package/dist/types/components/ui/props/keys.d.ts +22 -6
- package/dist/types/components/ui/props/props.d.cts +3 -0
- package/dist/types/components/ui/props/props.d.mts +3 -0
- package/dist/types/components/ui/props/props.d.ts +3 -0
- package/dist/types/components/ui/props/shadowProps.d.cts +11 -1
- package/dist/types/components/ui/props/shadowProps.d.mts +11 -1
- package/dist/types/components/ui/props/shadowProps.d.ts +11 -1
- package/dist/types/components/ui/props/strongBorderProps.d.cts +7 -0
- package/dist/types/components/ui/props/strongBorderProps.d.mts +7 -0
- package/dist/types/components/ui/props/strongBorderProps.d.ts +7 -0
- package/dist/types/components/ui/radio/RadioCategories.d.cts +1 -1
- package/dist/types/components/ui/radio/RadioCategories.d.mts +1 -1
- package/dist/types/components/ui/radio/RadioCategories.d.ts +1 -1
- package/dist/types/components/ui/row/Row.d.cts +1 -1
- package/dist/types/components/ui/row/Row.d.mts +1 -1
- package/dist/types/components/ui/row/Row.d.ts +1 -1
- package/dist/types/components/ui/row/RowProps.d.cts +2 -2
- package/dist/types/components/ui/row/RowProps.d.mts +2 -2
- package/dist/types/components/ui/row/RowProps.d.ts +2 -2
- package/dist/types/components/ui/section/Section.d.cts +1 -1
- package/dist/types/components/ui/section/Section.d.mts +1 -1
- package/dist/types/components/ui/section/Section.d.ts +1 -1
- package/dist/types/components/ui/section/SectionCategories.d.cts +1 -1
- package/dist/types/components/ui/section/SectionCategories.d.mts +1 -1
- package/dist/types/components/ui/section/SectionCategories.d.ts +1 -1
- package/dist/types/components/ui/section/SectionProps.d.cts +2 -2
- package/dist/types/components/ui/section/SectionProps.d.mts +2 -2
- package/dist/types/components/ui/section/SectionProps.d.ts +2 -2
- package/dist/types/components/ui/stack/Stack.d.cts +1 -1
- package/dist/types/components/ui/stack/Stack.d.mts +1 -1
- package/dist/types/components/ui/stack/Stack.d.ts +1 -1
- package/dist/types/components/ui/stack/StackProps.d.cts +2 -2
- package/dist/types/components/ui/stack/StackProps.d.mts +2 -2
- package/dist/types/components/ui/stack/StackProps.d.ts +2 -2
- package/dist/types/components/ui/theme/appearance/index.d.cts +1 -0
- package/dist/types/components/ui/theme/appearance/index.d.mts +1 -0
- package/dist/types/components/ui/theme/appearance/index.d.ts +1 -0
- package/dist/types/components/ui/theme/appearance/shadowAppearanceClassMapper.d.cts +8 -3
- package/dist/types/components/ui/theme/appearance/shadowAppearanceClassMapper.d.mts +8 -3
- package/dist/types/components/ui/theme/appearance/shadowAppearanceClassMapper.d.ts +8 -3
- package/dist/types/components/ui/theme/appearance/strongBorderClassMapper.d.cts +7 -0
- package/dist/types/components/ui/theme/appearance/strongBorderClassMapper.d.mts +7 -0
- package/dist/types/components/ui/theme/appearance/strongBorderClassMapper.d.ts +7 -0
- package/dist/types/components/ui/theme/common/layoutClassMappers.d.cts +6 -0
- package/dist/types/components/ui/theme/common/layoutClassMappers.d.mts +6 -0
- package/dist/types/components/ui/theme/common/layoutClassMappers.d.ts +6 -0
- package/dist/types/components/ui/theme/common/sharedThemeTypes.d.cts +5 -0
- package/dist/types/components/ui/theme/common/sharedThemeTypes.d.mts +5 -0
- package/dist/types/components/ui/theme/common/sharedThemeTypes.d.ts +5 -0
- package/dist/types/components/ui/theme/layout/dividedClassMapper.d.cts +7 -0
- package/dist/types/components/ui/theme/layout/dividedClassMapper.d.mts +7 -0
- package/dist/types/components/ui/theme/layout/dividedClassMapper.d.ts +7 -0
- package/dist/types/components/ui/theme/layout/index.d.cts +2 -0
- package/dist/types/components/ui/theme/layout/index.d.mts +2 -0
- package/dist/types/components/ui/theme/layout/index.d.ts +2 -0
- package/dist/types/components/ui/theme/layout/indicatorClassMapper.d.cts +8 -0
- package/dist/types/components/ui/theme/layout/indicatorClassMapper.d.mts +8 -0
- package/dist/types/components/ui/theme/layout/indicatorClassMapper.d.ts +8 -0
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +10 -3
|
@@ -13,7 +13,7 @@ class GapClassMapper extends BaseClassMapper {
|
|
|
13
13
|
this.mobile = "max-mobile:gap-(--gap-mobile)";
|
|
14
14
|
}
|
|
15
15
|
getClasses(extractedKeys) {
|
|
16
|
-
if (extractedKeys?.gap === "gap") {
|
|
16
|
+
if (extractedKeys?.gap === "gap" && !extractedKeys?.divided) {
|
|
17
17
|
if (extractedKeys?.responsiveSizing === "responsiveSizing") {
|
|
18
18
|
return [this.desktop, this.tablet, this.mobile];
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gapClassMapper.mjs","sources":["../../../../../../src/components/ui/theme/size/gapClassMapper.ts"],"sourcesContent":["import { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps, ResponsiveBreakpointClassKey } from \"../../props\";\n\n/**\n * Gap theme - applies gap using CSS variables.\n * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --gap variable.\n */\nexport class GapClassMapper extends BaseClassMapper implements Record<ResponsiveBreakpointClassKey, string> {\n /** Base: apply gap using --gap (non-responsive) */\n base: string = \"gap-(--gap)\";\n /** Desktop: apply gap using --gap-desktop */\n desktop: string = \"gap-(--gap-desktop)\";\n /** Tablet: apply gap using --gap-tablet */\n tablet: string = \"max-tablet:gap-(--gap-tablet)\";\n /** Mobile: apply gap using --gap-mobile */\n mobile: string = \"max-mobile:gap-(--gap-mobile)\";\n\n getClasses(extractedKeys: CategoryProps): string[] {\n if (extractedKeys?.gap === 'gap') {\n // Use breakpoint-specific classes if responsive=true\n if (extractedKeys?.responsiveSizing === 'responsiveSizing') {\n return [this.desktop, this.tablet, this.mobile];\n }\n // Otherwise use simple --gap variable\n return [this.base];\n }\n return [];\n }\n}\n"],"names":[],"mappings":";;AAOO,MAAM,uBAAuB,eAAA,CAAwE;AAAA,EAArG,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,IAAA,GAAe,aAAA;AAEf;AAAA,IAAA,IAAA,CAAA,OAAA,GAAkB,qBAAA;AAElB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,+BAAA;AAEjB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,+BAAA;AAAA,EAAA;AAAA,EAEjB,WAAW,aAAA,EAAwC;
|
|
1
|
+
{"version":3,"file":"gapClassMapper.mjs","sources":["../../../../../../src/components/ui/theme/size/gapClassMapper.ts"],"sourcesContent":["import { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps, ResponsiveBreakpointClassKey } from \"../../props\";\n\n/**\n * Gap theme - applies gap using CSS variables.\n * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --gap variable.\n */\nexport class GapClassMapper extends BaseClassMapper implements Record<ResponsiveBreakpointClassKey, string> {\n /** Base: apply gap using --gap (non-responsive) */\n base: string = \"gap-(--gap)\";\n /** Desktop: apply gap using --gap-desktop */\n desktop: string = \"gap-(--gap-desktop)\";\n /** Tablet: apply gap using --gap-tablet */\n tablet: string = \"max-tablet:gap-(--gap-tablet)\";\n /** Mobile: apply gap using --gap-mobile */\n mobile: string = \"max-mobile:gap-(--gap-mobile)\";\n\n getClasses(extractedKeys: CategoryProps): string[] {\n // a divided grid owns its 1px gap\n if (extractedKeys?.gap === 'gap' && !extractedKeys?.divided) {\n // Use breakpoint-specific classes if responsive=true\n if (extractedKeys?.responsiveSizing === 'responsiveSizing') {\n return [this.desktop, this.tablet, this.mobile];\n }\n // Otherwise use simple --gap variable\n return [this.base];\n }\n return [];\n }\n}\n"],"names":[],"mappings":";;AAOO,MAAM,uBAAuB,eAAA,CAAwE;AAAA,EAArG,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,IAAA,GAAe,aAAA;AAEf;AAAA,IAAA,IAAA,CAAA,OAAA,GAAkB,qBAAA;AAElB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,+BAAA;AAEjB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,+BAAA;AAAA,EAAA;AAAA,EAEjB,WAAW,aAAA,EAAwC;AAEjD,IAAA,IAAI,aAAA,EAAe,GAAA,KAAQ,KAAA,IAAS,CAAC,eAAe,OAAA,EAAS;AAE3D,MAAA,IAAI,aAAA,EAAe,qBAAqB,kBAAA,EAAoB;AAC1D,QAAA,OAAO,CAAC,IAAA,CAAK,OAAA,EAAS,IAAA,CAAK,MAAA,EAAQ,KAAK,MAAM,CAAA;AAAA,MAChD;AAEA,MAAA,OAAO,CAAC,KAAK,IAAI,CAAA;AAAA,IACnB;AACA,IAAA,OAAO,EAAC;AAAA,EACV;AACF;;;;"}
|
|
@@ -18,6 +18,7 @@ export { pageTitleDefaults } from './pageTitle/pageTitleDefaults.mjs';
|
|
|
18
18
|
export { defaultPageTitleTheme, pageTitleTheme } from './pageTitle/defaultPageTitleTheme.mjs';
|
|
19
19
|
export { Link } from './link/Link.mjs';
|
|
20
20
|
export { linkDefaults } from './link/linkDefaults.mjs';
|
|
21
|
+
import './link/LinkCategories.mjs';
|
|
21
22
|
export { defaultLinkTheme, linkTheme } from './link/defaultLinkTheme.mjs';
|
|
22
23
|
export { List } from './list/List.mjs';
|
|
23
24
|
export { listDefaults } from './list/listDefaults.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -42,6 +42,9 @@ import './components/ui/alert/AlertCategories.mjs';
|
|
|
42
42
|
import './components/ui/alert/defaultAlertTheme.mjs';
|
|
43
43
|
export { Spinner } from './components/ui/spinner/Spinner.mjs';
|
|
44
44
|
import './components/ui/spinner/defaultSpinnerTheme.mjs';
|
|
45
|
+
export { Progress } from './components/ui/progress/Progress.mjs';
|
|
46
|
+
import './components/ui/progress/defaultProgressTheme.mjs';
|
|
47
|
+
import './components/ui/progress/defaultProgressFillTheme.mjs';
|
|
45
48
|
export { Tooltip } from './components/ui/tooltip/Tooltip.mjs';
|
|
46
49
|
import './components/ui/tooltip/defaultTooltipTheme.mjs';
|
|
47
50
|
export { Img } from './components/ui/img/Img.mjs';
|
|
@@ -98,9 +101,12 @@ import './components/ui/menu/defaultMenuItemTheme.mjs';
|
|
|
98
101
|
import './components/ui/menu/defaultMenuLabelTheme.mjs';
|
|
99
102
|
import './components/ui/menu/defaultMenuPopupTheme.mjs';
|
|
100
103
|
export { NavLink } from './components/ui/navLink/NavLink.mjs';
|
|
104
|
+
import './components/ui/navLink/NavLinkCategories.mjs';
|
|
101
105
|
import './components/ui/navLink/defaultNavLinkTheme.mjs';
|
|
102
106
|
import './components/ui/navLink/NavLinkLabelCategories.mjs';
|
|
103
107
|
import './components/ui/navLink/defaultNavLinkLabelTheme.mjs';
|
|
108
|
+
export { Col } from './components/ui/col/Col.mjs';
|
|
109
|
+
export { Row } from './components/ui/row/Row.mjs';
|
|
104
110
|
export { Table } from './components/ui/table/Table.mjs';
|
|
105
111
|
import './components/ui/table/TableCategories.mjs';
|
|
106
112
|
import './components/ui/table/defaultTableTheme.mjs';
|
|
@@ -122,6 +128,20 @@ export { Caption } from './components/ui/table/Caption.mjs';
|
|
|
122
128
|
import './components/ui/table/CaptionCategories.mjs';
|
|
123
129
|
import './components/ui/table/defaultCaptionTheme.mjs';
|
|
124
130
|
import './components/ui/typography/common/TypographyCategories.mjs';
|
|
131
|
+
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
132
|
+
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
133
|
+
import './components/ui/typography/blockquote/defaultBlockquoteTheme.mjs';
|
|
134
|
+
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
135
|
+
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
136
|
+
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
137
|
+
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
138
|
+
import './components/ui/typography/link/LinkCategories.mjs';
|
|
139
|
+
import './components/ui/typography/link/defaultLinkTheme.mjs';
|
|
140
|
+
export { List } from './components/ui/typography/list/List.mjs';
|
|
141
|
+
import './components/ui/typography/list/defaultListTheme.mjs';
|
|
142
|
+
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
143
|
+
import './components/ui/typography/listItem/ListItemCategories.mjs';
|
|
144
|
+
import './components/ui/typography/listItem/defaultListItemTheme.mjs';
|
|
125
145
|
export { COMPONENT, ComponentCategories, ComponentKeys } from './components/ui/props/keys.mjs';
|
|
126
146
|
export { ThemeProvider } from './components/ThemeProvider.mjs';
|
|
127
147
|
export { defaultTheme } from './components/defaultTheme.mjs';
|
|
@@ -129,8 +149,6 @@ export { useTheme } from './components/themeContext.mjs';
|
|
|
129
149
|
export { themeDefaults } from './components/ui/theme/defaults.mjs';
|
|
130
150
|
export { Section } from './components/ui/section/Section.mjs';
|
|
131
151
|
export { Container } from './components/ui/container/Container.mjs';
|
|
132
|
-
export { Col } from './components/ui/col/Col.mjs';
|
|
133
|
-
export { Row } from './components/ui/row/Row.mjs';
|
|
134
152
|
export { Stack } from './components/ui/stack/Stack.mjs';
|
|
135
153
|
export { Grid2 } from './components/ui/grid/Grid2.mjs';
|
|
136
154
|
export { Grid3 } from './components/ui/grid/Grid3.mjs';
|
|
@@ -141,12 +159,4 @@ export { Card } from './components/ui/card/Card.mjs';
|
|
|
141
159
|
export { CardHeader } from './components/ui/card/CardHeader.mjs';
|
|
142
160
|
export { CardBody } from './components/ui/card/CardBody.mjs';
|
|
143
161
|
export { CardFooter } from './components/ui/card/CardFooter.mjs';
|
|
144
|
-
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
145
|
-
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
146
|
-
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
147
|
-
export { List } from './components/ui/typography/list/List.mjs';
|
|
148
|
-
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
149
|
-
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
150
|
-
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
151
|
-
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
152
162
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/tokens.css
CHANGED
|
@@ -214,150 +214,166 @@
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
/* ============================================================================
|
|
217
|
-
DARK
|
|
217
|
+
DARK AND LIGHT SCHEMES: the official dark-mode extension point.
|
|
218
218
|
|
|
219
219
|
Usage: set data-theme="dark" on <html> (primary mode) or on any in-flow
|
|
220
|
-
wrapper element to theme a subtree
|
|
221
|
-
|
|
220
|
+
wrapper element to theme a subtree; data-theme="light" makes a subtree
|
|
221
|
+
light again. Without data-theme, the @theme values above apply.
|
|
222
222
|
|
|
223
|
-
|
|
223
|
+
These are plain rules, NOT @theme blocks: Tailwind v4 cannot nest @theme
|
|
224
224
|
under a selector, and a plain rule is valid both as Tailwind input and as
|
|
225
|
-
raw CSS
|
|
226
|
-
dist/ui.css and dist/vars.css, and the
|
|
225
|
+
raw CSS. tokens.css ships raw-copied as dist/tokens.css AND compiled into
|
|
226
|
+
dist/ui.css and dist/vars.css, and the rules must survive all three.
|
|
227
|
+
|
|
228
|
+
Each scheme color is one light-dark(light, dark) pair, picked by the
|
|
229
|
+
color-scheme that the data-theme rules set. The pairs are declared on
|
|
230
|
+
every data-theme element, not once on :root: bundlers that compile
|
|
231
|
+
light-dark() for older browsers (Next.js by default) resolve it where the
|
|
232
|
+
variable is declared, so a :root-only pair would ignore data-theme
|
|
233
|
+
subtrees and leave pages without data-theme with no colors.
|
|
227
234
|
|
|
228
235
|
Selector contract:
|
|
229
|
-
- :root[data-theme="dark"] is (0,2,0)
|
|
236
|
+
- :root[data-theme="dark"] is (0,2,0): beats the :root/:host light-token
|
|
230
237
|
emission of the @theme block regardless of layer or source order.
|
|
231
238
|
- [data-theme="dark"] covers subtree wrappers (custom properties inherit
|
|
232
239
|
down from the wrapper).
|
|
233
|
-
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
240
|
+
- [data-theme="light"]:not(:root) leaves <html> alone, so @theme
|
|
241
|
+
overrides there survive a light toggle.
|
|
242
|
+
- :host(...) keeps shadow-DOM parity, since the light tokens also emit
|
|
243
|
+
on :host.
|
|
244
|
+
|
|
245
|
+
Every value is a SELF-CONTAINED literal (Tailwind palette steps named per
|
|
246
|
+
line), never a var() reference a usage-based emission could drop. Tokens
|
|
247
|
+
not listed keep their @theme value in both schemes (noted per group).
|
|
248
|
+
Scheme-neutral tokens (spacing, type scale, z-index, timing, modal
|
|
249
|
+
widths, ...) are not listed. */
|
|
241
250
|
:root[data-theme="dark"],
|
|
242
251
|
[data-theme="dark"],
|
|
243
252
|
:host([data-theme="dark"]) {
|
|
244
253
|
color-scheme: dark;
|
|
245
254
|
|
|
255
|
+
/* Shadows stay black; intensity moves via the alpha tokens (~4x). */
|
|
256
|
+
--shadow-alpha: 0.4;
|
|
257
|
+
--shadow-alpha-soft: 0.25;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* light-dark() takes colors only, so a light subtree resets the shadow alphas to their @theme values. */
|
|
261
|
+
[data-theme="light"]:not(:root),
|
|
262
|
+
:host([data-theme="light"]) {
|
|
263
|
+
color-scheme: light;
|
|
264
|
+
--shadow-alpha: 0.1;
|
|
265
|
+
--shadow-alpha-soft: 0.06;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
:root[data-theme="dark"],
|
|
269
|
+
[data-theme="dark"],
|
|
270
|
+
:host([data-theme="dark"]),
|
|
271
|
+
[data-theme="light"]:not(:root),
|
|
272
|
+
:host([data-theme="light"]) {
|
|
246
273
|
/* Text Colors */
|
|
247
|
-
--color-text-primary: oklch(98.5% 0.002 247.839);
|
|
248
|
-
--color-text-secondary: oklch(87.2% 0.01 258.338);
|
|
249
|
-
--color-text-tertiary: oklch(70.7% 0.022 261.325);
|
|
250
|
-
--color-text-link: oklch(70.7% 0.165 254.624);
|
|
251
|
-
--color-text-accent: oklch(71.2% 0.194 13.428);
|
|
252
|
-
--color-text-success: oklch(76.5% 0.177 163.223);
|
|
253
|
-
--color-text-danger: oklch(70.4% 0.191 22.216);
|
|
254
|
-
--color-text-warning: oklch(82.8% 0.189 84.429);
|
|
255
|
-
--color-text-info: oklch(78.9% 0.154 211.53);
|
|
274
|
+
--color-text-primary: light-dark(oklch(21% 0.034 264.665), oklch(98.5% 0.002 247.839)); /* gray-900 / gray-50 */
|
|
275
|
+
--color-text-secondary: light-dark(oklch(44.6% 0.03 256.802), oklch(87.2% 0.01 258.338)); /* gray-600 / gray-300 */
|
|
276
|
+
--color-text-tertiary: light-dark(oklch(55.1% 0.027 264.364), oklch(70.7% 0.022 261.325)); /* gray-500 / gray-400 */
|
|
277
|
+
--color-text-link: light-dark(oklch(54.6% 0.245 262.881), oklch(70.7% 0.165 254.624)); /* blue-600 / blue-400 */
|
|
278
|
+
--color-text-accent: light-dark(oklch(51.4% 0.222 16.935), oklch(71.2% 0.194 13.428)); /* rose-700 / rose-400 */
|
|
279
|
+
--color-text-success: light-dark(oklch(50.8% 0.118 165.612), oklch(76.5% 0.177 163.223)); /* emerald-700 / emerald-400 */
|
|
280
|
+
--color-text-danger: light-dark(oklch(50.5% 0.213 27.518), oklch(70.4% 0.191 22.216)); /* red-700 / red-400 */
|
|
281
|
+
--color-text-warning: light-dark(oklch(55.5% 0.163 48.998), oklch(82.8% 0.189 84.429)); /* amber-700 / amber-400 */
|
|
282
|
+
--color-text-info: light-dark(oklch(52% 0.105 223.128), oklch(78.9% 0.154 211.53)); /* cyan-700 / cyan-400 */
|
|
256
283
|
|
|
257
284
|
/* Filled Text Colors — primary inverts polarity (light CTA on dark
|
|
258
|
-
pages); link/tertiary lighten one tint.
|
|
285
|
+
pages); link/tertiary lighten one tint. Same in both schemes (not listed):
|
|
259
286
|
secondary, accent, success, danger, warning, info (100-level tints). */
|
|
260
|
-
--color-text-filled-primary: oklch(21% 0.034 264.665);
|
|
261
|
-
--color-text-filled-tertiary: oklch(98.5% 0.002 247.839); /* gray-50 */
|
|
262
|
-
/* filled-link text
|
|
263
|
-
--color-text-filled-link: oklch(97% 0.014 254.604);
|
|
287
|
+
--color-text-filled-primary: light-dark(#fff, oklch(21% 0.034 264.665)); /* white / gray-900 */
|
|
288
|
+
--color-text-filled-tertiary: light-dark(oklch(92.8% 0.006 264.531), oklch(98.5% 0.002 247.839)); /* gray-200 / gray-50 */
|
|
289
|
+
/* filled-link text sits on a blue-600 fill in both schemes */
|
|
290
|
+
--color-text-filled-link: light-dark(oklch(93.2% 0.032 255.585), oklch(97% 0.014 254.604)); /* blue-100 / blue-50 */
|
|
264
291
|
|
|
265
292
|
/* UI Background Colors — page surface ladder: page bg = gray-950 */
|
|
266
|
-
--color-bg-primary: oklch(13% 0.028 261.692);
|
|
267
|
-
--color-bg-secondary: oklch(21% 0.034 264.665);
|
|
268
|
-
--color-bg-tertiary: oklch(27.8% 0.033 256.848);
|
|
269
|
-
--color-bg-accent: oklch(27.1% 0.105 12.094);
|
|
270
|
-
--color-bg-success: oklch(26.2% 0.051 172.552);
|
|
271
|
-
--color-bg-danger: oklch(25.8% 0.092 26.042);
|
|
272
|
-
--color-bg-warning: oklch(27.9% 0.077 45.635);
|
|
273
|
-
--color-bg-info: oklch(30.2% 0.056 229.695);
|
|
293
|
+
--color-bg-primary: light-dark(#fff, oklch(13% 0.028 261.692)); /* white / gray-950 */
|
|
294
|
+
--color-bg-secondary: light-dark(oklch(98.5% 0.002 247.839), oklch(21% 0.034 264.665)); /* gray-50 / gray-900 */
|
|
295
|
+
--color-bg-tertiary: light-dark(oklch(96.7% 0.003 264.542), oklch(27.8% 0.033 256.848)); /* gray-100 / gray-800 */
|
|
296
|
+
--color-bg-accent: light-dark(oklch(96.9% 0.015 12.422), oklch(27.1% 0.105 12.094)); /* rose-50 / rose-950 */
|
|
297
|
+
--color-bg-success: light-dark(oklch(97.9% 0.021 166.113), oklch(26.2% 0.051 172.552)); /* emerald-50 / emerald-950 */
|
|
298
|
+
--color-bg-danger: light-dark(oklch(97.1% 0.013 17.38), oklch(25.8% 0.092 26.042)); /* red-50 / red-950 */
|
|
299
|
+
--color-bg-warning: light-dark(oklch(98.7% 0.022 95.277), oklch(27.9% 0.077 45.635)); /* amber-50 / amber-950 */
|
|
300
|
+
--color-bg-info: light-dark(oklch(98.4% 0.019 200.873), oklch(30.2% 0.056 229.695)); /* cyan-50 / cyan-950 */
|
|
274
301
|
/* Form-control field matches the page surface; the gray-700 form border
|
|
275
302
|
carries the affordance. */
|
|
276
|
-
--color-bg-form: oklch(13% 0.028 261.692);
|
|
303
|
+
--color-bg-form: light-dark(#fff, oklch(13% 0.028 261.692)); /* white / gray-950 */
|
|
277
304
|
|
|
278
305
|
/* UI Background Hover Colors */
|
|
279
|
-
--color-bg-hover-primary: oklch(21% 0.034 264.665);
|
|
280
|
-
--color-bg-hover-secondary: oklch(27.8% 0.033 256.848); /* gray-800 */
|
|
281
|
-
--color-bg-hover-tertiary: oklch(37.3% 0.034 259.733);
|
|
282
|
-
--color-bg-hover-accent: oklch(41% 0.159 10.272);
|
|
283
|
-
--color-bg-hover-success: oklch(37.8% 0.077 168.94); /* emerald-900 */
|
|
284
|
-
--color-bg-hover-danger: oklch(39.6% 0.141 25.723);
|
|
285
|
-
--color-bg-hover-warning: oklch(41.4% 0.112 45.904); /* amber-900 */
|
|
286
|
-
--color-bg-hover-info: oklch(39.8% 0.07 227.392);
|
|
306
|
+
--color-bg-hover-primary: light-dark(oklch(98.5% 0.002 247.839), oklch(21% 0.034 264.665)); /* gray-50 / gray-900 */
|
|
307
|
+
--color-bg-hover-secondary: light-dark(oklch(96.7% 0.003 264.542), oklch(27.8% 0.033 256.848)); /* gray-100 / gray-800 */
|
|
308
|
+
--color-bg-hover-tertiary: light-dark(oklch(92.8% 0.006 264.531), oklch(37.3% 0.034 259.733)); /* gray-200 / gray-700 */
|
|
309
|
+
--color-bg-hover-accent: light-dark(oklch(94.1% 0.03 12.58), oklch(41% 0.159 10.272)); /* rose-100 / rose-900 */
|
|
310
|
+
--color-bg-hover-success: light-dark(oklch(95% 0.052 163.051), oklch(37.8% 0.077 168.94)); /* emerald-100 / emerald-900 */
|
|
311
|
+
--color-bg-hover-danger: light-dark(oklch(93.6% 0.032 17.717), oklch(39.6% 0.141 25.723)); /* red-100 / red-900 */
|
|
312
|
+
--color-bg-hover-warning: light-dark(oklch(96.2% 0.059 95.617), oklch(41.4% 0.112 45.904)); /* amber-100 / amber-900 */
|
|
313
|
+
--color-bg-hover-info: light-dark(oklch(95.6% 0.045 203.388), oklch(39.8% 0.07 227.392)); /* cyan-100 / cyan-900 */
|
|
287
314
|
|
|
288
315
|
/* UI Background Active Colors — tertiary/accent/danger use a press-dim
|
|
289
316
|
bounce back toward the bg step (a second lightening step would fall
|
|
290
317
|
below 3:1 against their 400-level text). */
|
|
291
|
-
--color-bg-active-primary: oklch(27.8% 0.033 256.848);
|
|
292
|
-
--color-bg-active-secondary: oklch(37.3% 0.034 259.733); /* gray-700 */
|
|
293
|
-
--color-bg-active-tertiary: oklch(27.8% 0.033 256.848); /* gray-800
|
|
294
|
-
--color-bg-active-accent: oklch(27.1% 0.105 12.094);
|
|
295
|
-
--color-bg-active-success: oklch(43.2% 0.095 166.913);
|
|
296
|
-
--color-bg-active-danger: oklch(25.8% 0.092 26.042);
|
|
297
|
-
--color-bg-active-warning: oklch(47.3% 0.137 46.201);
|
|
298
|
-
--color-bg-active-info: oklch(45% 0.085 224.283);
|
|
318
|
+
--color-bg-active-primary: light-dark(oklch(96.7% 0.003 264.542), oklch(27.8% 0.033 256.848)); /* gray-100 / gray-800 */
|
|
319
|
+
--color-bg-active-secondary: light-dark(oklch(92.8% 0.006 264.531), oklch(37.3% 0.034 259.733)); /* gray-200 / gray-700 */
|
|
320
|
+
--color-bg-active-tertiary: light-dark(oklch(87.2% 0.01 258.338), oklch(27.8% 0.033 256.848)); /* gray-300 / gray-800, press-dim bounce */
|
|
321
|
+
--color-bg-active-accent: light-dark(oklch(89.2% 0.058 10.001), oklch(27.1% 0.105 12.094)); /* rose-200 / rose-950, press-dim bounce */
|
|
322
|
+
--color-bg-active-success: light-dark(oklch(90.5% 0.093 164.15), oklch(43.2% 0.095 166.913)); /* emerald-200 / emerald-800 */
|
|
323
|
+
--color-bg-active-danger: light-dark(oklch(88.5% 0.062 18.334), oklch(25.8% 0.092 26.042)); /* red-200 / red-950, press-dim bounce */
|
|
324
|
+
--color-bg-active-warning: light-dark(oklch(92.4% 0.12 95.746), oklch(47.3% 0.137 46.201)); /* amber-200 / amber-800 */
|
|
325
|
+
--color-bg-active-info: light-dark(oklch(91.7% 0.08 205.041), oklch(45% 0.085 224.283)); /* cyan-200 / cyan-800 */
|
|
299
326
|
|
|
300
327
|
/* Filled UI Background Colors — primary inverts to a light CTA;
|
|
301
328
|
accent/danger deepen 600 → 700 to lift their filled pairs to ≥ 4.5:1.
|
|
302
|
-
|
|
329
|
+
Same in both schemes (not listed): secondary (gray-600),
|
|
303
330
|
tertiary (gray-500), success (emerald-700), warning (amber-700),
|
|
304
331
|
info (cyan-700). */
|
|
305
|
-
--color-bg-filled-primary: oklch(96.7% 0.003 264.542);
|
|
306
|
-
--color-bg-filled-accent: oklch(51.4% 0.222 16.935);
|
|
307
|
-
--color-bg-filled-danger: oklch(50.5% 0.213 27.518);
|
|
332
|
+
--color-bg-filled-primary: light-dark(oklch(27.8% 0.033 256.848), oklch(96.7% 0.003 264.542)); /* gray-800 / gray-100 */
|
|
333
|
+
--color-bg-filled-accent: light-dark(oklch(58.6% 0.253 17.585), oklch(51.4% 0.222 16.935)); /* rose-600 / rose-700 */
|
|
334
|
+
--color-bg-filled-danger: light-dark(oklch(57.7% 0.245 27.325), oklch(50.5% 0.213 27.518)); /* red-600 / red-700 */
|
|
308
335
|
|
|
309
336
|
/* Filled UI Hover Background Colors — one step away from the filled bg.
|
|
310
|
-
|
|
311
|
-
--color-bg-filled-hover-primary: oklch(92.8% 0.006 264.531); /* gray-200 */
|
|
312
|
-
--color-bg-filled-hover-accent: oklch(45.5% 0.188 13.697);
|
|
313
|
-
--color-bg-filled-hover-danger: oklch(44.4% 0.177 26.899);
|
|
337
|
+
Same in both schemes (not listed): secondary, tertiary, success, warning, info. */
|
|
338
|
+
--color-bg-filled-hover-primary: light-dark(oklch(21% 0.034 264.665), oklch(92.8% 0.006 264.531)); /* gray-900 / gray-200 */
|
|
339
|
+
--color-bg-filled-hover-accent: light-dark(oklch(51.4% 0.222 16.935), oklch(45.5% 0.188 13.697)); /* rose-700 / rose-800 */
|
|
340
|
+
--color-bg-filled-hover-danger: light-dark(oklch(50.5% 0.213 27.518), oklch(44.4% 0.177 26.899)); /* red-700 / red-800 */
|
|
314
341
|
|
|
315
342
|
/* Filled UI Active Background Colors — two steps away from the filled bg.
|
|
316
|
-
|
|
317
|
-
--color-bg-filled-active-primary: oklch(87.2% 0.01 258.338); /* gray-300 */
|
|
318
|
-
--color-bg-filled-active-accent: oklch(41% 0.159 10.272);
|
|
319
|
-
--color-bg-filled-active-danger: oklch(39.6% 0.141 25.723);
|
|
343
|
+
Same in both schemes (not listed): secondary, tertiary, success, warning, info. */
|
|
344
|
+
--color-bg-filled-active-primary: light-dark(oklch(13% 0.028 261.692), oklch(87.2% 0.01 258.338)); /* gray-950 / gray-300 */
|
|
345
|
+
--color-bg-filled-active-accent: light-dark(oklch(45.5% 0.188 13.697), oklch(41% 0.159 10.272)); /* rose-800 / rose-900 */
|
|
346
|
+
--color-bg-filled-active-danger: light-dark(oklch(44.4% 0.177 26.899), oklch(39.6% 0.141 25.723)); /* red-800 / red-900 */
|
|
320
347
|
|
|
321
348
|
/* Border Colors — neutral layout borders sit at gray-800 (raised surfaces
|
|
322
349
|
on the gray-950 page); the form border stays one step lighter so form
|
|
323
350
|
controls read more distinct, mirroring the light-scheme relationship. */
|
|
324
|
-
--color-border-primary: oklch(27.8% 0.033 256.848);
|
|
325
|
-
--color-border-secondary: oklch(27.8% 0.033 256.848); /* gray-800 */
|
|
326
|
-
--color-border-tertiary: oklch(27.8% 0.033 256.848); /* gray-800 */
|
|
327
|
-
--color-border-form: oklch(37.3% 0.034 259.733);
|
|
328
|
-
--color-border-accent: oklch(51.4% 0.222 16.935);
|
|
329
|
-
--color-border-success: oklch(50.8% 0.118 165.612);
|
|
330
|
-
--color-border-danger: oklch(50.5% 0.213 27.518);
|
|
331
|
-
--color-border-warning: oklch(55.5% 0.163 48.998);
|
|
332
|
-
--color-border-info: oklch(52% 0.105 223.128);
|
|
351
|
+
--color-border-primary: light-dark(oklch(92.8% 0.006 264.531), oklch(27.8% 0.033 256.848)); /* gray-200 / gray-800 */
|
|
352
|
+
--color-border-secondary: light-dark(oklch(92.8% 0.006 264.531), oklch(27.8% 0.033 256.848)); /* gray-200 / gray-800 */
|
|
353
|
+
--color-border-tertiary: light-dark(oklch(92.8% 0.006 264.531), oklch(27.8% 0.033 256.848)); /* gray-200 / gray-800 */
|
|
354
|
+
--color-border-form: light-dark(oklch(87.2% 0.01 258.338), oklch(37.3% 0.034 259.733)); /* gray-300 / gray-700 */
|
|
355
|
+
--color-border-accent: light-dark(oklch(81% 0.117 11.638), oklch(51.4% 0.222 16.935)); /* rose-300 / rose-700 */
|
|
356
|
+
--color-border-success: light-dark(oklch(84.5% 0.143 164.978), oklch(50.8% 0.118 165.612)); /* emerald-300 / emerald-700 */
|
|
357
|
+
--color-border-danger: light-dark(oklch(80.8% 0.114 19.571), oklch(50.5% 0.213 27.518)); /* red-300 / red-700 */
|
|
358
|
+
--color-border-warning: light-dark(oklch(87.9% 0.169 91.605), oklch(55.5% 0.163 48.998)); /* amber-300 / amber-700 */
|
|
359
|
+
--color-border-info: light-dark(oklch(86.5% 0.127 207.078), oklch(52% 0.105 223.128)); /* cyan-300 / cyan-700 */
|
|
333
360
|
|
|
334
361
|
/* Divider scrim on filled surfaces — white-at-15% vanishes on the dark
|
|
335
362
|
scheme's inverted near-white primary fill; a translucent mid-gray
|
|
336
363
|
reads on every dark-scheme fill. */
|
|
337
|
-
--color-divider-filled: oklch(0.708 0 0 / 35%);
|
|
364
|
+
--color-divider-filled: light-dark(oklch(1 0 0 / 15%), oklch(0.708 0 0 / 35%));
|
|
338
365
|
|
|
339
366
|
/* Focus Ring Colors — 400-level: 7.9–10+:1 against the gray-950 page */
|
|
340
|
-
--color-focus-primary: oklch(70.7% 0.022 261.325);
|
|
341
|
-
--color-focus-secondary: oklch(70.7% 0.022 261.325); /* gray-400 */
|
|
342
|
-
--color-focus-tertiary: oklch(70.7% 0.022 261.325);
|
|
343
|
-
--color-focus-accent: oklch(71.2% 0.194 13.428);
|
|
344
|
-
--color-focus-success: oklch(76.5% 0.177 163.223);
|
|
345
|
-
--color-focus-danger: oklch(70.4% 0.191 22.216);
|
|
346
|
-
--color-focus-warning: oklch(82.8% 0.189 84.429);
|
|
347
|
-
--color-focus-info: oklch(78.9% 0.154 211.53);
|
|
367
|
+
--color-focus-primary: light-dark(oklch(44.6% 0.03 256.802), oklch(70.7% 0.022 261.325)); /* gray-600 / gray-400 */
|
|
368
|
+
--color-focus-secondary: light-dark(oklch(44.6% 0.03 256.802), oklch(70.7% 0.022 261.325)); /* gray-600 / gray-400 */
|
|
369
|
+
--color-focus-tertiary: light-dark(oklch(44.6% 0.03 256.802), oklch(70.7% 0.022 261.325)); /* gray-600 / gray-400 */
|
|
370
|
+
--color-focus-accent: light-dark(oklch(58.6% 0.253 17.585), oklch(71.2% 0.194 13.428)); /* rose-600 / rose-400 */
|
|
371
|
+
--color-focus-success: light-dark(oklch(59.6% 0.145 163.225), oklch(76.5% 0.177 163.223)); /* emerald-600 / emerald-400 */
|
|
372
|
+
--color-focus-danger: light-dark(oklch(57.7% 0.245 27.325), oklch(70.4% 0.191 22.216)); /* red-600 / red-400 */
|
|
373
|
+
--color-focus-warning: light-dark(oklch(66.6% 0.179 58.318), oklch(82.8% 0.189 84.429)); /* amber-600 / amber-400 */
|
|
374
|
+
--color-focus-info: light-dark(oklch(60.9% 0.126 221.723), oklch(78.9% 0.154 211.53)); /* cyan-600 / cyan-400 */
|
|
348
375
|
|
|
349
376
|
/* Overlay — deeper scrim; a dark modal over a dark page needs a
|
|
350
377
|
stronger veil. */
|
|
351
|
-
--overlay-bg: oklch(0 0 0 / 70%);
|
|
352
|
-
|
|
353
|
-
/* Shadows stay black; intensity moves via the alpha tokens (~4x). */
|
|
354
|
-
--shadow-alpha: 0.4;
|
|
355
|
-
--shadow-alpha-soft: 0.25;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/* Explicit light marker — restores the light color-scheme for native
|
|
359
|
-
controls (form fields, scrollbars). The light token values themselves are
|
|
360
|
-
the :root defaults emitted from the @theme block above. */
|
|
361
|
-
[data-theme="light"] {
|
|
362
|
-
color-scheme: light;
|
|
378
|
+
--overlay-bg: light-dark(oklch(0 0 0 / 50%), oklch(0 0 0 / 70%));
|
|
363
379
|
}
|
|
@@ -13,6 +13,8 @@ import type { CardTheme } from "./ui/card/CardTheme.cjs";
|
|
|
13
13
|
import type { FieldTheme } from "./ui/field/FieldTheme.cjs";
|
|
14
14
|
import type { AlertTheme } from "./ui/alert/AlertTheme.cjs";
|
|
15
15
|
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme.cjs";
|
|
16
|
+
import type { ProgressTheme } from "./ui/progress/ProgressTheme.cjs";
|
|
17
|
+
import type { ProgressFillTheme } from "./ui/progress/ProgressFillTheme.cjs";
|
|
16
18
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme.cjs';
|
|
17
19
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme.cjs';
|
|
18
20
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme.cjs';
|
|
@@ -70,6 +72,8 @@ import type { CardProps } from "./ui/card/CardProps.cjs";
|
|
|
70
72
|
import type { FieldProps } from "./ui/field/FieldProps.cjs";
|
|
71
73
|
import type { AlertProps } from "./ui/alert/AlertProps.cjs";
|
|
72
74
|
import type { SpinnerProps } from "./ui/spinner/SpinnerProps.cjs";
|
|
75
|
+
import type { ProgressProps } from "./ui/progress/ProgressProps.cjs";
|
|
76
|
+
import type { ProgressFillProps } from "./ui/progress/ProgressFillProps.cjs";
|
|
73
77
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps.cjs";
|
|
74
78
|
import type { CardBodyProps } from "./ui/card/CardBodyProps.cjs";
|
|
75
79
|
import type { CardFooterProps } from "./ui/card/CardFooterProps.cjs";
|
|
@@ -199,6 +203,10 @@ export interface ThemeProps {
|
|
|
199
203
|
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
200
204
|
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
201
205
|
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
206
|
+
progress: {
|
|
207
|
+
main: ComponentTheme<ProgressProps, ProgressTheme>;
|
|
208
|
+
fill: ComponentTheme<ProgressFillProps, ProgressFillTheme>;
|
|
209
|
+
};
|
|
202
210
|
menu: {
|
|
203
211
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
204
212
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -13,6 +13,8 @@ import type { CardTheme } from "./ui/card/CardTheme.mjs";
|
|
|
13
13
|
import type { FieldTheme } from "./ui/field/FieldTheme.mjs";
|
|
14
14
|
import type { AlertTheme } from "./ui/alert/AlertTheme.mjs";
|
|
15
15
|
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme.mjs";
|
|
16
|
+
import type { ProgressTheme } from "./ui/progress/ProgressTheme.mjs";
|
|
17
|
+
import type { ProgressFillTheme } from "./ui/progress/ProgressFillTheme.mjs";
|
|
16
18
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme.mjs';
|
|
17
19
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme.mjs';
|
|
18
20
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme.mjs';
|
|
@@ -70,6 +72,8 @@ import type { CardProps } from "./ui/card/CardProps.mjs";
|
|
|
70
72
|
import type { FieldProps } from "./ui/field/FieldProps.mjs";
|
|
71
73
|
import type { AlertProps } from "./ui/alert/AlertProps.mjs";
|
|
72
74
|
import type { SpinnerProps } from "./ui/spinner/SpinnerProps.mjs";
|
|
75
|
+
import type { ProgressProps } from "./ui/progress/ProgressProps.mjs";
|
|
76
|
+
import type { ProgressFillProps } from "./ui/progress/ProgressFillProps.mjs";
|
|
73
77
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps.mjs";
|
|
74
78
|
import type { CardBodyProps } from "./ui/card/CardBodyProps.mjs";
|
|
75
79
|
import type { CardFooterProps } from "./ui/card/CardFooterProps.mjs";
|
|
@@ -199,6 +203,10 @@ export interface ThemeProps {
|
|
|
199
203
|
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
200
204
|
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
201
205
|
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
206
|
+
progress: {
|
|
207
|
+
main: ComponentTheme<ProgressProps, ProgressTheme>;
|
|
208
|
+
fill: ComponentTheme<ProgressFillProps, ProgressFillTheme>;
|
|
209
|
+
};
|
|
202
210
|
menu: {
|
|
203
211
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
204
212
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -13,6 +13,8 @@ import type { CardTheme } from "./ui/card/CardTheme";
|
|
|
13
13
|
import type { FieldTheme } from "./ui/field/FieldTheme";
|
|
14
14
|
import type { AlertTheme } from "./ui/alert/AlertTheme";
|
|
15
15
|
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme";
|
|
16
|
+
import type { ProgressTheme } from "./ui/progress/ProgressTheme";
|
|
17
|
+
import type { ProgressFillTheme } from "./ui/progress/ProgressFillTheme";
|
|
16
18
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme';
|
|
17
19
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme';
|
|
18
20
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme';
|
|
@@ -70,6 +72,8 @@ import type { CardProps } from "./ui/card/CardProps";
|
|
|
70
72
|
import type { FieldProps } from "./ui/field/FieldProps";
|
|
71
73
|
import type { AlertProps } from "./ui/alert/AlertProps";
|
|
72
74
|
import type { SpinnerProps } from "./ui/spinner/SpinnerProps";
|
|
75
|
+
import type { ProgressProps } from "./ui/progress/ProgressProps";
|
|
76
|
+
import type { ProgressFillProps } from "./ui/progress/ProgressFillProps";
|
|
73
77
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps";
|
|
74
78
|
import type { CardBodyProps } from "./ui/card/CardBodyProps";
|
|
75
79
|
import type { CardFooterProps } from "./ui/card/CardFooterProps";
|
|
@@ -199,6 +203,10 @@ export interface ThemeProps {
|
|
|
199
203
|
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
200
204
|
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
201
205
|
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
206
|
+
progress: {
|
|
207
|
+
main: ComponentTheme<ProgressProps, ProgressTheme>;
|
|
208
|
+
fill: ComponentTheme<ProgressFillProps, ProgressFillTheme>;
|
|
209
|
+
};
|
|
202
210
|
menu: {
|
|
203
211
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
204
212
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const Card: React.ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").SizeProps & import("../props/index.cjs").HideProps & import("../props/index.cjs").ItemsProps & import("../props/index.cjs").JustifyProps & import("../props/index.cjs").PositionProps & import("../props/index.cjs").DisplayProps & import("../props/index.cjs").OverflowProps & import("../props/index.cjs").WrapProps & import("../props/index.cjs").FlexProps & import("../props/index.cjs").ShrinkProps & import("../props/index.cjs").GapProps & import("../props/index.cjs").FlexDirectionProps & import("../props/index.cjs").BreakpointProps & import("../props/index.cjs").AppearanceProps & import("../props/index.cjs").BorderProps & import("../props/index.cjs").ShadowProps & import("../props/index.cjs").RingProps & import("../props/index.cjs").FocusVisibleProps & import("../props/index.cjs").ShapeProps & import("../props/index.cjs").PaddingProps & import("../props/index.cjs").MarginProps & import("../props/index.cjs").VariantProps & import("../props/index.cjs").TransparentProps & import("../props/index.cjs").ResponsiveProps & import("../props/index.cjs").WidthProps & import("../props/index.cjs").HeightProps & import("../props/index.cjs").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
export declare const Card: React.ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").SizeProps & import("../props/index.cjs").HideProps & import("../props/index.cjs").ItemsProps & import("../props/index.cjs").JustifyProps & import("../props/index.cjs").PositionProps & import("../props/index.cjs").DisplayProps & import("../props/index.cjs").OverflowProps & import("../props/index.cjs").WrapProps & import("../props/index.cjs").FlexProps & import("../props/index.cjs").ShrinkProps & import("../props/index.cjs").GapProps & import("../props/index.cjs").FlexDirectionProps & import("../props/index.cjs").BreakpointProps & import("../props/index.cjs").AppearanceProps & import("../props/index.cjs").BorderProps & import("../props/index.cjs").StrongBorderProps & import("../props/index.cjs").PointerEventsProps & import("../props/index.cjs").WhitespaceProps & import("../props/index.cjs").ShadowProps & import("../props/index.cjs").RingProps & import("../props/index.cjs").FocusVisibleProps & import("../props/index.cjs").ShapeProps & import("../props/index.cjs").PaddingProps & import("../props/index.cjs").MarginProps & import("../props/index.cjs").VariantProps & import("../props/index.cjs").TransparentProps & import("../props/index.cjs").ResponsiveProps & import("../props/index.cjs").WidthProps & import("../props/index.cjs").HeightProps & import("../props/index.cjs").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
3
3
|
href?: string;
|
|
4
4
|
tag?: React.ElementType;
|
|
5
5
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const Card: React.ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").SizeProps & import("../props/index.mjs").HideProps & import("../props/index.mjs").ItemsProps & import("../props/index.mjs").JustifyProps & import("../props/index.mjs").PositionProps & import("../props/index.mjs").DisplayProps & import("../props/index.mjs").OverflowProps & import("../props/index.mjs").WrapProps & import("../props/index.mjs").FlexProps & import("../props/index.mjs").ShrinkProps & import("../props/index.mjs").GapProps & import("../props/index.mjs").FlexDirectionProps & import("../props/index.mjs").BreakpointProps & import("../props/index.mjs").AppearanceProps & import("../props/index.mjs").BorderProps & import("../props/index.mjs").ShadowProps & import("../props/index.mjs").RingProps & import("../props/index.mjs").FocusVisibleProps & import("../props/index.mjs").ShapeProps & import("../props/index.mjs").PaddingProps & import("../props/index.mjs").MarginProps & import("../props/index.mjs").VariantProps & import("../props/index.mjs").TransparentProps & import("../props/index.mjs").ResponsiveProps & import("../props/index.mjs").WidthProps & import("../props/index.mjs").HeightProps & import("../props/index.mjs").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
export declare const Card: React.ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").SizeProps & import("../props/index.mjs").HideProps & import("../props/index.mjs").ItemsProps & import("../props/index.mjs").JustifyProps & import("../props/index.mjs").PositionProps & import("../props/index.mjs").DisplayProps & import("../props/index.mjs").OverflowProps & import("../props/index.mjs").WrapProps & import("../props/index.mjs").FlexProps & import("../props/index.mjs").ShrinkProps & import("../props/index.mjs").GapProps & import("../props/index.mjs").FlexDirectionProps & import("../props/index.mjs").BreakpointProps & import("../props/index.mjs").AppearanceProps & import("../props/index.mjs").BorderProps & import("../props/index.mjs").StrongBorderProps & import("../props/index.mjs").PointerEventsProps & import("../props/index.mjs").WhitespaceProps & import("../props/index.mjs").ShadowProps & import("../props/index.mjs").RingProps & import("../props/index.mjs").FocusVisibleProps & import("../props/index.mjs").ShapeProps & import("../props/index.mjs").PaddingProps & import("../props/index.mjs").MarginProps & import("../props/index.mjs").VariantProps & import("../props/index.mjs").TransparentProps & import("../props/index.mjs").ResponsiveProps & import("../props/index.mjs").WidthProps & import("../props/index.mjs").HeightProps & import("../props/index.mjs").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
3
3
|
href?: string;
|
|
4
4
|
tag?: React.ElementType;
|
|
5
5
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const Card: React.ForwardRefExoticComponent<import("../props").BaseProps & import("../props").TextAlignProps & import("../props").SizeProps & import("../props").HideProps & import("../props").ItemsProps & import("../props").JustifyProps & import("../props").PositionProps & import("../props").DisplayProps & import("../props").OverflowProps & import("../props").WrapProps & import("../props").FlexProps & import("../props").ShrinkProps & import("../props").GapProps & import("../props").FlexDirectionProps & import("../props").BreakpointProps & import("../props").AppearanceProps & import("../props").BorderProps & import("../props").ShadowProps & import("../props").RingProps & import("../props").FocusVisibleProps & import("../props").ShapeProps & import("../props").PaddingProps & import("../props").MarginProps & import("../props").VariantProps & import("../props").TransparentProps & import("../props").ResponsiveProps & import("../props").WidthProps & import("../props").HeightProps & import("../props").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
export declare const Card: React.ForwardRefExoticComponent<import("../props").BaseProps & import("../props").TextAlignProps & import("../props").SizeProps & import("../props").HideProps & import("../props").ItemsProps & import("../props").JustifyProps & import("../props").PositionProps & import("../props").DisplayProps & import("../props").OverflowProps & import("../props").WrapProps & import("../props").FlexProps & import("../props").ShrinkProps & import("../props").GapProps & import("../props").FlexDirectionProps & import("../props").BreakpointProps & import("../props").AppearanceProps & import("../props").BorderProps & import("../props").StrongBorderProps & import("../props").PointerEventsProps & import("../props").WhitespaceProps & import("../props").ShadowProps & import("../props").RingProps & import("../props").FocusVisibleProps & import("../props").ShapeProps & import("../props").PaddingProps & import("../props").MarginProps & import("../props").VariantProps & import("../props").TransparentProps & import("../props").ResponsiveProps & import("../props").WidthProps & import("../props").HeightProps & import("../props").CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
3
3
|
href?: string;
|
|
4
4
|
tag?: React.ElementType;
|
|
5
5
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Categories for card components with layout support and text alignment.
|
|
2
2
|
* Adds `focusVisible` (excluded from VISUAL_DECORATION_LAYOUT by default) so
|
|
3
3
|
* Card can render a keyboard focus ring when href turns the tag into `<a>`. */
|
|
4
|
-
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "focusVisible"];
|
|
4
|
+
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "strongBorder", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "pointerEvents", "whitespace", "focusVisible"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Categories for card components with layout support and text alignment.
|
|
2
2
|
* Adds `focusVisible` (excluded from VISUAL_DECORATION_LAYOUT by default) so
|
|
3
3
|
* Card can render a keyboard focus ring when href turns the tag into `<a>`. */
|
|
4
|
-
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "focusVisible"];
|
|
4
|
+
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "strongBorder", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "pointerEvents", "whitespace", "focusVisible"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Categories for card components with layout support and text alignment.
|
|
2
2
|
* Adds `focusVisible` (excluded from VISUAL_DECORATION_LAYOUT by default) so
|
|
3
3
|
* Card can render a keyboard focus ring when href turns the tag into `<a>`. */
|
|
4
|
-
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "focusVisible"];
|
|
4
|
+
export declare const CARD_CATEGORIES: readonly ["textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "strongBorder", "padding", "margin", "variant", "width", "height", "cursor", "transparent", "responsiveSizing", "pointerEvents", "whitespace", "focusVisible"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props/index.cjs";
|
|
2
|
+
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, StrongBorderProps, PointerEventsProps, WhitespaceProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props/index.cjs";
|
|
3
3
|
/** Card component props */
|
|
4
|
-
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
4
|
+
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & StrongBorderProps & PointerEventsProps & WhitespaceProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
5
5
|
/** URL to navigate to (renders component as anchor tag when used with tag="a") */
|
|
6
6
|
href?: string;
|
|
7
7
|
/** Custom HTML tag or React component to render as */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props/index.mjs";
|
|
2
|
+
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, StrongBorderProps, PointerEventsProps, WhitespaceProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props/index.mjs";
|
|
3
3
|
/** Card component props */
|
|
4
|
-
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
4
|
+
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & StrongBorderProps & PointerEventsProps & WhitespaceProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
5
5
|
/** URL to navigate to (renders component as anchor tag when used with tag="a") */
|
|
6
6
|
href?: string;
|
|
7
7
|
/** Custom HTML tag or React component to render as */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props";
|
|
2
|
+
import type { BaseProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, StrongBorderProps, PointerEventsProps, WhitespaceProps, ShadowProps, RingProps, FocusVisibleProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps, CursorProps } from "../props";
|
|
3
3
|
/** Card component props */
|
|
4
|
-
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
4
|
+
export type CardProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & StrongBorderProps & PointerEventsProps & WhitespaceProps & ShadowProps & RingProps & FocusVisibleProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & CursorProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & Partial<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'children'>> & {
|
|
5
5
|
/** URL to navigate to (renders component as anchor tag when used with tag="a") */
|
|
6
6
|
href?: string;
|
|
7
7
|
/** Custom HTML tag or React component to render as */
|