@vaneui/ui 1.4.2 → 1.4.3-alpha.20261010125233.ec43420
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 +122 -0
- package/dist/cjs/components/ui/alert/AlertCategories.cjs +1 -0
- package/dist/cjs/components/ui/alert/AlertCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/alert/alertDefaults.cjs +2 -1
- package/dist/cjs/components/ui/alert/alertDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/alert/defaultAlertTheme.cjs +3 -1
- package/dist/cjs/components/ui/alert/defaultAlertTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/button/Button.cjs +1 -1
- package/dist/cjs/components/ui/button/Button.cjs.map +1 -1
- package/dist/cjs/components/ui/card/Card.cjs +14 -2
- package/dist/cjs/components/ui/card/Card.cjs.map +1 -1
- package/dist/cjs/components/ui/card/defaultCardTheme.cjs +6 -1
- package/dist/cjs/components/ui/card/defaultCardTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/Checkbox.cjs +9 -2
- package/dist/cjs/components/ui/checkbox/Checkbox.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCategories.cjs +2 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/defaultCheckboxWrapperTheme.cjs +3 -0
- package/dist/cjs/components/ui/checkbox/defaultCheckboxWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/chip/Chip.cjs +2 -1
- package/dist/cjs/components/ui/chip/Chip.cjs.map +1 -1
- package/dist/cjs/components/ui/classes/appearanceClasses.cjs +2 -0
- package/dist/cjs/components/ui/classes/appearanceClasses.cjs.map +1 -1
- package/dist/cjs/components/ui/field/Field.cjs +42 -3
- package/dist/cjs/components/ui/field/Field.cjs.map +1 -1
- package/dist/cjs/components/ui/field/FieldContext.cjs +4 -1
- package/dist/cjs/components/ui/field/FieldContext.cjs.map +1 -1
- package/dist/cjs/components/ui/iconButton/IconButton.cjs +1 -1
- package/dist/cjs/components/ui/iconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/components/ui/input/defaultInputTheme.cjs +1 -1
- package/dist/cjs/components/ui/input/defaultInputTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs +1 -1
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/menu/Menu.cjs +18 -8
- package/dist/cjs/components/ui/menu/Menu.cjs.map +1 -1
- package/dist/cjs/components/ui/menu/MenuContext.cjs.map +1 -1
- package/dist/cjs/components/ui/menu/MenuItem.cjs +2 -9
- package/dist/cjs/components/ui/menu/MenuItem.cjs.map +1 -1
- package/dist/cjs/components/ui/menu/menuPopupDefaults.cjs +1 -0
- package/dist/cjs/components/ui/menu/menuPopupDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/Modal.cjs +3 -2
- package/dist/cjs/components/ui/modal/Modal.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/modalCloseButtonDefaults.cjs +3 -0
- package/dist/cjs/components/ui/modal/modalCloseButtonDefaults.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/navLink/defaultNavLinkLabelTheme.cjs +3 -1
- package/dist/cjs/components/ui/navLink/defaultNavLinkLabelTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/navLink/navLinkLabelDefaults.cjs +3 -1
- package/dist/cjs/components/ui/navLink/navLinkLabelDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/popup/Popup.cjs +17 -11
- package/dist/cjs/components/ui/popup/Popup.cjs.map +1 -1
- package/dist/cjs/components/ui/popup/popupDefaults.cjs +1 -0
- package/dist/cjs/components/ui/popup/popupDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/props/categoryBuilders.cjs +2 -0
- package/dist/cjs/components/ui/props/categoryBuilders.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/Radio.cjs +4 -3
- package/dist/cjs/components/ui/radio/Radio.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/RadioGroup.cjs +3 -2
- package/dist/cjs/components/ui/radio/RadioGroup.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/RadioGroupContext.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs +1 -2
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs +3 -0
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/select/Select.cjs +15 -1
- package/dist/cjs/components/ui/select/Select.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/select/defaultSelectTheme.cjs +1 -1
- package/dist/cjs/components/ui/select/defaultSelectTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs +3 -1
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/Switch.cjs +12 -3
- package/dist/cjs/components/ui/switch/Switch.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.cjs +3 -0
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.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/defaultTableTheme.cjs +3 -1
- package/dist/cjs/components/ui/table/defaultTableTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/table/tableDefaults.cjs +2 -1
- package/dist/cjs/components/ui/table/tableDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs +1 -1
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/disabledClassMapper.cjs +8 -1
- package/dist/cjs/components/ui/theme/appearance/disabledClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/disabledOpacityClassMapper.cjs +1 -1
- package/dist/cjs/components/ui/theme/appearance/disabledOpacityClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/readOnlyClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/appearance/statusClassMapper.cjs +2 -2
- package/dist/cjs/components/ui/theme/appearance/statusClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/common/ComponentTheme.cjs +3 -2
- package/dist/cjs/components/ui/theme/common/ComponentTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/common/appearanceClassMappers.cjs +2 -0
- package/dist/cjs/components/ui/theme/common/appearanceClassMappers.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/layout/transitionClassMapper.cjs +2 -2
- package/dist/cjs/components/ui/theme/layout/transitionClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs +12 -6
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs.map +1 -1
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs +2 -1
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/link/Link.cjs +4 -1
- package/dist/cjs/components/ui/typography/link/Link.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/link/LinkCategories.cjs +1 -1
- package/dist/cjs/components/ui/typography/link/LinkCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/link/defaultLinkTheme.cjs +8 -2
- package/dist/cjs/components/ui/typography/link/defaultLinkTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/listItem/ListItem.cjs +0 -2
- package/dist/cjs/components/ui/typography/listItem/ListItem.cjs.map +1 -1
- package/dist/esm/components/ui/alert/AlertCategories.mjs +2 -1
- package/dist/esm/components/ui/alert/AlertCategories.mjs.map +1 -1
- package/dist/esm/components/ui/alert/alertDefaults.mjs +2 -1
- package/dist/esm/components/ui/alert/alertDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/alert/defaultAlertTheme.mjs +3 -1
- package/dist/esm/components/ui/alert/defaultAlertTheme.mjs.map +1 -1
- package/dist/esm/components/ui/button/Button.mjs +1 -1
- package/dist/esm/components/ui/button/Button.mjs.map +1 -1
- package/dist/esm/components/ui/card/Card.mjs +15 -3
- package/dist/esm/components/ui/card/Card.mjs.map +1 -1
- package/dist/esm/components/ui/card/defaultCardTheme.mjs +6 -1
- package/dist/esm/components/ui/card/defaultCardTheme.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/Checkbox.mjs +10 -3
- package/dist/esm/components/ui/checkbox/Checkbox.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxCategories.mjs +3 -2
- package/dist/esm/components/ui/checkbox/CheckboxCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/defaultCheckboxWrapperTheme.mjs +3 -0
- package/dist/esm/components/ui/checkbox/defaultCheckboxWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/chip/Chip.mjs +2 -1
- package/dist/esm/components/ui/chip/Chip.mjs.map +1 -1
- package/dist/esm/components/ui/classes/appearanceClasses.mjs +2 -1
- package/dist/esm/components/ui/classes/appearanceClasses.mjs.map +1 -1
- package/dist/esm/components/ui/field/Field.mjs +42 -3
- package/dist/esm/components/ui/field/Field.mjs.map +1 -1
- package/dist/esm/components/ui/field/FieldContext.mjs +4 -1
- package/dist/esm/components/ui/field/FieldContext.mjs.map +1 -1
- package/dist/esm/components/ui/iconButton/IconButton.mjs +1 -1
- package/dist/esm/components/ui/iconButton/IconButton.mjs.map +1 -1
- package/dist/esm/components/ui/input/defaultInputTheme.mjs +2 -2
- package/dist/esm/components/ui/input/defaultInputTheme.mjs.map +1 -1
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs +1 -1
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs.map +1 -1
- package/dist/esm/components/ui/menu/Menu.mjs +18 -8
- package/dist/esm/components/ui/menu/Menu.mjs.map +1 -1
- package/dist/esm/components/ui/menu/MenuContext.mjs.map +1 -1
- package/dist/esm/components/ui/menu/MenuItem.mjs +2 -9
- package/dist/esm/components/ui/menu/MenuItem.mjs.map +1 -1
- package/dist/esm/components/ui/menu/menuPopupDefaults.mjs +1 -0
- package/dist/esm/components/ui/menu/menuPopupDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/modal/Modal.mjs +3 -2
- package/dist/esm/components/ui/modal/Modal.mjs.map +1 -1
- package/dist/esm/components/ui/modal/modalCloseButtonDefaults.mjs +3 -0
- package/dist/esm/components/ui/modal/modalCloseButtonDefaults.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/navLink/defaultNavLinkLabelTheme.mjs +3 -1
- package/dist/esm/components/ui/navLink/defaultNavLinkLabelTheme.mjs.map +1 -1
- package/dist/esm/components/ui/navLink/navLinkLabelDefaults.mjs +3 -1
- package/dist/esm/components/ui/navLink/navLinkLabelDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/popup/Popup.mjs +17 -11
- package/dist/esm/components/ui/popup/Popup.mjs.map +1 -1
- package/dist/esm/components/ui/popup/popupDefaults.mjs +1 -0
- package/dist/esm/components/ui/popup/popupDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs +2 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs.map +1 -1
- package/dist/esm/components/ui/radio/Radio.mjs +4 -3
- package/dist/esm/components/ui/radio/Radio.mjs.map +1 -1
- package/dist/esm/components/ui/radio/RadioGroup.mjs +4 -3
- package/dist/esm/components/ui/radio/RadioGroup.mjs.map +1 -1
- package/dist/esm/components/ui/radio/RadioGroupContext.mjs.map +1 -1
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs +2 -3
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs.map +1 -1
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs +3 -0
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/select/Select.mjs +16 -2
- package/dist/esm/components/ui/select/Select.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/select/defaultSelectTheme.mjs +2 -2
- package/dist/esm/components/ui/select/defaultSelectTheme.mjs.map +1 -1
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs +3 -1
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/switch/Switch.mjs +12 -3
- package/dist/esm/components/ui/switch/Switch.mjs.map +1 -1
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs +3 -0
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs.map +1 -1
- package/dist/esm/components/ui/table/TableCategories.mjs +2 -1
- package/dist/esm/components/ui/table/TableCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/defaultTableTheme.mjs +3 -1
- package/dist/esm/components/ui/table/defaultTableTheme.mjs.map +1 -1
- package/dist/esm/components/ui/table/tableDefaults.mjs +2 -1
- package/dist/esm/components/ui/table/tableDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs +2 -2
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/disabledClassMapper.mjs +8 -2
- package/dist/esm/components/ui/theme/appearance/disabledClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/disabledOpacityClassMapper.mjs +1 -1
- package/dist/esm/components/ui/theme/appearance/disabledOpacityClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/readOnlyClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/appearance/statusClassMapper.mjs +2 -2
- package/dist/esm/components/ui/theme/appearance/statusClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/common/ComponentTheme.mjs +3 -2
- package/dist/esm/components/ui/theme/common/ComponentTheme.mjs.map +1 -1
- package/dist/esm/components/ui/theme/common/appearanceClassMappers.mjs +3 -2
- package/dist/esm/components/ui/theme/common/appearanceClassMappers.mjs.map +1 -1
- package/dist/esm/components/ui/theme/layout/transitionClassMapper.mjs +2 -2
- package/dist/esm/components/ui/theme/layout/transitionClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/tooltip/Tooltip.mjs +12 -6
- package/dist/esm/components/ui/tooltip/Tooltip.mjs.map +1 -1
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs +2 -1
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/typography/link/Link.mjs +4 -1
- package/dist/esm/components/ui/typography/link/Link.mjs.map +1 -1
- package/dist/esm/components/ui/typography/link/LinkCategories.mjs +1 -1
- package/dist/esm/components/ui/typography/link/LinkCategories.mjs.map +1 -1
- package/dist/esm/components/ui/typography/link/defaultLinkTheme.mjs +8 -2
- package/dist/esm/components/ui/typography/link/defaultLinkTheme.mjs.map +1 -1
- package/dist/esm/components/ui/typography/listItem/ListItem.mjs +0 -2
- package/dist/esm/components/ui/typography/listItem/ListItem.mjs.map +1 -1
- package/dist/types/components/ui/alert/Alert.d.cts +1 -1
- package/dist/types/components/ui/alert/Alert.d.mts +1 -1
- package/dist/types/components/ui/alert/Alert.d.ts +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/alert/AlertProps.d.cts +2 -2
- package/dist/types/components/ui/alert/AlertProps.d.mts +2 -2
- package/dist/types/components/ui/alert/AlertProps.d.ts +2 -2
- package/dist/types/components/ui/alert/AlertTheme.d.cts +2 -1
- package/dist/types/components/ui/alert/AlertTheme.d.mts +2 -1
- package/dist/types/components/ui/alert/AlertTheme.d.ts +2 -1
- package/dist/types/components/ui/card/CardTheme.d.cts +1 -0
- package/dist/types/components/ui/card/CardTheme.d.mts +1 -0
- package/dist/types/components/ui/card/CardTheme.d.ts +1 -0
- 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/CheckboxWrapperTheme.d.cts +2 -1
- package/dist/types/components/ui/checkbox/CheckboxWrapperTheme.d.mts +2 -1
- package/dist/types/components/ui/checkbox/CheckboxWrapperTheme.d.ts +2 -1
- package/dist/types/components/ui/classes/appearanceClasses.d.cts +2 -0
- package/dist/types/components/ui/classes/appearanceClasses.d.mts +2 -0
- package/dist/types/components/ui/classes/appearanceClasses.d.ts +2 -0
- package/dist/types/components/ui/field/FieldContext.d.cts +7 -0
- package/dist/types/components/ui/field/FieldContext.d.mts +7 -0
- package/dist/types/components/ui/field/FieldContext.d.ts +7 -0
- package/dist/types/components/ui/menu/MenuContext.d.cts +4 -0
- package/dist/types/components/ui/menu/MenuContext.d.mts +4 -0
- package/dist/types/components/ui/menu/MenuContext.d.ts +4 -0
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.cts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.mts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.ts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelProps.d.cts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelProps.d.mts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelProps.d.ts +2 -2
- package/dist/types/components/ui/navLink/NavLinkLabelTheme.d.cts +2 -0
- package/dist/types/components/ui/navLink/NavLinkLabelTheme.d.mts +2 -0
- package/dist/types/components/ui/navLink/NavLinkLabelTheme.d.ts +2 -0
- package/dist/types/components/ui/props/categoryBuilders.d.cts +1 -0
- package/dist/types/components/ui/props/categoryBuilders.d.mts +1 -0
- package/dist/types/components/ui/props/categoryBuilders.d.ts +1 -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/radio/RadioGroupContext.d.cts +3 -0
- package/dist/types/components/ui/radio/RadioGroupContext.d.mts +3 -0
- package/dist/types/components/ui/radio/RadioGroupContext.d.ts +3 -0
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.cts +2 -1
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.mts +2 -1
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.ts +2 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.cts +2 -2
- package/dist/types/components/ui/select/SelectWrapperCategories.d.mts +2 -2
- package/dist/types/components/ui/select/SelectWrapperCategories.d.ts +2 -2
- package/dist/types/components/ui/select/SelectWrapperProps.d.cts +2 -2
- package/dist/types/components/ui/select/SelectWrapperProps.d.mts +2 -2
- package/dist/types/components/ui/select/SelectWrapperProps.d.ts +2 -2
- package/dist/types/components/ui/select/SelectWrapperTheme.d.cts +2 -1
- package/dist/types/components/ui/select/SelectWrapperTheme.d.mts +2 -1
- package/dist/types/components/ui/select/SelectWrapperTheme.d.ts +2 -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/SwitchWrapperTheme.d.cts +2 -1
- package/dist/types/components/ui/switch/SwitchWrapperTheme.d.mts +2 -1
- package/dist/types/components/ui/switch/SwitchWrapperTheme.d.ts +2 -1
- package/dist/types/components/ui/table/Table.d.cts +1 -1
- package/dist/types/components/ui/table/Table.d.mts +1 -1
- package/dist/types/components/ui/table/Table.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/TableProps.d.cts +2 -2
- package/dist/types/components/ui/table/TableProps.d.mts +2 -2
- package/dist/types/components/ui/table/TableProps.d.ts +2 -2
- package/dist/types/components/ui/table/TableTheme.d.cts +2 -1
- package/dist/types/components/ui/table/TableTheme.d.mts +2 -1
- package/dist/types/components/ui/table/TableTheme.d.ts +2 -1
- package/dist/types/components/ui/theme/appearance/disabledClassMapper.d.cts +4 -0
- package/dist/types/components/ui/theme/appearance/disabledClassMapper.d.mts +4 -0
- package/dist/types/components/ui/theme/appearance/disabledClassMapper.d.ts +4 -0
- package/dist/types/components/ui/theme/appearance/index.d.cts +1 -1
- package/dist/types/components/ui/theme/appearance/index.d.mts +1 -1
- package/dist/types/components/ui/theme/appearance/index.d.ts +1 -1
- package/dist/types/components/ui/theme/appearance/readOnlyClassMapper.d.cts +1 -1
- package/dist/types/components/ui/theme/appearance/readOnlyClassMapper.d.mts +1 -1
- package/dist/types/components/ui/theme/appearance/readOnlyClassMapper.d.ts +1 -1
- package/dist/types/components/ui/theme/appearance/statusClassMapper.d.cts +1 -1
- package/dist/types/components/ui/theme/appearance/statusClassMapper.d.mts +1 -1
- package/dist/types/components/ui/theme/appearance/statusClassMapper.d.ts +1 -1
- package/dist/types/components/ui/theme/common/appearanceClassMappers.d.cts +2 -0
- package/dist/types/components/ui/theme/common/appearanceClassMappers.d.mts +2 -0
- package/dist/types/components/ui/theme/common/appearanceClassMappers.d.ts +2 -0
- package/dist/types/components/ui/theme/common/index.d.cts +1 -1
- package/dist/types/components/ui/theme/common/index.d.mts +1 -1
- package/dist/types/components/ui/theme/common/index.d.ts +1 -1
- package/dist/types/components/ui/theme/layout/transitionClassMapper.d.cts +1 -1
- package/dist/types/components/ui/theme/layout/transitionClassMapper.d.mts +1 -1
- package/dist/types/components/ui/theme/layout/transitionClassMapper.d.ts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.cts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.mts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/ui/tooltip/TooltipProps.d.cts +7 -4
- package/dist/types/components/ui/tooltip/TooltipProps.d.mts +7 -4
- package/dist/types/components/ui/tooltip/TooltipProps.d.ts +7 -4
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.cts +1 -1
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.mts +1 -1
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.ts +1 -1
- package/dist/types/components/ui/typography/link/LinkCategories.d.cts +3 -3
- package/dist/types/components/ui/typography/link/LinkCategories.d.mts +3 -3
- package/dist/types/components/ui/typography/link/LinkCategories.d.ts +3 -3
- package/dist/types/components/ui/typography/link/LinkTheme.d.cts +4 -0
- package/dist/types/components/ui/typography/link/LinkTheme.d.mts +4 -0
- package/dist/types/components/ui/typography/link/LinkTheme.d.ts +4 -0
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.mjs","sources":["../../../../../src/components/ui/tooltip/Tooltip.tsx"],"sourcesContent":["import { useMemo } from 'react';\nimport type { TooltipProps } from \"./TooltipProps\";\nimport { PopupTrigger } from \"../popup/PopupTrigger\";\nimport { useTheme } from \"../../themeContext\";\nimport { ThemeProvider } from \"../../ThemeProvider\";\nimport { defaultTooltipTheme } from \"./defaultTooltipTheme\";\n\nexport function Tooltip({\n children,\n content,\n openDelay = 300,\n closeDelay = 100,\n popupProps,\n ...
|
|
1
|
+
{"version":3,"file":"Tooltip.mjs","sources":["../../../../../src/components/ui/tooltip/Tooltip.tsx"],"sourcesContent":["import { useMemo } from 'react';\nimport type { TooltipProps } from \"./TooltipProps\";\nimport { PopupTrigger } from \"../popup/PopupTrigger\";\nimport { useTheme } from \"../../themeContext\";\nimport { ThemeProvider } from \"../../ThemeProvider\";\nimport { defaultTooltipTheme } from \"./defaultTooltipTheme\";\n\nexport function Tooltip({\n children,\n content,\n open,\n defaultOpen,\n onOpenChange,\n openDelay = 300,\n closeDelay = 100,\n popupProps,\n popupId,\n disabled,\n ...directPopupProps\n}: TooltipProps) {\n const theme = useTheme();\n const tooltipTheme = theme?.tooltip ?? defaultTooltipTheme;\n // pushed as defaults rather than props so every visual aspect stays themeable\n const childThemeDefaults = useMemo(() => ({ popup: tooltipTheme.defaults }), [tooltipTheme]);\n // role=tooltip switches PopupTrigger to describedby semantics: no haspopup/expanded;\n // data-tooltip opts the popup into the label-sized rules in rules.css\n const tooltipPopupProps = { role: 'tooltip' as const, 'data-tooltip': '', ...directPopupProps, ...popupProps };\n\n return (\n <ThemeProvider themeDefaults={childThemeDefaults}>\n <PopupTrigger\n popup={content}\n triggerOnHover\n triggerOnFocus\n open={open}\n defaultOpen={defaultOpen}\n onOpenChange={onOpenChange}\n openDelay={openDelay}\n closeDelay={closeDelay}\n popupProps={tooltipPopupProps}\n popupId={popupId}\n disabled={disabled}\n >\n {children}\n </PopupTrigger>\n </ThemeProvider>\n );\n}\n\nTooltip.displayName = 'Tooltip';\n"],"names":[],"mappings":";;;;;;;;AAOO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,OAAA,CAAQ;AAAA,CAAA,CACtB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAA,C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A,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACZ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAEC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CACH,EACF,CAAA;AAEJ;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipDefaults.mjs","sources":["../../../../../src/components/ui/tooltip/tooltipDefaults.ts"],"sourcesContent":["import type { PopupProps } from \"../popup/PopupProps\";\n\n/** Tooltip popup: smaller and filled, so it reads as an overlay label rather than a panel. */\nexport const tooltipDefaults: Partial<PopupProps> = {\n sm: true,\n fixed: true,\n flex: true,\n column: true,\n noGap: true,\n rounded: true,\n shadow: true,\n noBorder: true,\n noInsetRing: true,\n
|
|
1
|
+
{"version":3,"file":"tooltipDefaults.mjs","sources":["../../../../../src/components/ui/tooltip/tooltipDefaults.ts"],"sourcesContent":["import type { PopupProps } from \"../popup/PopupProps\";\n\n/** Tooltip popup: smaller and filled in ink (near-white in dark mode), so it reads as an overlay label rather than a panel. */\nexport const tooltipDefaults: Partial<PopupProps> = {\n sm: true,\n fixed: true,\n flex: true,\n column: true,\n noGap: true,\n rounded: true,\n shadow: true,\n noBorder: true,\n noInsetRing: true,\n primary: true,\n filled: true,\n wFit: true,\n fontSans: true,\n placeTop: true,\n};\n"],"names":[],"mappings":"AAGO,MAAM,eAAA,GAAuC;AAAA,EAClD,EAAA,EAAI,IAAA;AAAA,EACJ,KAAA,EAAO,IAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,MAAA,EAAQ,IAAA;AAAA,EACR,KAAA,EAAO,IAAA;AAAA,EACP,OAAA,EAAS,IAAA;AAAA,EACT,MAAA,EAAQ,IAAA;AAAA,EACR,QAAA,EAAU,IAAA;AAAA,EACV,WAAA,EAAa,IAAA;AAAA,EACb,OAAA,EAAS,IAAA;AAAA,EACT,MAAA,EAAQ,IAAA;AAAA,EACR,IAAA,EAAM,IAAA;AAAA,EACN,QAAA,EAAU,IAAA;AAAA,EACV,QAAA,EAAU;AACZ;;;;"}
|
|
@@ -4,6 +4,7 @@ import { forwardRef } from 'react';
|
|
|
4
4
|
import { useTheme } from '../../../themeContext.mjs';
|
|
5
5
|
import { ThemedComponent } from '../../../themedComponent.mjs';
|
|
6
6
|
import { resolveDisabledLink } from '../../../utils/disabledLink.mjs';
|
|
7
|
+
import { pickFirstTruthyKeyByCategory } from '../../../utils/componentUtils.mjs';
|
|
7
8
|
import { defaultLinkTheme } from './defaultLinkTheme.mjs';
|
|
8
9
|
|
|
9
10
|
const Link = forwardRef(
|
|
@@ -20,7 +21,9 @@ const Link = forwardRef(
|
|
|
20
21
|
const resolvedProps = resolveDisabledLink(derivedProps, !!rest.disabled);
|
|
21
22
|
const opensNewWindow = finalTarget === "_blank" && !rest.disabled && !rest["aria-label"];
|
|
22
23
|
const { children, ...linkProps } = resolvedProps;
|
|
23
|
-
|
|
24
|
+
const explicitSize = pickFirstTruthyKeyByCategory(rest, {}, "size");
|
|
25
|
+
const sizeInjection = explicitSize && !rest.inheritSize ? { noInheritSize: true } : void 0;
|
|
26
|
+
return /* @__PURE__ */ jsxs(ThemedComponent, { ref, theme: theme?.link ?? defaultLinkTheme, ...sizeInjection, ...linkProps, children: [
|
|
24
27
|
children,
|
|
25
28
|
opensNewWindow && /* @__PURE__ */ jsx("span", { className: "sr-only", children: " (opens in new window)" })
|
|
26
29
|
] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.mjs","sources":["../../../../../../src/components/ui/typography/link/Link.tsx"],"sourcesContent":["import { forwardRef, type ReactNode } from 'react';\nimport type { LinkProps } from \"./LinkProps\";\nimport { useTheme } from \"../../../themeContext\";\nimport { ThemedComponent } from \"../../../themedComponent\";\nimport { resolveDisabledLink } from \"../../../utils/disabledLink\";\nimport { defaultLinkTheme } from \"./defaultLinkTheme\";\n\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n function Link(props, ref) {\n const { external, ...rest } = props;\n const theme = useTheme();\n\n const finalTarget = rest.target ?? (external ? '_blank' : undefined);\n const finalRel = rest.rel ?? (finalTarget === '_blank' ? 'noopener noreferrer' : undefined);\n\n const derivedProps = {\n ...rest,\n ...(finalTarget !== undefined && { target: finalTarget }),\n ...(finalRel !== undefined && { rel: finalRel }),\n };\n\n // disabled <a>: drop href + block activation while staying focusable\n // (aria-disabled pattern); a no-op when not disabled\n const resolvedProps = resolveDisabledLink(derivedProps, !!rest.disabled);\n\n // a link opening a new tab needs a programmatically-available advisory\n // (SC 3.2.2). Append a visually-hidden note so AT announces it with no\n // visual change; skipped for disabled links (no navigation happens) and\n // when the consumer already provided an aria-label.\n const opensNewWindow =\n finalTarget === '_blank' && !rest.disabled && !(rest as { 'aria-label'?: string })['aria-label'];\n const { children, ...linkProps } = resolvedProps as typeof resolvedProps & { children?: ReactNode };\n\n return (\n <ThemedComponent ref={ref} theme={theme?.link ?? defaultLinkTheme} {...linkProps}>\n {children}\n {opensNewWindow && <span className=\"sr-only\"> (opens in new window)</span>}\n </ThemedComponent>\n );\n }\n);\n\nLink.displayName = 'Link';\n"],"names":["Link"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.mjs","sources":["../../../../../../src/components/ui/typography/link/Link.tsx"],"sourcesContent":["import { forwardRef, type ReactNode } from 'react';\nimport type { LinkProps } from \"./LinkProps\";\nimport { useTheme } from \"../../../themeContext\";\nimport { ThemedComponent } from \"../../../themedComponent\";\nimport { resolveDisabledLink } from \"../../../utils/disabledLink\";\nimport { pickFirstTruthyKeyByCategory } from \"../../../utils/componentUtils\";\nimport { defaultLinkTheme } from \"./defaultLinkTheme\";\n\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(\n function Link(props, ref) {\n const { external, ...rest } = props;\n const theme = useTheme();\n\n const finalTarget = rest.target ?? (external ? '_blank' : undefined);\n const finalRel = rest.rel ?? (finalTarget === '_blank' ? 'noopener noreferrer' : undefined);\n\n const derivedProps = {\n ...rest,\n ...(finalTarget !== undefined && { target: finalTarget }),\n ...(finalRel !== undefined && { rel: finalRel }),\n };\n\n // disabled <a>: drop href + block activation while staying focusable\n // (aria-disabled pattern); a no-op when not disabled\n const resolvedProps = resolveDisabledLink(derivedProps, !!rest.disabled);\n\n // a link opening a new tab needs a programmatically-available advisory\n // (SC 3.2.2). Append a visually-hidden note so AT announces it with no\n // visual change; skipped for disabled links (no navigation happens) and\n // when the consumer already provided an aria-label.\n const opensNewWindow =\n finalTarget === '_blank' && !rest.disabled && !(rest as { 'aria-label'?: string })['aria-label'];\n const { children, ...linkProps } = resolvedProps as typeof resolvedProps & { children?: ReactNode };\n\n // an explicit size wins over the inheritSize default, unless inheritSize is also passed\n const explicitSize = pickFirstTruthyKeyByCategory(rest as Record<string, unknown>, {}, 'size');\n const sizeInjection = explicitSize && !rest.inheritSize ? { noInheritSize: true as const } : undefined;\n\n return (\n <ThemedComponent ref={ref} theme={theme?.link ?? defaultLinkTheme} {...sizeInjection} {...linkProps}>\n {children}\n {opensNewWindow && <span className=\"sr-only\"> (opens in new window)</span>}\n </ThemedComponent>\n );\n }\n);\n\nLink.displayName = 'Link';\n"],"names":["Link"],"mappings":";;;;;;;;;AAQO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,GAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAClB,SAASA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,GAAA,CAAA,CAAK;AACxB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,GAAI,CAAA,CAAA,CAAA,CAAA,CAAA;AAC9B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,IAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS;AAEvB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC1D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,C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IES, "focusVisible", "disabled"];
|
|
4
4
|
|
|
5
5
|
export { LINK_CATEGORIES };
|
|
6
6
|
//# sourceMappingURL=LinkCategories.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkCategories.mjs","sources":["../../../../../../src/components/ui/typography/link/LinkCategories.ts"],"sourcesContent":["import { TYPOGRAPHY_CATEGORIES } from \"../common\";\n\n/** Link-specific categories. Adds `focusVisible`
|
|
1
|
+
{"version":3,"file":"LinkCategories.mjs","sources":["../../../../../../src/components/ui/typography/link/LinkCategories.ts"],"sourcesContent":["import { TYPOGRAPHY_CATEGORIES } from \"../common\";\n\n/** Link-specific categories. Adds `focusVisible` (a focus ring on the rendered `<a>`)\n * and `disabled` (the dimmed disabled look). Other typography components (Text, Title, …)\n * are not focusable by default, so they keep the slimmer TYPOGRAPHY_CATEGORIES. */\nexport const LINK_CATEGORIES = [...TYPOGRAPHY_CATEGORIES, 'focusVisible', 'disabled'] as const;\n"],"names":[],"mappings":";;AAKO,MAAM,eAAA,GAAkB,CAAC,GAAG,qBAAA,EAAuB,gBAAgB,UAAU;;;;"}
|
|
@@ -5,6 +5,8 @@ import { typographyClassMappers } from '../../theme/common/typographyClassMapper
|
|
|
5
5
|
import '../../theme/common/appearanceClassMappers.mjs';
|
|
6
6
|
import { FocusVisibleClassMapper } from '../../theme/layout/focusVisibleClassMapper.mjs';
|
|
7
7
|
import { LinkVariantClassMapper } from '../../theme/appearance/linkVariantClassMapper.mjs';
|
|
8
|
+
import { SimpleConsumerClassMapper } from '../../theme/appearance/simpleConsumerClassMapper.mjs';
|
|
9
|
+
import { DisabledVisualClassMapper } from '../../theme/appearance/disabledClassMapper.mjs';
|
|
8
10
|
import { LINK_CATEGORIES } from './LinkCategories.mjs';
|
|
9
11
|
import { linkDefaults } from './linkDefaults.mjs';
|
|
10
12
|
|
|
@@ -17,12 +19,16 @@ const defaultLinkTheme = new ComponentTheme(
|
|
|
17
19
|
...typographyClassMappers.appearance,
|
|
18
20
|
// delta: link-variant colors (cascading --link-text / --app-text) instead
|
|
19
21
|
// of the generic text appearance — Link has no data-variant to drive --text-color
|
|
20
|
-
text: new LinkVariantClassMapper()
|
|
22
|
+
text: new LinkVariantClassMapper(),
|
|
23
|
+
// delta: the focus ring takes the link's own color; Link has no appearance, so --focus-color would be unset
|
|
24
|
+
focusVisible: new SimpleConsumerClassMapper({ base: "focus-visible:outline-current", alwaysOutput: true }, "focusVisible")
|
|
21
25
|
},
|
|
22
26
|
layout: {
|
|
23
27
|
...typographyClassMappers.layout,
|
|
24
28
|
// delta: LINK_CATEGORIES adds `focusVisible` so the rendered <a> can show a keyboard focus ring
|
|
25
|
-
focusVisible: new FocusVisibleClassMapper()
|
|
29
|
+
focusVisible: new FocusVisibleClassMapper(),
|
|
30
|
+
// delta: a disabled link dims like other disabled controls; after cursor so not-allowed wins over pointer
|
|
31
|
+
disabled: new DisabledVisualClassMapper()
|
|
26
32
|
}
|
|
27
33
|
},
|
|
28
34
|
linkDefaults,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultLinkTheme.mjs","sources":["../../../../../../src/components/ui/typography/link/defaultLinkTheme.ts"],"sourcesContent":["import { ComponentTheme } from \"../../theme/common\";\nimport type { TypographyProps } from \"../common\";\nimport type { LinkTheme } from \"./LinkTheme\";\nimport { typographyClassMappers } from \"../../theme/common/typographyClassMappers\";\nimport { FocusVisibleClassMapper } from \"../../theme/layout/focusVisibleClassMapper\";\nimport { LinkVariantClassMapper } from \"../../theme/appearance/linkVariantClassMapper\";\nimport { LINK_CATEGORIES } from \"./LinkCategories\";\nimport { linkDefaults } from \"./linkDefaults\";\n\n/* Link theme composed over the shared typographyClassMappers (inherits size/typography/layout); only the deltas below diverge. Background-less like all typography. */\nexport const defaultLinkTheme: ComponentTheme<TypographyProps, LinkTheme> = new ComponentTheme<TypographyProps, LinkTheme>(\n \"a\",\n \"vane-link hover:underline\",\n {\n ...typographyClassMappers,\n appearance: {\n ...typographyClassMappers.appearance,\n // delta: link-variant colors (cascading --link-text / --app-text) instead\n // of the generic text appearance — Link has no data-variant to drive --text-color\n text: new LinkVariantClassMapper(),\n },\n layout: {\n ...typographyClassMappers.layout,\n // delta: LINK_CATEGORIES adds `focusVisible` so the rendered <a> can show a keyboard focus ring\n focusVisible: new FocusVisibleClassMapper(),\n },\n },\n linkDefaults,\n LINK_CATEGORIES,\n undefined,\n 'ui'\n);\n\n/** Alias for backward compatibility */\nexport const linkTheme = defaultLinkTheme;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaultLinkTheme.mjs","sources":["../../../../../../src/components/ui/typography/link/defaultLinkTheme.ts"],"sourcesContent":["import { ComponentTheme } from \"../../theme/common\";\nimport type { TypographyProps } from \"../common\";\nimport type { LinkTheme } from \"./LinkTheme\";\nimport { typographyClassMappers } from \"../../theme/common/typographyClassMappers\";\nimport { FocusVisibleClassMapper } from \"../../theme/layout/focusVisibleClassMapper\";\nimport { LinkVariantClassMapper } from \"../../theme/appearance/linkVariantClassMapper\";\nimport { SimpleConsumerClassMapper } from \"../../theme/appearance/simpleConsumerClassMapper\";\nimport { DisabledVisualClassMapper } from \"../../theme/appearance/disabledClassMapper\";\nimport { LINK_CATEGORIES } from \"./LinkCategories\";\nimport { linkDefaults } from \"./linkDefaults\";\n\n/* Link theme composed over the shared typographyClassMappers (inherits size/typography/layout); only the deltas below diverge. Background-less like all typography. */\nexport const defaultLinkTheme: ComponentTheme<TypographyProps, LinkTheme> = new ComponentTheme<TypographyProps, LinkTheme>(\n \"a\",\n \"vane-link hover:underline\",\n {\n ...typographyClassMappers,\n appearance: {\n ...typographyClassMappers.appearance,\n // delta: link-variant colors (cascading --link-text / --app-text) instead\n // of the generic text appearance — Link has no data-variant to drive --text-color\n text: new LinkVariantClassMapper(),\n // delta: the focus ring takes the link's own color; Link has no appearance, so --focus-color would be unset\n focusVisible: new SimpleConsumerClassMapper({ base: \"focus-visible:outline-current\", alwaysOutput: true }, 'focusVisible'),\n },\n layout: {\n ...typographyClassMappers.layout,\n // delta: LINK_CATEGORIES adds `focusVisible` so the rendered <a> can show a keyboard focus ring\n focusVisible: new FocusVisibleClassMapper(),\n // delta: a disabled link dims like other disabled controls; after cursor so not-allowed wins over pointer\n disabled: new DisabledVisualClassMapper(),\n },\n },\n linkDefaults,\n LINK_CATEGORIES,\n undefined,\n 'ui'\n);\n\n/** Alias for backward compatibility */\nexport const linkTheme = defaultLinkTheme;\n"],"names":[],"mappings":";;;;;;;;;;;;AAYO,MAAM,mBAA+D,IAAI,cAAA;AAAA,EAC9E,GAAA;AAAA,EACA,2BAAA;AAAA,EACA;AAAA,IACE,GAAG,sBAAA;AAAA,IACH,UAAA,EAAY;AAAA,MACV,GAAG,sBAAA,CAAuB,UAAA;AAAA;AAAA;AAAA,MAG1B,IAAA,EAAM,IAAI,sBAAA,EAAuB;AAAA;AAAA,MAEjC,YAAA,EAAc,IAAI,yBAAA,CAA0B,EAAE,MAAM,+BAAA,EAAiC,YAAA,EAAc,IAAA,EAAK,EAAG,cAAc;AAAA,KAC3H;AAAA,IACA,MAAA,EAAQ;AAAA,MACN,GAAG,sBAAA,CAAuB,MAAA;AAAA;AAAA,MAE1B,YAAA,EAAc,IAAI,uBAAA,EAAwB;AAAA;AAAA,MAE1C,QAAA,EAAU,IAAI,yBAAA;AAA0B;AAC1C,GACF;AAAA,EACA,YAAA;AAAA,EACA,eAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;AAGO,MAAM,SAAA,GAAY;;;;"}
|
|
@@ -12,8 +12,6 @@ const ListItem = forwardRef(
|
|
|
12
12
|
return /* @__PURE__ */ jsxs(ThemedComponent, { ref, theme: theme?.listItem ?? defaultListItemTheme, ...rest, ...dataAttr, children: [
|
|
13
13
|
icon ? (
|
|
14
14
|
// me- (margin-inline-end) keeps the icon-to-text gap on the correct side under RTL.
|
|
15
|
-
// ListItem uses the full --gap (list content); Link's inline icons deliberately use
|
|
16
|
-
// half (.vane-link-start-icon / -end-icon in rules.css) for tighter inline runs.
|
|
17
15
|
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "vane-list-item-icon me-(--gap) inline-flex items-center justify-center align-middle h-(--icon-size) min-w-(--icon-size)", children: icon })
|
|
18
16
|
) : null,
|
|
19
17
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.mjs","sources":["../../../../../../src/components/ui/typography/listItem/ListItem.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport type { ListItemProps } from './ListItemProps';\nimport { useTheme } from \"../../../themeContext\";\nimport { ThemedComponent } from \"../../../themedComponent\";\nimport { defaultListItemTheme } from \"./defaultListItemTheme\";\n\n// `icon` replaces the native list marker; data-has-icon suppresses list-style via base selector\nexport const ListItem = forwardRef<HTMLLIElement, ListItemProps>(\n function ListItem({ icon, children, ...rest }, ref) {\n const theme = useTheme();\n const dataAttr = icon ? { 'data-has-icon': 'true' as const } : {};\n return (\n <ThemedComponent ref={ref} theme={theme?.listItem ?? defaultListItemTheme} {...rest} {...dataAttr}>\n {icon ? (\n // me- (margin-inline-end) keeps the icon-to-text gap on the correct side under RTL.\n
|
|
1
|
+
{"version":3,"file":"ListItem.mjs","sources":["../../../../../../src/components/ui/typography/listItem/ListItem.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport type { ListItemProps } from './ListItemProps';\nimport { useTheme } from \"../../../themeContext\";\nimport { ThemedComponent } from \"../../../themedComponent\";\nimport { defaultListItemTheme } from \"./defaultListItemTheme\";\n\n// `icon` replaces the native list marker; data-has-icon suppresses list-style via base selector\nexport const ListItem = forwardRef<HTMLLIElement, ListItemProps>(\n function ListItem({ icon, children, ...rest }, ref) {\n const theme = useTheme();\n const dataAttr = icon ? { 'data-has-icon': 'true' as const } : {};\n return (\n <ThemedComponent ref={ref} theme={theme?.listItem ?? defaultListItemTheme} {...rest} {...dataAttr}>\n {icon ? (\n // me- (margin-inline-end) keeps the icon-to-text gap on the correct side under RTL.\n <span aria-hidden=\"true\" className=\"vane-list-item-icon me-(--gap) inline-flex items-center justify-center align-middle h-(--icon-size) min-w-(--icon-size)\">\n {icon}\n </span>\n ) : null}\n {children}\n </ThemedComponent>\n );\n }\n);\n\nListItem.displayName = 'ListItem';\n"],"names":["ListItem"],"mappings":";;;;;;;AAOO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACtB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAASA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAS,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAU,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,GAAQ,GAAA,CAAA,CAAK;AAClD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,IAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS;AACvB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAoB,CAAA,CAAC;AAChE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACE,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACH,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EACH,CAAA;AAAA,CAAA,CAEJ;AACF,CAAA;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Alert: import("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").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 & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").FontFamilyProps & 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").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 & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
2
2
|
polite?: boolean;
|
|
3
3
|
tag?: React.ElementType;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Alert: import("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").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 & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").FontFamilyProps & 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").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 & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
2
2
|
polite?: boolean;
|
|
3
3
|
tag?: React.ElementType;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Alert: import("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").ShapeProps & import("../props").PaddingProps & import("../props").MarginProps & import("../props").VariantProps & import("../props").TransparentProps & import("../props").ResponsiveProps & import("../props").WidthProps & import("../props").HeightProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<import("../props").BaseProps & import("../props").TextAlignProps & import("../props").FontFamilyProps & 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").ShapeProps & import("../props").PaddingProps & import("../props").MarginProps & import("../props").VariantProps & import("../props").TransparentProps & import("../props").ResponsiveProps & import("../props").WidthProps & import("../props").HeightProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & {
|
|
2
2
|
polite?: boolean;
|
|
3
3
|
tag?: React.ElementType;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Card's list without cursor/focusVisible: an Alert is a surface, never a link. */
|
|
2
|
-
export declare const ALERT_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", "transparent", "responsiveSizing"];
|
|
2
|
+
export declare const ALERT_CATEGORIES: readonly ["textAlign", "fontFamily", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "transparent", "responsiveSizing"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Card's list without cursor/focusVisible: an Alert is a surface, never a link. */
|
|
2
|
-
export declare const ALERT_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", "transparent", "responsiveSizing"];
|
|
2
|
+
export declare const ALERT_CATEGORIES: readonly ["textAlign", "fontFamily", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "transparent", "responsiveSizing"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Card's list without cursor/focusVisible: an Alert is a surface, never a link. */
|
|
2
|
-
export declare const ALERT_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", "transparent", "responsiveSizing"];
|
|
2
|
+
export declare const ALERT_CATEGORIES: readonly ["textAlign", "fontFamily", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "breakpoint", "appearance", "border", "shadow", "ring", "shape", "padding", "margin", "variant", "width", "height", "transparent", "responsiveSizing"];
|
|
@@ -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, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props/index.cjs";
|
|
2
|
+
import type { BaseProps, TextAlignProps, FontFamilyProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props/index.cjs";
|
|
3
3
|
/** Alert component props */
|
|
4
|
-
export type AlertProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
4
|
+
export type AlertProps = BaseProps & TextAlignProps & FontFamilyProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
6
|
polite?: boolean;
|
|
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, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props/index.mjs";
|
|
2
|
+
import type { BaseProps, TextAlignProps, FontFamilyProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props/index.mjs";
|
|
3
3
|
/** Alert component props */
|
|
4
|
-
export type AlertProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
4
|
+
export type AlertProps = BaseProps & TextAlignProps & FontFamilyProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
6
|
polite?: boolean;
|
|
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, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props";
|
|
2
|
+
import type { BaseProps, TextAlignProps, FontFamilyProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, BreakpointProps, AppearanceProps, BorderProps, ShadowProps, RingProps, ShapeProps, PaddingProps, MarginProps, VariantProps, TransparentProps, ResponsiveProps, WidthProps, HeightProps } from "../props";
|
|
3
3
|
/** Alert component props */
|
|
4
|
-
export type AlertProps = BaseProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
4
|
+
export type AlertProps = BaseProps & TextAlignProps & FontFamilyProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & BreakpointProps & AppearanceProps & BorderProps & ShadowProps & RingProps & ShapeProps & PaddingProps & MarginProps & VariantProps & TransparentProps & ResponsiveProps & WidthProps & HeightProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
6
|
polite?: boolean;
|
|
7
7
|
/** Custom HTML tag or React component to render as */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlexLayoutComponentTheme } from "../theme/common/index.cjs";
|
|
2
2
|
import type { BreakpointClassMapper } from "../theme/size/index.cjs";
|
|
3
|
-
import type { TextAlignClassMapper } from "../theme/typography/index.cjs";
|
|
3
|
+
import type { TextAlignClassMapper, FontFamilyClassMapper } from "../theme/typography/index.cjs";
|
|
4
4
|
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
5
|
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
6
|
size: FlexLayoutComponentTheme['size'] & {
|
|
@@ -8,5 +8,6 @@ export type AlertTheme = FlexLayoutComponentTheme & {
|
|
|
8
8
|
};
|
|
9
9
|
typography: {
|
|
10
10
|
textAlign: TextAlignClassMapper;
|
|
11
|
+
fontFamily: FontFamilyClassMapper;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlexLayoutComponentTheme } from "../theme/common/index.mjs";
|
|
2
2
|
import type { BreakpointClassMapper } from "../theme/size/index.mjs";
|
|
3
|
-
import type { TextAlignClassMapper } from "../theme/typography/index.mjs";
|
|
3
|
+
import type { TextAlignClassMapper, FontFamilyClassMapper } from "../theme/typography/index.mjs";
|
|
4
4
|
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
5
|
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
6
|
size: FlexLayoutComponentTheme['size'] & {
|
|
@@ -8,5 +8,6 @@ export type AlertTheme = FlexLayoutComponentTheme & {
|
|
|
8
8
|
};
|
|
9
9
|
typography: {
|
|
10
10
|
textAlign: TextAlignClassMapper;
|
|
11
|
+
fontFamily: FontFamilyClassMapper;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlexLayoutComponentTheme } from "../theme/common";
|
|
2
2
|
import type { BreakpointClassMapper } from "../theme/size";
|
|
3
|
-
import type { TextAlignClassMapper } from "../theme/typography";
|
|
3
|
+
import type { TextAlignClassMapper, FontFamilyClassMapper } from "../theme/typography";
|
|
4
4
|
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
5
|
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
6
|
size: FlexLayoutComponentTheme['size'] & {
|
|
@@ -8,5 +8,6 @@ export type AlertTheme = FlexLayoutComponentTheme & {
|
|
|
8
8
|
};
|
|
9
9
|
typography: {
|
|
10
10
|
textAlign: TextAlignClassMapper;
|
|
11
|
+
fontFamily: FontFamilyClassMapper;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
@@ -26,6 +26,7 @@ export interface CardTheme extends BaseComponentTheme {
|
|
|
26
26
|
border: SimpleConsumerClassMapper;
|
|
27
27
|
ring: SimpleConsumerClassMapper;
|
|
28
28
|
shadow: ShadowAppearanceClassMapper;
|
|
29
|
+
focusVisible: SimpleConsumerClassMapper;
|
|
29
30
|
};
|
|
30
31
|
typography: {
|
|
31
32
|
textAlign: TextAlignClassMapper;
|
|
@@ -26,6 +26,7 @@ export interface CardTheme extends BaseComponentTheme {
|
|
|
26
26
|
border: SimpleConsumerClassMapper;
|
|
27
27
|
ring: SimpleConsumerClassMapper;
|
|
28
28
|
shadow: ShadowAppearanceClassMapper;
|
|
29
|
+
focusVisible: SimpleConsumerClassMapper;
|
|
29
30
|
};
|
|
30
31
|
typography: {
|
|
31
32
|
textAlign: TextAlignClassMapper;
|
|
@@ -26,6 +26,7 @@ export interface CardTheme extends BaseComponentTheme {
|
|
|
26
26
|
border: SimpleConsumerClassMapper;
|
|
27
27
|
ring: SimpleConsumerClassMapper;
|
|
28
28
|
shadow: ShadowAppearanceClassMapper;
|
|
29
|
+
focusVisible: SimpleConsumerClassMapper;
|
|
29
30
|
};
|
|
30
31
|
typography: {
|
|
31
32
|
textAlign: TextAlignClassMapper;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Includes `alignSelf` so the wrapper can pin itself to the top of a flex line
|
|
4
4
|
* (`alignSelfStart`), keeping the box centered on the first text row inside a Label
|
|
5
5
|
* with multi-line content. */
|
|
6
|
-
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
6
|
+
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled", "readOnly"];
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Includes `alignSelf` so the wrapper can pin itself to the top of a flex line
|
|
4
4
|
* (`alignSelfStart`), keeping the box centered on the first text row inside a Label
|
|
5
5
|
* with multi-line content. */
|
|
6
|
-
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
6
|
+
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled", "readOnly"];
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Includes `alignSelf` so the wrapper can pin itself to the top of a flex line
|
|
4
4
|
* (`alignSelfStart`), keeping the box centered on the first text row inside a Label
|
|
5
5
|
* with multi-line content. */
|
|
6
|
-
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
6
|
+
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "alignSelf", "appearance", "border", "shadow", "ring", "focusVisible", "shape", "variant", "cursor", "transition", "validity", "width", "height", "transparent", "responsiveSizing", "disabled", "readOnly"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseComponentTheme, DefaultLayoutClassMappers } from "../theme/common/index.cjs";
|
|
2
|
-
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper } from "../theme/appearance/index.cjs";
|
|
2
|
+
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper, ReadOnlyClassMapper } from "../theme/appearance/index.cjs";
|
|
3
3
|
import type { FocusVisibleClassMapper, AlignSelfClassMapper } from "../theme/layout/index.cjs";
|
|
4
4
|
import type { SizeClassMapper } from "../theme/size/index.cjs";
|
|
5
5
|
/** Theme interface for checkbox wrapper element */
|
|
@@ -15,5 +15,6 @@ export interface CheckboxWrapperTheme extends BaseComponentTheme {
|
|
|
15
15
|
variant: SimpleConsumerClassMapper;
|
|
16
16
|
focusVisible: SimpleConsumerClassMapper;
|
|
17
17
|
disabled: DisabledOpacityClassMapper;
|
|
18
|
+
readOnly: ReadOnlyClassMapper;
|
|
18
19
|
};
|
|
19
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseComponentTheme, DefaultLayoutClassMappers } from "../theme/common/index.mjs";
|
|
2
|
-
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper } from "../theme/appearance/index.mjs";
|
|
2
|
+
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper, ReadOnlyClassMapper } from "../theme/appearance/index.mjs";
|
|
3
3
|
import type { FocusVisibleClassMapper, AlignSelfClassMapper } from "../theme/layout/index.mjs";
|
|
4
4
|
import type { SizeClassMapper } from "../theme/size/index.mjs";
|
|
5
5
|
/** Theme interface for checkbox wrapper element */
|
|
@@ -15,5 +15,6 @@ export interface CheckboxWrapperTheme extends BaseComponentTheme {
|
|
|
15
15
|
variant: SimpleConsumerClassMapper;
|
|
16
16
|
focusVisible: SimpleConsumerClassMapper;
|
|
17
17
|
disabled: DisabledOpacityClassMapper;
|
|
18
|
+
readOnly: ReadOnlyClassMapper;
|
|
18
19
|
};
|
|
19
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseComponentTheme, DefaultLayoutClassMappers } from "../theme/common";
|
|
2
|
-
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper } from "../theme/appearance";
|
|
2
|
+
import type { SimpleConsumerClassMapper, DisabledOpacityClassMapper, ReadOnlyClassMapper } from "../theme/appearance";
|
|
3
3
|
import type { FocusVisibleClassMapper, AlignSelfClassMapper } from "../theme/layout";
|
|
4
4
|
import type { SizeClassMapper } from "../theme/size";
|
|
5
5
|
/** Theme interface for checkbox wrapper element */
|
|
@@ -15,5 +15,6 @@ export interface CheckboxWrapperTheme extends BaseComponentTheme {
|
|
|
15
15
|
variant: SimpleConsumerClassMapper;
|
|
16
16
|
focusVisible: SimpleConsumerClassMapper;
|
|
17
17
|
disabled: DisabledOpacityClassMapper;
|
|
18
|
+
readOnly: ReadOnlyClassMapper;
|
|
18
19
|
};
|
|
19
20
|
}
|
|
@@ -23,3 +23,5 @@ export declare const accentConsumerClass = "accent-(--accent-color)";
|
|
|
23
23
|
* Applies on :indeterminate too, so an indeterminate checkbox is filled like a
|
|
24
24
|
* checked one and its (white) dash overlay stays visible. */
|
|
25
25
|
export declare const checkedBgConsumerClass = "checked:[background:var(--checked-bg-color)] indeterminate:[background:var(--checked-bg-color)]";
|
|
26
|
+
/** Checked-only background (Radio): an unchecked radio group matches `:indeterminate`, so that variant must not fill it. */
|
|
27
|
+
export declare const checkedOnlyBgConsumerClass = "checked:[background:var(--checked-bg-color)]";
|
|
@@ -23,3 +23,5 @@ export declare const accentConsumerClass = "accent-(--accent-color)";
|
|
|
23
23
|
* Applies on :indeterminate too, so an indeterminate checkbox is filled like a
|
|
24
24
|
* checked one and its (white) dash overlay stays visible. */
|
|
25
25
|
export declare const checkedBgConsumerClass = "checked:[background:var(--checked-bg-color)] indeterminate:[background:var(--checked-bg-color)]";
|
|
26
|
+
/** Checked-only background (Radio): an unchecked radio group matches `:indeterminate`, so that variant must not fill it. */
|
|
27
|
+
export declare const checkedOnlyBgConsumerClass = "checked:[background:var(--checked-bg-color)]";
|
|
@@ -23,3 +23,5 @@ export declare const accentConsumerClass = "accent-(--accent-color)";
|
|
|
23
23
|
* Applies on :indeterminate too, so an indeterminate checkbox is filled like a
|
|
24
24
|
* checked one and its (white) dash overlay stays visible. */
|
|
25
25
|
export declare const checkedBgConsumerClass = "checked:[background:var(--checked-bg-color)] indeterminate:[background:var(--checked-bg-color)]";
|
|
26
|
+
/** Checked-only background (Radio): an unchecked radio group matches `:indeterminate`, so that variant must not fill it. */
|
|
27
|
+
export declare const checkedOnlyBgConsumerClass = "checked:[background:var(--checked-bg-color)]";
|
|
@@ -4,11 +4,18 @@ export interface FieldControlContextValue {
|
|
|
4
4
|
labelId: string;
|
|
5
5
|
describedBy?: string;
|
|
6
6
|
invalid: boolean;
|
|
7
|
+
/** Control state passed to a child control (children mode); the child's own prop wins. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
7
11
|
}
|
|
8
12
|
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
13
|
type FieldControlProps = {
|
|
10
14
|
id?: string;
|
|
11
15
|
invalid?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
readOnly?: boolean;
|
|
12
19
|
'aria-describedby'?: string;
|
|
13
20
|
};
|
|
14
21
|
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
@@ -4,11 +4,18 @@ export interface FieldControlContextValue {
|
|
|
4
4
|
labelId: string;
|
|
5
5
|
describedBy?: string;
|
|
6
6
|
invalid: boolean;
|
|
7
|
+
/** Control state passed to a child control (children mode); the child's own prop wins. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
7
11
|
}
|
|
8
12
|
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
13
|
type FieldControlProps = {
|
|
10
14
|
id?: string;
|
|
11
15
|
invalid?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
readOnly?: boolean;
|
|
12
19
|
'aria-describedby'?: string;
|
|
13
20
|
};
|
|
14
21
|
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
@@ -4,11 +4,18 @@ export interface FieldControlContextValue {
|
|
|
4
4
|
labelId: string;
|
|
5
5
|
describedBy?: string;
|
|
6
6
|
invalid: boolean;
|
|
7
|
+
/** Control state passed to a child control (children mode); the child's own prop wins. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
7
11
|
}
|
|
8
12
|
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
13
|
type FieldControlProps = {
|
|
10
14
|
id?: string;
|
|
11
15
|
invalid?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
readOnly?: boolean;
|
|
12
19
|
'aria-describedby'?: string;
|
|
13
20
|
};
|
|
14
21
|
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
@@ -7,6 +7,10 @@ export interface MenuContextValue {
|
|
|
7
7
|
isSubmenu: boolean;
|
|
8
8
|
/** Submenu only: close just this submenu and return focus to its trigger (ArrowLeft / Escape). */
|
|
9
9
|
closeSubmenu?: () => void;
|
|
10
|
+
/** A submenu registers its close while open (null on close), so moving to a sibling item can close it. */
|
|
11
|
+
setOpenSubmenu: (close: (() => void) | null) => void;
|
|
12
|
+
/** Close whichever child submenu is open, if any. */
|
|
13
|
+
closeOpenSubmenu: () => void;
|
|
10
14
|
}
|
|
11
15
|
export declare const MenuContext: import("react").Context<MenuContextValue | null>;
|
|
12
16
|
export declare function useMenuContext(): MenuContextValue | null;
|
|
@@ -7,6 +7,10 @@ export interface MenuContextValue {
|
|
|
7
7
|
isSubmenu: boolean;
|
|
8
8
|
/** Submenu only: close just this submenu and return focus to its trigger (ArrowLeft / Escape). */
|
|
9
9
|
closeSubmenu?: () => void;
|
|
10
|
+
/** A submenu registers its close while open (null on close), so moving to a sibling item can close it. */
|
|
11
|
+
setOpenSubmenu: (close: (() => void) | null) => void;
|
|
12
|
+
/** Close whichever child submenu is open, if any. */
|
|
13
|
+
closeOpenSubmenu: () => void;
|
|
10
14
|
}
|
|
11
15
|
export declare const MenuContext: import("react").Context<MenuContextValue | null>;
|
|
12
16
|
export declare function useMenuContext(): MenuContextValue | null;
|
|
@@ -7,6 +7,10 @@ export interface MenuContextValue {
|
|
|
7
7
|
isSubmenu: boolean;
|
|
8
8
|
/** Submenu only: close just this submenu and return focus to its trigger (ArrowLeft / Escape). */
|
|
9
9
|
closeSubmenu?: () => void;
|
|
10
|
+
/** A submenu registers its close while open (null on close), so moving to a sibling item can close it. */
|
|
11
|
+
setOpenSubmenu: (close: (() => void) | null) => void;
|
|
12
|
+
/** Close whichever child submenu is open, if any. */
|
|
13
|
+
closeOpenSubmenu: () => void;
|
|
10
14
|
}
|
|
11
15
|
export declare const MenuContext: import("react").Context<MenuContextValue | null>;
|
|
12
16
|
export declare function useMenuContext(): MenuContextValue | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Categories for NavLink label sub-theme — truncation, overflow, whitespace, width */
|
|
2
|
-
export declare const NAV_LINK_LABEL_CATEGORIES: readonly ["truncate", "overflow", "whitespace", "width"];
|
|
1
|
+
/** Categories for NavLink label sub-theme — truncation, overflow, whitespace, width, flex grow */
|
|
2
|
+
export declare const NAV_LINK_LABEL_CATEGORIES: readonly ["truncate", "overflow", "whitespace", "width", "flex"];
|