@vaneui/ui 1.0.2 → 1.1.0
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 +147 -37
- package/dist/cjs/components/defaultTheme.cjs +42 -0
- package/dist/cjs/components/defaultTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/alert/Alert.cjs +20 -0
- package/dist/cjs/components/ui/alert/Alert.cjs.map +1 -0
- package/dist/cjs/components/ui/alert/AlertCategories.cjs +19 -0
- package/dist/cjs/components/ui/alert/AlertCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/alert/alertDefaults.cjs +19 -0
- package/dist/cjs/components/ui/alert/alertDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/alert/defaultAlertTheme.cjs +33 -0
- package/dist/cjs/components/ui/alert/defaultAlertTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/alert/index.cjs +14 -0
- package/dist/cjs/components/ui/alert/index.cjs.map +1 -0
- package/dist/cjs/components/ui/card/cardBodyDefaults.cjs +2 -1
- package/dist/cjs/components/ui/card/cardBodyDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/card/cardDefaults.cjs +2 -1
- package/dist/cjs/components/ui/card/cardDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/card/cardFooterDefaults.cjs +2 -1
- package/dist/cjs/components/ui/card/cardFooterDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/card/cardHeaderDefaults.cjs +2 -1
- package/dist/cjs/components/ui/card/cardHeaderDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/Checkbox.cjs +3 -1
- package/dist/cjs/components/ui/checkbox/Checkbox.cjs.map +1 -1
- package/dist/cjs/components/ui/container/containerDefaults.cjs +1 -0
- package/dist/cjs/components/ui/container/containerDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/field/Field.cjs +54 -0
- package/dist/cjs/components/ui/field/Field.cjs.map +1 -0
- package/dist/cjs/components/ui/field/FieldCategories.cjs +19 -0
- package/dist/cjs/components/ui/field/FieldCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/field/FieldContext.cjs +36 -0
- package/dist/cjs/components/ui/field/FieldContext.cjs.map +1 -0
- package/dist/cjs/components/ui/field/defaultFieldDescriptionTheme.cjs +9 -0
- package/dist/cjs/components/ui/field/defaultFieldDescriptionTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/field/defaultFieldErrorTheme.cjs +9 -0
- package/dist/cjs/components/ui/field/defaultFieldErrorTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/field/defaultFieldLabelTheme.cjs +9 -0
- package/dist/cjs/components/ui/field/defaultFieldLabelTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/field/defaultFieldTheme.cjs +33 -0
- package/dist/cjs/components/ui/field/defaultFieldTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldDefaults.cjs +18 -0
- package/dist/cjs/components/ui/field/fieldDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldDescriptionDefaults.cjs +13 -0
- package/dist/cjs/components/ui/field/fieldDescriptionDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldErrorDefaults.cjs +13 -0
- package/dist/cjs/components/ui/field/fieldErrorDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldLabelDefaults.cjs +16 -0
- package/dist/cjs/components/ui/field/fieldLabelDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/field/index.cjs +30 -0
- package/dist/cjs/components/ui/field/index.cjs.map +1 -0
- package/dist/cjs/components/ui/input/Input.cjs +3 -1
- package/dist/cjs/components/ui/input/Input.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/modalBodyDefaults.cjs +2 -1
- package/dist/cjs/components/ui/modal/modalBodyDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/modalContentDefaults.cjs +1 -0
- package/dist/cjs/components/ui/modal/modalContentDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/modalFooterDefaults.cjs +2 -1
- package/dist/cjs/components/ui/modal/modalFooterDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/modal/modalHeaderDefaults.cjs +2 -1
- package/dist/cjs/components/ui/modal/modalHeaderDefaults.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/index.cjs +15 -0
- package/dist/cjs/components/ui/props/index.cjs.map +1 -1
- package/dist/cjs/components/ui/props/keys.cjs +37 -0
- package/dist/cjs/components/ui/props/keys.cjs.map +1 -1
- package/dist/cjs/components/ui/radio/Radio.cjs +134 -0
- package/dist/cjs/components/ui/radio/Radio.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/RadioCategories.cjs +14 -0
- package/dist/cjs/components/ui/radio/RadioCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/RadioGroup.cjs +38 -0
- package/dist/cjs/components/ui/radio/RadioGroup.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/RadioGroupContext.cjs +13 -0
- package/dist/cjs/components/ui/radio/RadioGroupContext.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/defaultRadioDotTheme.cjs +38 -0
- package/dist/cjs/components/ui/radio/defaultRadioDotTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/defaultRadioGroupTheme.cjs +23 -0
- package/dist/cjs/components/ui/radio/defaultRadioGroupTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs +60 -0
- package/dist/cjs/components/ui/radio/defaultRadioTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs +50 -0
- package/dist/cjs/components/ui/radio/defaultRadioWrapperTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/index.cjs +33 -0
- package/dist/cjs/components/ui/radio/index.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/radioDotDefaults.cjs +6 -0
- package/dist/cjs/components/ui/radio/radioDotDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/radioGroupDefaults.cjs +16 -0
- package/dist/cjs/components/ui/radio/radioGroupDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/radioInputDefaults.cjs +16 -0
- package/dist/cjs/components/ui/radio/radioInputDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/radio/radioWrapperDefaults.cjs +16 -0
- package/dist/cjs/components/ui/radio/radioWrapperDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/select/Select.cjs +67 -0
- package/dist/cjs/components/ui/select/Select.cjs.map +1 -0
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs +6 -0
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs +6 -0
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/select/defaultSelectChevronTheme.cjs +40 -0
- package/dist/cjs/components/ui/select/defaultSelectChevronTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/select/defaultSelectTheme.cjs +35 -0
- package/dist/cjs/components/ui/select/defaultSelectTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs +34 -0
- package/dist/cjs/components/ui/select/defaultSelectWrapperTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/select/index.cjs +24 -0
- package/dist/cjs/components/ui/select/index.cjs.map +1 -0
- package/dist/cjs/components/ui/select/selectChevronDefaults.cjs +12 -0
- package/dist/cjs/components/ui/select/selectChevronDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/select/selectDefaults.cjs +20 -0
- package/dist/cjs/components/ui/select/selectDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/select/selectWrapperDefaults.cjs +10 -0
- package/dist/cjs/components/ui/select/selectWrapperDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/spinner/Spinner.cjs +19 -0
- package/dist/cjs/components/ui/spinner/Spinner.cjs.map +1 -0
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs +6 -0
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/spinner/defaultSpinnerTheme.cjs +38 -0
- package/dist/cjs/components/ui/spinner/defaultSpinnerTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/spinner/index.cjs +14 -0
- package/dist/cjs/components/ui/spinner/index.cjs.map +1 -0
- package/dist/cjs/components/ui/spinner/spinnerDefaults.cjs +10 -0
- package/dist/cjs/components/ui/spinner/spinnerDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/stack/stackDefaults.cjs +1 -0
- package/dist/cjs/components/ui/stack/stackDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/Switch.cjs +125 -0
- package/dist/cjs/components/ui/switch/Switch.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/SwitchCategories.cjs +8 -0
- package/dist/cjs/components/ui/switch/SwitchCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs +16 -0
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/defaultSwitchTheme.cjs +57 -0
- package/dist/cjs/components/ui/switch/defaultSwitchTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/defaultSwitchThumbTheme.cjs +40 -0
- package/dist/cjs/components/ui/switch/defaultSwitchThumbTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.cjs +43 -0
- package/dist/cjs/components/ui/switch/defaultSwitchWrapperTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/index.cjs +24 -0
- package/dist/cjs/components/ui/switch/index.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/switchInputDefaults.cjs +17 -0
- package/dist/cjs/components/ui/switch/switchInputDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/switchThumbDefaults.cjs +13 -0
- package/dist/cjs/components/ui/switch/switchThumbDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/switch/switchWrapperDefaults.cjs +16 -0
- package/dist/cjs/components/ui/switch/switchWrapperDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/textarea/Textarea.cjs +28 -0
- package/dist/cjs/components/ui/textarea/Textarea.cjs.map +1 -0
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs +35 -0
- package/dist/cjs/components/ui/textarea/defaultTextareaTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/textarea/index.cjs +12 -0
- package/dist/cjs/components/ui/textarea/index.cjs.map +1 -0
- package/dist/cjs/components/ui/textarea/textareaDefaults.cjs +19 -0
- package/dist/cjs/components/ui/textarea/textareaDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/theme/defaults.cjs +42 -0
- package/dist/cjs/components/ui/theme/defaults.cjs.map +1 -1
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs +43 -0
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs.map +1 -0
- package/dist/cjs/components/ui/tooltip/defaultTooltipTheme.cjs +9 -0
- package/dist/cjs/components/ui/tooltip/defaultTooltipTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/tooltip/index.cjs +12 -0
- package/dist/cjs/components/ui/tooltip/index.cjs.map +1 -0
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs +20 -0
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs.map +1 -0
- package/dist/cjs/index.cjs +41 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/defaultTheme.mjs +42 -0
- package/dist/esm/components/defaultTheme.mjs.map +1 -1
- package/dist/esm/components/ui/alert/Alert.mjs +18 -0
- package/dist/esm/components/ui/alert/Alert.mjs.map +1 -0
- package/dist/esm/components/ui/alert/AlertCategories.mjs +17 -0
- package/dist/esm/components/ui/alert/AlertCategories.mjs.map +1 -0
- package/dist/esm/components/ui/alert/alertDefaults.mjs +17 -0
- package/dist/esm/components/ui/alert/alertDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/alert/defaultAlertTheme.mjs +31 -0
- package/dist/esm/components/ui/alert/defaultAlertTheme.mjs.map +1 -0
- package/dist/esm/components/ui/alert/index.mjs +5 -0
- package/dist/esm/components/ui/alert/index.mjs.map +1 -0
- package/dist/esm/components/ui/card/cardBodyDefaults.mjs +2 -1
- package/dist/esm/components/ui/card/cardBodyDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/card/cardDefaults.mjs +2 -1
- package/dist/esm/components/ui/card/cardDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/card/cardFooterDefaults.mjs +2 -1
- package/dist/esm/components/ui/card/cardFooterDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/card/cardHeaderDefaults.mjs +2 -1
- package/dist/esm/components/ui/card/cardHeaderDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/Checkbox.mjs +3 -1
- package/dist/esm/components/ui/checkbox/Checkbox.mjs.map +1 -1
- package/dist/esm/components/ui/container/containerDefaults.mjs +1 -0
- package/dist/esm/components/ui/container/containerDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/field/Field.mjs +52 -0
- package/dist/esm/components/ui/field/Field.mjs.map +1 -0
- package/dist/esm/components/ui/field/FieldCategories.mjs +17 -0
- package/dist/esm/components/ui/field/FieldCategories.mjs.map +1 -0
- package/dist/esm/components/ui/field/FieldContext.mjs +32 -0
- package/dist/esm/components/ui/field/FieldContext.mjs.map +1 -0
- package/dist/esm/components/ui/field/defaultFieldDescriptionTheme.mjs +7 -0
- package/dist/esm/components/ui/field/defaultFieldDescriptionTheme.mjs.map +1 -0
- package/dist/esm/components/ui/field/defaultFieldErrorTheme.mjs +7 -0
- package/dist/esm/components/ui/field/defaultFieldErrorTheme.mjs.map +1 -0
- package/dist/esm/components/ui/field/defaultFieldLabelTheme.mjs +7 -0
- package/dist/esm/components/ui/field/defaultFieldLabelTheme.mjs.map +1 -0
- package/dist/esm/components/ui/field/defaultFieldTheme.mjs +31 -0
- package/dist/esm/components/ui/field/defaultFieldTheme.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldDefaults.mjs +16 -0
- package/dist/esm/components/ui/field/fieldDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldDescriptionDefaults.mjs +11 -0
- package/dist/esm/components/ui/field/fieldDescriptionDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldErrorDefaults.mjs +11 -0
- package/dist/esm/components/ui/field/fieldErrorDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldLabelDefaults.mjs +14 -0
- package/dist/esm/components/ui/field/fieldLabelDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/field/index.mjs +12 -0
- package/dist/esm/components/ui/field/index.mjs.map +1 -0
- package/dist/esm/components/ui/input/Input.mjs +3 -1
- package/dist/esm/components/ui/input/Input.mjs.map +1 -1
- package/dist/esm/components/ui/modal/modalBodyDefaults.mjs +2 -1
- package/dist/esm/components/ui/modal/modalBodyDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/modal/modalContentDefaults.mjs +1 -0
- package/dist/esm/components/ui/modal/modalContentDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/modal/modalFooterDefaults.mjs +2 -1
- package/dist/esm/components/ui/modal/modalFooterDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/modal/modalHeaderDefaults.mjs +2 -1
- package/dist/esm/components/ui/modal/modalHeaderDefaults.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/index.mjs +7 -0
- package/dist/esm/components/ui/props/index.mjs.map +1 -1
- package/dist/esm/components/ui/props/keys.mjs +30 -1
- package/dist/esm/components/ui/props/keys.mjs.map +1 -1
- package/dist/esm/components/ui/radio/Radio.mjs +132 -0
- package/dist/esm/components/ui/radio/Radio.mjs.map +1 -0
- package/dist/esm/components/ui/radio/RadioCategories.mjs +10 -0
- package/dist/esm/components/ui/radio/RadioCategories.mjs.map +1 -0
- package/dist/esm/components/ui/radio/RadioGroup.mjs +36 -0
- package/dist/esm/components/ui/radio/RadioGroup.mjs.map +1 -0
- package/dist/esm/components/ui/radio/RadioGroupContext.mjs +10 -0
- package/dist/esm/components/ui/radio/RadioGroupContext.mjs.map +1 -0
- package/dist/esm/components/ui/radio/defaultRadioDotTheme.mjs +36 -0
- package/dist/esm/components/ui/radio/defaultRadioDotTheme.mjs.map +1 -0
- package/dist/esm/components/ui/radio/defaultRadioGroupTheme.mjs +21 -0
- package/dist/esm/components/ui/radio/defaultRadioGroupTheme.mjs.map +1 -0
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs +58 -0
- package/dist/esm/components/ui/radio/defaultRadioTheme.mjs.map +1 -0
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs +48 -0
- package/dist/esm/components/ui/radio/defaultRadioWrapperTheme.mjs.map +1 -0
- package/dist/esm/components/ui/radio/index.mjs +13 -0
- package/dist/esm/components/ui/radio/index.mjs.map +1 -0
- package/dist/esm/components/ui/radio/radioDotDefaults.mjs +4 -0
- package/dist/esm/components/ui/radio/radioDotDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/radio/radioGroupDefaults.mjs +14 -0
- package/dist/esm/components/ui/radio/radioGroupDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/radio/radioInputDefaults.mjs +14 -0
- package/dist/esm/components/ui/radio/radioInputDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/radio/radioWrapperDefaults.mjs +14 -0
- package/dist/esm/components/ui/radio/radioWrapperDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/select/Select.mjs +65 -0
- package/dist/esm/components/ui/select/Select.mjs.map +1 -0
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs +4 -0
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs.map +1 -0
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs +4 -0
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs.map +1 -0
- package/dist/esm/components/ui/select/defaultSelectChevronTheme.mjs +38 -0
- package/dist/esm/components/ui/select/defaultSelectChevronTheme.mjs.map +1 -0
- package/dist/esm/components/ui/select/defaultSelectTheme.mjs +33 -0
- package/dist/esm/components/ui/select/defaultSelectTheme.mjs.map +1 -0
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs +32 -0
- package/dist/esm/components/ui/select/defaultSelectWrapperTheme.mjs.map +1 -0
- package/dist/esm/components/ui/select/index.mjs +10 -0
- package/dist/esm/components/ui/select/index.mjs.map +1 -0
- package/dist/esm/components/ui/select/selectChevronDefaults.mjs +10 -0
- package/dist/esm/components/ui/select/selectChevronDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/select/selectDefaults.mjs +18 -0
- package/dist/esm/components/ui/select/selectDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/select/selectWrapperDefaults.mjs +8 -0
- package/dist/esm/components/ui/select/selectWrapperDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/spinner/Spinner.mjs +17 -0
- package/dist/esm/components/ui/spinner/Spinner.mjs.map +1 -0
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs +4 -0
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs.map +1 -0
- package/dist/esm/components/ui/spinner/defaultSpinnerTheme.mjs +36 -0
- package/dist/esm/components/ui/spinner/defaultSpinnerTheme.mjs.map +1 -0
- package/dist/esm/components/ui/spinner/index.mjs +5 -0
- package/dist/esm/components/ui/spinner/index.mjs.map +1 -0
- package/dist/esm/components/ui/spinner/spinnerDefaults.mjs +8 -0
- package/dist/esm/components/ui/spinner/spinnerDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/stack/stackDefaults.mjs +1 -0
- package/dist/esm/components/ui/stack/stackDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/switch/Switch.mjs +123 -0
- package/dist/esm/components/ui/switch/Switch.mjs.map +1 -0
- package/dist/esm/components/ui/switch/SwitchCategories.mjs +6 -0
- package/dist/esm/components/ui/switch/SwitchCategories.mjs.map +1 -0
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs +14 -0
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs.map +1 -0
- package/dist/esm/components/ui/switch/defaultSwitchTheme.mjs +55 -0
- package/dist/esm/components/ui/switch/defaultSwitchTheme.mjs.map +1 -0
- package/dist/esm/components/ui/switch/defaultSwitchThumbTheme.mjs +38 -0
- package/dist/esm/components/ui/switch/defaultSwitchThumbTheme.mjs.map +1 -0
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs +41 -0
- package/dist/esm/components/ui/switch/defaultSwitchWrapperTheme.mjs.map +1 -0
- package/dist/esm/components/ui/switch/index.mjs +10 -0
- package/dist/esm/components/ui/switch/index.mjs.map +1 -0
- package/dist/esm/components/ui/switch/switchInputDefaults.mjs +15 -0
- package/dist/esm/components/ui/switch/switchInputDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/switch/switchThumbDefaults.mjs +11 -0
- package/dist/esm/components/ui/switch/switchThumbDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/switch/switchWrapperDefaults.mjs +14 -0
- package/dist/esm/components/ui/switch/switchWrapperDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/textarea/Textarea.mjs +26 -0
- package/dist/esm/components/ui/textarea/Textarea.mjs.map +1 -0
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs +33 -0
- package/dist/esm/components/ui/textarea/defaultTextareaTheme.mjs.map +1 -0
- package/dist/esm/components/ui/textarea/index.mjs +4 -0
- package/dist/esm/components/ui/textarea/index.mjs.map +1 -0
- package/dist/esm/components/ui/textarea/textareaDefaults.mjs +17 -0
- package/dist/esm/components/ui/textarea/textareaDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/theme/defaults.mjs +42 -0
- package/dist/esm/components/ui/theme/defaults.mjs.map +1 -1
- package/dist/esm/components/ui/tooltip/Tooltip.mjs +41 -0
- package/dist/esm/components/ui/tooltip/Tooltip.mjs.map +1 -0
- package/dist/esm/components/ui/tooltip/defaultTooltipTheme.mjs +7 -0
- package/dist/esm/components/ui/tooltip/defaultTooltipTheme.mjs.map +1 -0
- package/dist/esm/components/ui/tooltip/index.mjs +4 -0
- package/dist/esm/components/ui/tooltip/index.mjs.map +1 -0
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs +18 -0
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs.map +1 -0
- package/dist/esm/index.mjs +32 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/components/themeTypes.d.cts +42 -0
- package/dist/types/components/themeTypes.d.mts +42 -0
- package/dist/types/components/themeTypes.d.ts +42 -0
- package/dist/types/components/ui/alert/Alert.d.cts +4 -0
- package/dist/types/components/ui/alert/Alert.d.mts +4 -0
- package/dist/types/components/ui/alert/Alert.d.ts +4 -0
- package/dist/types/components/ui/alert/AlertCategories.d.cts +2 -0
- package/dist/types/components/ui/alert/AlertCategories.d.mts +2 -0
- package/dist/types/components/ui/alert/AlertCategories.d.ts +2 -0
- package/dist/types/components/ui/alert/AlertProps.d.cts +9 -0
- package/dist/types/components/ui/alert/AlertProps.d.mts +9 -0
- package/dist/types/components/ui/alert/AlertProps.d.ts +9 -0
- package/dist/types/components/ui/alert/AlertTheme.d.cts +12 -0
- package/dist/types/components/ui/alert/AlertTheme.d.mts +12 -0
- package/dist/types/components/ui/alert/AlertTheme.d.ts +12 -0
- package/dist/types/components/ui/alert/alertDefaults.d.cts +3 -0
- package/dist/types/components/ui/alert/alertDefaults.d.mts +3 -0
- package/dist/types/components/ui/alert/alertDefaults.d.ts +3 -0
- package/dist/types/components/ui/alert/defaultAlertTheme.d.cts +4 -0
- package/dist/types/components/ui/alert/defaultAlertTheme.d.mts +4 -0
- package/dist/types/components/ui/alert/defaultAlertTheme.d.ts +4 -0
- package/dist/types/components/ui/alert/index.d.cts +6 -0
- package/dist/types/components/ui/alert/index.d.mts +6 -0
- package/dist/types/components/ui/alert/index.d.ts +6 -0
- package/dist/types/components/ui/field/Field.d.cts +8 -0
- package/dist/types/components/ui/field/Field.d.mts +8 -0
- package/dist/types/components/ui/field/Field.d.ts +8 -0
- package/dist/types/components/ui/field/FieldCategories.d.cts +3 -0
- package/dist/types/components/ui/field/FieldCategories.d.mts +3 -0
- package/dist/types/components/ui/field/FieldCategories.d.ts +3 -0
- package/dist/types/components/ui/field/FieldContext.d.cts +22 -0
- package/dist/types/components/ui/field/FieldContext.d.mts +22 -0
- package/dist/types/components/ui/field/FieldContext.d.ts +22 -0
- package/dist/types/components/ui/field/FieldProps.d.cts +11 -0
- package/dist/types/components/ui/field/FieldProps.d.mts +11 -0
- package/dist/types/components/ui/field/FieldProps.d.ts +11 -0
- package/dist/types/components/ui/field/FieldTheme.d.cts +3 -0
- package/dist/types/components/ui/field/FieldTheme.d.mts +3 -0
- package/dist/types/components/ui/field/FieldTheme.d.ts +3 -0
- package/dist/types/components/ui/field/defaultFieldDescriptionTheme.d.cts +2 -0
- package/dist/types/components/ui/field/defaultFieldDescriptionTheme.d.mts +2 -0
- package/dist/types/components/ui/field/defaultFieldDescriptionTheme.d.ts +2 -0
- package/dist/types/components/ui/field/defaultFieldErrorTheme.d.cts +2 -0
- package/dist/types/components/ui/field/defaultFieldErrorTheme.d.mts +2 -0
- package/dist/types/components/ui/field/defaultFieldErrorTheme.d.ts +2 -0
- package/dist/types/components/ui/field/defaultFieldLabelTheme.d.cts +2 -0
- package/dist/types/components/ui/field/defaultFieldLabelTheme.d.mts +2 -0
- package/dist/types/components/ui/field/defaultFieldLabelTheme.d.ts +2 -0
- package/dist/types/components/ui/field/defaultFieldTheme.d.cts +3 -0
- package/dist/types/components/ui/field/defaultFieldTheme.d.mts +3 -0
- package/dist/types/components/ui/field/defaultFieldTheme.d.ts +3 -0
- package/dist/types/components/ui/field/fieldDefaults.d.cts +3 -0
- package/dist/types/components/ui/field/fieldDefaults.d.mts +3 -0
- package/dist/types/components/ui/field/fieldDefaults.d.ts +3 -0
- package/dist/types/components/ui/field/fieldDescriptionDefaults.d.cts +3 -0
- package/dist/types/components/ui/field/fieldDescriptionDefaults.d.mts +3 -0
- package/dist/types/components/ui/field/fieldDescriptionDefaults.d.ts +3 -0
- package/dist/types/components/ui/field/fieldErrorDefaults.d.cts +3 -0
- package/dist/types/components/ui/field/fieldErrorDefaults.d.mts +3 -0
- package/dist/types/components/ui/field/fieldErrorDefaults.d.ts +3 -0
- package/dist/types/components/ui/field/fieldLabelDefaults.d.cts +3 -0
- package/dist/types/components/ui/field/fieldLabelDefaults.d.mts +3 -0
- package/dist/types/components/ui/field/fieldLabelDefaults.d.ts +3 -0
- package/dist/types/components/ui/field/index.d.cts +14 -0
- package/dist/types/components/ui/field/index.d.mts +14 -0
- package/dist/types/components/ui/field/index.d.ts +14 -0
- package/dist/types/components/ui/props/keys.d.cts +15 -1
- package/dist/types/components/ui/props/keys.d.mts +15 -1
- package/dist/types/components/ui/props/keys.d.ts +15 -1
- package/dist/types/components/ui/radio/Radio.d.cts +3 -0
- package/dist/types/components/ui/radio/Radio.d.mts +3 -0
- package/dist/types/components/ui/radio/Radio.d.ts +3 -0
- package/dist/types/components/ui/radio/RadioCategories.d.cts +6 -0
- package/dist/types/components/ui/radio/RadioCategories.d.mts +6 -0
- package/dist/types/components/ui/radio/RadioCategories.d.ts +6 -0
- package/dist/types/components/ui/radio/RadioDotTheme.d.cts +15 -0
- package/dist/types/components/ui/radio/RadioDotTheme.d.mts +15 -0
- package/dist/types/components/ui/radio/RadioDotTheme.d.ts +15 -0
- package/dist/types/components/ui/radio/RadioGroup.d.cts +7 -0
- package/dist/types/components/ui/radio/RadioGroup.d.mts +7 -0
- package/dist/types/components/ui/radio/RadioGroup.d.ts +7 -0
- package/dist/types/components/ui/radio/RadioGroupContext.d.cts +16 -0
- package/dist/types/components/ui/radio/RadioGroupContext.d.mts +16 -0
- package/dist/types/components/ui/radio/RadioGroupContext.d.ts +16 -0
- package/dist/types/components/ui/radio/RadioGroupProps.d.cts +15 -0
- package/dist/types/components/ui/radio/RadioGroupProps.d.mts +15 -0
- package/dist/types/components/ui/radio/RadioGroupProps.d.ts +15 -0
- package/dist/types/components/ui/radio/RadioProps.d.cts +10 -0
- package/dist/types/components/ui/radio/RadioProps.d.mts +10 -0
- package/dist/types/components/ui/radio/RadioProps.d.ts +10 -0
- package/dist/types/components/ui/radio/RadioTheme.d.cts +30 -0
- package/dist/types/components/ui/radio/RadioTheme.d.mts +30 -0
- package/dist/types/components/ui/radio/RadioTheme.d.ts +30 -0
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.cts +19 -0
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.mts +19 -0
- package/dist/types/components/ui/radio/RadioWrapperTheme.d.ts +19 -0
- package/dist/types/components/ui/radio/defaultRadioDotTheme.d.cts +3 -0
- package/dist/types/components/ui/radio/defaultRadioDotTheme.d.mts +3 -0
- package/dist/types/components/ui/radio/defaultRadioDotTheme.d.ts +3 -0
- package/dist/types/components/ui/radio/defaultRadioGroupTheme.d.cts +3 -0
- package/dist/types/components/ui/radio/defaultRadioGroupTheme.d.mts +3 -0
- package/dist/types/components/ui/radio/defaultRadioGroupTheme.d.ts +3 -0
- package/dist/types/components/ui/radio/defaultRadioTheme.d.cts +4 -0
- package/dist/types/components/ui/radio/defaultRadioTheme.d.mts +4 -0
- package/dist/types/components/ui/radio/defaultRadioTheme.d.ts +4 -0
- package/dist/types/components/ui/radio/defaultRadioWrapperTheme.d.cts +4 -0
- package/dist/types/components/ui/radio/defaultRadioWrapperTheme.d.mts +4 -0
- package/dist/types/components/ui/radio/defaultRadioWrapperTheme.d.ts +4 -0
- package/dist/types/components/ui/radio/index.d.cts +18 -0
- package/dist/types/components/ui/radio/index.d.mts +18 -0
- package/dist/types/components/ui/radio/index.d.ts +18 -0
- package/dist/types/components/ui/radio/radioDotDefaults.d.cts +3 -0
- package/dist/types/components/ui/radio/radioDotDefaults.d.mts +3 -0
- package/dist/types/components/ui/radio/radioDotDefaults.d.ts +3 -0
- package/dist/types/components/ui/radio/radioGroupDefaults.d.cts +3 -0
- package/dist/types/components/ui/radio/radioGroupDefaults.d.mts +3 -0
- package/dist/types/components/ui/radio/radioGroupDefaults.d.ts +3 -0
- package/dist/types/components/ui/radio/radioInputDefaults.d.cts +3 -0
- package/dist/types/components/ui/radio/radioInputDefaults.d.mts +3 -0
- package/dist/types/components/ui/radio/radioInputDefaults.d.ts +3 -0
- package/dist/types/components/ui/radio/radioWrapperDefaults.d.cts +3 -0
- package/dist/types/components/ui/radio/radioWrapperDefaults.d.mts +3 -0
- package/dist/types/components/ui/radio/radioWrapperDefaults.d.ts +3 -0
- package/dist/types/components/ui/select/Select.d.cts +3 -0
- package/dist/types/components/ui/select/Select.d.mts +3 -0
- package/dist/types/components/ui/select/Select.d.ts +3 -0
- package/dist/types/components/ui/select/SelectChevronCategories.d.cts +2 -0
- package/dist/types/components/ui/select/SelectChevronCategories.d.mts +2 -0
- package/dist/types/components/ui/select/SelectChevronCategories.d.ts +2 -0
- package/dist/types/components/ui/select/SelectChevronProps.d.cts +7 -0
- package/dist/types/components/ui/select/SelectChevronProps.d.mts +7 -0
- package/dist/types/components/ui/select/SelectChevronProps.d.ts +7 -0
- package/dist/types/components/ui/select/SelectChevronTheme.d.cts +19 -0
- package/dist/types/components/ui/select/SelectChevronTheme.d.mts +19 -0
- package/dist/types/components/ui/select/SelectChevronTheme.d.ts +19 -0
- package/dist/types/components/ui/select/SelectProps.d.cts +7 -0
- package/dist/types/components/ui/select/SelectProps.d.mts +7 -0
- package/dist/types/components/ui/select/SelectProps.d.ts +7 -0
- package/dist/types/components/ui/select/SelectWrapperCategories.d.cts +2 -0
- package/dist/types/components/ui/select/SelectWrapperCategories.d.mts +2 -0
- package/dist/types/components/ui/select/SelectWrapperCategories.d.ts +2 -0
- package/dist/types/components/ui/select/SelectWrapperProps.d.cts +7 -0
- package/dist/types/components/ui/select/SelectWrapperProps.d.mts +7 -0
- package/dist/types/components/ui/select/SelectWrapperProps.d.ts +7 -0
- package/dist/types/components/ui/select/SelectWrapperTheme.d.cts +12 -0
- package/dist/types/components/ui/select/SelectWrapperTheme.d.mts +12 -0
- package/dist/types/components/ui/select/SelectWrapperTheme.d.ts +12 -0
- package/dist/types/components/ui/select/defaultSelectChevronTheme.d.cts +4 -0
- package/dist/types/components/ui/select/defaultSelectChevronTheme.d.mts +4 -0
- package/dist/types/components/ui/select/defaultSelectChevronTheme.d.ts +4 -0
- package/dist/types/components/ui/select/defaultSelectTheme.d.cts +4 -0
- package/dist/types/components/ui/select/defaultSelectTheme.d.mts +4 -0
- package/dist/types/components/ui/select/defaultSelectTheme.d.ts +4 -0
- package/dist/types/components/ui/select/defaultSelectWrapperTheme.d.cts +4 -0
- package/dist/types/components/ui/select/defaultSelectWrapperTheme.d.mts +4 -0
- package/dist/types/components/ui/select/defaultSelectWrapperTheme.d.ts +4 -0
- package/dist/types/components/ui/select/index.d.cts +14 -0
- package/dist/types/components/ui/select/index.d.mts +14 -0
- package/dist/types/components/ui/select/index.d.ts +14 -0
- package/dist/types/components/ui/select/selectChevronDefaults.d.cts +3 -0
- package/dist/types/components/ui/select/selectChevronDefaults.d.mts +3 -0
- package/dist/types/components/ui/select/selectChevronDefaults.d.ts +3 -0
- package/dist/types/components/ui/select/selectDefaults.d.cts +3 -0
- package/dist/types/components/ui/select/selectDefaults.d.mts +3 -0
- package/dist/types/components/ui/select/selectDefaults.d.ts +3 -0
- package/dist/types/components/ui/select/selectWrapperDefaults.d.cts +3 -0
- package/dist/types/components/ui/select/selectWrapperDefaults.d.mts +3 -0
- package/dist/types/components/ui/select/selectWrapperDefaults.d.ts +3 -0
- package/dist/types/components/ui/spinner/Spinner.d.cts +3 -0
- package/dist/types/components/ui/spinner/Spinner.d.mts +3 -0
- package/dist/types/components/ui/spinner/Spinner.d.ts +3 -0
- package/dist/types/components/ui/spinner/SpinnerCategories.d.cts +2 -0
- package/dist/types/components/ui/spinner/SpinnerCategories.d.mts +2 -0
- package/dist/types/components/ui/spinner/SpinnerCategories.d.ts +2 -0
- package/dist/types/components/ui/spinner/SpinnerProps.d.cts +7 -0
- package/dist/types/components/ui/spinner/SpinnerProps.d.mts +7 -0
- package/dist/types/components/ui/spinner/SpinnerProps.d.ts +7 -0
- package/dist/types/components/ui/spinner/SpinnerTheme.d.cts +14 -0
- package/dist/types/components/ui/spinner/SpinnerTheme.d.mts +14 -0
- package/dist/types/components/ui/spinner/SpinnerTheme.d.ts +14 -0
- package/dist/types/components/ui/spinner/defaultSpinnerTheme.d.cts +4 -0
- package/dist/types/components/ui/spinner/defaultSpinnerTheme.d.mts +4 -0
- package/dist/types/components/ui/spinner/defaultSpinnerTheme.d.ts +4 -0
- package/dist/types/components/ui/spinner/index.d.cts +6 -0
- package/dist/types/components/ui/spinner/index.d.mts +6 -0
- package/dist/types/components/ui/spinner/index.d.ts +6 -0
- package/dist/types/components/ui/spinner/spinnerDefaults.d.cts +3 -0
- package/dist/types/components/ui/spinner/spinnerDefaults.d.mts +3 -0
- package/dist/types/components/ui/spinner/spinnerDefaults.d.ts +3 -0
- package/dist/types/components/ui/switch/Switch.d.cts +3 -0
- package/dist/types/components/ui/switch/Switch.d.mts +3 -0
- package/dist/types/components/ui/switch/Switch.d.ts +3 -0
- package/dist/types/components/ui/switch/SwitchCategories.d.cts +2 -0
- package/dist/types/components/ui/switch/SwitchCategories.d.mts +2 -0
- package/dist/types/components/ui/switch/SwitchCategories.d.ts +2 -0
- package/dist/types/components/ui/switch/SwitchProps.d.cts +7 -0
- package/dist/types/components/ui/switch/SwitchProps.d.mts +7 -0
- package/dist/types/components/ui/switch/SwitchProps.d.ts +7 -0
- package/dist/types/components/ui/switch/SwitchTheme.d.cts +28 -0
- package/dist/types/components/ui/switch/SwitchTheme.d.mts +28 -0
- package/dist/types/components/ui/switch/SwitchTheme.d.ts +28 -0
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.cts +2 -0
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.mts +2 -0
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.ts +2 -0
- package/dist/types/components/ui/switch/SwitchThumbProps.d.cts +7 -0
- package/dist/types/components/ui/switch/SwitchThumbProps.d.mts +7 -0
- package/dist/types/components/ui/switch/SwitchThumbProps.d.ts +7 -0
- package/dist/types/components/ui/switch/SwitchThumbTheme.d.cts +15 -0
- package/dist/types/components/ui/switch/SwitchThumbTheme.d.mts +15 -0
- package/dist/types/components/ui/switch/SwitchThumbTheme.d.ts +15 -0
- package/dist/types/components/ui/switch/SwitchWrapperTheme.d.cts +18 -0
- package/dist/types/components/ui/switch/SwitchWrapperTheme.d.mts +18 -0
- package/dist/types/components/ui/switch/SwitchWrapperTheme.d.ts +18 -0
- package/dist/types/components/ui/switch/defaultSwitchTheme.d.cts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchTheme.d.mts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchTheme.d.ts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchThumbTheme.d.cts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchThumbTheme.d.mts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchThumbTheme.d.ts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchWrapperTheme.d.cts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchWrapperTheme.d.mts +4 -0
- package/dist/types/components/ui/switch/defaultSwitchWrapperTheme.d.ts +4 -0
- package/dist/types/components/ui/switch/index.d.cts +14 -0
- package/dist/types/components/ui/switch/index.d.mts +14 -0
- package/dist/types/components/ui/switch/index.d.ts +14 -0
- package/dist/types/components/ui/switch/switchInputDefaults.d.cts +3 -0
- package/dist/types/components/ui/switch/switchInputDefaults.d.mts +3 -0
- package/dist/types/components/ui/switch/switchInputDefaults.d.ts +3 -0
- package/dist/types/components/ui/switch/switchThumbDefaults.d.cts +3 -0
- package/dist/types/components/ui/switch/switchThumbDefaults.d.mts +3 -0
- package/dist/types/components/ui/switch/switchThumbDefaults.d.ts +3 -0
- package/dist/types/components/ui/switch/switchWrapperDefaults.d.cts +3 -0
- package/dist/types/components/ui/switch/switchWrapperDefaults.d.mts +3 -0
- package/dist/types/components/ui/switch/switchWrapperDefaults.d.ts +3 -0
- package/dist/types/components/ui/textarea/Textarea.d.cts +3 -0
- package/dist/types/components/ui/textarea/Textarea.d.mts +3 -0
- package/dist/types/components/ui/textarea/Textarea.d.ts +3 -0
- package/dist/types/components/ui/textarea/TextareaProps.d.cts +7 -0
- package/dist/types/components/ui/textarea/TextareaProps.d.mts +7 -0
- package/dist/types/components/ui/textarea/TextareaProps.d.ts +7 -0
- package/dist/types/components/ui/textarea/defaultTextareaTheme.d.cts +4 -0
- package/dist/types/components/ui/textarea/defaultTextareaTheme.d.mts +4 -0
- package/dist/types/components/ui/textarea/defaultTextareaTheme.d.ts +4 -0
- package/dist/types/components/ui/textarea/index.d.cts +4 -0
- package/dist/types/components/ui/textarea/index.d.mts +4 -0
- package/dist/types/components/ui/textarea/index.d.ts +4 -0
- package/dist/types/components/ui/textarea/textareaDefaults.d.cts +3 -0
- package/dist/types/components/ui/textarea/textareaDefaults.d.mts +3 -0
- package/dist/types/components/ui/textarea/textareaDefaults.d.ts +3 -0
- package/dist/types/components/ui/tooltip/Tooltip.d.cts +5 -0
- package/dist/types/components/ui/tooltip/Tooltip.d.mts +5 -0
- package/dist/types/components/ui/tooltip/Tooltip.d.ts +5 -0
- package/dist/types/components/ui/tooltip/TooltipProps.d.cts +25 -0
- package/dist/types/components/ui/tooltip/TooltipProps.d.mts +25 -0
- package/dist/types/components/ui/tooltip/TooltipProps.d.ts +25 -0
- package/dist/types/components/ui/tooltip/defaultTooltipTheme.d.cts +2 -0
- package/dist/types/components/ui/tooltip/defaultTooltipTheme.d.mts +2 -0
- package/dist/types/components/ui/tooltip/defaultTooltipTheme.d.ts +2 -0
- package/dist/types/components/ui/tooltip/index.d.cts +4 -0
- package/dist/types/components/ui/tooltip/index.d.mts +4 -0
- package/dist/types/components/ui/tooltip/index.d.ts +4 -0
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.cts +3 -0
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.mts +3 -0
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.ts +3 -0
- package/dist/types/index.d.cts +8 -0
- package/dist/types/index.d.mts +8 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ import type { LinkTheme } from './ui/typography/link/LinkTheme.cjs';
|
|
|
10
10
|
import type { ListTheme } from './ui/typography/list/ListTheme.cjs';
|
|
11
11
|
import type { ListItemTheme } from './ui/typography/listItem/ListItemTheme.cjs';
|
|
12
12
|
import type { CardTheme } from "./ui/card/CardTheme.cjs";
|
|
13
|
+
import type { FieldTheme } from "./ui/field/FieldTheme.cjs";
|
|
14
|
+
import type { AlertTheme } from "./ui/alert/AlertTheme.cjs";
|
|
15
|
+
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme.cjs";
|
|
13
16
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme.cjs';
|
|
14
17
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme.cjs';
|
|
15
18
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme.cjs';
|
|
@@ -29,6 +32,14 @@ import type { ImgTheme } from './ui/img/ImgTheme.cjs';
|
|
|
29
32
|
import type { InputTheme } from './ui/input/InputTheme.cjs';
|
|
30
33
|
import type { InputErrorIconTheme } from './ui/input/InputErrorIconTheme.cjs';
|
|
31
34
|
import type { InputWrapperTheme } from './ui/input/InputWrapperTheme.cjs';
|
|
35
|
+
import type { SelectChevronTheme } from './ui/select/SelectChevronTheme.cjs';
|
|
36
|
+
import type { SelectWrapperTheme } from './ui/select/SelectWrapperTheme.cjs';
|
|
37
|
+
import type { SwitchTheme } from './ui/switch/SwitchTheme.cjs';
|
|
38
|
+
import type { SwitchThumbTheme } from './ui/switch/SwitchThumbTheme.cjs';
|
|
39
|
+
import type { SwitchWrapperTheme } from './ui/switch/SwitchWrapperTheme.cjs';
|
|
40
|
+
import type { RadioTheme } from './ui/radio/RadioTheme.cjs';
|
|
41
|
+
import type { RadioDotTheme } from './ui/radio/RadioDotTheme.cjs';
|
|
42
|
+
import type { RadioWrapperTheme } from './ui/radio/RadioWrapperTheme.cjs';
|
|
32
43
|
import type { OverlayTheme } from './ui/overlay/OverlayTheme.cjs';
|
|
33
44
|
import type { ModalContentTheme } from './ui/modal/ModalContentTheme.cjs';
|
|
34
45
|
import type { ModalHeaderTheme } from './ui/modal/ModalHeaderTheme.cjs';
|
|
@@ -56,6 +67,9 @@ import type { BadgeProps } from "./ui/badge/BadgeProps.cjs";
|
|
|
56
67
|
import type { ButtonProps } from "./ui/button/ButtonProps.cjs";
|
|
57
68
|
import type { ButtonSpinnerProps } from "./ui/button/ButtonSpinnerProps.cjs";
|
|
58
69
|
import type { CardProps } from "./ui/card/CardProps.cjs";
|
|
70
|
+
import type { FieldProps } from "./ui/field/FieldProps.cjs";
|
|
71
|
+
import type { AlertProps } from "./ui/alert/AlertProps.cjs";
|
|
72
|
+
import type { SpinnerProps } from "./ui/spinner/SpinnerProps.cjs";
|
|
59
73
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps.cjs";
|
|
60
74
|
import type { CardBodyProps } from "./ui/card/CardBodyProps.cjs";
|
|
61
75
|
import type { CardFooterProps } from "./ui/card/CardFooterProps.cjs";
|
|
@@ -75,6 +89,10 @@ import type { CheckboxIndeterminateProps } from "./ui/checkbox/CheckboxIndetermi
|
|
|
75
89
|
import type { LabelProps } from "./ui/label/index.cjs";
|
|
76
90
|
import type { ImgProps } from "./ui/img/index.cjs";
|
|
77
91
|
import type { InputProps, InputErrorIconProps, InputWrapperProps } from "./ui/input/index.cjs";
|
|
92
|
+
import type { TextareaProps } from "./ui/textarea/TextareaProps.cjs";
|
|
93
|
+
import type { SelectProps, SelectChevronProps, SelectWrapperProps } from "./ui/select/index.cjs";
|
|
94
|
+
import type { SwitchProps, SwitchThumbProps } from "./ui/switch/index.cjs";
|
|
95
|
+
import type { RadioProps, RadioDotProps, RadioGroupProps } from "./ui/radio/index.cjs";
|
|
78
96
|
import type { OverlayProps } from "./ui/overlay/index.cjs";
|
|
79
97
|
import type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from "./ui/modal/index.cjs";
|
|
80
98
|
import type { ModalCloseButtonProps } from "./ui/modal/ModalCloseButtonProps.cjs";
|
|
@@ -142,10 +160,31 @@ export interface ThemeProps {
|
|
|
142
160
|
wrapper: ComponentTheme<CheckboxProps, CheckboxWrapperTheme>;
|
|
143
161
|
};
|
|
144
162
|
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
163
|
+
field: {
|
|
164
|
+
main: ComponentTheme<FieldProps, FieldTheme>;
|
|
165
|
+
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
166
|
+
description: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
167
|
+
error: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
168
|
+
};
|
|
145
169
|
img: ComponentTheme<ImgProps, ImgTheme>;
|
|
146
170
|
input: ComponentTheme<InputProps, InputTheme>;
|
|
147
171
|
inputErrorIcon: ComponentTheme<InputErrorIconProps, InputErrorIconTheme>;
|
|
148
172
|
inputWrapper: ComponentTheme<InputWrapperProps, InputWrapperTheme>;
|
|
173
|
+
textarea: ComponentTheme<TextareaProps, InputTheme>;
|
|
174
|
+
select: ComponentTheme<SelectProps, InputTheme>;
|
|
175
|
+
selectChevron: ComponentTheme<SelectChevronProps, SelectChevronTheme>;
|
|
176
|
+
selectWrapper: ComponentTheme<SelectWrapperProps, SelectWrapperTheme>;
|
|
177
|
+
switch: {
|
|
178
|
+
input: ComponentTheme<SwitchProps, SwitchTheme>;
|
|
179
|
+
thumb: ComponentTheme<SwitchThumbProps, SwitchThumbTheme>;
|
|
180
|
+
wrapper: ComponentTheme<SwitchProps, SwitchWrapperTheme>;
|
|
181
|
+
};
|
|
182
|
+
radio: {
|
|
183
|
+
input: ComponentTheme<RadioProps, RadioTheme>;
|
|
184
|
+
dot: ComponentTheme<RadioDotProps, RadioDotTheme>;
|
|
185
|
+
wrapper: ComponentTheme<RadioProps, RadioWrapperTheme>;
|
|
186
|
+
};
|
|
187
|
+
radioGroup: ComponentTheme<RadioGroupProps, ColTheme>;
|
|
149
188
|
overlay: ComponentTheme<OverlayProps, OverlayTheme>;
|
|
150
189
|
modal: {
|
|
151
190
|
content: ComponentTheme<ModalProps, ModalContentTheme>;
|
|
@@ -156,6 +195,9 @@ export interface ThemeProps {
|
|
|
156
195
|
closeButton: ComponentTheme<ModalCloseButtonProps, ModalCloseButtonTheme>;
|
|
157
196
|
};
|
|
158
197
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
198
|
+
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
199
|
+
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
200
|
+
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
159
201
|
menu: {
|
|
160
202
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
161
203
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -10,6 +10,9 @@ import type { LinkTheme } from './ui/typography/link/LinkTheme.mjs';
|
|
|
10
10
|
import type { ListTheme } from './ui/typography/list/ListTheme.mjs';
|
|
11
11
|
import type { ListItemTheme } from './ui/typography/listItem/ListItemTheme.mjs';
|
|
12
12
|
import type { CardTheme } from "./ui/card/CardTheme.mjs";
|
|
13
|
+
import type { FieldTheme } from "./ui/field/FieldTheme.mjs";
|
|
14
|
+
import type { AlertTheme } from "./ui/alert/AlertTheme.mjs";
|
|
15
|
+
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme.mjs";
|
|
13
16
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme.mjs';
|
|
14
17
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme.mjs';
|
|
15
18
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme.mjs';
|
|
@@ -29,6 +32,14 @@ import type { ImgTheme } from './ui/img/ImgTheme.mjs';
|
|
|
29
32
|
import type { InputTheme } from './ui/input/InputTheme.mjs';
|
|
30
33
|
import type { InputErrorIconTheme } from './ui/input/InputErrorIconTheme.mjs';
|
|
31
34
|
import type { InputWrapperTheme } from './ui/input/InputWrapperTheme.mjs';
|
|
35
|
+
import type { SelectChevronTheme } from './ui/select/SelectChevronTheme.mjs';
|
|
36
|
+
import type { SelectWrapperTheme } from './ui/select/SelectWrapperTheme.mjs';
|
|
37
|
+
import type { SwitchTheme } from './ui/switch/SwitchTheme.mjs';
|
|
38
|
+
import type { SwitchThumbTheme } from './ui/switch/SwitchThumbTheme.mjs';
|
|
39
|
+
import type { SwitchWrapperTheme } from './ui/switch/SwitchWrapperTheme.mjs';
|
|
40
|
+
import type { RadioTheme } from './ui/radio/RadioTheme.mjs';
|
|
41
|
+
import type { RadioDotTheme } from './ui/radio/RadioDotTheme.mjs';
|
|
42
|
+
import type { RadioWrapperTheme } from './ui/radio/RadioWrapperTheme.mjs';
|
|
32
43
|
import type { OverlayTheme } from './ui/overlay/OverlayTheme.mjs';
|
|
33
44
|
import type { ModalContentTheme } from './ui/modal/ModalContentTheme.mjs';
|
|
34
45
|
import type { ModalHeaderTheme } from './ui/modal/ModalHeaderTheme.mjs';
|
|
@@ -56,6 +67,9 @@ import type { BadgeProps } from "./ui/badge/BadgeProps.mjs";
|
|
|
56
67
|
import type { ButtonProps } from "./ui/button/ButtonProps.mjs";
|
|
57
68
|
import type { ButtonSpinnerProps } from "./ui/button/ButtonSpinnerProps.mjs";
|
|
58
69
|
import type { CardProps } from "./ui/card/CardProps.mjs";
|
|
70
|
+
import type { FieldProps } from "./ui/field/FieldProps.mjs";
|
|
71
|
+
import type { AlertProps } from "./ui/alert/AlertProps.mjs";
|
|
72
|
+
import type { SpinnerProps } from "./ui/spinner/SpinnerProps.mjs";
|
|
59
73
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps.mjs";
|
|
60
74
|
import type { CardBodyProps } from "./ui/card/CardBodyProps.mjs";
|
|
61
75
|
import type { CardFooterProps } from "./ui/card/CardFooterProps.mjs";
|
|
@@ -75,6 +89,10 @@ import type { CheckboxIndeterminateProps } from "./ui/checkbox/CheckboxIndetermi
|
|
|
75
89
|
import type { LabelProps } from "./ui/label/index.mjs";
|
|
76
90
|
import type { ImgProps } from "./ui/img/index.mjs";
|
|
77
91
|
import type { InputProps, InputErrorIconProps, InputWrapperProps } from "./ui/input/index.mjs";
|
|
92
|
+
import type { TextareaProps } from "./ui/textarea/TextareaProps.mjs";
|
|
93
|
+
import type { SelectProps, SelectChevronProps, SelectWrapperProps } from "./ui/select/index.mjs";
|
|
94
|
+
import type { SwitchProps, SwitchThumbProps } from "./ui/switch/index.mjs";
|
|
95
|
+
import type { RadioProps, RadioDotProps, RadioGroupProps } from "./ui/radio/index.mjs";
|
|
78
96
|
import type { OverlayProps } from "./ui/overlay/index.mjs";
|
|
79
97
|
import type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from "./ui/modal/index.mjs";
|
|
80
98
|
import type { ModalCloseButtonProps } from "./ui/modal/ModalCloseButtonProps.mjs";
|
|
@@ -142,10 +160,31 @@ export interface ThemeProps {
|
|
|
142
160
|
wrapper: ComponentTheme<CheckboxProps, CheckboxWrapperTheme>;
|
|
143
161
|
};
|
|
144
162
|
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
163
|
+
field: {
|
|
164
|
+
main: ComponentTheme<FieldProps, FieldTheme>;
|
|
165
|
+
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
166
|
+
description: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
167
|
+
error: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
168
|
+
};
|
|
145
169
|
img: ComponentTheme<ImgProps, ImgTheme>;
|
|
146
170
|
input: ComponentTheme<InputProps, InputTheme>;
|
|
147
171
|
inputErrorIcon: ComponentTheme<InputErrorIconProps, InputErrorIconTheme>;
|
|
148
172
|
inputWrapper: ComponentTheme<InputWrapperProps, InputWrapperTheme>;
|
|
173
|
+
textarea: ComponentTheme<TextareaProps, InputTheme>;
|
|
174
|
+
select: ComponentTheme<SelectProps, InputTheme>;
|
|
175
|
+
selectChevron: ComponentTheme<SelectChevronProps, SelectChevronTheme>;
|
|
176
|
+
selectWrapper: ComponentTheme<SelectWrapperProps, SelectWrapperTheme>;
|
|
177
|
+
switch: {
|
|
178
|
+
input: ComponentTheme<SwitchProps, SwitchTheme>;
|
|
179
|
+
thumb: ComponentTheme<SwitchThumbProps, SwitchThumbTheme>;
|
|
180
|
+
wrapper: ComponentTheme<SwitchProps, SwitchWrapperTheme>;
|
|
181
|
+
};
|
|
182
|
+
radio: {
|
|
183
|
+
input: ComponentTheme<RadioProps, RadioTheme>;
|
|
184
|
+
dot: ComponentTheme<RadioDotProps, RadioDotTheme>;
|
|
185
|
+
wrapper: ComponentTheme<RadioProps, RadioWrapperTheme>;
|
|
186
|
+
};
|
|
187
|
+
radioGroup: ComponentTheme<RadioGroupProps, ColTheme>;
|
|
149
188
|
overlay: ComponentTheme<OverlayProps, OverlayTheme>;
|
|
150
189
|
modal: {
|
|
151
190
|
content: ComponentTheme<ModalProps, ModalContentTheme>;
|
|
@@ -156,6 +195,9 @@ export interface ThemeProps {
|
|
|
156
195
|
closeButton: ComponentTheme<ModalCloseButtonProps, ModalCloseButtonTheme>;
|
|
157
196
|
};
|
|
158
197
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
198
|
+
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
199
|
+
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
200
|
+
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
159
201
|
menu: {
|
|
160
202
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
161
203
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -10,6 +10,9 @@ import type { LinkTheme } from './ui/typography/link/LinkTheme';
|
|
|
10
10
|
import type { ListTheme } from './ui/typography/list/ListTheme';
|
|
11
11
|
import type { ListItemTheme } from './ui/typography/listItem/ListItemTheme';
|
|
12
12
|
import type { CardTheme } from "./ui/card/CardTheme";
|
|
13
|
+
import type { FieldTheme } from "./ui/field/FieldTheme";
|
|
14
|
+
import type { AlertTheme } from "./ui/alert/AlertTheme";
|
|
15
|
+
import type { SpinnerTheme } from "./ui/spinner/SpinnerTheme";
|
|
13
16
|
import type { CardHeaderTheme } from './ui/card/CardHeaderTheme';
|
|
14
17
|
import type { CardBodyTheme } from './ui/card/CardBodyTheme';
|
|
15
18
|
import type { CardFooterTheme } from './ui/card/CardFooterTheme';
|
|
@@ -29,6 +32,14 @@ import type { ImgTheme } from './ui/img/ImgTheme';
|
|
|
29
32
|
import type { InputTheme } from './ui/input/InputTheme';
|
|
30
33
|
import type { InputErrorIconTheme } from './ui/input/InputErrorIconTheme';
|
|
31
34
|
import type { InputWrapperTheme } from './ui/input/InputWrapperTheme';
|
|
35
|
+
import type { SelectChevronTheme } from './ui/select/SelectChevronTheme';
|
|
36
|
+
import type { SelectWrapperTheme } from './ui/select/SelectWrapperTheme';
|
|
37
|
+
import type { SwitchTheme } from './ui/switch/SwitchTheme';
|
|
38
|
+
import type { SwitchThumbTheme } from './ui/switch/SwitchThumbTheme';
|
|
39
|
+
import type { SwitchWrapperTheme } from './ui/switch/SwitchWrapperTheme';
|
|
40
|
+
import type { RadioTheme } from './ui/radio/RadioTheme';
|
|
41
|
+
import type { RadioDotTheme } from './ui/radio/RadioDotTheme';
|
|
42
|
+
import type { RadioWrapperTheme } from './ui/radio/RadioWrapperTheme';
|
|
32
43
|
import type { OverlayTheme } from './ui/overlay/OverlayTheme';
|
|
33
44
|
import type { ModalContentTheme } from './ui/modal/ModalContentTheme';
|
|
34
45
|
import type { ModalHeaderTheme } from './ui/modal/ModalHeaderTheme';
|
|
@@ -56,6 +67,9 @@ import type { BadgeProps } from "./ui/badge/BadgeProps";
|
|
|
56
67
|
import type { ButtonProps } from "./ui/button/ButtonProps";
|
|
57
68
|
import type { ButtonSpinnerProps } from "./ui/button/ButtonSpinnerProps";
|
|
58
69
|
import type { CardProps } from "./ui/card/CardProps";
|
|
70
|
+
import type { FieldProps } from "./ui/field/FieldProps";
|
|
71
|
+
import type { AlertProps } from "./ui/alert/AlertProps";
|
|
72
|
+
import type { SpinnerProps } from "./ui/spinner/SpinnerProps";
|
|
59
73
|
import type { CardHeaderProps } from "./ui/card/CardHeaderProps";
|
|
60
74
|
import type { CardBodyProps } from "./ui/card/CardBodyProps";
|
|
61
75
|
import type { CardFooterProps } from "./ui/card/CardFooterProps";
|
|
@@ -75,6 +89,10 @@ import type { CheckboxIndeterminateProps } from "./ui/checkbox/CheckboxIndetermi
|
|
|
75
89
|
import type { LabelProps } from "./ui/label";
|
|
76
90
|
import type { ImgProps } from "./ui/img";
|
|
77
91
|
import type { InputProps, InputErrorIconProps, InputWrapperProps } from "./ui/input";
|
|
92
|
+
import type { TextareaProps } from "./ui/textarea/TextareaProps";
|
|
93
|
+
import type { SelectProps, SelectChevronProps, SelectWrapperProps } from "./ui/select";
|
|
94
|
+
import type { SwitchProps, SwitchThumbProps } from "./ui/switch";
|
|
95
|
+
import type { RadioProps, RadioDotProps, RadioGroupProps } from "./ui/radio";
|
|
78
96
|
import type { OverlayProps } from "./ui/overlay";
|
|
79
97
|
import type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from "./ui/modal";
|
|
80
98
|
import type { ModalCloseButtonProps } from "./ui/modal/ModalCloseButtonProps";
|
|
@@ -142,10 +160,31 @@ export interface ThemeProps {
|
|
|
142
160
|
wrapper: ComponentTheme<CheckboxProps, CheckboxWrapperTheme>;
|
|
143
161
|
};
|
|
144
162
|
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
163
|
+
field: {
|
|
164
|
+
main: ComponentTheme<FieldProps, FieldTheme>;
|
|
165
|
+
label: ComponentTheme<LabelProps, LabelTheme>;
|
|
166
|
+
description: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
167
|
+
error: ComponentTheme<TypographyProps, TypographyTheme>;
|
|
168
|
+
};
|
|
145
169
|
img: ComponentTheme<ImgProps, ImgTheme>;
|
|
146
170
|
input: ComponentTheme<InputProps, InputTheme>;
|
|
147
171
|
inputErrorIcon: ComponentTheme<InputErrorIconProps, InputErrorIconTheme>;
|
|
148
172
|
inputWrapper: ComponentTheme<InputWrapperProps, InputWrapperTheme>;
|
|
173
|
+
textarea: ComponentTheme<TextareaProps, InputTheme>;
|
|
174
|
+
select: ComponentTheme<SelectProps, InputTheme>;
|
|
175
|
+
selectChevron: ComponentTheme<SelectChevronProps, SelectChevronTheme>;
|
|
176
|
+
selectWrapper: ComponentTheme<SelectWrapperProps, SelectWrapperTheme>;
|
|
177
|
+
switch: {
|
|
178
|
+
input: ComponentTheme<SwitchProps, SwitchTheme>;
|
|
179
|
+
thumb: ComponentTheme<SwitchThumbProps, SwitchThumbTheme>;
|
|
180
|
+
wrapper: ComponentTheme<SwitchProps, SwitchWrapperTheme>;
|
|
181
|
+
};
|
|
182
|
+
radio: {
|
|
183
|
+
input: ComponentTheme<RadioProps, RadioTheme>;
|
|
184
|
+
dot: ComponentTheme<RadioDotProps, RadioDotTheme>;
|
|
185
|
+
wrapper: ComponentTheme<RadioProps, RadioWrapperTheme>;
|
|
186
|
+
};
|
|
187
|
+
radioGroup: ComponentTheme<RadioGroupProps, ColTheme>;
|
|
149
188
|
overlay: ComponentTheme<OverlayProps, OverlayTheme>;
|
|
150
189
|
modal: {
|
|
151
190
|
content: ComponentTheme<ModalProps, ModalContentTheme>;
|
|
@@ -156,6 +195,9 @@ export interface ThemeProps {
|
|
|
156
195
|
closeButton: ComponentTheme<ModalCloseButtonProps, ModalCloseButtonTheme>;
|
|
157
196
|
};
|
|
158
197
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
198
|
+
tooltip: ComponentTheme<PopupProps, PopupTheme>;
|
|
199
|
+
alert: ComponentTheme<AlertProps, AlertTheme>;
|
|
200
|
+
spinner: ComponentTheme<SpinnerProps, SpinnerTheme>;
|
|
159
201
|
menu: {
|
|
160
202
|
item: ComponentTheme<MenuItemProps, MenuItemTheme>;
|
|
161
203
|
popup: ComponentTheme<PopupProps, PopupTheme>;
|
|
@@ -0,0 +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"> & {
|
|
2
|
+
polite?: boolean;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +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"> & {
|
|
2
|
+
polite?: boolean;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +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"> & {
|
|
2
|
+
polite?: boolean;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
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"];
|
|
@@ -0,0 +1,2 @@
|
|
|
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"];
|
|
@@ -0,0 +1,2 @@
|
|
|
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"];
|
|
@@ -0,0 +1,9 @@
|
|
|
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";
|
|
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'> & {
|
|
5
|
+
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
|
+
polite?: boolean;
|
|
7
|
+
/** Custom HTML tag or React component to render as */
|
|
8
|
+
tag?: React.ElementType;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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";
|
|
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'> & {
|
|
5
|
+
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
|
+
polite?: boolean;
|
|
7
|
+
/** Custom HTML tag or React component to render as */
|
|
8
|
+
tag?: React.ElementType;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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";
|
|
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'> & {
|
|
5
|
+
/** Announce politely (role="status") instead of interrupting (role="alert") */
|
|
6
|
+
polite?: boolean;
|
|
7
|
+
/** Custom HTML tag or React component to render as */
|
|
8
|
+
tag?: React.ElementType;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FlexLayoutComponentTheme } from "../theme/common/index.cjs";
|
|
2
|
+
import type { BreakpointClassMapper } from "../theme/size/index.cjs";
|
|
3
|
+
import type { TextAlignClassMapper } from "../theme/typography/index.cjs";
|
|
4
|
+
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
|
+
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
|
+
size: FlexLayoutComponentTheme['size'] & {
|
|
7
|
+
breakpoint: BreakpointClassMapper;
|
|
8
|
+
};
|
|
9
|
+
typography: {
|
|
10
|
+
textAlign: TextAlignClassMapper;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FlexLayoutComponentTheme } from "../theme/common/index.mjs";
|
|
2
|
+
import type { BreakpointClassMapper } from "../theme/size/index.mjs";
|
|
3
|
+
import type { TextAlignClassMapper } from "../theme/typography/index.mjs";
|
|
4
|
+
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
|
+
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
|
+
size: FlexLayoutComponentTheme['size'] & {
|
|
7
|
+
breakpoint: BreakpointClassMapper;
|
|
8
|
+
};
|
|
9
|
+
typography: {
|
|
10
|
+
textAlign: TextAlignClassMapper;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FlexLayoutComponentTheme } from "../theme/common";
|
|
2
|
+
import type { BreakpointClassMapper } from "../theme/size";
|
|
3
|
+
import type { TextAlignClassMapper } from "../theme/typography";
|
|
4
|
+
/** Alert is a flex surface; no cursor or focus ring, since it is never a link. */
|
|
5
|
+
export type AlertTheme = FlexLayoutComponentTheme & {
|
|
6
|
+
size: FlexLayoutComponentTheme['size'] & {
|
|
7
|
+
breakpoint: BreakpointClassMapper;
|
|
8
|
+
};
|
|
9
|
+
typography: {
|
|
10
|
+
textAlign: TextAlignClassMapper;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Alert } from './Alert.cjs';
|
|
2
|
+
export type { AlertProps } from './AlertProps.cjs';
|
|
3
|
+
export { ALERT_CATEGORIES } from './AlertCategories.cjs';
|
|
4
|
+
export type { AlertTheme } from './AlertTheme.cjs';
|
|
5
|
+
export { alertDefaults } from './alertDefaults.cjs';
|
|
6
|
+
export { defaultAlertTheme } from './defaultAlertTheme.cjs';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Alert } from './Alert.mjs';
|
|
2
|
+
export type { AlertProps } from './AlertProps.mjs';
|
|
3
|
+
export { ALERT_CATEGORIES } from './AlertCategories.mjs';
|
|
4
|
+
export type { AlertTheme } from './AlertTheme.mjs';
|
|
5
|
+
export { alertDefaults } from './alertDefaults.mjs';
|
|
6
|
+
export { defaultAlertTheme } from './defaultAlertTheme.mjs';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export type { AlertProps } from './AlertProps';
|
|
3
|
+
export { ALERT_CATEGORIES } from './AlertCategories';
|
|
4
|
+
export type { AlertTheme } from './AlertTheme';
|
|
5
|
+
export { alertDefaults } from './alertDefaults';
|
|
6
|
+
export { defaultAlertTheme } from './defaultAlertTheme';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Field: import("react").ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").SizeProps & import("../props/index.cjs").HideProps & import("../props/index.cjs").ItemsProps & import("../props/index.cjs").JustifyProps & import("../props/index.cjs").PositionProps & import("../props/index.cjs").DisplayProps & import("../props/index.cjs").OverflowProps & import("../props/index.cjs").WrapProps & import("../props/index.cjs").FlexProps & import("../props/index.cjs").ShrinkProps & import("../props/index.cjs").GapProps & import("../props/index.cjs").FlexDirectionProps & import("../props/index.cjs").BreakpointProps & import("../props/index.cjs").AppearanceProps & import("../props/index.cjs").BorderProps & import("../props/index.cjs").ShadowProps & import("../props/index.cjs").RingProps & import("../props/index.cjs").FocusVisibleProps & import("../props/index.cjs").ShapeProps & import("../props/index.cjs").VariantProps & import("../props/index.cjs").TransparentProps & import("../props/index.cjs").ResponsiveProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").PaddingProps & import("../props/index.cjs").MarginProps & import("../props/index.cjs").WidthProps & import("../props/index.cjs").HeightProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
href?: string;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
error?: React.ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Field: import("react").ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").SizeProps & import("../props/index.mjs").HideProps & import("../props/index.mjs").ItemsProps & import("../props/index.mjs").JustifyProps & import("../props/index.mjs").PositionProps & import("../props/index.mjs").DisplayProps & import("../props/index.mjs").OverflowProps & import("../props/index.mjs").WrapProps & import("../props/index.mjs").FlexProps & import("../props/index.mjs").ShrinkProps & import("../props/index.mjs").GapProps & import("../props/index.mjs").FlexDirectionProps & import("../props/index.mjs").BreakpointProps & import("../props/index.mjs").AppearanceProps & import("../props/index.mjs").BorderProps & import("../props/index.mjs").ShadowProps & import("../props/index.mjs").RingProps & import("../props/index.mjs").FocusVisibleProps & import("../props/index.mjs").ShapeProps & import("../props/index.mjs").VariantProps & import("../props/index.mjs").TransparentProps & import("../props/index.mjs").ResponsiveProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").PaddingProps & import("../props/index.mjs").MarginProps & import("../props/index.mjs").WidthProps & import("../props/index.mjs").HeightProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
href?: string;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
error?: React.ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Field: import("react").ForwardRefExoticComponent<import("../props").BaseProps & import("../props").SizeProps & import("../props").HideProps & import("../props").ItemsProps & import("../props").JustifyProps & import("../props").PositionProps & import("../props").DisplayProps & import("../props").OverflowProps & import("../props").WrapProps & import("../props").FlexProps & import("../props").ShrinkProps & import("../props").GapProps & import("../props").FlexDirectionProps & import("../props").BreakpointProps & import("../props").AppearanceProps & import("../props").BorderProps & import("../props").ShadowProps & import("../props").RingProps & import("../props").FocusVisibleProps & import("../props").ShapeProps & import("../props").VariantProps & import("../props").TransparentProps & import("../props").ResponsiveProps & import("../props").TextAlignProps & import("../props").PaddingProps & import("../props").MarginProps & import("../props").WidthProps & import("../props").HeightProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "className" | "children"> & Partial<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "className" | "children">> & {
|
|
2
|
+
href?: string;
|
|
3
|
+
tag?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
error?: React.ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Field wraps a control in a column. Col's list minus `focusVisible`: Field is
|
|
2
|
+
* always a div, never an anchor, so a focus ring would be a dead prop. */
|
|
3
|
+
export declare const FIELD_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "padding", "margin", "appearance", "border", "shadow", "ring", "shape", "variant", "breakpoint", "width", "height", "transparent", "responsiveSizing", "textAlign"];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Field wraps a control in a column. Col's list minus `focusVisible`: Field is
|
|
2
|
+
* always a div, never an anchor, so a focus ring would be a dead prop. */
|
|
3
|
+
export declare const FIELD_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "padding", "margin", "appearance", "border", "shadow", "ring", "shape", "variant", "breakpoint", "width", "height", "transparent", "responsiveSizing", "textAlign"];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Field wraps a control in a column. Col's list minus `focusVisible`: Field is
|
|
2
|
+
* always a div, never an anchor, so a focus ring would be a dead prop. */
|
|
3
|
+
export declare const FIELD_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "padding", "margin", "appearance", "border", "shadow", "ring", "shape", "variant", "breakpoint", "width", "height", "transparent", "responsiveSizing", "textAlign"];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Ids and validity a Field publishes to whichever control it wraps. */
|
|
2
|
+
export interface FieldControlContextValue {
|
|
3
|
+
id: string;
|
|
4
|
+
labelId: string;
|
|
5
|
+
describedBy?: string;
|
|
6
|
+
invalid: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
|
+
type FieldControlProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
};
|
|
14
|
+
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
15
|
+
export declare function useFieldControlProps<P extends FieldControlProps>(props: P): P;
|
|
16
|
+
type FieldGroupProps = {
|
|
17
|
+
'aria-labelledby'?: string;
|
|
18
|
+
'aria-describedby'?: string;
|
|
19
|
+
};
|
|
20
|
+
/** A group (radiogroup) is not labelable, so it takes the label by reference instead of htmlFor. */
|
|
21
|
+
export declare function useFieldGroupProps<P extends FieldGroupProps>(props: P): P;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Ids and validity a Field publishes to whichever control it wraps. */
|
|
2
|
+
export interface FieldControlContextValue {
|
|
3
|
+
id: string;
|
|
4
|
+
labelId: string;
|
|
5
|
+
describedBy?: string;
|
|
6
|
+
invalid: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
|
+
type FieldControlProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
};
|
|
14
|
+
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
15
|
+
export declare function useFieldControlProps<P extends FieldControlProps>(props: P): P;
|
|
16
|
+
type FieldGroupProps = {
|
|
17
|
+
'aria-labelledby'?: string;
|
|
18
|
+
'aria-describedby'?: string;
|
|
19
|
+
};
|
|
20
|
+
/** A group (radiogroup) is not labelable, so it takes the label by reference instead of htmlFor. */
|
|
21
|
+
export declare function useFieldGroupProps<P extends FieldGroupProps>(props: P): P;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Ids and validity a Field publishes to whichever control it wraps. */
|
|
2
|
+
export interface FieldControlContextValue {
|
|
3
|
+
id: string;
|
|
4
|
+
labelId: string;
|
|
5
|
+
describedBy?: string;
|
|
6
|
+
invalid: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const FieldControlContext: import("react").Context<FieldControlContextValue | null>;
|
|
9
|
+
type FieldControlProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
};
|
|
14
|
+
/** Merges the enclosing Field's wiring into a labelable control; explicit props win. */
|
|
15
|
+
export declare function useFieldControlProps<P extends FieldControlProps>(props: P): P;
|
|
16
|
+
type FieldGroupProps = {
|
|
17
|
+
'aria-labelledby'?: string;
|
|
18
|
+
'aria-describedby'?: string;
|
|
19
|
+
};
|
|
20
|
+
/** A group (radiogroup) is not labelable, so it takes the label by reference instead of htmlFor. */
|
|
21
|
+
export declare function useFieldGroupProps<P extends FieldGroupProps>(props: P): P;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ColProps } from "../col/ColProps.cjs";
|
|
3
|
+
/** Field component props */
|
|
4
|
+
export type FieldProps = ColProps & {
|
|
5
|
+
/** Label text, associated with the control via htmlFor */
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
/** Help text below the control, linked with aria-describedby */
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
/** Error text below the control; its presence also marks the control invalid */
|
|
10
|
+
error?: React.ReactNode;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ColProps } from "../col/ColProps.mjs";
|
|
3
|
+
/** Field component props */
|
|
4
|
+
export type FieldProps = ColProps & {
|
|
5
|
+
/** Label text, associated with the control via htmlFor */
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
/** Help text below the control, linked with aria-describedby */
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
/** Error text below the control; its presence also marks the control invalid */
|
|
10
|
+
error?: React.ReactNode;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ColProps } from "../col/ColProps";
|
|
3
|
+
/** Field component props */
|
|
4
|
+
export type FieldProps = ColProps & {
|
|
5
|
+
/** Label text, associated with the control via htmlFor */
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
/** Help text below the control, linked with aria-describedby */
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
/** Error text below the control; its presence also marks the control invalid */
|
|
10
|
+
error?: React.ReactNode;
|
|
11
|
+
};
|