@vaneui/ui 1.4.5 → 1.4.6-alpha.20261029124010.35bcb42
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 +115 -94
- package/dist/cjs/components/ui/button/ButtonSpinnerCategories.cjs +1 -1
- package/dist/cjs/components/ui/button/ButtonSpinnerCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCheckCategories.cjs +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCheckCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxIndeterminateCategories.cjs +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxIndeterminateCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/input/InputErrorIconCategories.cjs +1 -1
- package/dist/cjs/components/ui/input/InputErrorIconCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/input/InputWrapperCategories.cjs +1 -1
- package/dist/cjs/components/ui/input/InputWrapperCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkLabelCategories.cjs +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkLabelCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs +1 -1
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs +1 -1
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/props/categoryBuilders.cjs +4 -2
- package/dist/cjs/components/ui/props/categoryBuilders.cjs.map +1 -1
- package/dist/cjs/components/ui/props/keys.cjs +4 -0
- package/dist/cjs/components/ui/props/keys.cjs.map +1 -1
- package/dist/cjs/components/ui/props/propDescriptions.cjs +30 -0
- package/dist/cjs/components/ui/props/propDescriptions.cjs.map +1 -1
- package/dist/cjs/components/ui/select/Select.cjs +12 -0
- package/dist/cjs/components/ui/select/Select.cjs.map +1 -1
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs +1 -1
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs +1 -1
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs +1 -1
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs +1 -0
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TableCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TableCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TbodyCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TbodyCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TfootCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TfootCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TheadCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TheadCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TrCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TrCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/layout/hideClassMapper.cjs +11 -1
- package/dist/cjs/components/ui/theme/layout/hideClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/layout/widthClassMapper.cjs +8 -0
- package/dist/cjs/components/ui/theme/layout/widthClassMapper.cjs.map +1 -1
- package/dist/esm/components/ui/button/ButtonSpinnerCategories.mjs +1 -1
- package/dist/esm/components/ui/button/ButtonSpinnerCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxCheckCategories.mjs +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxCheckCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxIndeterminateCategories.mjs +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxIndeterminateCategories.mjs.map +1 -1
- package/dist/esm/components/ui/input/InputErrorIconCategories.mjs +1 -1
- package/dist/esm/components/ui/input/InputErrorIconCategories.mjs.map +1 -1
- package/dist/esm/components/ui/input/InputWrapperCategories.mjs +1 -1
- package/dist/esm/components/ui/input/InputWrapperCategories.mjs.map +1 -1
- package/dist/esm/components/ui/navLink/NavLinkLabelCategories.mjs +1 -1
- package/dist/esm/components/ui/navLink/NavLinkLabelCategories.mjs.map +1 -1
- package/dist/esm/components/ui/progress/ProgressCategories.mjs +1 -1
- package/dist/esm/components/ui/progress/ProgressCategories.mjs.map +1 -1
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs +1 -1
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs.map +1 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs +4 -2
- package/dist/esm/components/ui/props/categoryBuilders.mjs.map +1 -1
- package/dist/esm/components/ui/props/keys.mjs +4 -0
- package/dist/esm/components/ui/props/keys.mjs.map +1 -1
- package/dist/esm/components/ui/props/propDescriptions.mjs +30 -0
- package/dist/esm/components/ui/props/propDescriptions.mjs.map +1 -1
- package/dist/esm/components/ui/select/Select.mjs +12 -0
- package/dist/esm/components/ui/select/Select.mjs.map +1 -1
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs +1 -1
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs.map +1 -1
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs +1 -1
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs.map +1 -1
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs +1 -1
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs.map +1 -1
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs +1 -0
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TableCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TableCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TbodyCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TbodyCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TfootCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TfootCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TheadCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TheadCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TrCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TrCategories.mjs.map +1 -1
- package/dist/esm/components/ui/theme/layout/hideClassMapper.mjs +11 -1
- package/dist/esm/components/ui/theme/layout/hideClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/layout/widthClassMapper.mjs +8 -0
- package/dist/esm/components/ui/theme/layout/widthClassMapper.mjs.map +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.cts +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.mts +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.ts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.cts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.mts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.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/CardFooterCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardFooterCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardFooterCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.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/divider/DividerCategories.d.cts +1 -1
- package/dist/types/components/ui/divider/DividerCategories.d.mts +1 -1
- package/dist/types/components/ui/divider/DividerCategories.d.ts +1 -1
- package/dist/types/components/ui/field/Field.d.cts +6 -0
- package/dist/types/components/ui/field/Field.d.mts +6 -0
- package/dist/types/components/ui/field/Field.d.ts +6 -0
- package/dist/types/components/ui/field/FieldCategories.d.cts +1 -1
- package/dist/types/components/ui/field/FieldCategories.d.mts +1 -1
- package/dist/types/components/ui/field/FieldCategories.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/input/InputCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputCategories.d.ts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.ts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.ts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.cts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.mts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.ts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.cts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.mts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.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/NavLinkLabelCategories.d.cts +1 -1
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.mts +1 -1
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.ts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.cts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.mts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.ts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.cts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.mts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.ts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.cts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.mts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.ts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.cts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.mts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.ts +1 -1
- package/dist/types/components/ui/props/categoryBuilders.d.cts +17 -17
- package/dist/types/components/ui/props/categoryBuilders.d.mts +17 -17
- package/dist/types/components/ui/props/categoryBuilders.d.ts +17 -17
- package/dist/types/components/ui/props/hideProps.d.cts +2 -1
- package/dist/types/components/ui/props/hideProps.d.mts +2 -1
- package/dist/types/components/ui/props/hideProps.d.ts +2 -1
- package/dist/types/components/ui/props/keys.d.cts +10 -2
- package/dist/types/components/ui/props/keys.d.mts +10 -2
- package/dist/types/components/ui/props/keys.d.ts +10 -2
- package/dist/types/components/ui/props/props.d.cts +2 -0
- package/dist/types/components/ui/props/props.d.mts +2 -0
- package/dist/types/components/ui/props/props.d.ts +2 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.cts +11 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.mts +11 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.ts +11 -0
- package/dist/types/components/ui/props/showProps.d.cts +11 -0
- package/dist/types/components/ui/props/showProps.d.mts +11 -0
- package/dist/types/components/ui/props/showProps.d.ts +11 -0
- package/dist/types/components/ui/props/widthProps.d.cts +2 -1
- package/dist/types/components/ui/props/widthProps.d.mts +2 -1
- package/dist/types/components/ui/props/widthProps.d.ts +2 -1
- package/dist/types/components/ui/radio/RadioCategories.d.cts +3 -3
- package/dist/types/components/ui/radio/RadioCategories.d.mts +3 -3
- package/dist/types/components/ui/radio/RadioCategories.d.ts +3 -3
- 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/select/SelectChevronCategories.d.cts +1 -1
- package/dist/types/components/ui/select/SelectChevronCategories.d.mts +1 -1
- package/dist/types/components/ui/select/SelectChevronCategories.d.ts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.cts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.mts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.ts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.cts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.mts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.ts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.cts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.mts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.ts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.cts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.mts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.ts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.cts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.mts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.ts +1 -1
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.cts +8 -2
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.mts +8 -2
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.ts +8 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.cts +6 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.mts +6 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.ts +6 -2
- package/dist/types/components/ui/typography/common/TypographyCategories.d.cts +3 -3
- package/dist/types/components/ui/typography/common/TypographyCategories.d.mts +3 -3
- package/dist/types/components/ui/typography/common/TypographyCategories.d.ts +3 -3
- package/dist/types/components/ui/typography/link/LinkCategories.d.cts +1 -1
- package/dist/types/components/ui/typography/link/LinkCategories.d.mts +1 -1
- package/dist/types/components/ui/typography/link/LinkCategories.d.ts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.cts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.mts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.ts +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,26 @@ fixes, minor for additive props and components, major for anything that changes
|
|
|
8
8
|
existing prop name, default, or rendered element. Releases ship when work is ready
|
|
9
9
|
rather than on a fixed calendar.
|
|
10
10
|
|
|
11
|
+
## Unreleased
|
|
12
|
+
|
|
13
|
+
## 1.4.6
|
|
14
|
+
|
|
15
|
+
`2026-10-29`
|
|
16
|
+
|
|
17
|
+
Breakpoint props for showing an element only on smaller screens and for full width below a
|
|
18
|
+
breakpoint, so sites no longer need `lg:hidden` or `max-mobile:w-full`.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- `mobileShow`, `tabletShow` and `desktopShow`: show an element only below 768, 1024 or 1280px,
|
|
23
|
+
the reverse of `mobileHide` and friends. They combine with a hide prop, so
|
|
24
|
+
`<Row mobileHide tabletShow>` shows only between 768 and 1024px.
|
|
25
|
+
- `mobileWFull`, `tabletWFull` and `desktopWFull`: full width below 768, 1024 or 1280px,
|
|
26
|
+
keeping the component's base width above it. `<Button mobileWFull>` fills a stacked row on a
|
|
27
|
+
phone and stays fit width on desktop. A `Select` applies both families to its wrapper.
|
|
28
|
+
|
|
29
|
+
[Full diff](https://github.com/vaneui/vaneui/compare/v1.4.5...v1.4.6)
|
|
30
|
+
|
|
11
31
|
## 1.4.5
|
|
12
32
|
|
|
13
33
|
`2026-10-29`
|
|
@@ -17,42 +37,43 @@ strong borders, NavLink indicators, shadow sizes and real light subtrees.
|
|
|
17
37
|
|
|
18
38
|
### Added
|
|
19
39
|
|
|
20
|
-
-
|
|
40
|
+
- `Progress`: a determinate bar, `<Progress value={40} aria-label="Upload" />`. A
|
|
21
41
|
`role="progressbar"` track with `aria-valuenow`, `aria-valuemin` and `aria-valuemax`;
|
|
22
42
|
`value` is clamped to 0 to `max` (100 by default). The fill is its own themed element
|
|
23
43
|
(`progress.fill`), a filled bar in the appearance color over a neutral track, and it follows
|
|
24
44
|
the track's shape and `transition`/`noTransition`. Heights run 2, 4, 8, 12 and 16px from `xs`
|
|
25
45
|
to `xl`; `pill` by default. The fill eases to a new value, with no motion under reduced motion.
|
|
26
|
-
-
|
|
46
|
+
- `divided` on `Grid2` to `Grid6`: 1px lines in the divider color between and around
|
|
27
47
|
the cells, in place of the gap.
|
|
28
|
-
-
|
|
48
|
+
- `strongBorder` on layout components (`Row`, `Col`, `Stack`, `Grid*`, `Container`, `Card`,
|
|
29
49
|
`Section`): the border takes the appearance's strong color, the one its focus ring uses. A
|
|
30
50
|
filled `Card`, whose border is otherwise transparent, shows it too.
|
|
31
|
-
-
|
|
51
|
+
- `indicatorStart` and `indicatorBottom` on `NavLink`: a 1px rail on the start edge that
|
|
32
52
|
turns into a 2px accent mark when `active` or `aria-selected`, or an accent bar under the
|
|
33
53
|
active tab. They are inset shadows, so the text does not move. The rail flips in
|
|
34
54
|
right-to-left text.
|
|
35
|
-
-
|
|
55
|
+
- `shadowXs` to `shadowXl`: fix the drop shadow size on the component's own ramp
|
|
36
56
|
(compact for UI components, deeper for layout ones), whatever the component's size.
|
|
37
57
|
`shadow` still follows the size.
|
|
38
|
-
-
|
|
39
|
-
components
|
|
40
|
-
-
|
|
41
|
-
-
|
|
58
|
+
- `pointerEventsNone`/`pointerEventsAuto` and the `whitespace*` props on layout
|
|
59
|
+
components: `Row`, `Col`, `Stack`, `Grid*`, `Container`, `Card` and `Section`.
|
|
60
|
+
- `noShrink` on `Img`, so an image keeps its size in a tight `Row`.
|
|
61
|
+
- Selected options: a `NavLink` or `MenuItem` with `aria-selected="true"` (an option in a
|
|
42
62
|
listbox, like a search result) takes the hover fill.
|
|
43
63
|
|
|
44
64
|
### Changed
|
|
45
65
|
|
|
46
|
-
-
|
|
66
|
+
- Dark mode colors are `light-dark()` pairs. The dark block's colors are now one list of
|
|
47
67
|
`light-dark(light, dark)` pairs on every `data-theme` element, and `data-theme` sets
|
|
48
68
|
`color-scheme`, which picks the side. Pages without `data-theme` keep the `@theme` values and
|
|
49
69
|
are unaffected. Uncompiled, `light-dark()` needs Chrome 123, Firefox 120 or Safari 17.5;
|
|
50
70
|
bundlers that compile it for older browsers (Next.js does by default) keep those working. To
|
|
51
|
-
change a color in both schemes, re-declare it as a pair under
|
|
71
|
+
change a color in both schemes, re-declare it as a pair under
|
|
72
|
+
`:root[data-theme], [data-theme]:not(:root)`, after the VaneUI stylesheet.
|
|
52
73
|
|
|
53
74
|
### Fixed
|
|
54
75
|
|
|
55
|
-
-
|
|
76
|
+
- `data-theme="light"` makes a subtree light inside a dark page or wrapper. It only reset
|
|
56
77
|
`color-scheme`, so the dark colors still came through. It now resolves every pair to its light
|
|
57
78
|
side. On `<html>` it changes nothing, so token customizations made with `@theme` keep working.
|
|
58
79
|
|
|
@@ -64,26 +85,26 @@ A consistency pass on `Tooltip`: it is now sized and coloured as a label, not a
|
|
|
64
85
|
|
|
65
86
|
### Added
|
|
66
87
|
|
|
67
|
-
-
|
|
88
|
+
- `Tooltip` takes `Popup` props directly, like `Menu`: `<Tooltip lg placeBottom arrow>`.
|
|
68
89
|
Size, appearance, variant, shape, placement, `arrow`, `offset` and `className` style the
|
|
69
90
|
tooltip. `popupProps` still works and is combined with them.
|
|
70
91
|
|
|
71
92
|
### Changed
|
|
72
93
|
|
|
73
|
-
-
|
|
94
|
+
- `Tooltip` is filled in ink: near-black, and near-white in dark mode, like a filled
|
|
74
95
|
primary `Button`. It was gray. `<Tooltip secondary>` or
|
|
75
96
|
`themeDefaults={{ tooltip: { secondary: true } }}` brings the gray back.
|
|
76
|
-
-
|
|
97
|
+
- `Tooltip` text follows its size: 10, 12, 14, 16 and 18px from `xs` to `xl`, one step
|
|
77
98
|
under a `Button` of the same size. It inherited the page's text (16px at every size).
|
|
78
|
-
-
|
|
99
|
+
- `Tooltip` padding and radius follow the `Button` ramp, so a tooltip is about as tall as a
|
|
79
100
|
`Button` of the same size (29px instead of 44px at the default `sm`). Padding no longer
|
|
80
101
|
shrinks on tablets and phones.
|
|
81
|
-
-
|
|
102
|
+
- Long tooltips wrap inside a cap that grows with size (16–32rem, 20rem at `sm`) instead
|
|
82
103
|
of running on one line across the page.
|
|
83
104
|
|
|
84
105
|
### Fixed
|
|
85
106
|
|
|
86
|
-
-
|
|
107
|
+
- Popups placed above or below stay on screen next to an anchor at the viewport edge in
|
|
87
108
|
browsers with CSS anchor positioning. They were centred on the anchor and cut off; they
|
|
88
109
|
now line up with the anchor's edge, and the arrow follows.
|
|
89
110
|
|
|
@@ -96,70 +117,70 @@ landing pages, articles, overlays, a storefront).
|
|
|
96
117
|
|
|
97
118
|
### Added
|
|
98
119
|
|
|
99
|
-
-
|
|
120
|
+
- `Table` and `Alert` take a font family (`fontSans`, `fontMono`, …) and default to
|
|
100
121
|
`fontSans`. Their cells and raw text used to fall back to the page's own font (a serif
|
|
101
122
|
on an unstyled page), because the scoped reset never sets one.
|
|
102
123
|
|
|
103
124
|
### Changed
|
|
104
125
|
|
|
105
|
-
-
|
|
126
|
+
- `Input` and `Select` are as tall as `Button` at every size. They used a looser line
|
|
106
127
|
height, so a field was 4.8px taller than the button beside it at `md`. Their corner
|
|
107
128
|
radius now matches too. Every `Input` and `Select` gets slightly shorter.
|
|
108
|
-
-
|
|
129
|
+
- List markers sit inside the list box. The marker gutter was 12px at `md`, so bullets
|
|
109
130
|
and `10.` hung outside it; it is now 16–32px by size. An `icon` item's icon moves into the
|
|
110
131
|
same gutter, so icon items and plain items share one text column.
|
|
111
|
-
-
|
|
132
|
+
- `transition` no longer animates the focus ring, only colors, shadows and transforms.
|
|
112
133
|
|
|
113
134
|
### Fixed
|
|
114
135
|
|
|
115
|
-
-
|
|
136
|
+
- Words no longer break mid-word in rows and tables. The long-token wrapping added for
|
|
116
137
|
URLs let a short label beside a full-width control shrink to one letter per line, and
|
|
117
138
|
split prices and names in table cells. Titles, lists and blockquotes now wrap long tokens
|
|
118
139
|
too, instead of overflowing on a phone.
|
|
119
|
-
-
|
|
120
|
-
-
|
|
140
|
+
- An unselected `RadioGroup` no longer shows every radio as selected.
|
|
141
|
+
- The invalid state is visible. `Input`, `Select` and `Textarea` drew their danger ring at
|
|
121
142
|
30% strength, fainter than a normal field; it is now full strength. Text fields also use
|
|
122
143
|
the form-control border token, like `Checkbox`, `Radio` and `Switch`.
|
|
123
|
-
-
|
|
144
|
+
- The active `NavLink` stands out: it is semibold on a stronger tint, and hover no longer
|
|
124
145
|
looks the same as the current page. A trailing `Badge` sits at the row's end.
|
|
125
|
-
-
|
|
146
|
+
- `Link` and a `Card` with `href` draw a visible focus ring in dark mode and on colored
|
|
126
147
|
surfaces. It used the browser's default color.
|
|
127
|
-
-
|
|
148
|
+
- Text stays readable on filled surfaces. Secondary and tertiary text, ghost buttons and
|
|
128
149
|
links on a filled `Card` or `Section` take the surface's text color.
|
|
129
|
-
-
|
|
130
|
-
-
|
|
150
|
+
- `filled` without an appearance no longer turns text white on an unpainted surface.
|
|
151
|
+
- Whole-page dark mode paints the page, so cards no longer sit darker than the page.
|
|
131
152
|
Any background you set on `html` or `body` still wins.
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
153
|
+
- `Mark` shows a visible highlight.
|
|
154
|
+
- An svg in running text stays inline instead of breaking the line.
|
|
155
|
+
- `Tooltip`, `Popup` and menus render in the library font. A string `title` on `Modal`
|
|
135
156
|
renders as a `Title`.
|
|
136
|
-
-
|
|
137
|
-
-
|
|
157
|
+
- `Modal` returns focus to the button that opened it on every close path.
|
|
158
|
+
- Escape inside a `Menu` closes only that menu, not the `Modal` around it or the whole
|
|
138
159
|
menu tree.
|
|
139
|
-
-
|
|
140
|
-
-
|
|
160
|
+
- Menu items sit flush again; a 16px gap had appeared between them.
|
|
161
|
+
- Popups placed above or below keep their own width instead of shrinking to a small
|
|
141
162
|
trigger, so tooltips no longer wrap one word per line.
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
163
|
+
- End-aligned and left popups stay at their trigger under `dir="rtl"`.
|
|
164
|
+
- `Modal` keeps a margin on a phone instead of running edge to edge.
|
|
165
|
+
- `ModalCloseButton` keeps its own look under app-wide `button.main` defaults (a filled
|
|
145
166
|
default made the × invisible) and is square like `IconButton`.
|
|
146
|
-
-
|
|
147
|
-
-
|
|
167
|
+
- A loading `Button` with an icon keeps its size.
|
|
168
|
+
- A read-only `Checkbox` no longer toggles, a read-only `Select` can no longer be changed,
|
|
148
169
|
and read-only toggles dim like read-only text fields.
|
|
149
|
-
-
|
|
170
|
+
- `Field` passes `disabled`, `required` and `readOnly` to a child control, including every
|
|
150
171
|
`Radio` of a child `RadioGroup`. Control-only attributes no longer land on its wrapper div.
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
172
|
+
- `<Link sm>` renders at `sm`; an explicit size used to be ignored.
|
|
173
|
+
- A size set on the switch input theme reaches the track.
|
|
174
|
+
- A disabled `Link` looks disabled, and disabled fields show the not-allowed cursor.
|
|
154
175
|
Disabled opacity now reads the `--disabled-opacity` token.
|
|
155
|
-
-
|
|
176
|
+
- `Select` stays on one line in a row, `noShrink` reaches it, and a placeholder option
|
|
156
177
|
is muted like an `Input` placeholder.
|
|
157
|
-
-
|
|
158
|
-
-
|
|
178
|
+
- `Textarea` honours `rows` below three lines.
|
|
179
|
+
- A clickable `Chip` shows the focus ring, and linked `Card`, `Chip` and `Badge` get a hover
|
|
159
180
|
tint.
|
|
160
|
-
-
|
|
181
|
+
- Hovering another menu item closes an open sibling submenu, and a submenu's trigger keeps
|
|
161
182
|
its tint while the submenu is open.
|
|
162
|
-
-
|
|
183
|
+
- `Alert` text uses body line-height and a leading icon centres on the first line.
|
|
163
184
|
- A `Card` with `href` warns in development when it contains a button, link or field.
|
|
164
185
|
|
|
165
186
|
## 1.4.2
|
|
@@ -168,14 +189,14 @@ landing pages, articles, overlays, a storefront).
|
|
|
168
189
|
|
|
169
190
|
### Fixed
|
|
170
191
|
|
|
171
|
-
-
|
|
192
|
+
- `Field`'s label now scales with the field. The label, description and error
|
|
172
193
|
were pinned to `sm` at every size, so `<Field xl>` grew the control and left its
|
|
173
194
|
label behind. The label now takes the field's size and the help and error text
|
|
174
195
|
sit one step below it.
|
|
175
|
-
-
|
|
196
|
+
- `Field`'s inline checkbox and switch line up with their label. The control
|
|
176
197
|
resolved its line box against the page root instead of the label's font
|
|
177
198
|
metrics, so it sat high and the switch track overflowed its own box.
|
|
178
|
-
-
|
|
199
|
+
- `Field`'s help and error text stay readable on a filled surface. Their pinned
|
|
179
200
|
secondary and danger colors lost contrast on a fill; under any filled ancestor,
|
|
180
201
|
the field itself or a `Card` or `Row` above it, they now take that surface's
|
|
181
202
|
text color.
|
|
@@ -186,7 +207,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
186
207
|
|
|
187
208
|
### Added
|
|
188
209
|
|
|
189
|
-
-
|
|
210
|
+
- `Field` can render its own control, instead of only wrapping one passed as
|
|
190
211
|
a child. Pass `type` (a control kind such as `select`, or a native input type
|
|
191
212
|
such as `password`, `email`, `date`) or one of the six booleans `textInput`,
|
|
192
213
|
`textarea`, `select`, `checkbox`, `switch`, `radiogroup`. Surface props
|
|
@@ -201,7 +222,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
201
222
|
|
|
202
223
|
### Changed
|
|
203
224
|
|
|
204
|
-
-
|
|
225
|
+
- `Field`'s `type` prop is now a closed union of the control kinds and
|
|
205
226
|
native input types above. It previously accepted any string, inherited from
|
|
206
227
|
the anchor attributes `Field` spreads for tag switching, and Field has no
|
|
207
228
|
`href`-based tag switching of its own, so a value like `<Field type="button">`
|
|
@@ -211,15 +232,15 @@ landing pages, articles, overlays, a storefront).
|
|
|
211
232
|
|
|
212
233
|
### Fixed
|
|
213
234
|
|
|
214
|
-
-
|
|
215
|
-
toggles
|
|
235
|
+
- The conflicting-props dev warning no longer fires on composable side
|
|
236
|
+
toggles. `border` and `margin` side toggles compose by design, so
|
|
216
237
|
`<Card borderT borderL>` and `<Card marginT marginB>` are correct usage, yet
|
|
217
238
|
every component warned that they conflicted. The warning now skips composable
|
|
218
239
|
categories, matching the rule the resolver itself already used. It still warns
|
|
219
240
|
in the one case that is genuinely ambiguous there: when a `no*` reset is
|
|
220
241
|
combined with a side toggle (`<Card borderT noBorder>`), where the reset
|
|
221
242
|
discards the toggle and wins.
|
|
222
|
-
-
|
|
243
|
+
- `Field` no longer emits a dangling `htmlFor` for a radio group. A
|
|
223
244
|
`radiogroup` is not a labelable element and never claims the generated id, so
|
|
224
245
|
the label pointed at nothing. `Field` now omits `htmlFor` for a radio group in
|
|
225
246
|
both modes; the accessible name continues to come from `aria-labelledby`.
|
|
@@ -230,7 +251,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
230
251
|
|
|
231
252
|
### Changed
|
|
232
253
|
|
|
233
|
-
-
|
|
254
|
+
- Portalled floating content waits for hydration before it mounts. A portal
|
|
234
255
|
has no server markup, so `Popup`, `Modal` and `Overlay` returned `null` during
|
|
235
256
|
SSR — but the *first client render* portalled immediately, giving React DOM it
|
|
236
257
|
never emitted server-side and forcing it to throw the subtree away and rebuild
|
|
@@ -240,7 +261,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
240
261
|
and every element-dependent effect sit downstream of it and run once the
|
|
241
262
|
element actually attaches. Two consequences worth knowing:
|
|
242
263
|
|
|
243
|
-
- Portalled content that is open on its
|
|
264
|
+
- Portalled content that is open on its first render now transitions in
|
|
244
265
|
(`entering` → `entered`) instead of appearing already `entered`. Content
|
|
245
266
|
opened by interaction is unaffected: hydration is long since complete.
|
|
246
267
|
- `portal={false}` is untouched. Inline content has server markup, so it still
|
|
@@ -257,14 +278,14 @@ landing pages, articles, overlays, a storefront).
|
|
|
257
278
|
|
|
258
279
|
### Fixed
|
|
259
280
|
|
|
260
|
-
-
|
|
281
|
+
- A `sharp` Select opened a rounded dropdown. The shape props emit Tailwind
|
|
261
282
|
classes onto the field and never touch `--br`, so the list — a pseudo-element
|
|
262
283
|
that cannot take a class — always painted the size-driven radius. `Select` now
|
|
263
284
|
publishes its resolved shape as `data-shape`, which the picker rules read.
|
|
264
285
|
`pill` deliberately still keeps `--br`: its own radius is effectively infinite
|
|
265
286
|
and a tall list box given that radius swallows its first and last rows.
|
|
266
287
|
|
|
267
|
-
-
|
|
288
|
+
- `Modal`, `Popup` and `Tooltip` listed the `shape` category twice.
|
|
268
289
|
`VISUAL_LAYOUT` already folds `SHAPE` in, and all three spread `...SHAPE` over
|
|
269
290
|
it again. The duplicate is invisible to the type system — the `as const` union
|
|
270
291
|
is identical either way — but every consumer that iterates the array saw the
|
|
@@ -278,7 +299,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
278
299
|
|
|
279
300
|
### Added
|
|
280
301
|
|
|
281
|
-
-
|
|
302
|
+
- `Label` supports `disabled`. It was the only form control without the
|
|
282
303
|
category, so a disabled field kept a full-strength label. `<Label disabled>`
|
|
283
304
|
now dims to the same `opacity-50` every other control uses, and a Label
|
|
284
305
|
containing a disabled control dims with it, so you disable the field rather
|
|
@@ -292,7 +313,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
292
313
|
|
|
293
314
|
### Changed
|
|
294
315
|
|
|
295
|
-
-
|
|
316
|
+
- The `Select` dropdown takes its colours from the field. `option`,
|
|
296
317
|
`optgroup` and `::picker(select)` were pinned to `--color-bg-primary` /
|
|
297
318
|
`--color-text-primary`, so a `filled` or `danger` Select opened a plain light
|
|
298
319
|
list. They now resolve `--bg-color` / `--text-color` / `--border-color`, which
|
|
@@ -307,7 +328,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
307
328
|
|
|
308
329
|
### Fixed
|
|
309
330
|
|
|
310
|
-
-
|
|
331
|
+
- The `Select` dropdown opened upward over the page. The UA styles
|
|
311
332
|
`::picker(select)` with `position-try-order: most-block-size`, which picks
|
|
312
333
|
whichever side has MORE room rather than the first side that fits — so any
|
|
313
334
|
field past the middle of the window opened its list above itself even with
|
|
@@ -317,7 +338,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
317
338
|
`margin-block-start`, because the flipped-up position anchors the picker's
|
|
318
339
|
bottom edge and a top margin left it touching the field.
|
|
319
340
|
|
|
320
|
-
-
|
|
341
|
+
- `Field`'s help and error text could vanish on a filled `Field`. Both are
|
|
321
342
|
rendered by the component with pinned appearances (`secondary` and `danger`),
|
|
322
343
|
which an author cannot reach from outside, and `--color-text-secondary` IS
|
|
323
344
|
`--color-bg-filled-secondary` — so `<Field filled secondary>` painted its
|
|
@@ -331,7 +352,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
331
352
|
|
|
332
353
|
### Fixed
|
|
333
354
|
|
|
334
|
-
-
|
|
355
|
+
- Every appearance on `Img` painted the same neutral border. An appearance is
|
|
335
356
|
only a palette: it sets the intermediate `--app-*` variables, and the variant
|
|
336
357
|
axis is what maps those onto `--border-color`. `data-variant` is emitted only
|
|
337
358
|
when a variant key is extracted, and `Img` declared the variant category but
|
|
@@ -353,8 +374,8 @@ landing pages, articles, overlays, a storefront).
|
|
|
353
374
|
|
|
354
375
|
### Changed
|
|
355
376
|
|
|
356
|
-
-
|
|
357
|
-
loading state
|
|
377
|
+
- `Button` and `IconButton` now render the `Spinner` component for their
|
|
378
|
+
loading state, instead of a private ring the library maintained separately.
|
|
358
379
|
There was one ring drawn two ways: `.vane-button-spinner-ring` and
|
|
359
380
|
`.vane-spinner` had already drifted to different stroke rules once, and every
|
|
360
381
|
future change to the spinner had to be made in both places.
|
|
@@ -383,7 +404,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
383
404
|
|
|
384
405
|
### Fixed
|
|
385
406
|
|
|
386
|
-
-
|
|
407
|
+
- `Spinner`'s appearance props did nothing. `<Spinner danger>` emitted
|
|
387
408
|
`data-appearance="danger"` and resolved the danger palette, but an appearance
|
|
388
409
|
only reaches `--text-color` through the variant axis, and `Spinner` had no
|
|
389
410
|
`variant` category, so no `data-variant` was emitted and the mapping never
|
|
@@ -401,11 +422,11 @@ landing pages, articles, overlays, a storefront).
|
|
|
401
422
|
The variant carries no background here, since a ring has nothing to fill; it
|
|
402
423
|
only selects which color of the appearance the ring paints in.
|
|
403
424
|
|
|
404
|
-
-
|
|
425
|
+
- The spinner ring was a 1px hairline at `xs` and `sm`. Its stroke was
|
|
405
426
|
`0.125em`, and browsers floor `border-width` to whole pixels, so 1.5px and
|
|
406
427
|
1.75px both painted as 1px. The stroke now floors at 2px.
|
|
407
428
|
|
|
408
|
-
-
|
|
429
|
+
- `Button`'s loading ring and `Spinner` had drifted to different strokes
|
|
409
430
|
(a pinned 2px against the scaling `0.125em`), so the same ring rendered at two
|
|
410
431
|
weights depending on where it came from. Both now share one rule.
|
|
411
432
|
|
|
@@ -415,7 +436,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
415
436
|
|
|
416
437
|
### Added
|
|
417
438
|
|
|
418
|
-
-
|
|
439
|
+
- A `Select`'s dropdown list is now styled where the engine allows it. A native
|
|
419
440
|
`<select>` hands its option list to the operating system, which draws a flat,
|
|
420
441
|
square, unpadded menu: the options get no layout box at all, so padding, radius
|
|
421
442
|
and shadow were inert and only their colors landed. Behind
|
|
@@ -426,7 +447,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
426
447
|
|
|
427
448
|
### Fixed
|
|
428
449
|
|
|
429
|
-
-
|
|
450
|
+
- A `sharp` or `rounded` `Switch` reshaped only its track. The knob was
|
|
430
451
|
rendered with no props and its theme pins `pill`, so a square track kept a
|
|
431
452
|
circular knob. The shape now reaches the knob, and its radius insets from the
|
|
432
453
|
track's by the track padding, so the two corners stay concentric rather than
|
|
@@ -436,14 +457,14 @@ landing pages, articles, overlays, a storefront).
|
|
|
436
457
|
|
|
437
458
|
### Fixed
|
|
438
459
|
|
|
439
|
-
-
|
|
460
|
+
- The `Input` error icon rendered as a solid disc with a slot cut through it,
|
|
440
461
|
not an exclamation mark. Its stem and dot are meant to be holes punched in the
|
|
441
462
|
disc, which under the nonzero fill rule requires them to wind opposite to it.
|
|
442
463
|
The stem did; the dot did not, so it merged into the disc and vanished. The
|
|
443
464
|
glyph is now sampled pixel-by-pixel in the e2e suite, because both the class
|
|
444
465
|
list and the icon's geometry are identical either way.
|
|
445
466
|
|
|
446
|
-
-
|
|
467
|
+
- A `Select`'s dropdown list ignored the theme. `<option>` and `<optgroup>`
|
|
447
468
|
default to a transparent background, and the browser paints the popup from the
|
|
448
469
|
option's own colors, so the list fell back to user-agent colors instead of the
|
|
449
470
|
field's. Both now carry the surface and text tokens, group labels lose the
|
|
@@ -451,7 +472,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
451
472
|
|
|
452
473
|
### Changed
|
|
453
474
|
|
|
454
|
-
-
|
|
475
|
+
- A `Select`'s chevron turns danger when the field is invalid. The chevron is
|
|
455
476
|
a sibling of the field rather than a descendant, so the error state was not
|
|
456
477
|
reaching it and the control's trailing edge stayed neutral while `Input` and
|
|
457
478
|
`Textarea` both changed.
|
|
@@ -462,7 +483,7 @@ landing pages, articles, overlays, a storefront).
|
|
|
462
483
|
|
|
463
484
|
### Added
|
|
464
485
|
|
|
465
|
-
-
|
|
486
|
+
- `Field` wires a form control to its label, help text and error message.
|
|
466
487
|
`invalid` already emitted `aria-invalid`, but nothing associated an error
|
|
467
488
|
message, so a screen reader announced that a control was invalid without
|
|
468
489
|
saying why. `Field` owns one id and publishes it, the label id, the
|
|
@@ -481,15 +502,15 @@ landing pages, articles, overlays, a storefront).
|
|
|
481
502
|
takes the label by reference through `aria-labelledby` instead. `Field`'s own
|
|
482
503
|
size becomes the control's default, the same way `Label` already worked.
|
|
483
504
|
|
|
484
|
-
-
|
|
505
|
+
- `Tooltip` describes its trigger on hover and on keyboard focus. Built on
|
|
485
506
|
`PopupTrigger`'s tooltip semantics: the trigger gets `aria-describedby` while
|
|
486
507
|
open and never `aria-haspopup` or `aria-expanded`, which do not apply.
|
|
487
508
|
|
|
488
|
-
-
|
|
509
|
+
- `Spinner` promotes the ring that already existed inside `Button` to a
|
|
489
510
|
component of its own. `role="status"`, sized by the size prop and coloured by
|
|
490
511
|
the appearance prop.
|
|
491
512
|
|
|
492
|
-
-
|
|
513
|
+
- `Alert` is a live-region surface: `role="alert"` by default, or
|
|
493
514
|
`role="status"` with `polite` for messages that should wait for a pause.
|
|
494
515
|
|
|
495
516
|
### Changed
|
|
@@ -574,34 +595,34 @@ through `ThemeProvider`.
|
|
|
574
595
|
|
|
575
596
|
### Added
|
|
576
597
|
|
|
577
|
-
-
|
|
598
|
+
- [Table](https://vaneui.com/docs/layout-components/table) family. `Table`, `Thead`,
|
|
578
599
|
`Tbody`, `Tfoot`, `Tr`, `Th`, `Td`, `Caption`, with the size prop cascading from any
|
|
579
600
|
container element down to the cells.
|
|
580
|
-
-
|
|
601
|
+
- Dark mode through the `data-theme="dark"` token contract. No component code
|
|
581
602
|
changes are required, and consumers can declare their own themes by re-declaring the
|
|
582
603
|
same tokens under any selector.
|
|
583
|
-
-
|
|
604
|
+
- RTL support. Logical CSS utilities behind the existing props, plus `textStart` and
|
|
584
605
|
`textEnd` alongside the physical `textLeft` and `textRight`.
|
|
585
|
-
-
|
|
606
|
+
- Nested submenus on [Menu](https://vaneui.com/docs/overlay-components/menu), with
|
|
586
607
|
the full keyboard model including typeahead, `Home`, `End`, and arrow-key traversal.
|
|
587
|
-
-
|
|
608
|
+
- Icon container mode. [Icon](https://vaneui.com/docs/basic-components/icon) gained
|
|
588
609
|
opt-in padding, shape, border, and ring, and its glyph size decoupled from the
|
|
589
610
|
font-size variable.
|
|
590
|
-
-
|
|
611
|
+
- List markers and spacing. `listCircle`, `listSquare`, `listLowerAlpha`,
|
|
591
612
|
`listLowerRoman`, inside/outside positioning, per-item gap control, automatic marker
|
|
592
613
|
progression on nested lists, and a
|
|
593
614
|
[ListItem](https://vaneui.com/docs/typography-components/list) `icon` prop for custom
|
|
594
615
|
markers.
|
|
595
|
-
-
|
|
616
|
+
- Size-driven margin props on layout components and block typography, on the same
|
|
596
617
|
scale as gap and padding.
|
|
597
|
-
-
|
|
598
|
-
-
|
|
618
|
+
- Per-side border widths and logical `borderStart` / `borderEnd` props.
|
|
619
|
+
- `alignSelf` and `justifySelf` props, with
|
|
599
620
|
[Popup](https://vaneui.com/docs/overlay-components/popup) edge alignment driven
|
|
600
621
|
through them.
|
|
601
|
-
-
|
|
622
|
+
- Granular inherit props (`inheritSize`, `inheritColor`, `inheritBg`,
|
|
602
623
|
`inheritBorder`) alongside `inheritAppearance`.
|
|
603
|
-
-
|
|
604
|
-
-
|
|
624
|
+
- `wordBreak` category, and `whitespace` extended to typography components.
|
|
625
|
+
- `href` support on `Row`, `Col`, and `Stack`, with a conditional focus ring.
|
|
605
626
|
|
|
606
627
|
### Changed
|
|
607
628
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const BUTTON_SPINNER_CATEGORIES = ["position", "display", "items", "justify", "overflow", "hide"];
|
|
3
|
+
const BUTTON_SPINNER_CATEGORIES = ["position", "display", "items", "justify", "overflow", "hide", "show"];
|
|
4
4
|
|
|
5
5
|
exports.BUTTON_SPINNER_CATEGORIES = BUTTON_SPINNER_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=ButtonSpinnerCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSpinnerCategories.cjs","sources":["../../../../../src/components/ui/button/ButtonSpinnerCategories.ts"],"sourcesContent":["/** Categories for button spinner sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const BUTTON_SPINNER_CATEGORIES = ['position', 'display', 'items', 'justify', 'overflow', 'hide'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,
|
|
1
|
+
{"version":3,"file":"ButtonSpinnerCategories.cjs","sources":["../../../../../src/components/ui/button/ButtonSpinnerCategories.ts"],"sourcesContent":["/** Categories for button spinner sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const BUTTON_SPINNER_CATEGORIES = ['position', 'display', 'items', 'justify', 'overflow', 'hide', 'show'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,yBAAA,GAA4B,CAAC,UAAA,EAAY,SAAA,EAAW,SAAS,SAAA,EAAW,UAAA,EAAY,QAAQ,MAAM;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const CHECKBOX_CHECK_CATEGORIES = ["display", "items", "justify", "position", "hide"];
|
|
3
|
+
const CHECKBOX_CHECK_CATEGORIES = ["display", "items", "justify", "position", "hide", "show"];
|
|
4
4
|
|
|
5
5
|
exports.CHECKBOX_CHECK_CATEGORIES = CHECKBOX_CHECK_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=CheckboxCheckCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxCheckCategories.cjs","sources":["../../../../../src/components/ui/checkbox/CheckboxCheckCategories.ts"],"sourcesContent":["/** Categories for checkbox check mark sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const CHECKBOX_CHECK_CATEGORIES = ['display', 'items', 'justify', 'position', 'hide'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,4BAA4B,CAAC,SAAA,EAAW,
|
|
1
|
+
{"version":3,"file":"CheckboxCheckCategories.cjs","sources":["../../../../../src/components/ui/checkbox/CheckboxCheckCategories.ts"],"sourcesContent":["/** Categories for checkbox check mark sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const CHECKBOX_CHECK_CATEGORIES = ['display', 'items', 'justify', 'position', 'hide', 'show'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,4BAA4B,CAAC,SAAA,EAAW,SAAS,SAAA,EAAW,UAAA,EAAY,QAAQ,MAAM;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const CHECKBOX_INDETERMINATE_CATEGORIES = ["display", "items", "justify", "position", "hide"];
|
|
3
|
+
const CHECKBOX_INDETERMINATE_CATEGORIES = ["display", "items", "justify", "position", "hide", "show"];
|
|
4
4
|
|
|
5
5
|
exports.CHECKBOX_INDETERMINATE_CATEGORIES = CHECKBOX_INDETERMINATE_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=CheckboxIndeterminateCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxIndeterminateCategories.cjs","sources":["../../../../../src/components/ui/checkbox/CheckboxIndeterminateCategories.ts"],"sourcesContent":["/** Categories for checkbox indeterminate mark sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const CHECKBOX_INDETERMINATE_CATEGORIES = ['display', 'items', 'justify', 'position', 'hide'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,oCAAoC,CAAC,SAAA,EAAW,
|
|
1
|
+
{"version":3,"file":"CheckboxIndeterminateCategories.cjs","sources":["../../../../../src/components/ui/checkbox/CheckboxIndeterminateCategories.ts"],"sourcesContent":["/** Categories for checkbox indeterminate mark sub-theme (layout only, no appearance/size — inherits via CSS variables) */\nexport const CHECKBOX_INDETERMINATE_CATEGORIES = ['display', 'items', 'justify', 'position', 'hide', 'show'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,oCAAoC,CAAC,SAAA,EAAW,SAAS,SAAA,EAAW,UAAA,EAAY,QAAQ,MAAM;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const INPUT_ERROR_ICON_CATEGORIES = ["size", "display", "items", "justify", "position", "pointerEvents", "hide"];
|
|
3
|
+
const INPUT_ERROR_ICON_CATEGORIES = ["size", "display", "items", "justify", "position", "pointerEvents", "hide", "show"];
|
|
4
4
|
|
|
5
5
|
exports.INPUT_ERROR_ICON_CATEGORIES = INPUT_ERROR_ICON_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=InputErrorIconCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputErrorIconCategories.cjs","sources":["../../../../../src/components/ui/input/InputErrorIconCategories.ts"],"sourcesContent":["/** Categories for the input error-icon sub-theme (size drives the icon's own --fs/--px scale) */\nexport const INPUT_ERROR_ICON_CATEGORIES = ['size', 'display', 'items', 'justify', 'position', 'pointerEvents', 'hide'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,2BAAA,GAA8B,CAAC,MAAA,EAAQ,SAAA,EAAW,SAAS,SAAA,EAAW,UAAA,EAAY,
|
|
1
|
+
{"version":3,"file":"InputErrorIconCategories.cjs","sources":["../../../../../src/components/ui/input/InputErrorIconCategories.ts"],"sourcesContent":["/** Categories for the input error-icon sub-theme (size drives the icon's own --fs/--px scale) */\nexport const INPUT_ERROR_ICON_CATEGORIES = ['size', 'display', 'items', 'justify', 'position', 'pointerEvents', 'hide', 'show'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,2BAAA,GAA8B,CAAC,MAAA,EAAQ,SAAA,EAAW,SAAS,SAAA,EAAW,UAAA,EAAY,eAAA,EAAiB,MAAA,EAAQ,MAAM;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const INPUT_WRAPPER_CATEGORIES = ["display", "position", "width", "items", "justify", "hide"];
|
|
3
|
+
const INPUT_WRAPPER_CATEGORIES = ["display", "position", "width", "responsiveWidth", "items", "justify", "hide", "show"];
|
|
4
4
|
|
|
5
5
|
exports.INPUT_WRAPPER_CATEGORIES = INPUT_WRAPPER_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=InputWrapperCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputWrapperCategories.cjs","sources":["../../../../../src/components/ui/input/InputWrapperCategories.ts"],"sourcesContent":["/** Categories for the input wrapper sub-theme (positioning only) */\nexport const INPUT_WRAPPER_CATEGORIES = ['display', 'position', 'width', 'items', 'justify', 'hide'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,
|
|
1
|
+
{"version":3,"file":"InputWrapperCategories.cjs","sources":["../../../../../src/components/ui/input/InputWrapperCategories.ts"],"sourcesContent":["/** Categories for the input wrapper sub-theme (positioning only) */\nexport const INPUT_WRAPPER_CATEGORIES = ['display', 'position', 'width', 'responsiveWidth', 'items', 'justify', 'hide', 'show'] as const;\n"],"names":[],"mappings":";;AACO,MAAM,wBAAA,GAA2B,CAAC,SAAA,EAAW,UAAA,EAAY,SAAS,iBAAA,EAAmB,OAAA,EAAS,SAAA,EAAW,MAAA,EAAQ,MAAM;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var categoryBuilders = require('../props/categoryBuilders.cjs');
|
|
4
4
|
|
|
5
|
-
const NAV_LINK_LABEL_CATEGORIES = [...categoryBuilders.TRUNCATE, "overflow", "whitespace", "width", "flex"];
|
|
5
|
+
const NAV_LINK_LABEL_CATEGORIES = [...categoryBuilders.TRUNCATE, "overflow", "whitespace", "width", "responsiveWidth", "flex"];
|
|
6
6
|
|
|
7
7
|
exports.NAV_LINK_LABEL_CATEGORIES = NAV_LINK_LABEL_CATEGORIES;
|
|
8
8
|
//# sourceMappingURL=NavLinkLabelCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLinkLabelCategories.cjs","sources":["../../../../../src/components/ui/navLink/NavLinkLabelCategories.ts"],"sourcesContent":["import { TRUNCATE } from \"../props/categoryBuilders\";\n\n/** Categories for NavLink label sub-theme — truncation, overflow, whitespace, width, flex grow */\nexport const NAV_LINK_LABEL_CATEGORIES = [...TRUNCATE, 'overflow', 'whitespace', 'width', 'flex'] as const;\n"],"names":["TRUNCATE"],"mappings":";;;;AAGO,MAAM,
|
|
1
|
+
{"version":3,"file":"NavLinkLabelCategories.cjs","sources":["../../../../../src/components/ui/navLink/NavLinkLabelCategories.ts"],"sourcesContent":["import { TRUNCATE } from \"../props/categoryBuilders\";\n\n/** Categories for NavLink label sub-theme — truncation, overflow, whitespace, width, flex grow */\nexport const NAV_LINK_LABEL_CATEGORIES = [...TRUNCATE, 'overflow', 'whitespace', 'width', 'responsiveWidth', 'flex'] as const;\n"],"names":["TRUNCATE"],"mappings":";;;;AAGO,MAAM,yBAAA,GAA4B,CAAC,GAAGA,yBAAA,EAAU,YAAY,YAAA,EAAc,OAAA,EAAS,mBAAmB,MAAM;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const PROGRESS_CATEGORIES = ["size", "appearance", "shape", "transition", "overflow", "width", "flex", "hide", "margin"];
|
|
3
|
+
const PROGRESS_CATEGORIES = ["size", "appearance", "shape", "transition", "overflow", "width", "responsiveWidth", "flex", "hide", "show", "margin"];
|
|
4
4
|
|
|
5
5
|
exports.PROGRESS_CATEGORIES = PROGRESS_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=ProgressCategories.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCategories.cjs","sources":["../../../../../src/components/ui/progress/ProgressCategories.ts"],"sourcesContent":["export const PROGRESS_CATEGORIES = ['size', 'appearance', 'shape', 'transition', 'overflow', 'width', 'flex', 'hide', 'margin'] as const;\n"],"names":[],"mappings":";;AAAO,MAAM,mBAAA,GAAsB,CAAC,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,
|
|
1
|
+
{"version":3,"file":"ProgressCategories.cjs","sources":["../../../../../src/components/ui/progress/ProgressCategories.ts"],"sourcesContent":["export const PROGRESS_CATEGORIES = ['size', 'appearance', 'shape', 'transition', 'overflow', 'width', 'responsiveWidth', 'flex', 'hide', 'show', 'margin'] as const;\n"],"names":[],"mappings":";;AAAO,MAAM,mBAAA,GAAsB,CAAC,MAAA,EAAQ,YAAA,EAAc,OAAA,EAAS,YAAA,EAAc,UAAA,EAAY,OAAA,EAAS,iBAAA,EAAmB,MAAA,EAAQ,MAAA,EAAQ,MAAA,EAAQ,QAAQ;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const PROGRESS_FILL_CATEGORIES = ["appearance", "variant", "shape", "transition", "width", "height"];
|
|
3
|
+
const PROGRESS_FILL_CATEGORIES = ["appearance", "variant", "shape", "transition", "width", "responsiveWidth", "height"];
|
|
4
4
|
|
|
5
5
|
exports.PROGRESS_FILL_CATEGORIES = PROGRESS_FILL_CATEGORIES;
|
|
6
6
|
//# sourceMappingURL=ProgressFillCategories.cjs.map
|