@vaneui/ui 1.4.0 → 1.4.1
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 +43 -1
- package/dist/cjs/components/defaultTheme.cjs +2 -0
- package/dist/cjs/components/defaultTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/field/Field.cjs +103 -8
- package/dist/cjs/components/ui/field/Field.cjs.map +1 -1
- package/dist/cjs/components/ui/field/FieldCategories.cjs +2 -1
- package/dist/cjs/components/ui/field/FieldCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/field/defaultFieldControlRowTheme.cjs +23 -0
- package/dist/cjs/components/ui/field/defaultFieldControlRowTheme.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldControlRowDefaults.cjs +17 -0
- package/dist/cjs/components/ui/field/fieldControlRowDefaults.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldControls.cjs +41 -0
- package/dist/cjs/components/ui/field/fieldControls.cjs.map +1 -0
- package/dist/cjs/components/ui/field/fieldDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/field/index.cjs +4 -0
- package/dist/cjs/components/ui/field/index.cjs.map +1 -1
- package/dist/cjs/components/ui/props/categoryBuilders.cjs +2 -0
- package/dist/cjs/components/ui/props/categoryBuilders.cjs.map +1 -1
- package/dist/cjs/components/ui/props/index.cjs +1 -0
- package/dist/cjs/components/ui/props/index.cjs.map +1 -1
- package/dist/cjs/components/ui/props/keys.cjs +5 -1
- package/dist/cjs/components/ui/props/keys.cjs.map +1 -1
- package/dist/cjs/components/ui/props/propDescriptions.cjs +24 -0
- package/dist/cjs/components/ui/props/propDescriptions.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/common/ComponentTheme.cjs +10 -0
- package/dist/cjs/components/ui/theme/common/ComponentTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/defaults.cjs +23 -5
- package/dist/cjs/components/ui/theme/defaults.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/index.cjs +1 -0
- package/dist/cjs/components/ui/typography/index.cjs.map +1 -1
- package/dist/cjs/components/utils/componentUtils.cjs +5 -0
- package/dist/cjs/components/utils/componentUtils.cjs.map +1 -1
- package/dist/cjs/index.cjs +27 -20
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/defaultTheme.mjs +2 -0
- package/dist/esm/components/defaultTheme.mjs.map +1 -1
- package/dist/esm/components/ui/field/Field.mjs +106 -11
- package/dist/esm/components/ui/field/Field.mjs.map +1 -1
- package/dist/esm/components/ui/field/FieldCategories.mjs +3 -2
- package/dist/esm/components/ui/field/FieldCategories.mjs.map +1 -1
- package/dist/esm/components/ui/field/defaultFieldControlRowTheme.mjs +21 -0
- package/dist/esm/components/ui/field/defaultFieldControlRowTheme.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldControlRowDefaults.mjs +15 -0
- package/dist/esm/components/ui/field/fieldControlRowDefaults.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldControls.mjs +38 -0
- package/dist/esm/components/ui/field/fieldControls.mjs.map +1 -0
- package/dist/esm/components/ui/field/fieldDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/field/index.mjs +2 -0
- package/dist/esm/components/ui/field/index.mjs.map +1 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs +2 -1
- package/dist/esm/components/ui/props/categoryBuilders.mjs.map +1 -1
- package/dist/esm/components/ui/props/index.mjs +1 -1
- package/dist/esm/components/ui/props/keys.mjs +6 -3
- package/dist/esm/components/ui/props/keys.mjs.map +1 -1
- package/dist/esm/components/ui/props/propDescriptions.mjs +24 -0
- package/dist/esm/components/ui/props/propDescriptions.mjs.map +1 -1
- package/dist/esm/components/ui/theme/common/ComponentTheme.mjs +11 -1
- package/dist/esm/components/ui/theme/common/ComponentTheme.mjs.map +1 -1
- package/dist/esm/components/ui/theme/defaults.mjs +23 -5
- package/dist/esm/components/ui/theme/defaults.mjs.map +1 -1
- package/dist/esm/components/ui/typography/index.mjs +1 -0
- package/dist/esm/components/ui/typography/index.mjs.map +1 -1
- package/dist/esm/components/utils/componentUtils.mjs +5 -1
- package/dist/esm/components/utils/componentUtils.mjs.map +1 -1
- package/dist/esm/index.mjs +17 -10
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/components/themeTypes.d.cts +1 -0
- package/dist/types/components/themeTypes.d.mts +1 -0
- package/dist/types/components/themeTypes.d.ts +1 -0
- package/dist/types/components/ui/field/Field.d.cts +418 -5
- package/dist/types/components/ui/field/Field.d.mts +418 -5
- package/dist/types/components/ui/field/Field.d.ts +418 -5
- 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/field/FieldProps.d.cts +17 -1
- package/dist/types/components/ui/field/FieldProps.d.mts +17 -1
- package/dist/types/components/ui/field/FieldProps.d.ts +17 -1
- package/dist/types/components/ui/field/defaultFieldControlRowTheme.d.cts +4 -0
- package/dist/types/components/ui/field/defaultFieldControlRowTheme.d.mts +4 -0
- package/dist/types/components/ui/field/defaultFieldControlRowTheme.d.ts +4 -0
- package/dist/types/components/ui/field/fieldControlRowDefaults.d.cts +3 -0
- package/dist/types/components/ui/field/fieldControlRowDefaults.d.mts +3 -0
- package/dist/types/components/ui/field/fieldControlRowDefaults.d.ts +3 -0
- package/dist/types/components/ui/field/fieldControls.d.cts +14 -0
- package/dist/types/components/ui/field/fieldControls.d.mts +14 -0
- package/dist/types/components/ui/field/fieldControls.d.ts +14 -0
- package/dist/types/components/ui/field/fieldDefaults.d.cts +1 -1
- package/dist/types/components/ui/field/fieldDefaults.d.mts +1 -1
- package/dist/types/components/ui/field/fieldDefaults.d.ts +1 -1
- package/dist/types/components/ui/field/index.d.cts +3 -1
- package/dist/types/components/ui/field/index.d.mts +3 -1
- package/dist/types/components/ui/field/index.d.ts +3 -1
- package/dist/types/components/ui/props/categoryBuilders.d.cts +1 -0
- package/dist/types/components/ui/props/categoryBuilders.d.mts +1 -0
- package/dist/types/components/ui/props/categoryBuilders.d.ts +1 -0
- package/dist/types/components/ui/props/controlProps.d.cts +15 -0
- package/dist/types/components/ui/props/controlProps.d.mts +15 -0
- package/dist/types/components/ui/props/controlProps.d.ts +15 -0
- package/dist/types/components/ui/props/keys.d.cts +5 -3
- package/dist/types/components/ui/props/keys.d.mts +5 -3
- package/dist/types/components/ui/props/keys.d.ts +5 -3
- package/dist/types/components/ui/props/props.d.cts +1 -0
- package/dist/types/components/ui/props/props.d.mts +1 -0
- package/dist/types/components/ui/props/props.d.ts +1 -0
- package/dist/types/components/utils/componentUtils.d.cts +2 -0
- package/dist/types/components/utils/componentUtils.d.mts +2 -0
- package/dist/types/components/utils/componentUtils.d.ts +2 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { pickFirstTruthyKeyByCategory } from '../../utils/componentUtils.mjs';
|
|
2
|
+
import { Input } from '../input/Input.mjs';
|
|
3
|
+
import { Textarea } from '../textarea/Textarea.mjs';
|
|
4
|
+
import { Select } from '../select/Select.mjs';
|
|
5
|
+
import { Checkbox } from '../checkbox/Checkbox.mjs';
|
|
6
|
+
import { Switch } from '../switch/Switch.mjs';
|
|
7
|
+
import { RadioGroup } from '../radio/RadioGroup.mjs';
|
|
8
|
+
|
|
9
|
+
const FIELD_CONTROLS = {
|
|
10
|
+
textInput: { Component: Input, layout: "stacked", inputType: "text" },
|
|
11
|
+
textarea: { Component: Textarea, layout: "stacked" },
|
|
12
|
+
select: { Component: Select, layout: "stacked" },
|
|
13
|
+
radiogroup: { Component: RadioGroup, layout: "stacked" },
|
|
14
|
+
checkbox: { Component: Checkbox, layout: "inline" },
|
|
15
|
+
switch: { Component: Switch, layout: "inline" }
|
|
16
|
+
};
|
|
17
|
+
const TYPE_TO_KEY = {
|
|
18
|
+
select: "select",
|
|
19
|
+
textarea: "textarea",
|
|
20
|
+
checkbox: "checkbox",
|
|
21
|
+
switch: "switch",
|
|
22
|
+
radiogroup: "radiogroup"
|
|
23
|
+
};
|
|
24
|
+
function resolveControl(props, defaults) {
|
|
25
|
+
const type = props.type;
|
|
26
|
+
if (type) {
|
|
27
|
+
const key2 = TYPE_TO_KEY[type] ?? "textInput";
|
|
28
|
+
const descriptor2 = FIELD_CONTROLS[key2];
|
|
29
|
+
return { key: key2, descriptor: descriptor2, inputType: key2 === "textInput" ? type : void 0 };
|
|
30
|
+
}
|
|
31
|
+
const key = pickFirstTruthyKeyByCategory(props, defaults, "control");
|
|
32
|
+
if (!key) return void 0;
|
|
33
|
+
const descriptor = FIELD_CONTROLS[key];
|
|
34
|
+
return { key, descriptor, inputType: descriptor.inputType };
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { FIELD_CONTROLS, resolveControl };
|
|
38
|
+
//# sourceMappingURL=fieldControls.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fieldControls.mjs","sources":["../../../../../src/components/ui/field/fieldControls.tsx"],"sourcesContent":["import type React from 'react';\nimport { ComponentKeys } from \"../props\";\nimport { pickFirstTruthyKeyByCategory } from \"../../utils/componentUtils\";\nimport { Input } from \"../input/Input\";\nimport { Textarea } from \"../textarea/Textarea\";\nimport { Select } from \"../select/Select\";\nimport { Checkbox } from \"../checkbox/Checkbox\";\nimport { Switch } from \"../switch/Switch\";\nimport { RadioGroup } from \"../radio/RadioGroup\";\n\nexport type ControlKey = typeof ComponentKeys.control[number];\n\nexport type FieldControlDescriptor = {\n Component: React.ElementType;\n layout: 'stacked' | 'inline';\n inputType?: string;\n};\n\nexport const FIELD_CONTROLS: Record<ControlKey, FieldControlDescriptor> = {\n textInput: { Component: Input, layout: 'stacked', inputType: 'text' },\n textarea: { Component: Textarea, layout: 'stacked' },\n select: { Component: Select, layout: 'stacked' },\n radiogroup: { Component: RadioGroup, layout: 'stacked' },\n checkbox: { Component: Checkbox, layout: 'inline' },\n switch: { Component: Switch, layout: 'inline' },\n};\n\n// control kinds spelled as the string prop takes them; everything else is a native input type\nconst TYPE_TO_KEY: Record<string, ControlKey> = {\n select: 'select',\n textarea: 'textarea',\n checkbox: 'checkbox',\n switch: 'switch',\n radiogroup: 'radiogroup',\n};\n\nexport function resolveControl(\n props: Record<string, unknown>,\n defaults: Record<string, unknown>\n): { key: ControlKey; descriptor: FieldControlDescriptor; inputType?: string } | undefined {\n const type = props.type as string | undefined;\n if (type) {\n const key = TYPE_TO_KEY[type] ?? 'textInput';\n const descriptor = FIELD_CONTROLS[key];\n return { key, descriptor, inputType: key === 'textInput' ? type : undefined };\n }\n\n const key = pickFirstTruthyKeyByCategory(props, defaults, 'control');\n if (!key) return undefined;\n const descriptor = FIELD_CONTROLS[key];\n return { key, descriptor, inputType: descriptor.inputType };\n}\n"],"names":["key","descriptor"],"mappings":";;;;;;;;AAkBO,MAAM,cAAA,GAA6D;AAAA,EACxE,WAAW,EAAE,SAAA,EAAW,OAAO,MAAA,EAAQ,SAAA,EAAW,WAAW,MAAA,EAAO;AAAA,EACpE,QAAA,EAAU,EAAE,SAAA,EAAW,QAAA,EAAU,QAAQ,SAAA,EAAU;AAAA,EACnD,MAAA,EAAQ,EAAE,SAAA,EAAW,MAAA,EAAQ,QAAQ,SAAA,EAAU;AAAA,EAC/C,UAAA,EAAY,EAAE,SAAA,EAAW,UAAA,EAAY,QAAQ,SAAA,EAAU;AAAA,EACvD,QAAA,EAAU,EAAE,SAAA,EAAW,QAAA,EAAU,QAAQ,QAAA,EAAS;AAAA,EAClD,MAAA,EAAQ,EAAE,SAAA,EAAW,MAAA,EAAQ,QAAQ,QAAA;AACvC;AAGA,MAAM,WAAA,GAA0C;AAAA,EAC9C,MAAA,EAAQ,QAAA;AAAA,EACR,QAAA,EAAU,UAAA;AAAA,EACV,QAAA,EAAU,UAAA;AAAA,EACV,MAAA,EAAQ,QAAA;AAAA,EACR,UAAA,EAAY;AACd,CAAA;AAEO,SAAS,cAAA,CACd,OACA,QAAA,EACyF;AACzF,EAAA,MAAM,OAAO,KAAA,CAAM,IAAA;AACnB,EAAA,IAAI,IAAA,EAAM;AACR,IAAA,MAAMA,IAAAA,GAAM,WAAA,CAAY,IAAI,CAAA,IAAK,WAAA;AACjC,IAAA,MAAMC,WAAAA,GAAa,eAAeD,IAAG,CAAA;AACrC,IAAA,OAAO,EAAE,KAAAA,IAAAA,EAAK,UAAA,EAAAC,aAAY,SAAA,EAAWD,IAAAA,KAAQ,WAAA,GAAc,IAAA,GAAO,MAAA,EAAU;AAAA,EAC9E;AAEA,EAAA,MAAM,GAAA,GAAM,4BAAA,CAA6B,KAAA,EAAO,QAAA,EAAU,SAAS,CAAA;AACnE,EAAA,IAAI,CAAC,KAAK,OAAO,MAAA;AACjB,EAAA,MAAM,UAAA,GAAa,eAAe,GAAG,CAAA;AACrC,EAAA,OAAO,EAAE,GAAA,EAAK,UAAA,EAAY,SAAA,EAAW,WAAW,SAAA,EAAU;AAC5D;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldDefaults.mjs","sources":["../../../../../src/components/ui/field/fieldDefaults.ts"],"sourcesContent":["import type { FieldProps } from \"./FieldProps\";\n\n/** Default props for Field component */\nexport const fieldDefaults: Partial<FieldProps> = {\n column: true,\n md: true,\n flex: true,\n itemsStart: true,\n gap: true,\n wFull: true,\n noPadding: true,\n noBorder: true,\n noInsetRing: true,\n outline: true,\n sharp: true,\n};\n"],"names":[],"mappings":"AAGO,MAAM,aAAA,GAAqC;AAAA,EAChD,MAAA,EAAQ,IAAA;AAAA,EACR,EAAA,EAAI,IAAA;AAAA,EACJ,IAAA,EAAM,IAAA;AAAA,EACN,UAAA,EAAY,IAAA;AAAA,EACZ,GAAA,EAAK,IAAA;AAAA,EACL,KAAA,EAAO,IAAA;AAAA,EACP,SAAA,EAAW,IAAA;AAAA,EACX,QAAA,EAAU,IAAA;AAAA,EACV,WAAA,EAAa,IAAA;AAAA,EACb,OAAA,EAAS,IAAA;AAAA,EACT,KAAA,EAAO;AACT;;;;"}
|
|
1
|
+
{"version":3,"file":"fieldDefaults.mjs","sources":["../../../../../src/components/ui/field/fieldDefaults.ts"],"sourcesContent":["import type { FieldProps } from \"./FieldProps\";\n\n/** Default props for Field component. No `control` default: one would force every Field to self-render. */\nexport const fieldDefaults: Partial<FieldProps> = {\n column: true,\n md: true,\n flex: true,\n itemsStart: true,\n gap: true,\n wFull: true,\n noPadding: true,\n noBorder: true,\n noInsetRing: true,\n outline: true,\n sharp: true,\n};\n"],"names":[],"mappings":"AAGO,MAAM,aAAA,GAAqC;AAAA,EAChD,MAAA,EAAQ,IAAA;AAAA,EACR,EAAA,EAAI,IAAA;AAAA,EACJ,IAAA,EAAM,IAAA;AAAA,EACN,UAAA,EAAY,IAAA;AAAA,EACZ,GAAA,EAAK,IAAA;AAAA,EACL,KAAA,EAAO,IAAA;AAAA,EACP,SAAA,EAAW,IAAA;AAAA,EACX,QAAA,EAAU,IAAA;AAAA,EACV,WAAA,EAAa,IAAA;AAAA,EACb,OAAA,EAAS,IAAA;AAAA,EACT,KAAA,EAAO;AACT;;;;"}
|
|
@@ -2,10 +2,12 @@ export { Field } from './Field.mjs';
|
|
|
2
2
|
export { FIELD_CATEGORIES } from './FieldCategories.mjs';
|
|
3
3
|
export { fieldDefaults } from './fieldDefaults.mjs';
|
|
4
4
|
export { fieldLabelDefaults } from './fieldLabelDefaults.mjs';
|
|
5
|
+
export { fieldControlRowDefaults } from './fieldControlRowDefaults.mjs';
|
|
5
6
|
export { fieldDescriptionDefaults } from './fieldDescriptionDefaults.mjs';
|
|
6
7
|
export { fieldErrorDefaults } from './fieldErrorDefaults.mjs';
|
|
7
8
|
export { defaultFieldTheme } from './defaultFieldTheme.mjs';
|
|
8
9
|
export { defaultFieldLabelTheme } from './defaultFieldLabelTheme.mjs';
|
|
10
|
+
export { defaultFieldControlRowTheme } from './defaultFieldControlRowTheme.mjs';
|
|
9
11
|
export { defaultFieldDescriptionTheme } from './defaultFieldDescriptionTheme.mjs';
|
|
10
12
|
export { defaultFieldErrorTheme } from './defaultFieldErrorTheme.mjs';
|
|
11
13
|
export { FieldControlContext, useFieldControlProps, useFieldGroupProps } from './FieldContext.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -38,6 +38,7 @@ const INHERIT_SIZE = ["inheritSize"];
|
|
|
38
38
|
const INHERIT_COLOR = ["inheritColor"];
|
|
39
39
|
const INHERIT_BG = ["inheritBg"];
|
|
40
40
|
const INHERIT_BORDER = ["inheritBorder"];
|
|
41
|
+
const CONTROL = ["control"];
|
|
41
42
|
const LAYOUT_FULL = [...LAYOUT_CORE, ...LAYOUT_FLEX];
|
|
42
43
|
const VISUAL_FULL = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE];
|
|
43
44
|
const VISUAL_LAYOUT = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION_LAYOUT, ...SHAPE];
|
|
@@ -117,5 +118,5 @@ const RESPONSIVE_LAYOUT_CATEGORIES = [
|
|
|
117
118
|
const STACK_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;
|
|
118
119
|
const ROW_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;
|
|
119
120
|
|
|
120
|
-
export { ALIGN_SELF, BADGE_CATEGORIES, BORDER, BREAKPOINT, BUTTON_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COMMON_MODIFIERS, CONTAINER_CATEGORIES, CURSOR, DISABLED, GAP, GRID_CATEGORIES, HEIGHT, ICON_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, JUSTIFY_SELF, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MIN_WIDTH, ORIENTATION, PADDING, PLACEMENT, READONLY, RESPONSIVE, RESPONSIVE_LAYOUT_CATEGORIES, ROW_CATEGORIES, SHAPE, STACK_CATEGORIES, STATUS, TEXT_ALIGN, TRANSITION, TRANSPARENT, TRUNCATE, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, TYPOGRAPHY_STYLE_CORE, UI_ELEMENT_CATEGORIES, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, WHITESPACE, WIDTH, WORD_BREAK };
|
|
121
|
+
export { ALIGN_SELF, BADGE_CATEGORIES, BORDER, BREAKPOINT, BUTTON_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COMMON_MODIFIERS, CONTAINER_CATEGORIES, CONTROL, CURSOR, DISABLED, GAP, GRID_CATEGORIES, HEIGHT, ICON_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, JUSTIFY_SELF, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MIN_WIDTH, ORIENTATION, PADDING, PLACEMENT, READONLY, RESPONSIVE, RESPONSIVE_LAYOUT_CATEGORIES, ROW_CATEGORIES, SHAPE, STACK_CATEGORIES, STATUS, TEXT_ALIGN, TRANSITION, TRANSPARENT, TRUNCATE, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, TYPOGRAPHY_STYLE_CORE, UI_ELEMENT_CATEGORIES, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, WHITESPACE, WIDTH, WORD_BREAK };
|
|
121
122
|
//# sourceMappingURL=categoryBuilders.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categoryBuilders.mjs","sources":["../../../../../src/components/ui/props/categoryBuilders.ts"],"sourcesContent":["// Category building blocks shared by keys.ts and component-specific category files.\n\nexport const LAYOUT_CORE = ['size', 'hide', 'items', 'justify', 'position', 'display', 'overflow'] as const;\nexport const LAYOUT_FLEX = ['wrap', 'gap', 'flexDirection', 'flex', 'shrink'] as const;\n// Per-item cross-axis alignment (align-self). Opt-in per component (not part of\n// LAYOUT_CORE) so a child can override its parent's align-items.\nexport const ALIGN_SELF = ['alignSelf'] as const;\n// Per-item inline-axis alignment within a grid area (justify-self). Opt-in.\nexport const JUSTIFY_SELF = ['justifySelf'] as const;\nexport const PADDING = ['padding'] as const;\nexport const MARGIN = ['margin'] as const;\nexport const BREAKPOINT = ['breakpoint'] as const;\nexport const VISUAL_CORE = ['appearance'] as const;\nexport const BORDER = ['border'] as const;\nexport const VISUAL_DECORATION = ['shadow', 'ring', 'focusVisible'] as const;\n// Excludes focusVisible (not relevant for non-interactive layout elements)\nexport const VISUAL_DECORATION_LAYOUT = ['shadow', 'ring'] as const;\nexport const SHAPE = ['shape'] as const;\nexport const TEXT_ALIGN = ['textAlign'] as const;\nexport const TRUNCATE = ['truncate'] as const;\nexport const TYPOGRAPHY_STYLE_CORE = ['fontWeight', 'fontStyle', 'textDecoration', 'textTransform', 'fontFamily'] as const;\nexport const TYPOGRAPHY_STYLE = [...TYPOGRAPHY_STYLE_CORE, ...TEXT_ALIGN, ...TRUNCATE] as const;\nexport const LIST_STYLE = ['listStyle'] as const;\nexport const LIST_POSITION = ['listPosition'] as const;\nexport const GAP = ['gap'] as const;\nexport const VARIANT = ['variant'] as const;\nexport const TRANSPARENT = ['transparent'] as const;\nexport const RESPONSIVE = ['responsiveSizing'] as const;\nexport const WIDTH = ['width'] as const;\nexport const COMMON_MODIFIERS = [...TRANSPARENT, ...RESPONSIVE] as const;\n\nexport const CURSOR = ['cursor'] as const;\nexport const TRANSITION = ['transition'] as const;\nexport const WHITESPACE = ['whitespace'] as const;\nexport const WORD_BREAK = ['wordBreak'] as const;\nexport const HEIGHT = ['height'] as const;\nexport const STATUS = ['validity'] as const;\nexport const DISABLED = ['disabled'] as const;\nexport const READONLY = ['readOnly'] as const;\nexport const ORIENTATION = ['orientation'] as const;\nexport const PLACEMENT = ['placement'] as const;\nexport const MIN_WIDTH = ['constrainWidth'] as const;\nexport const MAX_HEIGHT = ['clampHeight'] as const;\nexport const INHERIT_SIZE = ['inheritSize'] as const;\nexport const INHERIT_COLOR = ['inheritColor'] as const;\nexport const INHERIT_BG = ['inheritBg'] as const;\nexport const INHERIT_BORDER = ['inheritBorder'] as const;\n\nexport const LAYOUT_FULL = [...LAYOUT_CORE, ...LAYOUT_FLEX] as const;\nexport const VISUAL_FULL = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE] as const;\nexport const VISUAL_LAYOUT = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION_LAYOUT, ...SHAPE] as const;\nexport const TYPOGRAPHY_FULL = [...TYPOGRAPHY_STYLE] as const;\n\n// UI Element Categories (Code, Badge, Chip, Button)\n\nexport const UI_ELEMENT_CATEGORIES = [\n ...LAYOUT_FULL,\n ...VISUAL_FULL,\n ...TYPOGRAPHY_STYLE_CORE,\n ...TEXT_ALIGN,\n ...PADDING,\n ...VARIANT,\n ...CURSOR,\n ...TRANSITION,\n ...WHITESPACE,\n ...WORD_BREAK,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n ...DISABLED,\n ...INHERIT_SIZE,\n] as const;\n\nexport const BADGE_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const CHIP_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const CODE_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const BUTTON_CATEGORIES = UI_ELEMENT_CATEGORIES;\n\nexport const ICON_CATEGORIES = [\n 'size', 'appearance', 'variant', 'display', 'hide', 'items', 'justify',\n 'position', 'shape', 'padding', 'border', 'ring', 'shadow',\n 'width', 'height', 'shrink', 'transition', 'transparent',\n] as const;\n\n// Grid excludes breakpoint/shadow/ring/textAlign — no corresponding mappers on a grid container.\n// Wrap in a Card/Section if needed.\nexport const GRID_CATEGORIES = [\n ...LAYOUT_FULL,\n ...PADDING,\n ...MARGIN,\n ...VISUAL_CORE,\n ...BORDER,\n ...SHAPE,\n ...VARIANT,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n] as const;\n\n// Container is a flex column wrapper — supports breakpoint/shadow/ring/textAlign (unlike Grid).\nexport const CONTAINER_CATEGORIES = [\n ...GRID_CATEGORIES,\n ...BREAKPOINT,\n ...VISUAL_DECORATION_LAYOUT,\n ...TEXT_ALIGN,\n] as const;\n\n// Adds `focusVisible` (excluded from VISUAL_DECORATION_LAYOUT by default) so\n// Row/Stack can render a keyboard focus ring when href turns the tag into <a>.\n// Col mirrors this in its own COL_CATEGORIES.\nexport const RESPONSIVE_LAYOUT_CATEGORIES = [\n ...LAYOUT_FULL,\n ...BREAKPOINT,\n ...PADDING,\n ...MARGIN,\n ...VISUAL_LAYOUT,\n ...VARIANT,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n ...TEXT_ALIGN,\n 'focusVisible',\n] as const;\n\nexport const STACK_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\nexport const ROW_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\n\n/** @deprecated Use UI_ELEMENT_CATEGORIES */\nexport const INTERACTIVE_CATEGORIES = UI_ELEMENT_CATEGORIES;\n/** @deprecated Use CONTAINER_CATEGORIES */\nexport const BASIC_LAYOUT_CATEGORIES = CONTAINER_CATEGORIES;\n/** @deprecated Use RESPONSIVE_LAYOUT_CATEGORIES */\nexport const FLEX_LAYOUT_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\n"],"names":[],"mappings":"AAEO,MAAM,WAAA,GAAc,CAAC,MAAA,EAAQ,MAAA,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AW;AAC/B,MAAM,MAAA,GAAS,CAAC,QAAQ;AACxB,MAAM,MAAA,GAAS,CAAC,UAAU;AAC1B,MAAM,QAAA,GAAW,CAAC,UAAU;AAC5B,MAAM,QAAA,GAAW,CAAC,UAAU;AAC5B,MAAM,WAAA,GAAc,CAAC,aAAa;AAClC,MAAM,SAAA,GAAY,CAAC,WAAW;AAC9B,MAAM,SAAA,GAAY,CAAC,gBAAgB;AACnC,MAAM,UAAA,GAAa,CAAC,aAAa;AACjC,MAAM,YAAA,GAAe,CAAC,aAAa;AACnC,MAAM,aAAA,GAAgB,CAAC,cAAc;AACrC,MAAM,UAAA,GAAa,CAAC,WAAW;AAC/B,MAAM,cAAA,GAAiB,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"categoryBuilders.mjs","sources":["../../../../../src/components/ui/props/categoryBuilders.ts"],"sourcesContent":["// Category building blocks shared by keys.ts and component-specific category files.\n\nexport const LAYOUT_CORE = ['size', 'hide', 'items', 'justify', 'position', 'display', 'overflow'] as const;\nexport const LAYOUT_FLEX = ['wrap', 'gap', 'flexDirection', 'flex', 'shrink'] as const;\n// Per-item cross-axis alignment (align-self). Opt-in per component (not part of\n// LAYOUT_CORE) so a child can override its parent's align-items.\nexport const ALIGN_SELF = ['alignSelf'] as const;\n// Per-item inline-axis alignment within a grid area (justify-self). Opt-in.\nexport const JUSTIFY_SELF = ['justifySelf'] as const;\nexport const PADDING = ['padding'] as const;\nexport const MARGIN = ['margin'] as const;\nexport const BREAKPOINT = ['breakpoint'] as const;\nexport const VISUAL_CORE = ['appearance'] as const;\nexport const BORDER = ['border'] as const;\nexport const VISUAL_DECORATION = ['shadow', 'ring', 'focusVisible'] as const;\n// Excludes focusVisible (not relevant for non-interactive layout elements)\nexport const VISUAL_DECORATION_LAYOUT = ['shadow', 'ring'] as const;\nexport const SHAPE = ['shape'] as const;\nexport const TEXT_ALIGN = ['textAlign'] as const;\nexport const TRUNCATE = ['truncate'] as const;\nexport const TYPOGRAPHY_STYLE_CORE = ['fontWeight', 'fontStyle', 'textDecoration', 'textTransform', 'fontFamily'] as const;\nexport const TYPOGRAPHY_STYLE = [...TYPOGRAPHY_STYLE_CORE, ...TEXT_ALIGN, ...TRUNCATE] as const;\nexport const LIST_STYLE = ['listStyle'] as const;\nexport const LIST_POSITION = ['listPosition'] as const;\nexport const GAP = ['gap'] as const;\nexport const VARIANT = ['variant'] as const;\nexport const TRANSPARENT = ['transparent'] as const;\nexport const RESPONSIVE = ['responsiveSizing'] as const;\nexport const WIDTH = ['width'] as const;\nexport const COMMON_MODIFIERS = [...TRANSPARENT, ...RESPONSIVE] as const;\n\nexport const CURSOR = ['cursor'] as const;\nexport const TRANSITION = ['transition'] as const;\nexport const WHITESPACE = ['whitespace'] as const;\nexport const WORD_BREAK = ['wordBreak'] as const;\nexport const HEIGHT = ['height'] as const;\nexport const STATUS = ['validity'] as const;\nexport const DISABLED = ['disabled'] as const;\nexport const READONLY = ['readOnly'] as const;\nexport const ORIENTATION = ['orientation'] as const;\nexport const PLACEMENT = ['placement'] as const;\nexport const MIN_WIDTH = ['constrainWidth'] as const;\nexport const MAX_HEIGHT = ['clampHeight'] as const;\nexport const INHERIT_SIZE = ['inheritSize'] as const;\nexport const INHERIT_COLOR = ['inheritColor'] as const;\nexport const INHERIT_BG = ['inheritBg'] as const;\nexport const INHERIT_BORDER = ['inheritBorder'] as const;\nexport const CONTROL = ['control'] as const;\n\nexport const LAYOUT_FULL = [...LAYOUT_CORE, ...LAYOUT_FLEX] as const;\nexport const VISUAL_FULL = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE] as const;\nexport const VISUAL_LAYOUT = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION_LAYOUT, ...SHAPE] as const;\nexport const TYPOGRAPHY_FULL = [...TYPOGRAPHY_STYLE] as const;\n\n// UI Element Categories (Code, Badge, Chip, Button)\n\nexport const UI_ELEMENT_CATEGORIES = [\n ...LAYOUT_FULL,\n ...VISUAL_FULL,\n ...TYPOGRAPHY_STYLE_CORE,\n ...TEXT_ALIGN,\n ...PADDING,\n ...VARIANT,\n ...CURSOR,\n ...TRANSITION,\n ...WHITESPACE,\n ...WORD_BREAK,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n ...DISABLED,\n ...INHERIT_SIZE,\n] as const;\n\nexport const BADGE_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const CHIP_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const CODE_CATEGORIES = UI_ELEMENT_CATEGORIES;\nexport const BUTTON_CATEGORIES = UI_ELEMENT_CATEGORIES;\n\nexport const ICON_CATEGORIES = [\n 'size', 'appearance', 'variant', 'display', 'hide', 'items', 'justify',\n 'position', 'shape', 'padding', 'border', 'ring', 'shadow',\n 'width', 'height', 'shrink', 'transition', 'transparent',\n] as const;\n\n// Grid excludes breakpoint/shadow/ring/textAlign — no corresponding mappers on a grid container.\n// Wrap in a Card/Section if needed.\nexport const GRID_CATEGORIES = [\n ...LAYOUT_FULL,\n ...PADDING,\n ...MARGIN,\n ...VISUAL_CORE,\n ...BORDER,\n ...SHAPE,\n ...VARIANT,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n] as const;\n\n// Container is a flex column wrapper — supports breakpoint/shadow/ring/textAlign (unlike Grid).\nexport const CONTAINER_CATEGORIES = [\n ...GRID_CATEGORIES,\n ...BREAKPOINT,\n ...VISUAL_DECORATION_LAYOUT,\n ...TEXT_ALIGN,\n] as const;\n\n// Adds `focusVisible` (excluded from VISUAL_DECORATION_LAYOUT by default) so\n// Row/Stack can render a keyboard focus ring when href turns the tag into <a>.\n// Col mirrors this in its own COL_CATEGORIES.\nexport const RESPONSIVE_LAYOUT_CATEGORIES = [\n ...LAYOUT_FULL,\n ...BREAKPOINT,\n ...PADDING,\n ...MARGIN,\n ...VISUAL_LAYOUT,\n ...VARIANT,\n ...WIDTH,\n ...HEIGHT,\n ...COMMON_MODIFIERS,\n ...TEXT_ALIGN,\n 'focusVisible',\n] as const;\n\nexport const STACK_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\nexport const ROW_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\n\n/** @deprecated Use UI_ELEMENT_CATEGORIES */\nexport const INTERACTIVE_CATEGORIES = UI_ELEMENT_CATEGORIES;\n/** @deprecated Use CONTAINER_CATEGORIES */\nexport const BASIC_LAYOUT_CATEGORIES = CONTAINER_CATEGORIES;\n/** @deprecated Use RESPONSIVE_LAYOUT_CATEGORIES */\nexport const FLEX_LAYOUT_CATEGORIES = RESPONSIVE_LAYOUT_CATEGORIES;\n"],"names":[],"mappings":"AAEO,MAAM,WAAA,GAAc,CAAC,MAAA,EAAQ,MAAA,EAAQ,SAAS,SAAA,EAAW,UAAA,EAAY,WAAW,UAAU;AAC1F,MAAM,cAAc,CAAC,MAAA,EAAQ,KAAA,EAAO,eAAA,EAAiB,QAAQ,QAAQ;AAGrE,MAAM,UAAA,GAAa,CAAC,WAAW;AAE/B,MAAM,YAAA,GAAe,CAAC,aAAa;AACnC,MAAM,OAAA,GAAU,CAAC,SAAS;AAC1B,MAAM,MAAA,GAAS,CAAC,QAAQ;AACxB,MAAM,UAAA,GAAa,CAAC,YAAY;AAChC,MAAM,WAAA,GAAc,CAAC,YAAY;AACjC,MAAM,MAAA,GAAS,CAAC,QAAQ;AACxB,MAAM,iBAAA,GAAoB,CAAC,QAAA,EAAU,MAAA,EAAQ,cAAc;AAE3D,MAAM,wBAAA,GAA2B,CAAC,QAAA,EAAU,MAAM;AAClD,MAAM,KAAA,GAAQ,CAAC,OAAO;AACtB,MAAM,UAAA,GAAa,CAAC,WAAW;AAC/B,MAAM,QAAA,GAAW,CAAC,UAAU;AAC5B,MAAM,wBAAwB,CAAC,YAAA,EAAc,WAAA,EAAa,gBAAA,EAAkB,iBAAiB,YAAY;AACzG,MAAM,mBAAmB,CAAC,GAAG,uBAAuB,GAAG,UAAA,EAAY,GAAG,QAAQ;AAC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ACL;AAKO,MAAM,4BAAA,GAA+B;AAAA,EAC1C,GAAG,WAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,OAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,aAAA;AAAA,EACH,GAAG,OAAA;AAAA,EACH,GAAG,KAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,gBAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH;AACF;AAEO,MAAM,gBAAA,GAAmB;AACzB,MAAM,cAAA,GAAiB;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ACTIVE, APPEARANCE_CATEGORY, BASE, BLUR, BORDER_KEYS, COMPONENT, COMPONENT_PROPS_CATEGORY, CURSOR, ComponentCategories, ComponentKeys, FOCUS, FOCUS_VISIBLE, HEIGHT, HOVER, INTERACTIVE_CATEGORIES, LETTER_SPACING, MODE_VALUES, ModeKeys, OBJECT_FIT, ORIENTATION, POINTER_EVENTS, RESPONSIVE_BREAKPOINT_KEYS, STATUS, TRANSITION, WHITESPACE, WORD_BREAK } from './keys.mjs';
|
|
2
2
|
export { PropDescriptions, getCategoryDescription, getCategoryName, getPropDescription } from './propDescriptions.mjs';
|
|
3
|
-
export { BADGE_CATEGORIES, BORDER, BREAKPOINT, BUTTON_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COMMON_MODIFIERS, CONTAINER_CATEGORIES, DISABLED, GRID_CATEGORIES, ICON_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MIN_WIDTH, PADDING, PLACEMENT, READONLY, RESPONSIVE, ROW_CATEGORIES, SHAPE, STACK_CATEGORIES, TEXT_ALIGN, TRANSPARENT, TRUNCATE, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, TYPOGRAPHY_STYLE_CORE, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, WIDTH } from './categoryBuilders.mjs';
|
|
3
|
+
export { BADGE_CATEGORIES, BORDER, BREAKPOINT, BUTTON_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COMMON_MODIFIERS, CONTAINER_CATEGORIES, CONTROL, DISABLED, GRID_CATEGORIES, ICON_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MIN_WIDTH, PADDING, PLACEMENT, READONLY, RESPONSIVE, ROW_CATEGORIES, SHAPE, STACK_CATEGORIES, TEXT_ALIGN, TRANSPARENT, TRUNCATE, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, TYPOGRAPHY_STYLE_CORE, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, WIDTH } from './categoryBuilders.mjs';
|
|
4
4
|
export { CARD_CATEGORIES } from '../card/CardCategories.mjs';
|
|
5
5
|
export { COL_CATEGORIES } from '../col/ColCategories.mjs';
|
|
6
6
|
export { FIELD_CATEGORIES } from '../field/FieldCategories.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { STACK_CATEGORIES, ROW_CATEGORIES, GRID_CATEGORIES, CONTAINER_CATEGORIES, ICON_CATEGORIES, CODE_CATEGORIES, CHIP_CATEGORIES, BUTTON_CATEGORIES, BADGE_CATEGORIES, VISUAL_CORE, LAYOUT_FLEX, TYPOGRAPHY_STYLE, LIST_STYLE, LIST_POSITION, LAYOUT_CORE, ALIGN_SELF, JUSTIFY_SELF, BREAKPOINT, PADDING, MARGIN, BORDER, VISUAL_DECORATION, SHAPE, VARIANT, TRANSPARENT, RESPONSIVE, WIDTH, TRUNCATE, PLACEMENT, DISABLED, READONLY, MIN_WIDTH, MAX_HEIGHT, INHERIT_SIZE, INHERIT_COLOR, INHERIT_BG, INHERIT_BORDER, LAYOUT_FULL, VISUAL_FULL, COMMON_MODIFIERS } from './categoryBuilders.mjs';
|
|
1
|
+
import { STACK_CATEGORIES, ROW_CATEGORIES, GRID_CATEGORIES, CONTAINER_CATEGORIES, ICON_CATEGORIES, CODE_CATEGORIES, CHIP_CATEGORIES, BUTTON_CATEGORIES, BADGE_CATEGORIES, VISUAL_CORE, LAYOUT_FLEX, TYPOGRAPHY_STYLE, LIST_STYLE, LIST_POSITION, LAYOUT_CORE, ALIGN_SELF, JUSTIFY_SELF, BREAKPOINT, PADDING, MARGIN, BORDER, VISUAL_DECORATION, SHAPE, VARIANT, TRANSPARENT, RESPONSIVE, WIDTH, TRUNCATE, PLACEMENT, DISABLED, READONLY, MIN_WIDTH, MAX_HEIGHT, INHERIT_SIZE, INHERIT_COLOR, INHERIT_BG, INHERIT_BORDER, CONTROL, LAYOUT_FULL, VISUAL_FULL, COMMON_MODIFIERS } from './categoryBuilders.mjs';
|
|
2
2
|
export { TEXT_ALIGN, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE_CORE, VISUAL_DECORATION_LAYOUT, VISUAL_LAYOUT } from './categoryBuilders.mjs';
|
|
3
3
|
import { CARD_CATEGORIES } from '../card/CardCategories.mjs';
|
|
4
4
|
import { COL_CATEGORIES } from '../col/ColCategories.mjs';
|
|
@@ -77,7 +77,8 @@ const COMPONENT_PROPS_CATEGORY = [
|
|
|
77
77
|
...INHERIT_SIZE,
|
|
78
78
|
...INHERIT_COLOR,
|
|
79
79
|
...INHERIT_BG,
|
|
80
|
-
...INHERIT_BORDER
|
|
80
|
+
...INHERIT_BORDER,
|
|
81
|
+
...CONTROL
|
|
81
82
|
];
|
|
82
83
|
const APPEARANCE_CATEGORY = ["text", "border", "ring", "shadow", "bg", "accent", "focusVisible"];
|
|
83
84
|
const ComponentKeys = {
|
|
@@ -88,6 +89,8 @@ const ComponentKeys = {
|
|
|
88
89
|
/** Breakpoint below which Row/Stack stacks into a column (desktop-first: that tier and below).
|
|
89
90
|
Widest-first so combining several resolves to the widest = their union (desktopStack ⊃ tabletStack ⊃ mobileStack). */
|
|
90
91
|
breakpoint: ["desktopStack", "tabletStack", "mobileStack"],
|
|
92
|
+
/** Which form control a Field renders itself; absent means the control is passed as a child */
|
|
93
|
+
control: ["textInput", "textarea", "select", "checkbox", "switch", "radiogroup"],
|
|
91
94
|
/** CSS display property values for element layout behavior */
|
|
92
95
|
display: ["inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden"],
|
|
93
96
|
/** Flex direction: row (horizontal), column (vertical), or reversed variants */
|
|
@@ -333,5 +336,5 @@ const ComponentCategories = {
|
|
|
333
336
|
table: TABLE_CATEGORIES
|
|
334
337
|
};
|
|
335
338
|
|
|
336
|
-
export { ACTIVE, ALERT_CATEGORIES, APPEARANCE_CATEGORY, BADGE_CATEGORIES, BASE, BLUR, BORDER, BORDER_KEYS, BREAKPOINT, BUTTON_CATEGORIES, CARD_CATEGORIES, CHECKBOX_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COL_CATEGORIES, COMMON_MODIFIERS, COMPONENT, COMPONENT_PROPS_CATEGORY, CONTAINER_CATEGORIES, CURSOR, ComponentCategories, ComponentKeys, DISABLED, DIVIDER_CATEGORIES, FIELD_CATEGORIES, FOCUS, FOCUS_VISIBLE, GRID_CATEGORIES, HEIGHT, HOVER, ICON_CATEGORIES, IMG_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, INPUT_CATEGORIES, INPUT_ERROR_ICON_CATEGORIES, INPUT_WRAPPER_CATEGORIES, INTERACTIVE_CATEGORIES, LABEL_CATEGORIES, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LETTER_SPACING, LIST_CATEGORIES, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MENU_ITEM_CATEGORIES, MIN_WIDTH, MODAL_CATEGORIES, MODE_VALUES, ModeKeys, NAV_LINK_CATEGORIES, OBJECT_FIT, ORIENTATION, OVERLAY_CATEGORIES, PADDING, PLACEMENT, POINTER_EVENTS, POPUP_CATEGORIES, RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES, READONLY, RESPONSIVE, RESPONSIVE_BREAKPOINT_KEYS, ROW_CATEGORIES, SECTION_CATEGORIES, SELECT_CHEVRON_CATEGORIES, SELECT_WRAPPER_CATEGORIES, SHAPE, SPINNER_CATEGORIES, STACK_CATEGORIES, STATUS, SWITCH_CATEGORIES, TABLE_CATEGORIES, TRANSITION, TRANSPARENT, TRUNCATE, TYPOGRAPHY_CATEGORIES, TYPOGRAPHY_STYLE, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_FULL, WHITESPACE, WIDTH, WORD_BREAK };
|
|
339
|
+
export { ACTIVE, ALERT_CATEGORIES, APPEARANCE_CATEGORY, BADGE_CATEGORIES, BASE, BLUR, BORDER, BORDER_KEYS, BREAKPOINT, BUTTON_CATEGORIES, CARD_CATEGORIES, CHECKBOX_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COL_CATEGORIES, COMMON_MODIFIERS, COMPONENT, COMPONENT_PROPS_CATEGORY, CONTAINER_CATEGORIES, CONTROL, CURSOR, ComponentCategories, ComponentKeys, DISABLED, DIVIDER_CATEGORIES, FIELD_CATEGORIES, FOCUS, FOCUS_VISIBLE, GRID_CATEGORIES, HEIGHT, HOVER, ICON_CATEGORIES, IMG_CATEGORIES, INHERIT_BG, INHERIT_BORDER, INHERIT_COLOR, INHERIT_SIZE, INPUT_CATEGORIES, INPUT_ERROR_ICON_CATEGORIES, INPUT_WRAPPER_CATEGORIES, INTERACTIVE_CATEGORIES, LABEL_CATEGORIES, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LETTER_SPACING, LIST_CATEGORIES, LIST_POSITION, LIST_STYLE, MARGIN, MAX_HEIGHT, MENU_ITEM_CATEGORIES, MIN_WIDTH, MODAL_CATEGORIES, MODE_VALUES, ModeKeys, NAV_LINK_CATEGORIES, OBJECT_FIT, ORIENTATION, OVERLAY_CATEGORIES, PADDING, PLACEMENT, POINTER_EVENTS, POPUP_CATEGORIES, RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES, READONLY, RESPONSIVE, RESPONSIVE_BREAKPOINT_KEYS, ROW_CATEGORIES, SECTION_CATEGORIES, SELECT_CHEVRON_CATEGORIES, SELECT_WRAPPER_CATEGORIES, SHAPE, SPINNER_CATEGORIES, STACK_CATEGORIES, STATUS, SWITCH_CATEGORIES, TABLE_CATEGORIES, TRANSITION, TRANSPARENT, TRUNCATE, TYPOGRAPHY_CATEGORIES, TYPOGRAPHY_STYLE, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_FULL, WHITESPACE, WIDTH, WORD_BREAK };
|
|
337
340
|
//# sourceMappingURL=keys.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.mjs","sources":["../../../../../src/components/ui/props/keys.ts"],"sourcesContent":["// Import shared building blocks from categoryBuilders (no circular dependencies)\n// Import for local use\nimport {\n LAYOUT_CORE,\n ALIGN_SELF,\n JUSTIFY_SELF,\n LAYOUT_FLEX,\n PADDING,\n MARGIN,\n BREAKPOINT,\n VISUAL_CORE,\n BORDER,\n VISUAL_DECORATION,\n VISUAL_DECORATION_LAYOUT,\n SHAPE,\n TEXT_ALIGN,\n TRUNCATE,\n TYPOGRAPHY_STYLE_CORE,\n TYPOGRAPHY_STYLE,\n LIST_STYLE,\n LIST_POSITION,\n VARIANT,\n TRANSPARENT,\n RESPONSIVE,\n WIDTH,\n COMMON_MODIFIERS,\n LAYOUT_FULL,\n VISUAL_FULL,\n VISUAL_LAYOUT,\n TYPOGRAPHY_FULL,\n PLACEMENT,\n DISABLED,\n READONLY,\n MIN_WIDTH,\n MAX_HEIGHT,\n INHERIT_SIZE,\n INHERIT_COLOR,\n INHERIT_BG,\n INHERIT_BORDER,\n} from './categoryBuilders';\n\n// Re-export for backward compatibility\nexport {\n LAYOUT_CORE,\n LAYOUT_FLEX,\n PADDING,\n MARGIN,\n BREAKPOINT,\n VISUAL_CORE,\n BORDER,\n VISUAL_DECORATION,\n VISUAL_DECORATION_LAYOUT,\n SHAPE,\n TEXT_ALIGN,\n TRUNCATE,\n TYPOGRAPHY_STYLE_CORE,\n TYPOGRAPHY_STYLE,\n LIST_STYLE,\n LIST_POSITION,\n VARIANT,\n TRANSPARENT,\n RESPONSIVE,\n WIDTH,\n COMMON_MODIFIERS,\n LAYOUT_FULL,\n VISUAL_FULL,\n VISUAL_LAYOUT,\n TYPOGRAPHY_FULL,\n PLACEMENT,\n DISABLED,\n READONLY,\n MIN_WIDTH,\n MAX_HEIGHT,\n INHERIT_SIZE,\n INHERIT_COLOR,\n INHERIT_BG,\n INHERIT_BORDER,\n};\n\n// Import component-specific categories from their folders\nimport {\n BADGE_CATEGORIES,\n BUTTON_CATEGORIES,\n CHIP_CATEGORIES,\n CODE_CATEGORIES,\n CONTAINER_CATEGORIES,\n GRID_CATEGORIES,\n ICON_CATEGORIES,\n ROW_CATEGORIES,\n STACK_CATEGORIES,\n} from './categoryBuilders';\nimport { CARD_CATEGORIES } from '../card/CardCategories';\nimport { COL_CATEGORIES } from '../col/ColCategories';\nimport { FIELD_CATEGORIES } from '../field/FieldCategories';\nimport { ALERT_CATEGORIES } from '../alert/AlertCategories';\nimport { SPINNER_CATEGORIES } from '../spinner/SpinnerCategories';\nimport { DIVIDER_CATEGORIES } from '../divider/DividerCategories';\nimport { IMG_CATEGORIES } from '../img/ImgCategories';\nimport { SECTION_CATEGORIES } from '../section/SectionCategories';\nimport { LABEL_CATEGORIES } from '../label/LabelCategories';\nimport { INPUT_CATEGORIES } from '../input/InputCategories';\nimport { INPUT_ERROR_ICON_CATEGORIES } from '../input/InputErrorIconCategories';\nimport { INPUT_WRAPPER_CATEGORIES } from '../input/InputWrapperCategories';\nimport { SELECT_CHEVRON_CATEGORIES } from '../select/SelectChevronCategories';\nimport { SELECT_WRAPPER_CATEGORIES } from '../select/SelectWrapperCategories';\nimport { SWITCH_CATEGORIES } from '../switch/SwitchCategories';\nimport { RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES } from '../radio/RadioCategories';\nimport { OVERLAY_CATEGORIES } from '../overlay/OverlayCategories';\nimport { MODAL_CATEGORIES } from '../modal/ModalCategories';\nimport { POPUP_CATEGORIES } from '../popup/PopupCategories';\nimport { CHECKBOX_CATEGORIES } from '../checkbox/CheckboxCategories';\nimport { TYPOGRAPHY_CATEGORIES, LIST_CATEGORIES } from '../typography/common/TypographyCategories';\nimport { LIST_ITEM_CATEGORIES } from '../typography/listItem/ListItemCategories';\nimport { LINK_CATEGORIES } from '../typography/link/LinkCategories';\nimport { MENU_ITEM_CATEGORIES } from '../menu/MenuItemCategories';\nimport { NAV_LINK_CATEGORIES } from '../navLink/NavLinkCategories';\nimport { TABLE_CATEGORIES } from '../table/TableCategories';\n\n// Re-export for backward compatibility\nexport { BADGE_CATEGORIES };\nexport { BUTTON_CATEGORIES };\nexport { CARD_CATEGORIES };\nexport { CHIP_CATEGORIES };\nexport { CODE_CATEGORIES };\nexport { COL_CATEGORIES };\nexport { FIELD_CATEGORIES };\nexport { ALERT_CATEGORIES };\nexport { SPINNER_CATEGORIES };\nexport { CONTAINER_CATEGORIES };\nexport { DIVIDER_CATEGORIES };\nexport { GRID_CATEGORIES };\nexport { ICON_CATEGORIES };\nexport { ROW_CATEGORIES };\nexport { IMG_CATEGORIES };\nexport { SECTION_CATEGORIES };\nexport { STACK_CATEGORIES };\nexport { LABEL_CATEGORIES };\nexport { INPUT_CATEGORIES };\nexport { INPUT_ERROR_ICON_CATEGORIES };\nexport { INPUT_WRAPPER_CATEGORIES };\nexport { SELECT_CHEVRON_CATEGORIES };\nexport { SELECT_WRAPPER_CATEGORIES };\nexport { SWITCH_CATEGORIES };\nexport { RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES };\nexport { OVERLAY_CATEGORIES };\nexport { MODAL_CATEGORIES };\nexport { POPUP_CATEGORIES };\nexport { CHECKBOX_CATEGORIES };\nexport { TYPOGRAPHY_CATEGORIES, LIST_CATEGORIES };\nexport { MENU_ITEM_CATEGORIES };\nexport { NAV_LINK_CATEGORIES };\nexport { TABLE_CATEGORIES };\n\n/** Blur effect property for backdrop blur */\nexport const BLUR = ['blur'] as const;\n/** Pointer events property for controlling element interactivity */\nexport const POINTER_EVENTS = ['pointerEvents'] as const;\n/** Cursor appearance property */\nexport const CURSOR = ['cursor'] as const;\n/** Transition/animation property */\nexport const TRANSITION = ['transition'] as const;\n/** Whitespace/text wrapping property */\nexport const WHITESPACE = ['whitespace'] as const;\n/** Word break / overflow-wrap property */\nexport const WORD_BREAK = ['wordBreak'] as const;\n/** Object fit property for images/videos */\nexport const OBJECT_FIT = ['objectFit'] as const;\n/** Form validation-state property */\nexport const STATUS = ['validity'] as const;\n/** Orientation property for horizontal/vertical layout */\nexport const ORIENTATION = ['orientation'] as const;\n/** Height property for controlling element height */\nexport const HEIGHT = ['height'] as const;\n/** Letter spacing property for text tracking */\nexport const LETTER_SPACING = ['letterSpacing'] as const;\n\n/** All available component property categories combined */\nexport const COMPONENT_PROPS_CATEGORY = [\n ...VISUAL_CORE,\n ...LAYOUT_FLEX,\n ...TYPOGRAPHY_STYLE,\n ...LIST_STYLE,\n ...LIST_POSITION,\n ...LAYOUT_CORE,\n ...ALIGN_SELF,\n ...JUSTIFY_SELF,\n ...BREAKPOINT,\n ...PADDING,\n ...MARGIN,\n ...BORDER,\n ...VISUAL_DECORATION,\n ...SHAPE,\n ...VARIANT,\n ...TRANSPARENT,\n ...RESPONSIVE,\n ...BLUR,\n ...POINTER_EVENTS,\n ...CURSOR,\n ...TRANSITION,\n ...WHITESPACE,\n ...WORD_BREAK,\n ...OBJECT_FIT,\n ...WIDTH,\n ...HEIGHT,\n ...TRUNCATE,\n ...STATUS,\n ...ORIENTATION,\n ...LETTER_SPACING,\n ...PLACEMENT,\n ...DISABLED,\n ...READONLY,\n ...MIN_WIDTH,\n ...MAX_HEIGHT,\n ...INHERIT_SIZE,\n ...INHERIT_COLOR,\n ...INHERIT_BG,\n ...INHERIT_BORDER,\n] as const;\n\n/**\n * Describes category for which the appearance can be applied\n * @see ComponentKeys.appearance\n */\nexport const APPEARANCE_CATEGORY = ['text', 'border', 'ring', 'shadow', 'bg', 'accent', 'focusVisible'] as const;\n/** Type for appearance category keys used in theming */\nexport type AppearanceCategoryKey = typeof APPEARANCE_CATEGORY[number];\n\n/** Type for all component category keys */\nexport type ComponentCategoryKey = typeof COMPONENT_PROPS_CATEGORY[number];\n\n/** Component property keys mapping categories to their available values */\nexport const ComponentKeys = {\n /** Color appearance options */\n appearance: ['primary', 'accent', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info', 'inheritAppearance'] as const,\n /** Border visibility: composable side toggles (borderT+borderL apply both) + noBorder reset. borderStart/borderEnd are logical (inline-start/end, RTL-aware). */\n border: ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'borderStart', 'borderEnd', 'noBorder'] as const,\n /** Breakpoint below which Row/Stack stacks into a column (desktop-first: that tier and below).\n Widest-first so combining several resolves to the widest = their union (desktopStack ⊃ tabletStack ⊃ mobileStack). */\n breakpoint: ['desktopStack', 'tabletStack', 'mobileStack'] as const,\n /** CSS display property values for element layout behavior */\n display: ['inline', 'block', 'inlineBlock', 'flex', 'inlineFlex', 'grid', 'inlineGrid', 'contents', 'table', 'tableCell', 'hidden'] as const,\n /** Flex direction: row (horizontal), column (vertical), or reversed variants */\n flexDirection: ['row', 'column', 'rowReverse', 'columnReverse'] as const,\n /** Font family types: sans-serif, serif, monospace, or heading (all emit font-*) */\n fontFamily: ['fontSans', 'fontSerif', 'fontMono', 'fontHeading'] as const,\n /** Font style: italic or notItalic (normal) */\n fontStyle: ['italic', 'notItalic'] as const,\n /** Font weight from thin (100) to black (900), all emit font-* */\n fontWeight: ['fontThin', 'fontExtralight', 'fontLight', 'fontNormal', 'fontMedium', 'fontSemibold', 'fontBold', 'fontExtrabold', 'fontBlack'] as const,\n /** Spacing between flex/grid items: gap (enabled) or noGap (disabled) */\n gap: ['gap', 'noGap'] as const,\n /** Hide elements at specific breakpoint sizes. Widest-first so combining several resolves to the widest = their union. */\n hide: ['desktopHide', 'tabletHide', 'mobileHide'] as const,\n /** Cross-axis alignment for flex items (align-items) */\n items: ['itemsStart', 'itemsEnd', 'itemsCenter', 'itemsBaseline', 'itemsStretch'] as const,\n /** Per-item cross-axis alignment, overriding the parent's align-items (align-self) */\n alignSelf: ['alignSelfAuto', 'alignSelfStart', 'alignSelfEnd', 'alignSelfCenter', 'alignSelfStretch', 'alignSelfBaseline'] as const,\n /** Per-item inline-axis alignment within a grid area (justify-self) */\n justifySelf: ['justifySelfAuto', 'justifySelfStart', 'justifySelfEnd', 'justifySelfCenter', 'justifySelfStretch'] as const,\n /** Main-axis alignment for flex items (justify-content) */\n justify: ['justifyStart', 'justifyEnd', 'justifyCenter', 'justifyBetween', 'justifyAround', 'justifyEvenly', 'justifyStretch', 'justifyBaseline'] as const,\n /** List marker style: all emit list-* (disc, decimal, [circle], [square], [lower-alpha], [lower-roman]) */\n listStyle: ['listDisc', 'listDecimal', 'listCircle', 'listSquare', 'listLowerAlpha', 'listLowerRoman'] as const,\n /** List marker position: listInside (inline with text) or listOutside (hanging, traditional) */\n listPosition: ['listInside', 'listOutside'] as const,\n /** Overflow behavior for content that exceeds container bounds */\n overflow: [\n 'overflowAuto', 'overflowHidden', 'overflowClip', 'overflowVisible', 'overflowScroll',\n 'overflowXAuto', 'overflowYAuto', 'overflowXHidden', 'overflowYHidden',\n 'overflowXClip', 'overflowYClip', 'overflowXVisible', 'overflowYVisible',\n 'overflowXScroll', 'overflowYScroll'\n ] as const,\n /** Internal spacing: padding (enabled) or noPadding (disabled) */\n padding: ['padding', 'paddingX', 'paddingY', 'noPadding'] as const,\n /** External spacing: composable side toggles (marginT+marginB apply both) + noMargin reset */\n margin: ['margin', 'marginX', 'marginY', 'marginT', 'marginB', 'noMargin'] as const,\n /** CSS positioning: relative, absolute, fixed, sticky, static */\n position: ['relative', 'absolute', 'fixed', 'sticky', 'static'] as const,\n /** Inset ring visibility: insetRing (show) or noInsetRing (hide) — emits ring-inset */\n ring: ['insetRing', 'noInsetRing'] as const,\n /** Drop shadow visibility: shadow (enabled) or noShadow (disabled) */\n shadow: ['shadow', 'noShadow'] as const,\n /** Focus-visible outline visibility: focusVisible (show) or noFocusVisible (hide) */\n focusVisible: ['focusVisible', 'noFocusVisible'] as const,\n /** Border radius shape: pill (fully rounded), sharp (no radius), rounded (medium radius) */\n shape: ['pill', 'sharp', 'rounded'] as const,\n /** Size scale from extra-small to extra-large */\n size: ['xs', 'sm', 'md', 'lg', 'xl'] as const,\n /** Text alignment: left, center, right, justify (physical), start, end (direction-aware, flip under RTL) */\n textAlign: ['textLeft', 'textCenter', 'textRight', 'textJustify', 'textStart', 'textEnd'] as const,\n /** Text decoration: underline, strikethrough (lineThrough), none (noUnderline), overline */\n textDecoration: ['underline', 'lineThrough', 'noUnderline', 'overline'] as const,\n /** Text case transformation: UPPERCASE, lowercase, Capitalize, normalCase */\n textTransform: ['uppercase', 'lowercase', 'capitalize', 'normalCase'] as const,\n /** Style variant: filled (solid background), outline (border only), or ghost (minimal chrome) */\n variant: ['filled', 'outline', 'ghost'] as const,\n /** Flex item wrapping behavior: wrap, no-wrap, or wrap-reverse */\n wrap: ['flexWrap', 'flexNoWrap', 'flexWrapReverse'] as const,\n /** Flex-grow/shrink shorthand: flex1 (1 1 0%), flexAuto (1 1 auto), or flexNone (none) */\n flex: ['flex1', 'flexAuto', 'flexNone'] as const,\n /** Flex-shrink override: noShrink (= shrink-0) prevents the item from shrinking below its content size */\n shrink: ['noShrink'] as const,\n /** Transparent background: disables background color when true */\n transparent: ['transparent'] as const,\n /** Responsive sizing: enables breakpoint-specific py/px/gap/fs when true */\n responsiveSizing: ['responsiveSizing'] as const,\n /** Backdrop blur effect: backdropBlur (enabled) or noBackdropBlur (disabled) */\n blur: ['backdropBlur', 'noBackdropBlur'] as const,\n /** Pointer events: none (clicks pass through) or auto (normal) */\n pointerEvents: ['pointerEventsNone', 'pointerEventsAuto'] as const,\n /** Cursor appearance for interactive elements */\n cursor: ['cursorPointer', 'cursorDefault', 'cursorNotAllowed', 'cursorNone', 'cursorText', 'cursorMove', 'cursorWait'] as const,\n /** Transition effects for state changes */\n transition: ['transition', 'noTransition'] as const,\n /** Whitespace and text wrapping behavior */\n whitespace: ['whitespaceNowrap', 'whitespaceNormal', 'whitespacePre', 'whitespacePreWrap', 'whitespacePreLine', 'whitespaceBreakSpaces'] as const,\n /** Word break / overflow-wrap behavior */\n wordBreak: ['breakNormal', 'breakWords', 'breakAll', 'breakKeep'] as const,\n /** Object fit for images and videos */\n objectFit: ['objectCover', 'objectContain', 'objectFill', 'objectNone', 'objectScaleDown'] as const,\n /** Width control for element sizing */\n width: ['wFull', 'wFit', 'wAuto', 'wScreen'] as const,\n /** Truncate control for text overflow */\n truncate: ['truncate', 'lineClamp2', 'lineClamp3', 'lineClamp4', 'lineClamp5', 'noTruncate'] as const,\n /** Form validation state: invalid (layers danger border/ring over any appearance) */\n validity: ['invalid'] as const,\n /** Orientation for horizontal/vertical layout */\n orientation: ['horizontal', 'vertical'] as const,\n /** Height control for element sizing */\n height: ['hFit', 'hFull', 'hAuto', 'hScreen'] as const,\n /** Letter spacing for text tracking */\n letterSpacing: ['trackingTighter', 'trackingTight', 'trackingNormal', 'trackingWide', 'trackingWider', 'trackingWidest'] as const,\n /** Placement position for floating elements (popups, tooltips, dropdowns) */\n placement: ['placeTop', 'placeTopStart', 'placeTopEnd', 'placeBottom', 'placeBottomStart', 'placeBottomEnd', 'placeLeft', 'placeLeftStart', 'placeLeftEnd', 'placeRight', 'placeRightStart', 'placeRightEnd'] as const,\n /** Disabled state for interactive elements */\n disabled: ['disabled'] as const,\n /** Read-only state for form components */\n readOnly: ['readOnly'] as const,\n /** Constrain popup/floating width to a size-dependent minimum */\n constrainWidth: ['constrainWidth'] as const,\n /** Clamp popup/floating height to a size-dependent maximum */\n clampHeight: ['clampHeight'] as const,\n /** Inherit font-size and line-height from parent typography ancestor */\n inheritSize: ['inheritSize', 'noInheritSize'] as const,\n /** Inherit text color from parent via CSS variable cascade (suppresses data-appearance) */\n inheritColor: ['inheritColor', 'noInheritColor'] as const,\n /** Inherit background color from parent via CSS variable cascade */\n inheritBg: ['inheritBg', 'noInheritBg'] as const,\n /** Inherit border color from parent via CSS variable cascade */\n inheritBorder: ['inheritBorder', 'noInheritBorder'] as const,\n} as const;\n\n/** All border side keys (excluding noBorder since it doesn't have a CSS class) */\nexport const BORDER_KEYS = ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'borderStart', 'borderEnd'] as const;\n\n/** Type for all border side keys (excluding noBorder) */\nexport type BorderKey = typeof BORDER_KEYS[number];\n\n/** Size scale keys: xs, sm, md, lg, xl */\nexport type SizeKey = typeof ComponentKeys.size[number];\n/** Style variant keys: filled or outline */\nexport type VariantKey = typeof ComponentKeys.variant[number];\n/** List style keys for bullet points and numbering */\nexport type ListStyleKey = typeof ComponentKeys.listStyle[number];\n/** List position keys: inside (inline with text) or outside (hanging, traditional) */\nexport type ListPositionKey = typeof ComponentKeys.listPosition[number];\n/** Font family keys: sans, serif, mono */\nexport type FontFamilyKey = typeof ComponentKeys.fontFamily[number];\n/** Font weight keys from thin to black */\nexport type FontWeightKey = typeof ComponentKeys.fontWeight[number];\n/** Font style keys: italic or notItalic */\nexport type FontStyleKey = typeof ComponentKeys.fontStyle[number];\n/** Text decoration keys: underline, lineThrough, noUnderline, overline */\nexport type TextDecorationKey = typeof ComponentKeys.textDecoration[number];\n/** Text case transformation keys: uppercase, lowercase, capitalize, normalCase */\nexport type TextTransformKey = typeof ComponentKeys.textTransform[number];\n/** Text alignment keys: textLeft, textCenter, textRight, textJustify, textStart, textEnd */\nexport type TextAlignKey = typeof ComponentKeys.textAlign[number];\n/** Margin keys: margin, marginX, marginY, marginT, marginB, noMargin */\nexport type MarginKey = typeof ComponentKeys.margin[number];\n/** Responsive breakpoint column keys for grid layouts */\nexport type BreakpointKey = typeof ComponentKeys.breakpoint[number];\n/** Breakpoint-specific hide keys for responsive visibility */\nexport type HideKey = typeof ComponentKeys.hide[number];\n/** CSS position keys: relative, absolute, fixed, sticky, static */\nexport type PositionKey = typeof ComponentKeys.position[number];\n/** Flex direction keys: row, column, rowReverse, columnReverse */\nexport type FlexDirectionKey = typeof ComponentKeys.flexDirection[number];\n/** Flex align-items keys for cross-axis alignment */\nexport type ItemsKey = typeof ComponentKeys.items[number];\n/** Flex align-self keys for per-item cross-axis alignment */\nexport type AlignSelfKey = typeof ComponentKeys.alignSelf[number];\n/** Grid justify-self keys for per-item inline-axis alignment */\nexport type JustifySelfKey = typeof ComponentKeys.justifySelf[number];\n/** Flex justify-content keys for main-axis alignment */\nexport type JustifyKey = typeof ComponentKeys.justify[number];\n/** Flex wrap keys: flexWrap, flexNoWrap, flexWrapReverse */\nexport type WrapKey = typeof ComponentKeys.wrap[number];\n/** Flex grow/shrink shorthand keys: flex1, flexAuto, flexNone */\nexport type FlexKey = typeof ComponentKeys.flex[number];\n/** Flex shrink override keys: noShrink */\nexport type ShrinkKey = typeof ComponentKeys.shrink[number];\n/** CSS display property keys for layout behavior */\nexport type DisplayKey = typeof ComponentKeys.display[number];\n/** CSS overflow property keys for content clipping behavior */\nexport type OverflowKey = typeof ComponentKeys.overflow[number];\n/** Backdrop blur keys: blur or noBlur */\nexport type BlurKey = typeof ComponentKeys.blur[number];\n/** Pointer events keys: pointerEventsNone or pointerEventsAuto */\nexport type PointerEventsKey = typeof ComponentKeys.pointerEvents[number];\n/** Cursor appearance keys */\nexport type CursorKey = typeof ComponentKeys.cursor[number];\n/** Transition effect keys */\nexport type TransitionKey = typeof ComponentKeys.transition[number];\n/** Whitespace behavior keys */\nexport type WhitespaceKey = typeof ComponentKeys.whitespace[number];\n/** Word break behavior keys */\nexport type WordBreakKey = typeof ComponentKeys.wordBreak[number];\n/** Object fit keys for images/videos */\nexport type ObjectFitKey = typeof ComponentKeys.objectFit[number];\n/** Width keys for element sizing */\nexport type WidthKey = typeof ComponentKeys.width[number];\n/** Truncate keys for text overflow */\nexport type TruncateKey = typeof ComponentKeys.truncate[number];\n/** Validity keys for form validation */\nexport type ValidityKey = typeof ComponentKeys.validity[number];\n/** Orientation keys for horizontal/vertical layout */\nexport type OrientationKey = typeof ComponentKeys.orientation[number];\n/** Height keys for element sizing */\nexport type HeightKey = typeof ComponentKeys.height[number];\n/** Letter spacing keys for text tracking */\nexport type LetterSpacingKey = typeof ComponentKeys.letterSpacing[number];\n/** Placement position keys for floating elements */\nexport type PlacementKey = typeof ComponentKeys.placement[number];\n/** Disabled state key */\nexport type DisabledKey = typeof ComponentKeys.disabled[number];\n/** Read-only state key */\nexport type ReadOnlyKey = typeof ComponentKeys.readOnly[number];\n/** Constrain-width key for popup/floating components */\nexport type ConstrainWidthKey = typeof ComponentKeys.constrainWidth[number];\n/** Clamp-height key for popup/floating components */\nexport type ClampHeightKey = typeof ComponentKeys.clampHeight[number];\n/** Inherit font-size/line-height toggle keys */\nexport type InheritSizeKey = typeof ComponentKeys.inheritSize[number];\n/** Inherit text color toggle keys */\nexport type InheritColorKey = typeof ComponentKeys.inheritColor[number];\n/** Inherit background color toggle keys */\nexport type InheritBgKey = typeof ComponentKeys.inheritBg[number];\n/** Inherit border color toggle keys */\nexport type InheritBorderKey = typeof ComponentKeys.inheritBorder[number];\n\n/** Shape keys for border radius: pill, sharp, rounded */\nexport type ShapeKey = typeof ComponentKeys.shape[number];\n\n// ============================================================================\n// Internal Styling State Keys (for theme implementation, not user-facing props)\n// ============================================================================\n\n/** Base state - default resting appearance */\nexport const BASE = 'base' as const;\n/** Hover state - appearance when cursor hovers over element */\nexport const HOVER = 'hover' as const;\n/** Active state - appearance when element is being pressed/clicked */\nexport const ACTIVE = 'active' as const;\n/** Focus state - appearance when element receives focus */\nexport const FOCUS = 'focus' as const;\n/** Focus visible state - appearance when element has visible focus indicator */\nexport const FOCUS_VISIBLE = 'focusVisible' as const;\n\n/** All mode property values for internal styling states */\nexport const MODE_VALUES = [BASE, HOVER, ACTIVE, FOCUS, FOCUS_VISIBLE] as const;\n\n/** Styling mode keys for different interaction states (internal use by themes) */\nexport const ModeKeys = {\n /** Interaction states for styling: base, hover, active, focus, focusVisible */\n mode: MODE_VALUES,\n} as const;\n\n/** Type for mode keys - internal styling states */\nexport type ModeKey = typeof ModeKeys.mode[number];\n\n// ============================================================================\n// Theme Class Keys (for internal theme implementation)\n// ============================================================================\n\n/** Common responsive breakpoint keys used across all themes (includes 'base' for non-responsive mode) */\nexport const RESPONSIVE_BREAKPOINT_KEYS = ['base', 'desktop', 'tablet', 'mobile'] as const;\n/** Type for responsive breakpoint class keys - used by GapClassMapper, PyClassMapper, PxClassMapper, FontSizeClassMapper */\nexport type ResponsiveBreakpointClassKey = typeof RESPONSIVE_BREAKPOINT_KEYS[number];\n/** Left padding theme class key */\nexport type PlClassKey = 'pl';\n/** Line height theme class key */\nexport type LineHeightClassKey = 'lineHeight';\n\n/** Categories for interactive components like buttons, badges, chips */\nexport const INTERACTIVE_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...TYPOGRAPHY_STYLE, ...PADDING, ...VARIANT, ...CURSOR, ...TRANSITION, ...WHITESPACE, ...WIDTH, ...HEIGHT, ...COMMON_MODIFIERS, ...DISABLED] as const;\n\n/** Typography component categories are now imported from their component folder */\n\n/** Form component categories are now imported from their component folders */\n\n/** Media component categories are now imported from their component folders */\n\n/** Modal component categories are now imported from their component folder */\n\n/** Props type mapping category keys to their possible values */\nexport type CategoryProps = {\n [K in ComponentCategoryKey]?: (typeof ComponentKeys)[K][number];\n};\n\n/** All available component names in the library */\nexport const COMPONENT = ['button', 'iconButton', 'badge', 'chip', 'code', 'kbd', 'mark', 'icon', 'card', 'field', 'alert', 'spinner', 'divider', 'container', 'row', 'col', 'stack', 'section',\n 'grid2', 'grid3', 'grid4', 'grid5', 'grid6', 'pageTitle', 'sectionTitle', 'title', 'text', 'blockquote', 'blockquoteCite', 'link', 'list', 'listItem', 'checkbox', 'label', 'img', 'input', 'inputErrorIcon', 'inputWrapper', 'textarea', 'select', 'selectChevron', 'selectWrapper', 'switch', 'radio', 'radioGroup', 'overlay', 'modal', 'popup', 'tooltip', 'menu', 'navLink', 'table'] as const;\n/** Type for component name keys */\nexport type ComponentKey = typeof COMPONENT[number];\n\n/** Mapping of each component to its available property categories */\nexport const ComponentCategories: Record<ComponentKey, readonly string[]> = {\n badge: BADGE_CATEGORIES,\n button: BUTTON_CATEGORIES,\n iconButton: BUTTON_CATEGORIES,\n card: CARD_CATEGORIES,\n checkbox: CHECKBOX_CATEGORIES,\n chip: CHIP_CATEGORIES,\n code: CODE_CATEGORIES,\n kbd: CODE_CATEGORIES,\n mark: CODE_CATEGORIES,\n icon: ICON_CATEGORIES,\n col: COL_CATEGORIES,\n container: CONTAINER_CATEGORIES,\n divider: DIVIDER_CATEGORIES,\n grid2: GRID_CATEGORIES,\n grid3: GRID_CATEGORIES,\n grid4: GRID_CATEGORIES,\n grid5: GRID_CATEGORIES,\n grid6: GRID_CATEGORIES,\n img: IMG_CATEGORIES,\n input: INPUT_CATEGORIES,\n inputErrorIcon: INPUT_ERROR_ICON_CATEGORIES,\n inputWrapper: INPUT_WRAPPER_CATEGORIES,\n textarea: INPUT_CATEGORIES,\n select: INPUT_CATEGORIES,\n selectChevron: SELECT_CHEVRON_CATEGORIES,\n selectWrapper: SELECT_WRAPPER_CATEGORIES,\n switch: SWITCH_CATEGORIES,\n radio: RADIO_CATEGORIES,\n radioGroup: RADIO_GROUP_CATEGORIES,\n label: LABEL_CATEGORIES,\n field: FIELD_CATEGORIES,\n alert: ALERT_CATEGORIES,\n spinner: SPINNER_CATEGORIES,\n link: LINK_CATEGORIES,\n list: LIST_CATEGORIES,\n listItem: LIST_ITEM_CATEGORIES,\n pageTitle: TYPOGRAPHY_CATEGORIES,\n row: ROW_CATEGORIES,\n section: SECTION_CATEGORIES,\n sectionTitle: TYPOGRAPHY_CATEGORIES,\n stack: STACK_CATEGORIES,\n text: TYPOGRAPHY_CATEGORIES,\n blockquote: TYPOGRAPHY_CATEGORIES,\n blockquoteCite: TYPOGRAPHY_CATEGORIES,\n title: TYPOGRAPHY_CATEGORIES,\n overlay: OVERLAY_CATEGORIES,\n modal: MODAL_CATEGORIES,\n popup: POPUP_CATEGORIES,\n tooltip: POPUP_CATEGORIES,\n menu: MENU_ITEM_CATEGORIES,\n navLink: NAV_LINK_CATEGORIES,\n table: TABLE_CATEGORIES,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0JO,MAAM,IAAA,GAAO,CAAC,MAAM;AAEpB,MAAM,cAAA,GAAiB,CAAC,eAAe;AAEvC,MAAM,MAAA,GAAS,CAAC,QAAQ;AAExB,MAAM,UAAA,GAAa,CAAC,YAAY;AAEhC,MAAM,UAAA,GAAa,CAAC,YAAY;AAEhC,MAAM,UAAA,GAAa,CAAC,WAAW;AAE/B,MAAM,UAAA,GAAa,CAAC,WAAW;AAE/B,MAAM,MAAA,GAAS,CAAC,UAAU;AAE1B,MAAM,WAAA,GAAc,CAAC,aAAa;AAElC,MAAM,MAAA,GAAS,CAAC,QAAQ;AAExB,MAAM,cAAA,GAAiB,CAAC,eAAe;AAGvC,MAAM,wBAAA,GAA2B;AAAA,EACtC,GAAG,WAAA;AAAA,EACH,GAAG,WAAA;AAAA,EACH,GAAG,gBAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,aAAA;AAAA,EACH,GAAG,WAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,YAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,OAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,iBAAA;A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AA,EAAgB,qBAAA;AAAA,EAChB,KAAA,EAAO,qBAAA;AAAA,EACP,OAAA,EAAS,kBAAA;AAAA,EACT,KAAA,EAAO,gBAAA;AAAA,EACP,KAAA,EAAO,gBAAA;AAAA,EACP,OAAA,EAAS,gBAAA;AAAA,EACT,IAAA,EAAM,oBAAA;AAAA,EACN,OAAA,EAAS,mBAAA;AAAA,EACT,KAAA,EAAO;AACT;;;;"}
|
|
1
|
+
{"version":3,"file":"keys.mjs","sources":["../../../../../src/components/ui/props/keys.ts"],"sourcesContent":["// Import shared building blocks from categoryBuilders (no circular dependencies)\n// Import for local use\nimport {\n LAYOUT_CORE,\n ALIGN_SELF,\n JUSTIFY_SELF,\n LAYOUT_FLEX,\n PADDING,\n MARGIN,\n BREAKPOINT,\n VISUAL_CORE,\n BORDER,\n VISUAL_DECORATION,\n VISUAL_DECORATION_LAYOUT,\n SHAPE,\n TEXT_ALIGN,\n TRUNCATE,\n TYPOGRAPHY_STYLE_CORE,\n TYPOGRAPHY_STYLE,\n LIST_STYLE,\n LIST_POSITION,\n VARIANT,\n TRANSPARENT,\n RESPONSIVE,\n WIDTH,\n COMMON_MODIFIERS,\n LAYOUT_FULL,\n VISUAL_FULL,\n VISUAL_LAYOUT,\n TYPOGRAPHY_FULL,\n PLACEMENT,\n DISABLED,\n READONLY,\n MIN_WIDTH,\n MAX_HEIGHT,\n INHERIT_SIZE,\n INHERIT_COLOR,\n INHERIT_BG,\n INHERIT_BORDER,\n CONTROL,\n} from './categoryBuilders';\n\n// Re-export for backward compatibility\nexport {\n LAYOUT_CORE,\n LAYOUT_FLEX,\n PADDING,\n MARGIN,\n BREAKPOINT,\n VISUAL_CORE,\n BORDER,\n VISUAL_DECORATION,\n VISUAL_DECORATION_LAYOUT,\n SHAPE,\n TEXT_ALIGN,\n TRUNCATE,\n TYPOGRAPHY_STYLE_CORE,\n TYPOGRAPHY_STYLE,\n LIST_STYLE,\n LIST_POSITION,\n VARIANT,\n TRANSPARENT,\n RESPONSIVE,\n WIDTH,\n COMMON_MODIFIERS,\n LAYOUT_FULL,\n VISUAL_FULL,\n VISUAL_LAYOUT,\n TYPOGRAPHY_FULL,\n PLACEMENT,\n DISABLED,\n READONLY,\n MIN_WIDTH,\n MAX_HEIGHT,\n INHERIT_SIZE,\n INHERIT_COLOR,\n INHERIT_BG,\n INHERIT_BORDER,\n CONTROL,\n};\n\n// Import component-specific categories from their folders\nimport {\n BADGE_CATEGORIES,\n BUTTON_CATEGORIES,\n CHIP_CATEGORIES,\n CODE_CATEGORIES,\n CONTAINER_CATEGORIES,\n GRID_CATEGORIES,\n ICON_CATEGORIES,\n ROW_CATEGORIES,\n STACK_CATEGORIES,\n} from './categoryBuilders';\nimport { CARD_CATEGORIES } from '../card/CardCategories';\nimport { COL_CATEGORIES } from '../col/ColCategories';\nimport { FIELD_CATEGORIES } from '../field/FieldCategories';\nimport { ALERT_CATEGORIES } from '../alert/AlertCategories';\nimport { SPINNER_CATEGORIES } from '../spinner/SpinnerCategories';\nimport { DIVIDER_CATEGORIES } from '../divider/DividerCategories';\nimport { IMG_CATEGORIES } from '../img/ImgCategories';\nimport { SECTION_CATEGORIES } from '../section/SectionCategories';\nimport { LABEL_CATEGORIES } from '../label/LabelCategories';\nimport { INPUT_CATEGORIES } from '../input/InputCategories';\nimport { INPUT_ERROR_ICON_CATEGORIES } from '../input/InputErrorIconCategories';\nimport { INPUT_WRAPPER_CATEGORIES } from '../input/InputWrapperCategories';\nimport { SELECT_CHEVRON_CATEGORIES } from '../select/SelectChevronCategories';\nimport { SELECT_WRAPPER_CATEGORIES } from '../select/SelectWrapperCategories';\nimport { SWITCH_CATEGORIES } from '../switch/SwitchCategories';\nimport { RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES } from '../radio/RadioCategories';\nimport { OVERLAY_CATEGORIES } from '../overlay/OverlayCategories';\nimport { MODAL_CATEGORIES } from '../modal/ModalCategories';\nimport { POPUP_CATEGORIES } from '../popup/PopupCategories';\nimport { CHECKBOX_CATEGORIES } from '../checkbox/CheckboxCategories';\nimport { TYPOGRAPHY_CATEGORIES, LIST_CATEGORIES } from '../typography/common/TypographyCategories';\nimport { LIST_ITEM_CATEGORIES } from '../typography/listItem/ListItemCategories';\nimport { LINK_CATEGORIES } from '../typography/link/LinkCategories';\nimport { MENU_ITEM_CATEGORIES } from '../menu/MenuItemCategories';\nimport { NAV_LINK_CATEGORIES } from '../navLink/NavLinkCategories';\nimport { TABLE_CATEGORIES } from '../table/TableCategories';\n\n// Re-export for backward compatibility\nexport { BADGE_CATEGORIES };\nexport { BUTTON_CATEGORIES };\nexport { CARD_CATEGORIES };\nexport { CHIP_CATEGORIES };\nexport { CODE_CATEGORIES };\nexport { COL_CATEGORIES };\nexport { FIELD_CATEGORIES };\nexport { ALERT_CATEGORIES };\nexport { SPINNER_CATEGORIES };\nexport { CONTAINER_CATEGORIES };\nexport { DIVIDER_CATEGORIES };\nexport { GRID_CATEGORIES };\nexport { ICON_CATEGORIES };\nexport { ROW_CATEGORIES };\nexport { IMG_CATEGORIES };\nexport { SECTION_CATEGORIES };\nexport { STACK_CATEGORIES };\nexport { LABEL_CATEGORIES };\nexport { INPUT_CATEGORIES };\nexport { INPUT_ERROR_ICON_CATEGORIES };\nexport { INPUT_WRAPPER_CATEGORIES };\nexport { SELECT_CHEVRON_CATEGORIES };\nexport { SELECT_WRAPPER_CATEGORIES };\nexport { SWITCH_CATEGORIES };\nexport { RADIO_CATEGORIES, RADIO_GROUP_CATEGORIES };\nexport { OVERLAY_CATEGORIES };\nexport { MODAL_CATEGORIES };\nexport { POPUP_CATEGORIES };\nexport { CHECKBOX_CATEGORIES };\nexport { TYPOGRAPHY_CATEGORIES, LIST_CATEGORIES };\nexport { MENU_ITEM_CATEGORIES };\nexport { NAV_LINK_CATEGORIES };\nexport { TABLE_CATEGORIES };\n\n/** Blur effect property for backdrop blur */\nexport const BLUR = ['blur'] as const;\n/** Pointer events property for controlling element interactivity */\nexport const POINTER_EVENTS = ['pointerEvents'] as const;\n/** Cursor appearance property */\nexport const CURSOR = ['cursor'] as const;\n/** Transition/animation property */\nexport const TRANSITION = ['transition'] as const;\n/** Whitespace/text wrapping property */\nexport const WHITESPACE = ['whitespace'] as const;\n/** Word break / overflow-wrap property */\nexport const WORD_BREAK = ['wordBreak'] as const;\n/** Object fit property for images/videos */\nexport const OBJECT_FIT = ['objectFit'] as const;\n/** Form validation-state property */\nexport const STATUS = ['validity'] as const;\n/** Orientation property for horizontal/vertical layout */\nexport const ORIENTATION = ['orientation'] as const;\n/** Height property for controlling element height */\nexport const HEIGHT = ['height'] as const;\n/** Letter spacing property for text tracking */\nexport const LETTER_SPACING = ['letterSpacing'] as const;\n\n/** All available component property categories combined */\nexport const COMPONENT_PROPS_CATEGORY = [\n ...VISUAL_CORE,\n ...LAYOUT_FLEX,\n ...TYPOGRAPHY_STYLE,\n ...LIST_STYLE,\n ...LIST_POSITION,\n ...LAYOUT_CORE,\n ...ALIGN_SELF,\n ...JUSTIFY_SELF,\n ...BREAKPOINT,\n ...PADDING,\n ...MARGIN,\n ...BORDER,\n ...VISUAL_DECORATION,\n ...SHAPE,\n ...VARIANT,\n ...TRANSPARENT,\n ...RESPONSIVE,\n ...BLUR,\n ...POINTER_EVENTS,\n ...CURSOR,\n ...TRANSITION,\n ...WHITESPACE,\n ...WORD_BREAK,\n ...OBJECT_FIT,\n ...WIDTH,\n ...HEIGHT,\n ...TRUNCATE,\n ...STATUS,\n ...ORIENTATION,\n ...LETTER_SPACING,\n ...PLACEMENT,\n ...DISABLED,\n ...READONLY,\n ...MIN_WIDTH,\n ...MAX_HEIGHT,\n ...INHERIT_SIZE,\n ...INHERIT_COLOR,\n ...INHERIT_BG,\n ...INHERIT_BORDER,\n ...CONTROL,\n] as const;\n\n/**\n * Describes category for which the appearance can be applied\n * @see ComponentKeys.appearance\n */\nexport const APPEARANCE_CATEGORY = ['text', 'border', 'ring', 'shadow', 'bg', 'accent', 'focusVisible'] as const;\n/** Type for appearance category keys used in theming */\nexport type AppearanceCategoryKey = typeof APPEARANCE_CATEGORY[number];\n\n/** Type for all component category keys */\nexport type ComponentCategoryKey = typeof COMPONENT_PROPS_CATEGORY[number];\n\n/** Component property keys mapping categories to their available values */\nexport const ComponentKeys = {\n /** Color appearance options */\n appearance: ['primary', 'accent', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info', 'inheritAppearance'] as const,\n /** Border visibility: composable side toggles (borderT+borderL apply both) + noBorder reset. borderStart/borderEnd are logical (inline-start/end, RTL-aware). */\n border: ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'borderStart', 'borderEnd', 'noBorder'] as const,\n /** Breakpoint below which Row/Stack stacks into a column (desktop-first: that tier and below).\n Widest-first so combining several resolves to the widest = their union (desktopStack ⊃ tabletStack ⊃ mobileStack). */\n breakpoint: ['desktopStack', 'tabletStack', 'mobileStack'] as const,\n /** Which form control a Field renders itself; absent means the control is passed as a child */\n control: ['textInput', 'textarea', 'select', 'checkbox', 'switch', 'radiogroup'] as const,\n /** CSS display property values for element layout behavior */\n display: ['inline', 'block', 'inlineBlock', 'flex', 'inlineFlex', 'grid', 'inlineGrid', 'contents', 'table', 'tableCell', 'hidden'] as const,\n /** Flex direction: row (horizontal), column (vertical), or reversed variants */\n flexDirection: ['row', 'column', 'rowReverse', 'columnReverse'] as const,\n /** Font family types: sans-serif, serif, monospace, or heading (all emit font-*) */\n fontFamily: ['fontSans', 'fontSerif', 'fontMono', 'fontHeading'] as const,\n /** Font style: italic or notItalic (normal) */\n fontStyle: ['italic', 'notItalic'] as const,\n /** Font weight from thin (100) to black (900), all emit font-* */\n fontWeight: ['fontThin', 'fontExtralight', 'fontLight', 'fontNormal', 'fontMedium', 'fontSemibold', 'fontBold', 'fontExtrabold', 'fontBlack'] as const,\n /** Spacing between flex/grid items: gap (enabled) or noGap (disabled) */\n gap: ['gap', 'noGap'] as const,\n /** Hide elements at specific breakpoint sizes. Widest-first so combining several resolves to the widest = their union. */\n hide: ['desktopHide', 'tabletHide', 'mobileHide'] as const,\n /** Cross-axis alignment for flex items (align-items) */\n items: ['itemsStart', 'itemsEnd', 'itemsCenter', 'itemsBaseline', 'itemsStretch'] as const,\n /** Per-item cross-axis alignment, overriding the parent's align-items (align-self) */\n alignSelf: ['alignSelfAuto', 'alignSelfStart', 'alignSelfEnd', 'alignSelfCenter', 'alignSelfStretch', 'alignSelfBaseline'] as const,\n /** Per-item inline-axis alignment within a grid area (justify-self) */\n justifySelf: ['justifySelfAuto', 'justifySelfStart', 'justifySelfEnd', 'justifySelfCenter', 'justifySelfStretch'] as const,\n /** Main-axis alignment for flex items (justify-content) */\n justify: ['justifyStart', 'justifyEnd', 'justifyCenter', 'justifyBetween', 'justifyAround', 'justifyEvenly', 'justifyStretch', 'justifyBaseline'] as const,\n /** List marker style: all emit list-* (disc, decimal, [circle], [square], [lower-alpha], [lower-roman]) */\n listStyle: ['listDisc', 'listDecimal', 'listCircle', 'listSquare', 'listLowerAlpha', 'listLowerRoman'] as const,\n /** List marker position: listInside (inline with text) or listOutside (hanging, traditional) */\n listPosition: ['listInside', 'listOutside'] as const,\n /** Overflow behavior for content that exceeds container bounds */\n overflow: [\n 'overflowAuto', 'overflowHidden', 'overflowClip', 'overflowVisible', 'overflowScroll',\n 'overflowXAuto', 'overflowYAuto', 'overflowXHidden', 'overflowYHidden',\n 'overflowXClip', 'overflowYClip', 'overflowXVisible', 'overflowYVisible',\n 'overflowXScroll', 'overflowYScroll'\n ] as const,\n /** Internal spacing: padding (enabled) or noPadding (disabled) */\n padding: ['padding', 'paddingX', 'paddingY', 'noPadding'] as const,\n /** External spacing: composable side toggles (marginT+marginB apply both) + noMargin reset */\n margin: ['margin', 'marginX', 'marginY', 'marginT', 'marginB', 'noMargin'] as const,\n /** CSS positioning: relative, absolute, fixed, sticky, static */\n position: ['relative', 'absolute', 'fixed', 'sticky', 'static'] as const,\n /** Inset ring visibility: insetRing (show) or noInsetRing (hide) — emits ring-inset */\n ring: ['insetRing', 'noInsetRing'] as const,\n /** Drop shadow visibility: shadow (enabled) or noShadow (disabled) */\n shadow: ['shadow', 'noShadow'] as const,\n /** Focus-visible outline visibility: focusVisible (show) or noFocusVisible (hide) */\n focusVisible: ['focusVisible', 'noFocusVisible'] as const,\n /** Border radius shape: pill (fully rounded), sharp (no radius), rounded (medium radius) */\n shape: ['pill', 'sharp', 'rounded'] as const,\n /** Size scale from extra-small to extra-large */\n size: ['xs', 'sm', 'md', 'lg', 'xl'] as const,\n /** Text alignment: left, center, right, justify (physical), start, end (direction-aware, flip under RTL) */\n textAlign: ['textLeft', 'textCenter', 'textRight', 'textJustify', 'textStart', 'textEnd'] as const,\n /** Text decoration: underline, strikethrough (lineThrough), none (noUnderline), overline */\n textDecoration: ['underline', 'lineThrough', 'noUnderline', 'overline'] as const,\n /** Text case transformation: UPPERCASE, lowercase, Capitalize, normalCase */\n textTransform: ['uppercase', 'lowercase', 'capitalize', 'normalCase'] as const,\n /** Style variant: filled (solid background), outline (border only), or ghost (minimal chrome) */\n variant: ['filled', 'outline', 'ghost'] as const,\n /** Flex item wrapping behavior: wrap, no-wrap, or wrap-reverse */\n wrap: ['flexWrap', 'flexNoWrap', 'flexWrapReverse'] as const,\n /** Flex-grow/shrink shorthand: flex1 (1 1 0%), flexAuto (1 1 auto), or flexNone (none) */\n flex: ['flex1', 'flexAuto', 'flexNone'] as const,\n /** Flex-shrink override: noShrink (= shrink-0) prevents the item from shrinking below its content size */\n shrink: ['noShrink'] as const,\n /** Transparent background: disables background color when true */\n transparent: ['transparent'] as const,\n /** Responsive sizing: enables breakpoint-specific py/px/gap/fs when true */\n responsiveSizing: ['responsiveSizing'] as const,\n /** Backdrop blur effect: backdropBlur (enabled) or noBackdropBlur (disabled) */\n blur: ['backdropBlur', 'noBackdropBlur'] as const,\n /** Pointer events: none (clicks pass through) or auto (normal) */\n pointerEvents: ['pointerEventsNone', 'pointerEventsAuto'] as const,\n /** Cursor appearance for interactive elements */\n cursor: ['cursorPointer', 'cursorDefault', 'cursorNotAllowed', 'cursorNone', 'cursorText', 'cursorMove', 'cursorWait'] as const,\n /** Transition effects for state changes */\n transition: ['transition', 'noTransition'] as const,\n /** Whitespace and text wrapping behavior */\n whitespace: ['whitespaceNowrap', 'whitespaceNormal', 'whitespacePre', 'whitespacePreWrap', 'whitespacePreLine', 'whitespaceBreakSpaces'] as const,\n /** Word break / overflow-wrap behavior */\n wordBreak: ['breakNormal', 'breakWords', 'breakAll', 'breakKeep'] as const,\n /** Object fit for images and videos */\n objectFit: ['objectCover', 'objectContain', 'objectFill', 'objectNone', 'objectScaleDown'] as const,\n /** Width control for element sizing */\n width: ['wFull', 'wFit', 'wAuto', 'wScreen'] as const,\n /** Truncate control for text overflow */\n truncate: ['truncate', 'lineClamp2', 'lineClamp3', 'lineClamp4', 'lineClamp5', 'noTruncate'] as const,\n /** Form validation state: invalid (layers danger border/ring over any appearance) */\n validity: ['invalid'] as const,\n /** Orientation for horizontal/vertical layout */\n orientation: ['horizontal', 'vertical'] as const,\n /** Height control for element sizing */\n height: ['hFit', 'hFull', 'hAuto', 'hScreen'] as const,\n /** Letter spacing for text tracking */\n letterSpacing: ['trackingTighter', 'trackingTight', 'trackingNormal', 'trackingWide', 'trackingWider', 'trackingWidest'] as const,\n /** Placement position for floating elements (popups, tooltips, dropdowns) */\n placement: ['placeTop', 'placeTopStart', 'placeTopEnd', 'placeBottom', 'placeBottomStart', 'placeBottomEnd', 'placeLeft', 'placeLeftStart', 'placeLeftEnd', 'placeRight', 'placeRightStart', 'placeRightEnd'] as const,\n /** Disabled state for interactive elements */\n disabled: ['disabled'] as const,\n /** Read-only state for form components */\n readOnly: ['readOnly'] as const,\n /** Constrain popup/floating width to a size-dependent minimum */\n constrainWidth: ['constrainWidth'] as const,\n /** Clamp popup/floating height to a size-dependent maximum */\n clampHeight: ['clampHeight'] as const,\n /** Inherit font-size and line-height from parent typography ancestor */\n inheritSize: ['inheritSize', 'noInheritSize'] as const,\n /** Inherit text color from parent via CSS variable cascade (suppresses data-appearance) */\n inheritColor: ['inheritColor', 'noInheritColor'] as const,\n /** Inherit background color from parent via CSS variable cascade */\n inheritBg: ['inheritBg', 'noInheritBg'] as const,\n /** Inherit border color from parent via CSS variable cascade */\n inheritBorder: ['inheritBorder', 'noInheritBorder'] as const,\n} as const;\n\n/** All border side keys (excluding noBorder since it doesn't have a CSS class) */\nexport const BORDER_KEYS = ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'borderStart', 'borderEnd'] as const;\n\n/** Type for all border side keys (excluding noBorder) */\nexport type BorderKey = typeof BORDER_KEYS[number];\n\n/** Size scale keys: xs, sm, md, lg, xl */\nexport type SizeKey = typeof ComponentKeys.size[number];\n/** Style variant keys: filled or outline */\nexport type VariantKey = typeof ComponentKeys.variant[number];\n/** List style keys for bullet points and numbering */\nexport type ListStyleKey = typeof ComponentKeys.listStyle[number];\n/** List position keys: inside (inline with text) or outside (hanging, traditional) */\nexport type ListPositionKey = typeof ComponentKeys.listPosition[number];\n/** Font family keys: sans, serif, mono */\nexport type FontFamilyKey = typeof ComponentKeys.fontFamily[number];\n/** Font weight keys from thin to black */\nexport type FontWeightKey = typeof ComponentKeys.fontWeight[number];\n/** Font style keys: italic or notItalic */\nexport type FontStyleKey = typeof ComponentKeys.fontStyle[number];\n/** Text decoration keys: underline, lineThrough, noUnderline, overline */\nexport type TextDecorationKey = typeof ComponentKeys.textDecoration[number];\n/** Text case transformation keys: uppercase, lowercase, capitalize, normalCase */\nexport type TextTransformKey = typeof ComponentKeys.textTransform[number];\n/** Text alignment keys: textLeft, textCenter, textRight, textJustify, textStart, textEnd */\nexport type TextAlignKey = typeof ComponentKeys.textAlign[number];\n/** Margin keys: margin, marginX, marginY, marginT, marginB, noMargin */\nexport type MarginKey = typeof ComponentKeys.margin[number];\n/** Responsive breakpoint column keys for grid layouts */\nexport type BreakpointKey = typeof ComponentKeys.breakpoint[number];\n/** Breakpoint-specific hide keys for responsive visibility */\nexport type HideKey = typeof ComponentKeys.hide[number];\n/** CSS position keys: relative, absolute, fixed, sticky, static */\nexport type PositionKey = typeof ComponentKeys.position[number];\n/** Flex direction keys: row, column, rowReverse, columnReverse */\nexport type FlexDirectionKey = typeof ComponentKeys.flexDirection[number];\n/** Flex align-items keys for cross-axis alignment */\nexport type ItemsKey = typeof ComponentKeys.items[number];\n/** Flex align-self keys for per-item cross-axis alignment */\nexport type AlignSelfKey = typeof ComponentKeys.alignSelf[number];\n/** Grid justify-self keys for per-item inline-axis alignment */\nexport type JustifySelfKey = typeof ComponentKeys.justifySelf[number];\n/** Flex justify-content keys for main-axis alignment */\nexport type JustifyKey = typeof ComponentKeys.justify[number];\n/** Flex wrap keys: flexWrap, flexNoWrap, flexWrapReverse */\nexport type WrapKey = typeof ComponentKeys.wrap[number];\n/** Flex grow/shrink shorthand keys: flex1, flexAuto, flexNone */\nexport type FlexKey = typeof ComponentKeys.flex[number];\n/** Flex shrink override keys: noShrink */\nexport type ShrinkKey = typeof ComponentKeys.shrink[number];\n/** CSS display property keys for layout behavior */\nexport type DisplayKey = typeof ComponentKeys.display[number];\n/** CSS overflow property keys for content clipping behavior */\nexport type OverflowKey = typeof ComponentKeys.overflow[number];\n/** Backdrop blur keys: blur or noBlur */\nexport type BlurKey = typeof ComponentKeys.blur[number];\n/** Pointer events keys: pointerEventsNone or pointerEventsAuto */\nexport type PointerEventsKey = typeof ComponentKeys.pointerEvents[number];\n/** Cursor appearance keys */\nexport type CursorKey = typeof ComponentKeys.cursor[number];\n/** Transition effect keys */\nexport type TransitionKey = typeof ComponentKeys.transition[number];\n/** Whitespace behavior keys */\nexport type WhitespaceKey = typeof ComponentKeys.whitespace[number];\n/** Word break behavior keys */\nexport type WordBreakKey = typeof ComponentKeys.wordBreak[number];\n/** Object fit keys for images/videos */\nexport type ObjectFitKey = typeof ComponentKeys.objectFit[number];\n/** Width keys for element sizing */\nexport type WidthKey = typeof ComponentKeys.width[number];\n/** Truncate keys for text overflow */\nexport type TruncateKey = typeof ComponentKeys.truncate[number];\n/** Validity keys for form validation */\nexport type ValidityKey = typeof ComponentKeys.validity[number];\n/** Orientation keys for horizontal/vertical layout */\nexport type OrientationKey = typeof ComponentKeys.orientation[number];\n/** Height keys for element sizing */\nexport type HeightKey = typeof ComponentKeys.height[number];\n/** Letter spacing keys for text tracking */\nexport type LetterSpacingKey = typeof ComponentKeys.letterSpacing[number];\n/** Placement position keys for floating elements */\nexport type PlacementKey = typeof ComponentKeys.placement[number];\n/** Disabled state key */\nexport type DisabledKey = typeof ComponentKeys.disabled[number];\n/** Read-only state key */\nexport type ReadOnlyKey = typeof ComponentKeys.readOnly[number];\n/** Constrain-width key for popup/floating components */\nexport type ConstrainWidthKey = typeof ComponentKeys.constrainWidth[number];\n/** Clamp-height key for popup/floating components */\nexport type ClampHeightKey = typeof ComponentKeys.clampHeight[number];\n/** Inherit font-size/line-height toggle keys */\nexport type InheritSizeKey = typeof ComponentKeys.inheritSize[number];\n/** Inherit text color toggle keys */\nexport type InheritColorKey = typeof ComponentKeys.inheritColor[number];\n/** Inherit background color toggle keys */\nexport type InheritBgKey = typeof ComponentKeys.inheritBg[number];\n/** Inherit border color toggle keys */\nexport type InheritBorderKey = typeof ComponentKeys.inheritBorder[number];\n\n/** Shape keys for border radius: pill, sharp, rounded */\nexport type ShapeKey = typeof ComponentKeys.shape[number];\n\n// ============================================================================\n// Internal Styling State Keys (for theme implementation, not user-facing props)\n// ============================================================================\n\n/** Base state - default resting appearance */\nexport const BASE = 'base' as const;\n/** Hover state - appearance when cursor hovers over element */\nexport const HOVER = 'hover' as const;\n/** Active state - appearance when element is being pressed/clicked */\nexport const ACTIVE = 'active' as const;\n/** Focus state - appearance when element receives focus */\nexport const FOCUS = 'focus' as const;\n/** Focus visible state - appearance when element has visible focus indicator */\nexport const FOCUS_VISIBLE = 'focusVisible' as const;\n\n/** All mode property values for internal styling states */\nexport const MODE_VALUES = [BASE, HOVER, ACTIVE, FOCUS, FOCUS_VISIBLE] as const;\n\n/** Styling mode keys for different interaction states (internal use by themes) */\nexport const ModeKeys = {\n /** Interaction states for styling: base, hover, active, focus, focusVisible */\n mode: MODE_VALUES,\n} as const;\n\n/** Type for mode keys - internal styling states */\nexport type ModeKey = typeof ModeKeys.mode[number];\n\n// ============================================================================\n// Theme Class Keys (for internal theme implementation)\n// ============================================================================\n\n/** Common responsive breakpoint keys used across all themes (includes 'base' for non-responsive mode) */\nexport const RESPONSIVE_BREAKPOINT_KEYS = ['base', 'desktop', 'tablet', 'mobile'] as const;\n/** Type for responsive breakpoint class keys - used by GapClassMapper, PyClassMapper, PxClassMapper, FontSizeClassMapper */\nexport type ResponsiveBreakpointClassKey = typeof RESPONSIVE_BREAKPOINT_KEYS[number];\n/** Left padding theme class key */\nexport type PlClassKey = 'pl';\n/** Line height theme class key */\nexport type LineHeightClassKey = 'lineHeight';\n\n/** Categories for interactive components like buttons, badges, chips */\nexport const INTERACTIVE_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...TYPOGRAPHY_STYLE, ...PADDING, ...VARIANT, ...CURSOR, ...TRANSITION, ...WHITESPACE, ...WIDTH, ...HEIGHT, ...COMMON_MODIFIERS, ...DISABLED] as const;\n\n/** Typography component categories are now imported from their component folder */\n\n/** Form component categories are now imported from their component folders */\n\n/** Media component categories are now imported from their component folders */\n\n/** Modal component categories are now imported from their component folder */\n\n/** Props type mapping category keys to their possible values */\nexport type CategoryProps = {\n [K in ComponentCategoryKey]?: (typeof ComponentKeys)[K][number];\n};\n\n/** All available component names in the library */\nexport const COMPONENT = ['button', 'iconButton', 'badge', 'chip', 'code', 'kbd', 'mark', 'icon', 'card', 'field', 'alert', 'spinner', 'divider', 'container', 'row', 'col', 'stack', 'section',\n 'grid2', 'grid3', 'grid4', 'grid5', 'grid6', 'pageTitle', 'sectionTitle', 'title', 'text', 'blockquote', 'blockquoteCite', 'link', 'list', 'listItem', 'checkbox', 'label', 'img', 'input', 'inputErrorIcon', 'inputWrapper', 'textarea', 'select', 'selectChevron', 'selectWrapper', 'switch', 'radio', 'radioGroup', 'overlay', 'modal', 'popup', 'tooltip', 'menu', 'navLink', 'table'] as const;\n/** Type for component name keys */\nexport type ComponentKey = typeof COMPONENT[number];\n\n/** Mapping of each component to its available property categories */\nexport const ComponentCategories: Record<ComponentKey, readonly string[]> = {\n badge: BADGE_CATEGORIES,\n button: BUTTON_CATEGORIES,\n iconButton: BUTTON_CATEGORIES,\n card: CARD_CATEGORIES,\n checkbox: CHECKBOX_CATEGORIES,\n chip: CHIP_CATEGORIES,\n code: CODE_CATEGORIES,\n kbd: CODE_CATEGORIES,\n mark: CODE_CATEGORIES,\n icon: ICON_CATEGORIES,\n col: COL_CATEGORIES,\n container: CONTAINER_CATEGORIES,\n divider: DIVIDER_CATEGORIES,\n grid2: GRID_CATEGORIES,\n grid3: GRID_CATEGORIES,\n grid4: GRID_CATEGORIES,\n grid5: GRID_CATEGORIES,\n grid6: GRID_CATEGORIES,\n img: IMG_CATEGORIES,\n input: INPUT_CATEGORIES,\n inputErrorIcon: INPUT_ERROR_ICON_CATEGORIES,\n inputWrapper: INPUT_WRAPPER_CATEGORIES,\n textarea: INPUT_CATEGORIES,\n select: INPUT_CATEGORIES,\n selectChevron: SELECT_CHEVRON_CATEGORIES,\n selectWrapper: SELECT_WRAPPER_CATEGORIES,\n switch: SWITCH_CATEGORIES,\n radio: RADIO_CATEGORIES,\n radioGroup: RADIO_GROUP_CATEGORIES,\n label: LABEL_CATEGORIES,\n field: FIELD_CATEGORIES,\n alert: ALERT_CATEGORIES,\n spinner: SPINNER_CATEGORIES,\n link: LINK_CATEGORIES,\n list: LIST_CATEGORIES,\n listItem: LIST_ITEM_CATEGORIES,\n pageTitle: TYPOGRAPHY_CATEGORIES,\n row: ROW_CATEGORIES,\n section: SECTION_CATEGORIES,\n sectionTitle: TYPOGRAPHY_CATEGORIES,\n stack: STACK_CATEGORIES,\n text: TYPOGRAPHY_CATEGORIES,\n blockquote: TYPOGRAPHY_CATEGORIES,\n blockquoteCite: TYPOGRAPHY_CATEGORIES,\n title: TYPOGRAPHY_CATEGORIES,\n overlay: OVERLAY_CATEGORIES,\n modal: MODAL_CATEGORIES,\n popup: POPUP_CATEGORIES,\n tooltip: POPUP_CATEGORIES,\n menu: MENU_ITEM_CATEGORIES,\n navLink: NAV_LINK_CATEGORIES,\n table: TABLE_CATEGORIES,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4JO,MAAM,IAAA,GAAO,CAAC,MAAM;AAEpB,MAAM,cAAA,GAAiB,CAAC,eAAe;AAEvC,MAAM,MAAA,GAAS,CAAC,QAAQ;AAExB,MAAM,UAAA,GAAa,CAAC,YAAY;AAEhC,MAAM,UAAA,GAAa,CAAC,YAAY;AAEhC,MAAM,UAAA,GAAa,CAAC,WAAW;AAE/B,MAAM,UAAA,GAAa,CAAC,WAAW;AAE/B,MAAM,MAAA,GAAS,CAAC,UAAU;AAE1B,MAAM,WAAA,GAAc,CAAC,aAAa;AAElC,MAAM,MAAA,GAAS,CAAC,QAAQ;AAExB,MAAM,cAAA,GAAiB,CAAC,eAAe;AAGvC,MAAM,wBAAA,GAA2B;AAAA,EACtC,GAAG,WAAA;AAAA,EACH,GAAG,WAAA;AAAA,EACH,GAAG,gBAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,aAAA;AAAA,EACH,GAAG,WAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,YAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,OAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,iBAAA;AAAA,EACH,GAAG,KAAA;AAAA,EACH,GAAG,OAAA;AAAA,EACH,GAAG,WAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,IAAA;AAAA,EACH,GAAG,cAAA;AAAA,EACH,GAAG,MAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,GAAG,UAAA;AAAA,EACH,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A,EAAO,gBAAA;AAAA,EACP,OAAA,EAAS,gBAAA;AAAA,EACT,IAAA,EAAM,oBAAA;AAAA,EACN,OAAA,EAAS,mBAAA;AAAA,EACT,KAAA,EAAO;AACT;;;;"}
|
|
@@ -137,6 +137,30 @@ const PropDescriptions = {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
|
+
"control": {
|
|
141
|
+
"name": "Control",
|
|
142
|
+
"description": "Which form control a Field renders itself; omit all of them to pass the control as a child.",
|
|
143
|
+
"props": {
|
|
144
|
+
"textInput": {
|
|
145
|
+
"description": "Render a text input (the default control kind); pair with `type` for a specific input type"
|
|
146
|
+
},
|
|
147
|
+
"textarea": {
|
|
148
|
+
"description": "Render a multi-line textarea"
|
|
149
|
+
},
|
|
150
|
+
"select": {
|
|
151
|
+
"description": "Render a select; pass the options as children"
|
|
152
|
+
},
|
|
153
|
+
"checkbox": {
|
|
154
|
+
"description": "Render a checkbox, laid out inline with its label"
|
|
155
|
+
},
|
|
156
|
+
"switch": {
|
|
157
|
+
"description": "Render a switch, laid out inline with its label"
|
|
158
|
+
},
|
|
159
|
+
"radiogroup": {
|
|
160
|
+
"description": "Render a radio group; pass the radios as children"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
140
164
|
"cursor": {
|
|
141
165
|
"name": "Cursor",
|
|
142
166
|
"description": "Cursor props for controlling cursor appearance",
|