@vaneui/ui 1.4.5 → 1.4.6-alpha.20261029124010.35bcb42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +115 -94
- package/dist/cjs/components/ui/button/ButtonSpinnerCategories.cjs +1 -1
- package/dist/cjs/components/ui/button/ButtonSpinnerCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCheckCategories.cjs +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxCheckCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxIndeterminateCategories.cjs +1 -1
- package/dist/cjs/components/ui/checkbox/CheckboxIndeterminateCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/input/InputErrorIconCategories.cjs +1 -1
- package/dist/cjs/components/ui/input/InputErrorIconCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/input/InputWrapperCategories.cjs +1 -1
- package/dist/cjs/components/ui/input/InputWrapperCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkLabelCategories.cjs +1 -1
- package/dist/cjs/components/ui/navLink/NavLinkLabelCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs +1 -1
- package/dist/cjs/components/ui/progress/ProgressCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs +1 -1
- package/dist/cjs/components/ui/progress/ProgressFillCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/props/categoryBuilders.cjs +4 -2
- package/dist/cjs/components/ui/props/categoryBuilders.cjs.map +1 -1
- package/dist/cjs/components/ui/props/keys.cjs +4 -0
- package/dist/cjs/components/ui/props/keys.cjs.map +1 -1
- package/dist/cjs/components/ui/props/propDescriptions.cjs +30 -0
- package/dist/cjs/components/ui/props/propDescriptions.cjs.map +1 -1
- package/dist/cjs/components/ui/select/Select.cjs +12 -0
- package/dist/cjs/components/ui/select/Select.cjs.map +1 -1
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs +1 -1
- package/dist/cjs/components/ui/select/SelectChevronCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs +1 -1
- package/dist/cjs/components/ui/select/SelectWrapperCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs +1 -1
- package/dist/cjs/components/ui/spinner/SpinnerCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs +1 -0
- package/dist/cjs/components/ui/switch/SwitchThumbCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TableCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TableCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TbodyCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TbodyCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TfootCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TfootCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TheadCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TheadCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/table/TrCategories.cjs +1 -0
- package/dist/cjs/components/ui/table/TrCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/layout/hideClassMapper.cjs +11 -1
- package/dist/cjs/components/ui/theme/layout/hideClassMapper.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/layout/widthClassMapper.cjs +8 -0
- package/dist/cjs/components/ui/theme/layout/widthClassMapper.cjs.map +1 -1
- package/dist/esm/components/ui/button/ButtonSpinnerCategories.mjs +1 -1
- package/dist/esm/components/ui/button/ButtonSpinnerCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxCheckCategories.mjs +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxCheckCategories.mjs.map +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxIndeterminateCategories.mjs +1 -1
- package/dist/esm/components/ui/checkbox/CheckboxIndeterminateCategories.mjs.map +1 -1
- package/dist/esm/components/ui/input/InputErrorIconCategories.mjs +1 -1
- package/dist/esm/components/ui/input/InputErrorIconCategories.mjs.map +1 -1
- package/dist/esm/components/ui/input/InputWrapperCategories.mjs +1 -1
- package/dist/esm/components/ui/input/InputWrapperCategories.mjs.map +1 -1
- package/dist/esm/components/ui/navLink/NavLinkLabelCategories.mjs +1 -1
- package/dist/esm/components/ui/navLink/NavLinkLabelCategories.mjs.map +1 -1
- package/dist/esm/components/ui/progress/ProgressCategories.mjs +1 -1
- package/dist/esm/components/ui/progress/ProgressCategories.mjs.map +1 -1
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs +1 -1
- package/dist/esm/components/ui/progress/ProgressFillCategories.mjs.map +1 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs +4 -2
- package/dist/esm/components/ui/props/categoryBuilders.mjs.map +1 -1
- package/dist/esm/components/ui/props/keys.mjs +4 -0
- package/dist/esm/components/ui/props/keys.mjs.map +1 -1
- package/dist/esm/components/ui/props/propDescriptions.mjs +30 -0
- package/dist/esm/components/ui/props/propDescriptions.mjs.map +1 -1
- package/dist/esm/components/ui/select/Select.mjs +12 -0
- package/dist/esm/components/ui/select/Select.mjs.map +1 -1
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs +1 -1
- package/dist/esm/components/ui/select/SelectChevronCategories.mjs.map +1 -1
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs +1 -1
- package/dist/esm/components/ui/select/SelectWrapperCategories.mjs.map +1 -1
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs +1 -1
- package/dist/esm/components/ui/spinner/SpinnerCategories.mjs.map +1 -1
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs +1 -0
- package/dist/esm/components/ui/switch/SwitchThumbCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TableCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TableCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TbodyCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TbodyCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TfootCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TfootCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TheadCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TheadCategories.mjs.map +1 -1
- package/dist/esm/components/ui/table/TrCategories.mjs +1 -0
- package/dist/esm/components/ui/table/TrCategories.mjs.map +1 -1
- package/dist/esm/components/ui/theme/layout/hideClassMapper.mjs +11 -1
- package/dist/esm/components/ui/theme/layout/hideClassMapper.mjs.map +1 -1
- package/dist/esm/components/ui/theme/layout/widthClassMapper.mjs +8 -0
- package/dist/esm/components/ui/theme/layout/widthClassMapper.mjs.map +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.cts +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.mts +1 -1
- package/dist/types/components/ui/alert/AlertCategories.d.ts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.cts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.mts +1 -1
- package/dist/types/components/ui/button/ButtonSpinnerCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardBodyCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardFooterCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardFooterCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardFooterCategories.d.ts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.cts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.mts +1 -1
- package/dist/types/components/ui/card/CardHeaderCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxCheckCategories.d.ts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.d.cts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.d.mts +1 -1
- package/dist/types/components/ui/checkbox/CheckboxIndeterminateCategories.d.ts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.cts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.mts +1 -1
- package/dist/types/components/ui/col/ColCategories.d.ts +1 -1
- package/dist/types/components/ui/divider/DividerCategories.d.cts +1 -1
- package/dist/types/components/ui/divider/DividerCategories.d.mts +1 -1
- package/dist/types/components/ui/divider/DividerCategories.d.ts +1 -1
- package/dist/types/components/ui/field/Field.d.cts +6 -0
- package/dist/types/components/ui/field/Field.d.mts +6 -0
- package/dist/types/components/ui/field/Field.d.ts +6 -0
- package/dist/types/components/ui/field/FieldCategories.d.cts +1 -1
- package/dist/types/components/ui/field/FieldCategories.d.mts +1 -1
- package/dist/types/components/ui/field/FieldCategories.d.ts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.cts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.mts +1 -1
- package/dist/types/components/ui/img/ImgCategories.d.ts +1 -1
- package/dist/types/components/ui/input/InputCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputCategories.d.ts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputErrorIconCategories.d.ts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.cts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.mts +1 -1
- package/dist/types/components/ui/input/InputWrapperCategories.d.ts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.cts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.mts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.ts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.cts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.mts +1 -1
- package/dist/types/components/ui/menu/MenuItemCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalBodyCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalFooterCategories.d.ts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.d.cts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.d.mts +1 -1
- package/dist/types/components/ui/modal/ModalHeaderCategories.d.ts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.cts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.mts +1 -1
- package/dist/types/components/ui/navLink/NavLinkCategories.d.ts +1 -1
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.cts +1 -1
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.mts +1 -1
- package/dist/types/components/ui/navLink/NavLinkLabelCategories.d.ts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.cts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.mts +1 -1
- package/dist/types/components/ui/overlay/OverlayCategories.d.ts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.cts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.mts +1 -1
- package/dist/types/components/ui/popup/PopupCategories.d.ts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.cts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.mts +1 -1
- package/dist/types/components/ui/progress/ProgressCategories.d.ts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.cts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.mts +1 -1
- package/dist/types/components/ui/progress/ProgressFillCategories.d.ts +1 -1
- package/dist/types/components/ui/props/categoryBuilders.d.cts +17 -17
- package/dist/types/components/ui/props/categoryBuilders.d.mts +17 -17
- package/dist/types/components/ui/props/categoryBuilders.d.ts +17 -17
- package/dist/types/components/ui/props/hideProps.d.cts +2 -1
- package/dist/types/components/ui/props/hideProps.d.mts +2 -1
- package/dist/types/components/ui/props/hideProps.d.ts +2 -1
- package/dist/types/components/ui/props/keys.d.cts +10 -2
- package/dist/types/components/ui/props/keys.d.mts +10 -2
- package/dist/types/components/ui/props/keys.d.ts +10 -2
- package/dist/types/components/ui/props/props.d.cts +2 -0
- package/dist/types/components/ui/props/props.d.mts +2 -0
- package/dist/types/components/ui/props/props.d.ts +2 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.cts +11 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.mts +11 -0
- package/dist/types/components/ui/props/responsiveWidthProps.d.ts +11 -0
- package/dist/types/components/ui/props/showProps.d.cts +11 -0
- package/dist/types/components/ui/props/showProps.d.mts +11 -0
- package/dist/types/components/ui/props/showProps.d.ts +11 -0
- package/dist/types/components/ui/props/widthProps.d.cts +2 -1
- package/dist/types/components/ui/props/widthProps.d.mts +2 -1
- package/dist/types/components/ui/props/widthProps.d.ts +2 -1
- package/dist/types/components/ui/radio/RadioCategories.d.cts +3 -3
- package/dist/types/components/ui/radio/RadioCategories.d.mts +3 -3
- package/dist/types/components/ui/radio/RadioCategories.d.ts +3 -3
- package/dist/types/components/ui/section/SectionCategories.d.cts +1 -1
- package/dist/types/components/ui/section/SectionCategories.d.mts +1 -1
- package/dist/types/components/ui/section/SectionCategories.d.ts +1 -1
- package/dist/types/components/ui/select/SelectChevronCategories.d.cts +1 -1
- package/dist/types/components/ui/select/SelectChevronCategories.d.mts +1 -1
- package/dist/types/components/ui/select/SelectChevronCategories.d.ts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.cts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.mts +1 -1
- package/dist/types/components/ui/select/SelectWrapperCategories.d.ts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.cts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.mts +1 -1
- package/dist/types/components/ui/spinner/SpinnerCategories.d.ts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.cts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.mts +1 -1
- package/dist/types/components/ui/switch/SwitchCategories.d.ts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.cts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.mts +1 -1
- package/dist/types/components/ui/switch/SwitchThumbCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TableCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TbodyCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TdCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TfootCategories.d.ts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.cts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.mts +1 -1
- package/dist/types/components/ui/table/ThCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TheadCategories.d.ts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.cts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.mts +1 -1
- package/dist/types/components/ui/table/TrCategories.d.ts +1 -1
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.cts +8 -2
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.mts +8 -2
- package/dist/types/components/ui/theme/layout/hideClassMapper.d.ts +8 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.cts +6 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.mts +6 -2
- package/dist/types/components/ui/theme/layout/widthClassMapper.d.ts +6 -2
- package/dist/types/components/ui/typography/common/TypographyCategories.d.cts +3 -3
- package/dist/types/components/ui/typography/common/TypographyCategories.d.mts +3 -3
- package/dist/types/components/ui/typography/common/TypographyCategories.d.ts +3 -3
- package/dist/types/components/ui/typography/link/LinkCategories.d.cts +1 -1
- package/dist/types/components/ui/typography/link/LinkCategories.d.mts +1 -1
- package/dist/types/components/ui/typography/link/LinkCategories.d.ts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.cts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.mts +1 -1
- package/dist/types/components/ui/typography/listItem/ListItemCategories.d.ts +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { HideKey } from "../../props/index.cjs";
|
|
1
|
+
import { HideKey, ShowKey } from "../../props/index.cjs";
|
|
2
2
|
import { BaseClassMapper } from "../common/BaseClassMapper.cjs";
|
|
3
3
|
import type { CategoryProps } from "../../props/index.cjs";
|
|
4
|
-
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey, string> {
|
|
4
|
+
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey | ShowKey, string> {
|
|
5
5
|
/** Hide element below 768px (max-mobile: width < 48rem, exclusive — visible at 768px) */
|
|
6
6
|
mobileHide: string;
|
|
7
7
|
/** Hide element below 1024px (max-tablet: width < 64rem, exclusive — visible at 1024px) */
|
|
8
8
|
tabletHide: string;
|
|
9
9
|
/** Hide element below 1280px (max-desktop: width < 80rem, exclusive — visible at 1280px) */
|
|
10
10
|
desktopHide: string;
|
|
11
|
+
/** Hide element from 768px up (mobile: width >= 48rem), so it shows only below */
|
|
12
|
+
mobileShow: string;
|
|
13
|
+
/** Hide element from 1024px up (tablet: width >= 64rem), so it shows only below */
|
|
14
|
+
tabletShow: string;
|
|
15
|
+
/** Hide element from 1280px up (desktop: width >= 80rem), so it shows only below */
|
|
16
|
+
desktopShow: string;
|
|
11
17
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
12
18
|
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { HideKey } from "../../props/index.mjs";
|
|
1
|
+
import { HideKey, ShowKey } from "../../props/index.mjs";
|
|
2
2
|
import { BaseClassMapper } from "../common/BaseClassMapper.mjs";
|
|
3
3
|
import type { CategoryProps } from "../../props/index.mjs";
|
|
4
|
-
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey, string> {
|
|
4
|
+
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey | ShowKey, string> {
|
|
5
5
|
/** Hide element below 768px (max-mobile: width < 48rem, exclusive — visible at 768px) */
|
|
6
6
|
mobileHide: string;
|
|
7
7
|
/** Hide element below 1024px (max-tablet: width < 64rem, exclusive — visible at 1024px) */
|
|
8
8
|
tabletHide: string;
|
|
9
9
|
/** Hide element below 1280px (max-desktop: width < 80rem, exclusive — visible at 1280px) */
|
|
10
10
|
desktopHide: string;
|
|
11
|
+
/** Hide element from 768px up (mobile: width >= 48rem), so it shows only below */
|
|
12
|
+
mobileShow: string;
|
|
13
|
+
/** Hide element from 1024px up (tablet: width >= 64rem), so it shows only below */
|
|
14
|
+
tabletShow: string;
|
|
15
|
+
/** Hide element from 1280px up (desktop: width >= 80rem), so it shows only below */
|
|
16
|
+
desktopShow: string;
|
|
11
17
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
12
18
|
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { HideKey } from "../../props";
|
|
1
|
+
import { HideKey, ShowKey } from "../../props";
|
|
2
2
|
import { BaseClassMapper } from "../common/BaseClassMapper";
|
|
3
3
|
import type { CategoryProps } from "../../props";
|
|
4
|
-
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey, string> {
|
|
4
|
+
export declare class HideClassMapper extends BaseClassMapper implements Record<HideKey | ShowKey, string> {
|
|
5
5
|
/** Hide element below 768px (max-mobile: width < 48rem, exclusive — visible at 768px) */
|
|
6
6
|
mobileHide: string;
|
|
7
7
|
/** Hide element below 1024px (max-tablet: width < 64rem, exclusive — visible at 1024px) */
|
|
8
8
|
tabletHide: string;
|
|
9
9
|
/** Hide element below 1280px (max-desktop: width < 80rem, exclusive — visible at 1280px) */
|
|
10
10
|
desktopHide: string;
|
|
11
|
+
/** Hide element from 768px up (mobile: width >= 48rem), so it shows only below */
|
|
12
|
+
mobileShow: string;
|
|
13
|
+
/** Hide element from 1024px up (tablet: width >= 64rem), so it shows only below */
|
|
14
|
+
tabletShow: string;
|
|
15
|
+
/** Hide element from 1280px up (desktop: width >= 80rem), so it shows only below */
|
|
16
|
+
desktopShow: string;
|
|
11
17
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
12
18
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { BaseClassMapper } from "../common/BaseClassMapper.cjs";
|
|
2
|
-
import type { CategoryProps, WidthKey } from "../../props/index.cjs";
|
|
3
|
-
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey, string> {
|
|
2
|
+
import type { CategoryProps, ResponsiveWidthKey, WidthKey } from "../../props/index.cjs";
|
|
3
|
+
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey | ResponsiveWidthKey, string> {
|
|
4
4
|
wFull: string;
|
|
5
5
|
wFit: string;
|
|
6
6
|
wAuto: string;
|
|
7
7
|
wScreen: string;
|
|
8
|
+
/** Full width below a breakpoint; the base width (often wFit) still applies above it */
|
|
9
|
+
mobileWFull: string;
|
|
10
|
+
tabletWFull: string;
|
|
11
|
+
desktopWFull: string;
|
|
8
12
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
13
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { BaseClassMapper } from "../common/BaseClassMapper.mjs";
|
|
2
|
-
import type { CategoryProps, WidthKey } from "../../props/index.mjs";
|
|
3
|
-
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey, string> {
|
|
2
|
+
import type { CategoryProps, ResponsiveWidthKey, WidthKey } from "../../props/index.mjs";
|
|
3
|
+
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey | ResponsiveWidthKey, string> {
|
|
4
4
|
wFull: string;
|
|
5
5
|
wFit: string;
|
|
6
6
|
wAuto: string;
|
|
7
7
|
wScreen: string;
|
|
8
|
+
/** Full width below a breakpoint; the base width (often wFit) still applies above it */
|
|
9
|
+
mobileWFull: string;
|
|
10
|
+
tabletWFull: string;
|
|
11
|
+
desktopWFull: string;
|
|
8
12
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
13
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { BaseClassMapper } from "../common/BaseClassMapper";
|
|
2
|
-
import type { CategoryProps, WidthKey } from "../../props";
|
|
3
|
-
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey, string> {
|
|
2
|
+
import type { CategoryProps, ResponsiveWidthKey, WidthKey } from "../../props";
|
|
3
|
+
export declare class WidthClassMapper extends BaseClassMapper implements Record<WidthKey | ResponsiveWidthKey, string> {
|
|
4
4
|
wFull: string;
|
|
5
5
|
wFit: string;
|
|
6
6
|
wAuto: string;
|
|
7
7
|
wScreen: string;
|
|
8
|
+
/** Full width below a breakpoint; the base width (often wFit) still applies above it */
|
|
9
|
+
mobileWFull: string;
|
|
10
|
+
tabletWFull: string;
|
|
11
|
+
desktopWFull: string;
|
|
8
12
|
getClasses(extractedKeys: CategoryProps): string[];
|
|
9
13
|
}
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* background-less by design — see `typographyClassMappers.ts` and
|
|
7
7
|
* `defaultLinkTheme.ts` — so the `transparent` prop has no meaning here.
|
|
8
8
|
*/
|
|
9
|
-
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
9
|
+
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
10
10
|
/**
|
|
11
11
|
* Blockquote = typography categories plus the `border` category, so its
|
|
12
12
|
* inline-start accent is a real, prop-driven `borderStart` (toggleable via
|
|
13
13
|
* `noBorder`, colored by the appearance system) rather than a hardcoded base
|
|
14
14
|
* class. Paired with the per-side border mapper in defaultBlockquoteTheme.
|
|
15
15
|
*/
|
|
16
|
-
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
16
|
+
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
17
17
|
/**
|
|
18
18
|
* Categories for the List component — typography plus list-specific styling
|
|
19
19
|
* (marker style/position, inter-item gap, marker-indent padding) and the
|
|
@@ -24,4 +24,4 @@ export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle",
|
|
|
24
24
|
* its theme has no mappers for the List-only deltas and `ListItemProps`
|
|
25
25
|
* cannot express them.
|
|
26
26
|
*/
|
|
27
|
-
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
27
|
+
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* background-less by design — see `typographyClassMappers.ts` and
|
|
7
7
|
* `defaultLinkTheme.ts` — so the `transparent` prop has no meaning here.
|
|
8
8
|
*/
|
|
9
|
-
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
9
|
+
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
10
10
|
/**
|
|
11
11
|
* Blockquote = typography categories plus the `border` category, so its
|
|
12
12
|
* inline-start accent is a real, prop-driven `borderStart` (toggleable via
|
|
13
13
|
* `noBorder`, colored by the appearance system) rather than a hardcoded base
|
|
14
14
|
* class. Paired with the per-side border mapper in defaultBlockquoteTheme.
|
|
15
15
|
*/
|
|
16
|
-
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
16
|
+
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
17
17
|
/**
|
|
18
18
|
* Categories for the List component — typography plus list-specific styling
|
|
19
19
|
* (marker style/position, inter-item gap, marker-indent padding) and the
|
|
@@ -24,4 +24,4 @@ export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle",
|
|
|
24
24
|
* its theme has no mappers for the List-only deltas and `ListItemProps`
|
|
25
25
|
* cannot express them.
|
|
26
26
|
*/
|
|
27
|
-
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
27
|
+
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* background-less by design — see `typographyClassMappers.ts` and
|
|
7
7
|
* `defaultLinkTheme.ts` — so the `transparent` prop has no meaning here.
|
|
8
8
|
*/
|
|
9
|
-
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
9
|
+
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
10
10
|
/**
|
|
11
11
|
* Blockquote = typography categories plus the `border` category, so its
|
|
12
12
|
* inline-start accent is a real, prop-driven `borderStart` (toggleable via
|
|
13
13
|
* `noBorder`, colored by the appearance system) rather than a hardcoded base
|
|
14
14
|
* class. Paired with the per-side border mapper in defaultBlockquoteTheme.
|
|
15
15
|
*/
|
|
16
|
-
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
16
|
+
export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "border"];
|
|
17
17
|
/**
|
|
18
18
|
* Categories for the List component — typography plus list-specific styling
|
|
19
19
|
* (marker style/position, inter-item gap, marker-indent padding) and the
|
|
@@ -24,4 +24,4 @@ export declare const BLOCKQUOTE_CATEGORIES: readonly ["fontWeight", "fontStyle",
|
|
|
24
24
|
* its theme has no mappers for the List-only deltas and `ListItemProps`
|
|
25
25
|
* cannot express them.
|
|
26
26
|
*/
|
|
27
|
-
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
27
|
+
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "listStyle", "listPosition", "gap", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "padding", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "transparent", "responsiveSizing", "inheritSize", "inheritColor", "inheritBg"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Link-specific categories. Adds `focusVisible` (a focus ring on the rendered `<a>`)
|
|
2
2
|
* and `disabled` (the dimmed disabled look). Other typography components (Text, Title, …)
|
|
3
3
|
* are not focusable by default, so they keep the slimmer TYPOGRAPHY_CATEGORIES. */
|
|
4
|
-
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
4
|
+
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Link-specific categories. Adds `focusVisible` (a focus ring on the rendered `<a>`)
|
|
2
2
|
* and `disabled` (the dimmed disabled look). Other typography components (Text, Title, …)
|
|
3
3
|
* are not focusable by default, so they keep the slimmer TYPOGRAPHY_CATEGORIES. */
|
|
4
|
-
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
4
|
+
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Link-specific categories. Adds `focusVisible` (a focus ring on the rendered `<a>`)
|
|
2
2
|
* and `disabled` (the dimmed disabled look). Other typography components (Text, Title, …)
|
|
3
3
|
* are not focusable by default, so they keep the slimmer TYPOGRAPHY_CATEGORIES. */
|
|
4
|
-
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
4
|
+
export declare const LINK_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "margin", "variant", "cursor", "letterSpacing", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor", "focusVisible", "disabled"];
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
* class even when the prop is absent, which would change every ListItem's
|
|
22
22
|
* class output).
|
|
23
23
|
*/
|
|
24
|
-
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
24
|
+
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
* class even when the prop is absent, which would change every ListItem's
|
|
22
22
|
* class output).
|
|
23
23
|
*/
|
|
24
|
-
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
24
|
+
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
* class even when the prop is absent, which would change every ListItem's
|
|
22
22
|
* class output).
|
|
23
23
|
*/
|
|
24
|
-
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|
|
24
|
+
export declare const LIST_ITEM_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "show", "items", "justify", "position", "display", "overflow", "appearance", "variant", "whitespace", "wordBreak", "width", "responsiveWidth", "height", "responsiveSizing", "inheritSize", "inheritColor"];
|