@vaneui/ui 1.2.1 → 1.3.0-alpha.20260820113749.28e27de
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 +53 -0
- package/dist/cjs/components/ui/field/Field.cjs +8 -2
- package/dist/cjs/components/ui/field/Field.cjs.map +1 -1
- package/dist/cjs/components/ui/label/LabelCategories.cjs +2 -1
- package/dist/cjs/components/ui/label/LabelCategories.cjs.map +1 -1
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs +7 -2
- package/dist/cjs/components/ui/label/defaultLabelTheme.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/defaults.cjs +5 -21
- package/dist/cjs/components/ui/theme/defaults.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/index.cjs +0 -1
- package/dist/cjs/components/ui/typography/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +20 -26
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/ui/field/Field.mjs +8 -2
- package/dist/esm/components/ui/field/Field.mjs.map +1 -1
- package/dist/esm/components/ui/label/LabelCategories.mjs +3 -2
- package/dist/esm/components/ui/label/LabelCategories.mjs.map +1 -1
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs +7 -2
- package/dist/esm/components/ui/label/defaultLabelTheme.mjs.map +1 -1
- package/dist/esm/components/ui/theme/defaults.mjs +5 -21
- package/dist/esm/components/ui/theme/defaults.mjs.map +1 -1
- package/dist/esm/components/ui/typography/index.mjs +0 -1
- package/dist/esm/components/ui/typography/index.mjs.map +1 -1
- package/dist/esm/index.mjs +10 -16
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/components/ui/label/Label.d.cts +1 -1
- package/dist/types/components/ui/label/Label.d.mts +1 -1
- package/dist/types/components/ui/label/Label.d.ts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.cts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.mts +1 -1
- package/dist/types/components/ui/label/LabelCategories.d.ts +1 -1
- package/dist/types/components/ui/label/LabelProps.d.cts +2 -2
- package/dist/types/components/ui/label/LabelProps.d.mts +2 -2
- package/dist/types/components/ui/label/LabelProps.d.ts +2 -2
- package/dist/types/components/ui/label/LabelTheme.d.cts +2 -1
- package/dist/types/components/ui/label/LabelTheme.d.mts +2 -1
- package/dist/types/components/ui/label/LabelTheme.d.ts +2 -1
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultLabelTheme.mjs","sources":["../../../../../src/components/ui/label/defaultLabelTheme.ts"],"sourcesContent":["import { ComponentTheme, defaultSizedLayoutClassMappers, defaultTypographyClassMappers, textAppearance, borderAppearance, ringAppearance, shadowAppearance } from \"../theme/common\";\nimport type { LabelProps } from \"./LabelProps\";\nimport { GapClassMapper, FontSizeClassMapper, LineHeightClassMapper } from \"../theme/size\";\nimport { BorderClassMapper, RingClassMapper, WrapClassMapper, DirectionClassMapper, CursorClassMapper, FlexClassMapper, ShrinkClassMapper } from \"../theme/layout\";\nimport { LABEL_CATEGORIES } from \"./LabelCategories\";\nimport type { LabelTheme } from \"./LabelTheme\";\nimport { labelDefaults } from \"./labelDefaults\";\n\nexport const defaultLabelTheme = new ComponentTheme<LabelProps, LabelTheme>(\n \"label\",\n \"vane-label has-[input]:cursor-pointer\",\n {\n size: {\n text: new FontSizeClassMapper(),\n lineHeight: new LineHeightClassMapper(),\n gap: new GapClassMapper(),\n },\n // No `background` mapper: Label is a form label, not a filled surface, so\n // an appearance (e.g. `tertiary`) colors the text/border only and never\n // paints a background box. Matches MenuLabel; use Badge/Chip for filled\n // pill-style labels.\n appearance: {\n text: textAppearance,\n border: borderAppearance,\n ring: ringAppearance,\n shadow: shadowAppearance,\n },\n typography: defaultTypographyClassMappers,\n layout: {\n ...defaultSizedLayoutClassMappers,\n border: new BorderClassMapper(),\n ring: new RingClassMapper(),\n wrap: new WrapClassMapper(),\n flexDirection: new DirectionClassMapper(),\n cursor: new CursorClassMapper(),\n flex: new FlexClassMapper(),\n shrink: new ShrinkClassMapper(),\n },\n },\n labelDefaults,\n LABEL_CATEGORIES,\n undefined,\n 'ui'\n);\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaultLabelTheme.mjs","sources":["../../../../../src/components/ui/label/defaultLabelTheme.ts"],"sourcesContent":["import { ComponentTheme, defaultSizedLayoutClassMappers, defaultTypographyClassMappers, textAppearance, borderAppearance, ringAppearance, shadowAppearance } from \"../theme/common\";\nimport type { LabelProps } from \"./LabelProps\";\nimport { GapClassMapper, FontSizeClassMapper, LineHeightClassMapper } from \"../theme/size\";\nimport { BorderClassMapper, RingClassMapper, WrapClassMapper, DirectionClassMapper, CursorClassMapper, FlexClassMapper, ShrinkClassMapper } from \"../theme/layout\";\nimport { DisabledOpacityClassMapper } from \"../theme/appearance\";\nimport { LABEL_CATEGORIES } from \"./LabelCategories\";\nimport type { LabelTheme } from \"./LabelTheme\";\nimport { labelDefaults } from \"./labelDefaults\";\n\nexport const defaultLabelTheme = new ComponentTheme<LabelProps, LabelTheme>(\n \"label\",\n // dims for a disabled control too: authors disable the field, not its label\n \"vane-label has-[input]:cursor-pointer has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-50\",\n {\n size: {\n text: new FontSizeClassMapper(),\n lineHeight: new LineHeightClassMapper(),\n gap: new GapClassMapper(),\n },\n // No `background` mapper: Label is a form label, not a filled surface, so\n // an appearance (e.g. `tertiary`) colors the text/border only and never\n // paints a background box. Matches MenuLabel; use Badge/Chip for filled\n // pill-style labels.\n appearance: {\n text: textAppearance,\n border: borderAppearance,\n ring: ringAppearance,\n shadow: shadowAppearance,\n },\n typography: defaultTypographyClassMappers,\n layout: {\n ...defaultSizedLayoutClassMappers,\n border: new BorderClassMapper(),\n ring: new RingClassMapper(),\n wrap: new WrapClassMapper(),\n flexDirection: new DirectionClassMapper(),\n cursor: new CursorClassMapper(),\n flex: new FlexClassMapper(),\n shrink: new ShrinkClassMapper(),\n // opacity only: a Label wraps its control, so pointer-events-none would kill it too\n disabled: new DisabledOpacityClassMapper(),\n },\n },\n labelDefaults,\n LABEL_CATEGORIES,\n undefined,\n 'ui'\n);\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AASO,MAAM,oBAAoB,IAAI,cAAA;AAAA,EACnC,OAAA;AAAA;AAAA,EAEA,qGAAA;AAAA,EACA;AAAA,IACE,IAAA,EAAM;AAAA,MACJ,IAAA,EAAM,IAAI,mBAAA,EAAoB;AAAA,MAC9B,UAAA,EAAY,IAAI,qBAAA,EAAsB;AAAA,MACtC,GAAA,EAAK,IAAI,cAAA;AAAe,KAC1B;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,UAAA,EAAY;AAAA,MACV,IAAA,EAAM,cAAA;AAAA,MACN,MAAA,EAAQ,gBAAA;AAAA,MACR,IAAA,EAAM,cAAA;AAAA,MACN,MAAA,EAAQ;AAAA,KACV;AAAA,IACA,UAAA,EAAY,6BAAA;AAAA,IACZ,MAAA,EAAQ;AAAA,MACN,GAAG,8BAAA;AAAA,MACH,MAAA,EAAQ,IAAI,iBAAA,EAAkB;AAAA,MAC9B,IAAA,EAAM,IAAI,eAAA,EAAgB;AAAA,MAC1B,IAAA,EAAM,IAAI,eAAA,EAAgB;AAAA,MAC1B,aAAA,EAAe,IAAI,oBAAA,EAAqB;AAAA,MACxC,MAAA,EAAQ,IAAI,iBAAA,EAAkB;AAAA,MAC9B,IAAA,EAAM,IAAI,eAAA,EAAgB;AAAA,MAC1B,MAAA,EAAQ,IAAI,iBAAA,EAAkB;AAAA;AAAA,MAE9B,QAAA,EAAU,IAAI,0BAAA;AAA2B;AAC3C,GACF;AAAA,EACA,aAAA;AAAA,EACA,gBAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;;;;"}
|
|
@@ -68,31 +68,15 @@ import { thDefaults } from '../table/thDefaults.mjs';
|
|
|
68
68
|
import { tdDefaults } from '../table/tdDefaults.mjs';
|
|
69
69
|
import { captionDefaults } from '../table/captionDefaults.mjs';
|
|
70
70
|
import '../typography/common/TypographyCategories.mjs';
|
|
71
|
-
import '../typography/
|
|
72
|
-
import {
|
|
73
|
-
import '
|
|
74
|
-
import './common/typographyClassMappers.mjs';
|
|
75
|
-
import '../typography/blockquote/Blockquote.mjs';
|
|
76
|
-
import { blockquoteDefaults } from '../typography/blockquote/blockquoteDefaults.mjs';
|
|
77
|
-
import '../typography/blockquote/defaultBlockquoteTheme.mjs';
|
|
71
|
+
import { listDefaults } from '../typography/list/listDefaults.mjs';
|
|
72
|
+
import { listItemDefaults } from '../typography/listItem/listItemDefaults.mjs';
|
|
73
|
+
import { linkDefaults } from '../typography/link/linkDefaults.mjs';
|
|
78
74
|
import { blockquoteCiteDefaults } from '../typography/blockquote/blockquoteCiteDefaults.mjs';
|
|
79
|
-
import '../typography/
|
|
75
|
+
import { blockquoteDefaults } from '../typography/blockquote/blockquoteDefaults.mjs';
|
|
76
|
+
import { textDefaults } from '../typography/text/textDefaults.mjs';
|
|
80
77
|
import { titleDefaults } from '../typography/title/titleDefaults.mjs';
|
|
81
|
-
import '../typography/sectionTitle/SectionTitle.mjs';
|
|
82
78
|
import { sectionTitleDefaults } from '../typography/sectionTitle/sectionTitleDefaults.mjs';
|
|
83
|
-
import '../typography/pageTitle/PageTitle.mjs';
|
|
84
79
|
import { pageTitleDefaults } from '../typography/pageTitle/pageTitleDefaults.mjs';
|
|
85
|
-
import '../typography/link/Link.mjs';
|
|
86
|
-
import { linkDefaults } from '../typography/link/linkDefaults.mjs';
|
|
87
|
-
import '../typography/link/LinkCategories.mjs';
|
|
88
|
-
import '../typography/link/defaultLinkTheme.mjs';
|
|
89
|
-
import '../typography/list/List.mjs';
|
|
90
|
-
import { listDefaults } from '../typography/list/listDefaults.mjs';
|
|
91
|
-
import '../typography/list/defaultListTheme.mjs';
|
|
92
|
-
import '../typography/listItem/ListItem.mjs';
|
|
93
|
-
import '../typography/listItem/ListItemCategories.mjs';
|
|
94
|
-
import { listItemDefaults } from '../typography/listItem/listItemDefaults.mjs';
|
|
95
|
-
import '../typography/listItem/defaultListItemTheme.mjs';
|
|
96
80
|
|
|
97
81
|
const themeDefaults = {
|
|
98
82
|
button: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.mjs","sources":["../../../../../src/components/ui/theme/defaults.ts"],"sourcesContent":["import type { ThemeDefaults } from '../../themeContext';\n\nimport { buttonDefaults } from '../button/buttonDefaults';\nimport { buttonSpinnerDefaults } from '../button/buttonSpinnerDefaults';\nimport { iconButtonDefaults } from '../iconButton/iconButtonDefaults';\nimport { badgeDefaults } from '../badge/badgeDefaults';\nimport { iconDefaults } from '../icon/iconDefaults';\nimport { chipDefaults } from '../chip/chipDefaults';\nimport { codeDefaults } from '../code/codeDefaults';\nimport { cardDefaults } from '../card/cardDefaults';\nimport { cardHeaderDefaults } from '../card/cardHeaderDefaults';\nimport { cardBodyDefaults } from '../card/cardBodyDefaults';\nimport { cardFooterDefaults } from '../card/cardFooterDefaults';\nimport { dividerDefaults } from '../divider/dividerDefaults';\nimport { containerDefaults } from '../container/containerDefaults';\nimport { rowDefaults } from '../row/rowDefaults';\nimport { colDefaults } from '../col/colDefaults';\nimport { stackDefaults } from '../stack/stackDefaults';\nimport { sectionDefaults } from '../section/sectionDefaults';\nimport { gridDefaults } from '../grid/gridDefaults';\nimport { checkboxInputDefaults } from '../checkbox/checkboxInputDefaults';\nimport { checkboxCheckDefaults } from '../checkbox/checkboxCheckDefaults';\nimport { checkboxWrapperDefaults } from '../checkbox/checkboxWrapperDefaults';\nimport { checkboxIndeterminateDefaults } from '../checkbox/checkboxIndeterminateDefaults';\nimport { labelDefaults } from '../label/labelDefaults';\nimport { fieldDefaults } from '../field/fieldDefaults';\nimport { alertDefaults } from '../alert/alertDefaults';\nimport { spinnerDefaults } from '../spinner/spinnerDefaults';\nimport { tooltipDefaults } from '../tooltip/tooltipDefaults';\nimport { fieldLabelDefaults } from '../field/fieldLabelDefaults';\nimport { fieldDescriptionDefaults } from '../field/fieldDescriptionDefaults';\nimport { fieldErrorDefaults } from '../field/fieldErrorDefaults';\nimport { imgDefaults } from '../img/imgDefaults';\nimport { inputDefaults } from '../input/inputDefaults';\nimport { inputErrorIconDefaults } from '../input/inputErrorIconDefaults';\nimport { inputWrapperDefaults } from '../input/inputWrapperDefaults';\nimport { textareaDefaults } from '../textarea/textareaDefaults';\nimport { selectDefaults } from '../select/selectDefaults';\nimport { selectChevronDefaults } from '../select/selectChevronDefaults';\nimport { selectWrapperDefaults } from '../select/selectWrapperDefaults';\nimport { switchInputDefaults } from '../switch/switchInputDefaults';\nimport { switchThumbDefaults } from '../switch/switchThumbDefaults';\nimport { switchWrapperDefaults } from '../switch/switchWrapperDefaults';\nimport { radioInputDefaults } from '../radio/radioInputDefaults';\nimport { radioDotDefaults } from '../radio/radioDotDefaults';\nimport { radioWrapperDefaults } from '../radio/radioWrapperDefaults';\nimport { radioGroupDefaults } from '../radio/radioGroupDefaults';\nimport { overlayDefaults } from '../overlay/overlayDefaults';\nimport { kbdDefaults } from '../kbd/kbdDefaults';\nimport { markDefaults } from '../mark/markDefaults';\nimport { modalContentDefaults } from '../modal/modalContentDefaults';\nimport { modalOverlayDefaults } from '../modal/modalOverlayDefaults';\nimport { modalHeaderDefaults } from '../modal/modalHeaderDefaults';\nimport { modalBodyDefaults } from '../modal/modalBodyDefaults';\nimport { modalFooterDefaults } from '../modal/modalFooterDefaults';\nimport { modalCloseButtonDefaults } from '../modal/modalCloseButtonDefaults';\nimport { popupDefaults } from '../popup/popupDefaults';\nimport { menuItemDefaults } from '../menu/menuItemDefaults';\nimport { menuPopupDefaults } from '../menu/menuPopupDefaults';\nimport { menuDividerDefaults } from '../divider/menuDividerDefaults';\nimport { menuLabelDefaults } from '../menu/menuLabelDefaults';\nimport { navLinkDefaults } from '../navLink/navLinkDefaults';\nimport { navLinkLabelDefaults } from '../navLink/navLinkLabelDefaults';\nimport { tableDefaults } from '../table/tableDefaults';\nimport { theadDefaults } from '../table/theadDefaults';\nimport { tbodyDefaults } from '../table/tbodyDefaults';\nimport { tfootDefaults } from '../table/tfootDefaults';\nimport { trDefaults } from '../table/trDefaults';\nimport { thDefaults } from '../table/thDefaults';\nimport { tdDefaults } from '../table/tdDefaults';\nimport { captionDefaults } from '../table/captionDefaults';\nimport {\n pageTitleDefaults,\n sectionTitleDefaults,\n titleDefaults,\n textDefaults,\n blockquoteDefaults,\n blockquoteCiteDefaults,\n linkDefaults,\n listItemDefaults,\n listDefaults,\n} from '../typography';\n\nexport const themeDefaults: ThemeDefaults = {\n button: {\n main: buttonDefaults,\n spinner: buttonSpinnerDefaults,\n },\n iconButton: iconButtonDefaults,\n badge: badgeDefaults,\n icon: iconDefaults,\n chip: chipDefaults,\n code: codeDefaults,\n kbd: kbdDefaults,\n mark: markDefaults,\n card: {\n main: cardDefaults,\n header: cardHeaderDefaults,\n body: cardBodyDefaults,\n footer: cardFooterDefaults,\n },\n divider: dividerDefaults,\n container: containerDefaults,\n row: rowDefaults,\n col: colDefaults,\n stack: stackDefaults,\n section: sectionDefaults,\n grid2: gridDefaults,\n grid3: gridDefaults,\n grid4: gridDefaults,\n grid5: gridDefaults,\n grid6: gridDefaults,\n pageTitle: pageTitleDefaults,\n sectionTitle: sectionTitleDefaults,\n title: titleDefaults,\n text: textDefaults,\n blockquote: blockquoteDefaults,\n blockquoteCite: blockquoteCiteDefaults,\n link: linkDefaults,\n listItem: listItemDefaults,\n list: listDefaults,\n checkbox: {\n input: checkboxInputDefaults,\n check: checkboxCheckDefaults,\n indeterminate: checkboxIndeterminateDefaults,\n wrapper: checkboxWrapperDefaults,\n },\n label: labelDefaults,\n field: {\n main: fieldDefaults,\n label: fieldLabelDefaults,\n description: fieldDescriptionDefaults,\n error: fieldErrorDefaults,\n },\n img: imgDefaults,\n input: inputDefaults,\n inputErrorIcon: inputErrorIconDefaults,\n inputWrapper: inputWrapperDefaults,\n textarea: textareaDefaults,\n select: selectDefaults,\n selectChevron: selectChevronDefaults,\n selectWrapper: selectWrapperDefaults,\n switch: {\n input: switchInputDefaults,\n thumb: switchThumbDefaults,\n wrapper: switchWrapperDefaults,\n },\n radio: {\n input: radioInputDefaults,\n dot: radioDotDefaults,\n wrapper: radioWrapperDefaults,\n },\n radioGroup: radioGroupDefaults,\n overlay: overlayDefaults,\n modal: {\n content: modalContentDefaults,\n overlay: modalOverlayDefaults,\n header: modalHeaderDefaults,\n body: modalBodyDefaults,\n footer: modalFooterDefaults,\n closeButton: modalCloseButtonDefaults,\n },\n popup: popupDefaults,\n tooltip: tooltipDefaults,\n alert: alertDefaults,\n spinner: spinnerDefaults,\n menu: {\n item: menuItemDefaults,\n popup: menuPopupDefaults,\n divider: menuDividerDefaults,\n label: menuLabelDefaults,\n },\n navLink: {\n root: navLinkDefaults,\n label: navLinkLabelDefaults,\n },\n table: {\n main: tableDefaults,\n thead: theadDefaults,\n tbody: tbodyDefaults,\n tfoot: tfootDefaults,\n tr: trDefaults,\n th: thDefaults,\n td: tdDefaults,\n caption: captionDefaults,\n },\n};"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"defaults.mjs","sources":["../../../../../src/components/ui/theme/defaults.ts"],"sourcesContent":["import type { ThemeDefaults } from '../../themeContext';\n\nimport { buttonDefaults } from '../button/buttonDefaults';\nimport { buttonSpinnerDefaults } from '../button/buttonSpinnerDefaults';\nimport { iconButtonDefaults } from '../iconButton/iconButtonDefaults';\nimport { badgeDefaults } from '../badge/badgeDefaults';\nimport { iconDefaults } from '../icon/iconDefaults';\nimport { chipDefaults } from '../chip/chipDefaults';\nimport { codeDefaults } from '../code/codeDefaults';\nimport { cardDefaults } from '../card/cardDefaults';\nimport { cardHeaderDefaults } from '../card/cardHeaderDefaults';\nimport { cardBodyDefaults } from '../card/cardBodyDefaults';\nimport { cardFooterDefaults } from '../card/cardFooterDefaults';\nimport { dividerDefaults } from '../divider/dividerDefaults';\nimport { containerDefaults } from '../container/containerDefaults';\nimport { rowDefaults } from '../row/rowDefaults';\nimport { colDefaults } from '../col/colDefaults';\nimport { stackDefaults } from '../stack/stackDefaults';\nimport { sectionDefaults } from '../section/sectionDefaults';\nimport { gridDefaults } from '../grid/gridDefaults';\nimport { checkboxInputDefaults } from '../checkbox/checkboxInputDefaults';\nimport { checkboxCheckDefaults } from '../checkbox/checkboxCheckDefaults';\nimport { checkboxWrapperDefaults } from '../checkbox/checkboxWrapperDefaults';\nimport { checkboxIndeterminateDefaults } from '../checkbox/checkboxIndeterminateDefaults';\nimport { labelDefaults } from '../label/labelDefaults';\nimport { fieldDefaults } from '../field/fieldDefaults';\nimport { alertDefaults } from '../alert/alertDefaults';\nimport { spinnerDefaults } from '../spinner/spinnerDefaults';\nimport { tooltipDefaults } from '../tooltip/tooltipDefaults';\nimport { fieldLabelDefaults } from '../field/fieldLabelDefaults';\nimport { fieldDescriptionDefaults } from '../field/fieldDescriptionDefaults';\nimport { fieldErrorDefaults } from '../field/fieldErrorDefaults';\nimport { imgDefaults } from '../img/imgDefaults';\nimport { inputDefaults } from '../input/inputDefaults';\nimport { inputErrorIconDefaults } from '../input/inputErrorIconDefaults';\nimport { inputWrapperDefaults } from '../input/inputWrapperDefaults';\nimport { textareaDefaults } from '../textarea/textareaDefaults';\nimport { selectDefaults } from '../select/selectDefaults';\nimport { selectChevronDefaults } from '../select/selectChevronDefaults';\nimport { selectWrapperDefaults } from '../select/selectWrapperDefaults';\nimport { switchInputDefaults } from '../switch/switchInputDefaults';\nimport { switchThumbDefaults } from '../switch/switchThumbDefaults';\nimport { switchWrapperDefaults } from '../switch/switchWrapperDefaults';\nimport { radioInputDefaults } from '../radio/radioInputDefaults';\nimport { radioDotDefaults } from '../radio/radioDotDefaults';\nimport { radioWrapperDefaults } from '../radio/radioWrapperDefaults';\nimport { radioGroupDefaults } from '../radio/radioGroupDefaults';\nimport { overlayDefaults } from '../overlay/overlayDefaults';\nimport { kbdDefaults } from '../kbd/kbdDefaults';\nimport { markDefaults } from '../mark/markDefaults';\nimport { modalContentDefaults } from '../modal/modalContentDefaults';\nimport { modalOverlayDefaults } from '../modal/modalOverlayDefaults';\nimport { modalHeaderDefaults } from '../modal/modalHeaderDefaults';\nimport { modalBodyDefaults } from '../modal/modalBodyDefaults';\nimport { modalFooterDefaults } from '../modal/modalFooterDefaults';\nimport { modalCloseButtonDefaults } from '../modal/modalCloseButtonDefaults';\nimport { popupDefaults } from '../popup/popupDefaults';\nimport { menuItemDefaults } from '../menu/menuItemDefaults';\nimport { menuPopupDefaults } from '../menu/menuPopupDefaults';\nimport { menuDividerDefaults } from '../divider/menuDividerDefaults';\nimport { menuLabelDefaults } from '../menu/menuLabelDefaults';\nimport { navLinkDefaults } from '../navLink/navLinkDefaults';\nimport { navLinkLabelDefaults } from '../navLink/navLinkLabelDefaults';\nimport { tableDefaults } from '../table/tableDefaults';\nimport { theadDefaults } from '../table/theadDefaults';\nimport { tbodyDefaults } from '../table/tbodyDefaults';\nimport { tfootDefaults } from '../table/tfootDefaults';\nimport { trDefaults } from '../table/trDefaults';\nimport { thDefaults } from '../table/thDefaults';\nimport { tdDefaults } from '../table/tdDefaults';\nimport { captionDefaults } from '../table/captionDefaults';\nimport {\n pageTitleDefaults,\n sectionTitleDefaults,\n titleDefaults,\n textDefaults,\n blockquoteDefaults,\n blockquoteCiteDefaults,\n linkDefaults,\n listItemDefaults,\n listDefaults,\n} from '../typography';\n\nexport const themeDefaults: ThemeDefaults = {\n button: {\n main: buttonDefaults,\n spinner: buttonSpinnerDefaults,\n },\n iconButton: iconButtonDefaults,\n badge: badgeDefaults,\n icon: iconDefaults,\n chip: chipDefaults,\n code: codeDefaults,\n kbd: kbdDefaults,\n mark: markDefaults,\n card: {\n main: cardDefaults,\n header: cardHeaderDefaults,\n body: cardBodyDefaults,\n footer: cardFooterDefaults,\n },\n divider: dividerDefaults,\n container: containerDefaults,\n row: rowDefaults,\n col: colDefaults,\n stack: stackDefaults,\n section: sectionDefaults,\n grid2: gridDefaults,\n grid3: gridDefaults,\n grid4: gridDefaults,\n grid5: gridDefaults,\n grid6: gridDefaults,\n pageTitle: pageTitleDefaults,\n sectionTitle: sectionTitleDefaults,\n title: titleDefaults,\n text: textDefaults,\n blockquote: blockquoteDefaults,\n blockquoteCite: blockquoteCiteDefaults,\n link: linkDefaults,\n listItem: listItemDefaults,\n list: listDefaults,\n checkbox: {\n input: checkboxInputDefaults,\n check: checkboxCheckDefaults,\n indeterminate: checkboxIndeterminateDefaults,\n wrapper: checkboxWrapperDefaults,\n },\n label: labelDefaults,\n field: {\n main: fieldDefaults,\n label: fieldLabelDefaults,\n description: fieldDescriptionDefaults,\n error: fieldErrorDefaults,\n },\n img: imgDefaults,\n input: inputDefaults,\n inputErrorIcon: inputErrorIconDefaults,\n inputWrapper: inputWrapperDefaults,\n textarea: textareaDefaults,\n select: selectDefaults,\n selectChevron: selectChevronDefaults,\n selectWrapper: selectWrapperDefaults,\n switch: {\n input: switchInputDefaults,\n thumb: switchThumbDefaults,\n wrapper: switchWrapperDefaults,\n },\n radio: {\n input: radioInputDefaults,\n dot: radioDotDefaults,\n wrapper: radioWrapperDefaults,\n },\n radioGroup: radioGroupDefaults,\n overlay: overlayDefaults,\n modal: {\n content: modalContentDefaults,\n overlay: modalOverlayDefaults,\n header: modalHeaderDefaults,\n body: modalBodyDefaults,\n footer: modalFooterDefaults,\n closeButton: modalCloseButtonDefaults,\n },\n popup: popupDefaults,\n tooltip: tooltipDefaults,\n alert: alertDefaults,\n spinner: spinnerDefaults,\n menu: {\n item: menuItemDefaults,\n popup: menuPopupDefaults,\n divider: menuDividerDefaults,\n label: menuLabelDefaults,\n },\n navLink: {\n root: navLinkDefaults,\n label: navLinkLabelDefaults,\n },\n table: {\n main: tableDefaults,\n thead: theadDefaults,\n tbody: tbodyDefaults,\n tfoot: tfootDefaults,\n tr: trDefaults,\n th: thDefaults,\n td: tdDefaults,\n caption: captionDefaults,\n },\n};"],"names":[],"mappings":"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"}
|
|
@@ -18,7 +18,6 @@ export { pageTitleDefaults } from './pageTitle/pageTitleDefaults.mjs';
|
|
|
18
18
|
export { defaultPageTitleTheme, pageTitleTheme } from './pageTitle/defaultPageTitleTheme.mjs';
|
|
19
19
|
export { Link } from './link/Link.mjs';
|
|
20
20
|
export { linkDefaults } from './link/linkDefaults.mjs';
|
|
21
|
-
import './link/LinkCategories.mjs';
|
|
22
21
|
export { defaultLinkTheme, linkTheme } from './link/defaultLinkTheme.mjs';
|
|
23
22
|
export { List } from './list/List.mjs';
|
|
24
23
|
export { listDefaults } from './list/listDefaults.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -100,8 +100,6 @@ export { NavLink } from './components/ui/navLink/NavLink.mjs';
|
|
|
100
100
|
import './components/ui/navLink/defaultNavLinkTheme.mjs';
|
|
101
101
|
import './components/ui/navLink/NavLinkLabelCategories.mjs';
|
|
102
102
|
import './components/ui/navLink/defaultNavLinkLabelTheme.mjs';
|
|
103
|
-
export { Col } from './components/ui/col/Col.mjs';
|
|
104
|
-
export { Row } from './components/ui/row/Row.mjs';
|
|
105
103
|
export { Table } from './components/ui/table/Table.mjs';
|
|
106
104
|
import './components/ui/table/TableCategories.mjs';
|
|
107
105
|
import './components/ui/table/defaultTableTheme.mjs';
|
|
@@ -123,20 +121,6 @@ export { Caption } from './components/ui/table/Caption.mjs';
|
|
|
123
121
|
import './components/ui/table/CaptionCategories.mjs';
|
|
124
122
|
import './components/ui/table/defaultCaptionTheme.mjs';
|
|
125
123
|
import './components/ui/typography/common/TypographyCategories.mjs';
|
|
126
|
-
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
127
|
-
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
128
|
-
import './components/ui/typography/blockquote/defaultBlockquoteTheme.mjs';
|
|
129
|
-
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
130
|
-
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
131
|
-
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
132
|
-
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
133
|
-
import './components/ui/typography/link/LinkCategories.mjs';
|
|
134
|
-
import './components/ui/typography/link/defaultLinkTheme.mjs';
|
|
135
|
-
export { List } from './components/ui/typography/list/List.mjs';
|
|
136
|
-
import './components/ui/typography/list/defaultListTheme.mjs';
|
|
137
|
-
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
138
|
-
import './components/ui/typography/listItem/ListItemCategories.mjs';
|
|
139
|
-
import './components/ui/typography/listItem/defaultListItemTheme.mjs';
|
|
140
124
|
export { COMPONENT, ComponentCategories, ComponentKeys } from './components/ui/props/keys.mjs';
|
|
141
125
|
export { ThemeProvider } from './components/ThemeProvider.mjs';
|
|
142
126
|
export { defaultTheme } from './components/defaultTheme.mjs';
|
|
@@ -144,6 +128,8 @@ export { useTheme } from './components/themeContext.mjs';
|
|
|
144
128
|
export { themeDefaults } from './components/ui/theme/defaults.mjs';
|
|
145
129
|
export { Section } from './components/ui/section/Section.mjs';
|
|
146
130
|
export { Container } from './components/ui/container/Container.mjs';
|
|
131
|
+
export { Col } from './components/ui/col/Col.mjs';
|
|
132
|
+
export { Row } from './components/ui/row/Row.mjs';
|
|
147
133
|
export { Stack } from './components/ui/stack/Stack.mjs';
|
|
148
134
|
export { Grid2 } from './components/ui/grid/Grid2.mjs';
|
|
149
135
|
export { Grid3 } from './components/ui/grid/Grid3.mjs';
|
|
@@ -154,4 +140,12 @@ export { Card } from './components/ui/card/Card.mjs';
|
|
|
154
140
|
export { CardHeader } from './components/ui/card/CardHeader.mjs';
|
|
155
141
|
export { CardBody } from './components/ui/card/CardBody.mjs';
|
|
156
142
|
export { CardFooter } from './components/ui/card/CardFooter.mjs';
|
|
143
|
+
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
144
|
+
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
145
|
+
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
146
|
+
export { List } from './components/ui/typography/list/List.mjs';
|
|
147
|
+
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
148
|
+
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
149
|
+
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
150
|
+
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
157
151
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Label: import("react").ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").FontWeightProps & import("../props/index.cjs").FontStyleProps & import("../props/index.cjs").TextDecorationProps & import("../props/index.cjs").TextTransformProps & import("../props/index.cjs").FontFamilyProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").SizeProps & import("../props/index.cjs").HideProps & import("../props/index.cjs").ItemsProps & import("../props/index.cjs").JustifyProps & import("../props/index.cjs").PositionProps & import("../props/index.cjs").DisplayProps & import("../props/index.cjs").OverflowProps & import("../props/index.cjs").WrapProps & import("../props/index.cjs").FlexProps & import("../props/index.cjs").ShrinkProps & import("../props/index.cjs").GapProps & import("../props/index.cjs").FlexDirectionProps & import("../props/index.cjs").AppearanceProps & import("../props/index.cjs").BorderProps & import("../props/index.cjs").ShadowProps & import("../props/index.cjs").RingProps & import("../props/index.cjs").VariantProps & import("../props/index.cjs").CursorProps & import("../props/index.cjs").WidthProps & import("../props/index.cjs").HeightProps & import("../props/index.cjs").ResponsiveProps & import("../props/index.cjs").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Label: import("react").ForwardRefExoticComponent<import("../props/index.cjs").BaseProps & import("../props/index.cjs").FontWeightProps & import("../props/index.cjs").FontStyleProps & import("../props/index.cjs").TextDecorationProps & import("../props/index.cjs").TextTransformProps & import("../props/index.cjs").FontFamilyProps & import("../props/index.cjs").TextAlignProps & import("../props/index.cjs").SizeProps & import("../props/index.cjs").HideProps & import("../props/index.cjs").ItemsProps & import("../props/index.cjs").JustifyProps & import("../props/index.cjs").PositionProps & import("../props/index.cjs").DisplayProps & import("../props/index.cjs").OverflowProps & import("../props/index.cjs").WrapProps & import("../props/index.cjs").FlexProps & import("../props/index.cjs").ShrinkProps & import("../props/index.cjs").GapProps & import("../props/index.cjs").FlexDirectionProps & import("../props/index.cjs").AppearanceProps & import("../props/index.cjs").BorderProps & import("../props/index.cjs").ShadowProps & import("../props/index.cjs").RingProps & import("../props/index.cjs").VariantProps & import("../props/index.cjs").DisabledProps & import("../props/index.cjs").CursorProps & import("../props/index.cjs").WidthProps & import("../props/index.cjs").HeightProps & import("../props/index.cjs").ResponsiveProps & import("../props/index.cjs").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
2
2
|
tag?: React.ElementType;
|
|
3
3
|
} & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Label: import("react").ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").FontWeightProps & import("../props/index.mjs").FontStyleProps & import("../props/index.mjs").TextDecorationProps & import("../props/index.mjs").TextTransformProps & import("../props/index.mjs").FontFamilyProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").SizeProps & import("../props/index.mjs").HideProps & import("../props/index.mjs").ItemsProps & import("../props/index.mjs").JustifyProps & import("../props/index.mjs").PositionProps & import("../props/index.mjs").DisplayProps & import("../props/index.mjs").OverflowProps & import("../props/index.mjs").WrapProps & import("../props/index.mjs").FlexProps & import("../props/index.mjs").ShrinkProps & import("../props/index.mjs").GapProps & import("../props/index.mjs").FlexDirectionProps & import("../props/index.mjs").AppearanceProps & import("../props/index.mjs").BorderProps & import("../props/index.mjs").ShadowProps & import("../props/index.mjs").RingProps & import("../props/index.mjs").VariantProps & import("../props/index.mjs").CursorProps & import("../props/index.mjs").WidthProps & import("../props/index.mjs").HeightProps & import("../props/index.mjs").ResponsiveProps & import("../props/index.mjs").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Label: import("react").ForwardRefExoticComponent<import("../props/index.mjs").BaseProps & import("../props/index.mjs").FontWeightProps & import("../props/index.mjs").FontStyleProps & import("../props/index.mjs").TextDecorationProps & import("../props/index.mjs").TextTransformProps & import("../props/index.mjs").FontFamilyProps & import("../props/index.mjs").TextAlignProps & import("../props/index.mjs").SizeProps & import("../props/index.mjs").HideProps & import("../props/index.mjs").ItemsProps & import("../props/index.mjs").JustifyProps & import("../props/index.mjs").PositionProps & import("../props/index.mjs").DisplayProps & import("../props/index.mjs").OverflowProps & import("../props/index.mjs").WrapProps & import("../props/index.mjs").FlexProps & import("../props/index.mjs").ShrinkProps & import("../props/index.mjs").GapProps & import("../props/index.mjs").FlexDirectionProps & import("../props/index.mjs").AppearanceProps & import("../props/index.mjs").BorderProps & import("../props/index.mjs").ShadowProps & import("../props/index.mjs").RingProps & import("../props/index.mjs").VariantProps & import("../props/index.mjs").DisabledProps & import("../props/index.mjs").CursorProps & import("../props/index.mjs").WidthProps & import("../props/index.mjs").HeightProps & import("../props/index.mjs").ResponsiveProps & import("../props/index.mjs").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
2
2
|
tag?: React.ElementType;
|
|
3
3
|
} & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Label: import("react").ForwardRefExoticComponent<import("../props").BaseProps & import("../props").FontWeightProps & import("../props").FontStyleProps & import("../props").TextDecorationProps & import("../props").TextTransformProps & import("../props").FontFamilyProps & import("../props").TextAlignProps & import("../props").SizeProps & import("../props").HideProps & import("../props").ItemsProps & import("../props").JustifyProps & import("../props").PositionProps & import("../props").DisplayProps & import("../props").OverflowProps & import("../props").WrapProps & import("../props").FlexProps & import("../props").ShrinkProps & import("../props").GapProps & import("../props").FlexDirectionProps & import("../props").AppearanceProps & import("../props").BorderProps & import("../props").ShadowProps & import("../props").RingProps & import("../props").VariantProps & import("../props").CursorProps & import("../props").WidthProps & import("../props").HeightProps & import("../props").ResponsiveProps & import("../props").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
1
|
+
export declare const Label: import("react").ForwardRefExoticComponent<import("../props").BaseProps & import("../props").FontWeightProps & import("../props").FontStyleProps & import("../props").TextDecorationProps & import("../props").TextTransformProps & import("../props").FontFamilyProps & import("../props").TextAlignProps & import("../props").SizeProps & import("../props").HideProps & import("../props").ItemsProps & import("../props").JustifyProps & import("../props").PositionProps & import("../props").DisplayProps & import("../props").OverflowProps & import("../props").WrapProps & import("../props").FlexProps & import("../props").ShrinkProps & import("../props").GapProps & import("../props").FlexDirectionProps & import("../props").AppearanceProps & import("../props").BorderProps & import("../props").ShadowProps & import("../props").RingProps & import("../props").VariantProps & import("../props").DisabledProps & import("../props").CursorProps & import("../props").WidthProps & import("../props").HeightProps & import("../props").ResponsiveProps & import("../props").TruncateProps & Omit<import("react").LabelHTMLAttributes<HTMLLabelElement>, "className" | "children"> & {
|
|
2
2
|
tag?: React.ElementType;
|
|
3
3
|
} & import("react").RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing"];
|
|
1
|
+
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
2
2
|
/**
|
|
3
3
|
* Categories for label form components with typography support.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing"];
|
|
1
|
+
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
2
2
|
/**
|
|
3
3
|
* Categories for label form components with typography support.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing"];
|
|
1
|
+
declare const LABEL_CATEGORIES_RAW: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "truncate", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "flex", "shrink", "appearance", "border", "shadow", "ring", "variant", "cursor", "width", "height", "transparent", "responsiveSizing", "disabled"];
|
|
2
2
|
/**
|
|
3
3
|
* Categories for label form components with typography support.
|
|
4
4
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props/index.cjs";
|
|
2
|
+
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, DisabledProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props/index.cjs";
|
|
3
3
|
/** Label component props */
|
|
4
|
-
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
4
|
+
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & DisabledProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Custom HTML tag or React component to render as */
|
|
6
6
|
tag?: React.ElementType;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props/index.mjs";
|
|
2
|
+
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, DisabledProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props/index.mjs";
|
|
3
3
|
/** Label component props */
|
|
4
|
-
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
4
|
+
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & DisabledProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Custom HTML tag or React component to render as */
|
|
6
6
|
tag?: React.ElementType;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props";
|
|
2
|
+
import type { BaseProps, FontWeightProps, FontStyleProps, TextDecorationProps, TextTransformProps, FontFamilyProps, TextAlignProps, SizeProps, HideProps, ItemsProps, JustifyProps, PositionProps, DisplayProps, OverflowProps, WrapProps, FlexProps, ShrinkProps, GapProps, FlexDirectionProps, AppearanceProps, BorderProps, ShadowProps, RingProps, VariantProps, DisabledProps, CursorProps, WidthProps, HeightProps, ResponsiveProps, TruncateProps } from "../props";
|
|
3
3
|
/** Label component props */
|
|
4
|
-
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
4
|
+
export type LabelProps = BaseProps & FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAlignProps & SizeProps & HideProps & ItemsProps & JustifyProps & PositionProps & DisplayProps & OverflowProps & WrapProps & FlexProps & ShrinkProps & GapProps & FlexDirectionProps & AppearanceProps & BorderProps & ShadowProps & RingProps & VariantProps & DisabledProps & CursorProps & WidthProps & HeightProps & ResponsiveProps & TruncateProps & Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'className' | 'children'> & {
|
|
5
5
|
/** Custom HTML tag or React component to render as */
|
|
6
6
|
tag?: React.ElementType;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseTypographyComponentTheme, DefaultSizedLayoutClassMappers } from "../theme/common/index.cjs";
|
|
2
2
|
import type { BorderClassMapper, RingClassMapper, WrapClassMapper, DirectionClassMapper, CursorClassMapper, FlexClassMapper, ShrinkClassMapper } from "../theme/layout/index.cjs";
|
|
3
3
|
import type { GapClassMapper, FontSizeClassMapper, LineHeightClassMapper } from "../theme/size/index.cjs";
|
|
4
|
-
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper } from "../theme/appearance/index.cjs";
|
|
4
|
+
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper, DisabledOpacityClassMapper } from "../theme/appearance/index.cjs";
|
|
5
5
|
export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
6
6
|
size: {
|
|
7
7
|
text: FontSizeClassMapper;
|
|
@@ -22,5 +22,6 @@ export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
|
22
22
|
cursor: CursorClassMapper;
|
|
23
23
|
flex: FlexClassMapper;
|
|
24
24
|
shrink: ShrinkClassMapper;
|
|
25
|
+
disabled: DisabledOpacityClassMapper;
|
|
25
26
|
};
|
|
26
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseTypographyComponentTheme, DefaultSizedLayoutClassMappers } from "../theme/common/index.mjs";
|
|
2
2
|
import type { BorderClassMapper, RingClassMapper, WrapClassMapper, DirectionClassMapper, CursorClassMapper, FlexClassMapper, ShrinkClassMapper } from "../theme/layout/index.mjs";
|
|
3
3
|
import type { GapClassMapper, FontSizeClassMapper, LineHeightClassMapper } from "../theme/size/index.mjs";
|
|
4
|
-
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper } from "../theme/appearance/index.mjs";
|
|
4
|
+
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper, DisabledOpacityClassMapper } from "../theme/appearance/index.mjs";
|
|
5
5
|
export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
6
6
|
size: {
|
|
7
7
|
text: FontSizeClassMapper;
|
|
@@ -22,5 +22,6 @@ export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
|
22
22
|
cursor: CursorClassMapper;
|
|
23
23
|
flex: FlexClassMapper;
|
|
24
24
|
shrink: ShrinkClassMapper;
|
|
25
|
+
disabled: DisabledOpacityClassMapper;
|
|
25
26
|
};
|
|
26
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseTypographyComponentTheme, DefaultSizedLayoutClassMappers } from "../theme/common";
|
|
2
2
|
import type { BorderClassMapper, RingClassMapper, WrapClassMapper, DirectionClassMapper, CursorClassMapper, FlexClassMapper, ShrinkClassMapper } from "../theme/layout";
|
|
3
3
|
import type { GapClassMapper, FontSizeClassMapper, LineHeightClassMapper } from "../theme/size";
|
|
4
|
-
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper } from "../theme/appearance";
|
|
4
|
+
import type { SimpleConsumerClassMapper, ShadowAppearanceClassMapper, DisabledOpacityClassMapper } from "../theme/appearance";
|
|
5
5
|
export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
6
6
|
size: {
|
|
7
7
|
text: FontSizeClassMapper;
|
|
@@ -22,5 +22,6 @@ export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
|
22
22
|
cursor: CursorClassMapper;
|
|
23
23
|
flex: FlexClassMapper;
|
|
24
24
|
shrink: ShrinkClassMapper;
|
|
25
|
+
disabled: DisabledOpacityClassMapper;
|
|
25
26
|
};
|
|
26
27
|
}
|