@vaneui/ui 0.1.0 → 0.1.2

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.
Files changed (127) hide show
  1. package/package.json +2 -6
  2. package/dist/components/complex/index.d.ts +0 -1
  3. package/dist/components/complex/index.js +0 -132
  4. package/dist/components/complex/index.js.map +0 -1
  5. package/dist/components/complex/sharer.d.ts +0 -39
  6. package/dist/components/theme/components/theme/index.d.ts +0 -1
  7. package/dist/components/theme/components/theme/themeContext.d.ts +0 -50
  8. package/dist/components/theme/components/ui/classes/appearanceClasses.d.ts +0 -13
  9. package/dist/components/theme/components/ui/classes/spacingClasses.d.ts +0 -2
  10. package/dist/components/theme/components/ui/classes/typographyClasses.d.ts +0 -10
  11. package/dist/components/theme/components/ui/props/keys.d.ts +0 -81
  12. package/dist/components/theme/components/ui/props/props.d.ts +0 -43
  13. package/dist/components/theme/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +0 -10
  14. package/dist/components/theme/components/ui/theme/appearance/textAppearanceTheme.d.ts +0 -10
  15. package/dist/components/theme/components/ui/theme/appearance/variantTheme.d.ts +0 -15
  16. package/dist/components/theme/components/ui/theme/badgeTheme.d.ts +0 -32
  17. package/dist/components/theme/components/ui/theme/buttonTheme.d.ts +0 -32
  18. package/dist/components/theme/components/ui/theme/cardTheme.d.ts +0 -37
  19. package/dist/components/theme/components/ui/theme/chipTheme.d.ts +0 -32
  20. package/dist/components/theme/components/ui/theme/colTheme.d.ts +0 -15
  21. package/dist/components/theme/components/ui/theme/common/ComponentTheme.d.ts +0 -52
  22. package/dist/components/theme/components/ui/theme/common/baseTheme.d.ts +0 -12
  23. package/dist/components/theme/components/ui/theme/containerTheme.d.ts +0 -31
  24. package/dist/components/theme/components/ui/theme/dividerTheme.d.ts +0 -9
  25. package/dist/components/theme/components/ui/theme/gridTheme.d.ts +0 -10
  26. package/dist/components/theme/components/ui/theme/layout/borderTheme.d.ts +0 -9
  27. package/dist/components/theme/components/ui/theme/layout/directionTheme.d.ts +0 -9
  28. package/dist/components/theme/components/ui/theme/layout/displayTheme.d.ts +0 -9
  29. package/dist/components/theme/components/ui/theme/layout/hideTheme.d.ts +0 -9
  30. package/dist/components/theme/components/ui/theme/layout/itemsTheme.d.ts +0 -9
  31. package/dist/components/theme/components/ui/theme/layout/justifyTheme.d.ts +0 -9
  32. package/dist/components/theme/components/ui/theme/layout/positionTheme.d.ts +0 -9
  33. package/dist/components/theme/components/ui/theme/layout/radiusTheme.d.ts +0 -9
  34. package/dist/components/theme/components/ui/theme/layout/ringTheme.d.ts +0 -9
  35. package/dist/components/theme/components/ui/theme/layout/shadowTheme.d.ts +0 -9
  36. package/dist/components/theme/components/ui/theme/layout/wrapTheme.d.ts +0 -9
  37. package/dist/components/theme/components/ui/theme/rowTheme.d.ts +0 -15
  38. package/dist/components/theme/components/ui/theme/sectionTheme.d.ts +0 -34
  39. package/dist/components/theme/components/ui/theme/size/breakpointTheme.d.ts +0 -9
  40. package/dist/components/theme/components/ui/theme/size/gapTheme.d.ts +0 -9
  41. package/dist/components/theme/components/ui/theme/size/pxTheme.d.ts +0 -9
  42. package/dist/components/theme/components/ui/theme/size/pyTheme.d.ts +0 -9
  43. package/dist/components/theme/components/ui/theme/size/sizeTheme.d.ts +0 -9
  44. package/dist/components/theme/components/ui/theme/stackTheme.d.ts +0 -19
  45. package/dist/components/theme/components/ui/theme/typography/fontFamilyTheme.d.ts +0 -9
  46. package/dist/components/theme/components/ui/theme/typography/fontStyleTheme.d.ts +0 -9
  47. package/dist/components/theme/components/ui/theme/typography/fontWeightTheme.d.ts +0 -9
  48. package/dist/components/theme/components/ui/theme/typography/textAlignTheme.d.ts +0 -9
  49. package/dist/components/theme/components/ui/theme/typography/textDecorationTheme.d.ts +0 -9
  50. package/dist/components/theme/components/ui/theme/typography/textTransformTheme.d.ts +0 -9
  51. package/dist/components/theme/components/ui/theme/typographyComponentTheme.d.ts +0 -22
  52. package/dist/components/theme/components/utils/componentUtils.d.ts +0 -4
  53. package/dist/components/theme/components/utils/deepMerge.d.ts +0 -4
  54. package/dist/components/theme/components/utils/deepPartial.d.ts +0 -3
  55. package/dist/components/theme/index.d.ts +0 -1
  56. package/dist/components/theme/index.js +0 -4625
  57. package/dist/components/theme/index.js.map +0 -1
  58. package/dist/components/theme/themeContext.d.ts +0 -50
  59. package/dist/components/ui/badge.d.ts +0 -3
  60. package/dist/components/ui/button.d.ts +0 -3
  61. package/dist/components/ui/card.d.ts +0 -3
  62. package/dist/components/ui/chip.d.ts +0 -3
  63. package/dist/components/ui/classes/appearanceClasses.d.ts +0 -13
  64. package/dist/components/ui/classes/spacingClasses.d.ts +0 -2
  65. package/dist/components/ui/classes/typographyClasses.d.ts +0 -10
  66. package/dist/components/ui/col.d.ts +0 -3
  67. package/dist/components/ui/container.d.ts +0 -3
  68. package/dist/components/ui/divider.d.ts +0 -3
  69. package/dist/components/ui/grid.d.ts +0 -4
  70. package/dist/components/ui/layout.d.ts +0 -7
  71. package/dist/components/ui/props/keys.d.ts +0 -81
  72. package/dist/components/ui/props/props.d.ts +0 -43
  73. package/dist/components/ui/row.d.ts +0 -3
  74. package/dist/components/ui/section.d.ts +0 -3
  75. package/dist/components/ui/stack.d.ts +0 -3
  76. package/dist/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +0 -10
  77. package/dist/components/ui/theme/appearance/textAppearanceTheme.d.ts +0 -10
  78. package/dist/components/ui/theme/appearance/variantTheme.d.ts +0 -15
  79. package/dist/components/ui/theme/badgeTheme.d.ts +0 -32
  80. package/dist/components/ui/theme/buttonTheme.d.ts +0 -32
  81. package/dist/components/ui/theme/cardTheme.d.ts +0 -37
  82. package/dist/components/ui/theme/chipTheme.d.ts +0 -32
  83. package/dist/components/ui/theme/colTheme.d.ts +0 -15
  84. package/dist/components/ui/theme/common/ComponentTheme.d.ts +0 -52
  85. package/dist/components/ui/theme/common/baseTheme.d.ts +0 -12
  86. package/dist/components/ui/theme/containerTheme.d.ts +0 -31
  87. package/dist/components/ui/theme/dividerTheme.d.ts +0 -9
  88. package/dist/components/ui/theme/gridTheme.d.ts +0 -10
  89. package/dist/components/ui/theme/layout/borderTheme.d.ts +0 -9
  90. package/dist/components/ui/theme/layout/directionTheme.d.ts +0 -9
  91. package/dist/components/ui/theme/layout/displayTheme.d.ts +0 -9
  92. package/dist/components/ui/theme/layout/hideTheme.d.ts +0 -9
  93. package/dist/components/ui/theme/layout/itemsTheme.d.ts +0 -9
  94. package/dist/components/ui/theme/layout/justifyTheme.d.ts +0 -9
  95. package/dist/components/ui/theme/layout/positionTheme.d.ts +0 -9
  96. package/dist/components/ui/theme/layout/radiusTheme.d.ts +0 -9
  97. package/dist/components/ui/theme/layout/ringTheme.d.ts +0 -9
  98. package/dist/components/ui/theme/layout/shadowTheme.d.ts +0 -9
  99. package/dist/components/ui/theme/layout/wrapTheme.d.ts +0 -9
  100. package/dist/components/ui/theme/rowTheme.d.ts +0 -15
  101. package/dist/components/ui/theme/sectionTheme.d.ts +0 -34
  102. package/dist/components/ui/theme/size/breakpointTheme.d.ts +0 -9
  103. package/dist/components/ui/theme/size/gapTheme.d.ts +0 -9
  104. package/dist/components/ui/theme/size/pxTheme.d.ts +0 -9
  105. package/dist/components/ui/theme/size/pyTheme.d.ts +0 -9
  106. package/dist/components/ui/theme/size/sizeTheme.d.ts +0 -9
  107. package/dist/components/ui/theme/stackTheme.d.ts +0 -19
  108. package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts +0 -9
  109. package/dist/components/ui/theme/typography/fontStyleTheme.d.ts +0 -9
  110. package/dist/components/ui/theme/typography/fontWeightTheme.d.ts +0 -9
  111. package/dist/components/ui/theme/typography/textAlignTheme.d.ts +0 -9
  112. package/dist/components/ui/theme/typography/textDecorationTheme.d.ts +0 -9
  113. package/dist/components/ui/theme/typography/textTransformTheme.d.ts +0 -9
  114. package/dist/components/ui/theme/typographyComponentTheme.d.ts +0 -22
  115. package/dist/components/ui/typography.d.ts +0 -9
  116. package/dist/components/utils/buildComponent.d.ts +0 -7
  117. package/dist/components/utils/componentUtils.d.ts +0 -4
  118. package/dist/components/utils/deepMerge.d.ts +0 -4
  119. package/dist/components/utils/deepPartial.d.ts +0 -3
  120. package/dist/components/utils/tests/deepMerge.test.d.ts +0 -1
  121. package/dist/index.d.ts +0 -8
  122. package/dist/index.esm.js +0 -4723
  123. package/dist/index.esm.js.map +0 -1
  124. package/dist/index.js +0 -4747
  125. package/dist/index.js.map +0 -1
  126. package/dist/ui.css +0 -2049
  127. package/dist/vars.css +0 -132
@@ -1,81 +0,0 @@
1
- export declare const MODE_KEYS: readonly ["base", "hover", "active"];
2
- export declare const SIZE_KEYS: readonly ["xs", "sm", "md", "lg", "xl"];
3
- export declare const VARIANT_KEYS: readonly ["filled", "outline"];
4
- export declare const APPEARANCE_KEYS: readonly ["default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
5
- export declare const TEXT_APPEARANCE_KEYS: readonly ["default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link"];
6
- export declare const FONT_FAMILY_KEYS: readonly ["sans", "serif", "mono"];
7
- export declare const FONT_WEIGHT_KEYS: readonly ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"];
8
- export declare const FONT_STYLE_KEYS: readonly ["italic", "notItalic"];
9
- export declare const TEXT_DECORATION_KEYS: readonly ["underline", "lineThrough", "noUnderline", "overline"];
10
- export declare const TEXT_TRANSFORM_KEYS: readonly ["uppercase", "lowercase", "capitalize", "normalCase"];
11
- export declare const TEXT_ALIGN_KEYS: readonly ["textLeft", "textCenter", "textRight", "textJustify"];
12
- export declare const BORDER_KEYS: readonly ["border", "noBorder"];
13
- export declare const SHADOW_KEYS: readonly ["shadow", "noShadow"];
14
- export declare const RING_KEYS: readonly ["ring", "noRing"];
15
- export declare const PADDING_KEYS: readonly ["padding", "noPadding"];
16
- export declare const BREAKPOINT_KEYS: readonly ["xsCol", "smCol", "mdCol", "lgCol", "xlCol"];
17
- export declare const HIDE_KEYS: readonly ["xsHide", "smHide", "mdHide", "lgHide", "xlHide"];
18
- export declare const POSITION_KEYS: readonly ["relative", "absolute", "fixed", "sticky", "static"];
19
- export declare const DIRECTION_REVERSE_KEYS: readonly ["reverse"];
20
- export declare const GAP_KEYS: readonly ["gap", "noGap"];
21
- export declare const PILL_KEYS: readonly ["pill"];
22
- export declare const SHARP_KEYS: readonly ["sharp"];
23
- export declare const ROUNDED_KEYS: readonly ["rounded"];
24
- export declare const SHAPE_KEYS: readonly ["pill", "sharp", "rounded"];
25
- export declare const FLEX_DIRECTION_KEYS: readonly ["row", "column", "rowReverse", "columnReverse"];
26
- export declare const ITEMS_KEYS: readonly ["itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch"];
27
- export declare const JUSTIFY_KEYS: readonly ["justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline"];
28
- export declare const WRAP_KEYS: readonly ["flexWrap", "flexNoWrap", "flexWrapReverse"];
29
- export declare const DISPLAY_KEYS: readonly ["inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden"];
30
- export declare const EXCLUSIVE_KEY_GROUPS: (readonly ["base", "hover", "active"] | readonly ["xs", "sm", "md", "lg", "xl"] | readonly ["filled", "outline"] | readonly ["default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link"] | readonly ["sans", "serif", "mono"] | readonly ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"] | readonly ["italic", "notItalic"] | readonly ["underline", "lineThrough", "noUnderline", "overline"] | readonly ["uppercase", "lowercase", "capitalize", "normalCase"] | readonly ["textLeft", "textCenter", "textRight", "textJustify"] | readonly ["border", "noBorder"] | readonly ["shadow", "noShadow"] | readonly ["ring", "noRing"] | readonly ["padding", "noPadding"] | readonly ["xsCol", "smCol", "mdCol", "lgCol", "xlCol"] | readonly ["xsHide", "smHide", "mdHide", "lgHide", "xlHide"] | readonly ["relative", "absolute", "fixed", "sticky", "static"] | readonly ["reverse"] | readonly ["gap", "noGap"] | readonly ["pill", "sharp", "rounded"] | readonly ["row", "column", "rowReverse", "columnReverse"] | readonly ["itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch"] | readonly ["justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline"] | readonly ["flexWrap", "flexNoWrap", "flexWrapReverse"] | readonly ["inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden"])[];
31
- export type ModeKey = typeof MODE_KEYS[number];
32
- export type SizeKey = typeof SIZE_KEYS[number];
33
- export type RingKey = typeof RING_KEYS[number];
34
- export type ShapeKey = typeof SHAPE_KEYS[number];
35
- export type BorderKey = typeof BORDER_KEYS[number];
36
- export type ShadowKey = typeof SHADOW_KEYS[number];
37
- export type PaddingKey = typeof PADDING_KEYS[number];
38
- export type GapKey = typeof GAP_KEYS[number];
39
- export type VariantKey = typeof VARIANT_KEYS[number];
40
- export type AppearanceKey = typeof APPEARANCE_KEYS[number];
41
- export type TextAppearanceKey = typeof TEXT_APPEARANCE_KEYS[number];
42
- export type FontFamilyKey = typeof FONT_FAMILY_KEYS[number];
43
- export type FontWeightKey = typeof FONT_WEIGHT_KEYS[number];
44
- export type FontStyleKey = typeof FONT_STYLE_KEYS[number];
45
- export type TextDecorationKey = typeof TEXT_DECORATION_KEYS[number];
46
- export type TextTransformKey = typeof TEXT_TRANSFORM_KEYS[number];
47
- export type TextAlignKey = typeof TEXT_ALIGN_KEYS[number];
48
- export type BreakpointKey = typeof BREAKPOINT_KEYS[number];
49
- export type HideKey = typeof HIDE_KEYS[number];
50
- export type PositionKey = typeof POSITION_KEYS[number];
51
- export type FlexDirectionKey = typeof FLEX_DIRECTION_KEYS[number];
52
- export type ItemsKey = typeof ITEMS_KEYS[number];
53
- export type JustifyKey = typeof JUSTIFY_KEYS[number];
54
- export type WrapKey = typeof WRAP_KEYS[number];
55
- export type DisplayKey = typeof DISPLAY_KEYS[number];
56
- export declare const BASE_COMPONENT_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden"];
57
- export declare const FONT_KEYS: readonly ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify"];
58
- export declare const TYPOGRAPHY_COMPONENT_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify"];
59
- export type TypographyComponentKey = typeof TYPOGRAPHY_COMPONENT_KEYS[number];
60
- export declare const BUTTON_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify", "pill", "sharp", "rounded", "border", "noBorder", "shadow", "noShadow", "ring", "noRing", "gap", "noGap", "padding", "noPadding", "filled", "outline", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
61
- export type ButtonKey = typeof BUTTON_KEYS[number];
62
- export declare const GRID_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "gap", "noGap", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
63
- export type GridKey = typeof GRID_KEYS[number];
64
- export declare const ROW_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
65
- export type RowKey = typeof ROW_KEYS[number];
66
- export declare const COL_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
67
- export type ColKey = typeof COL_KEYS[number];
68
- export declare const CARD_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify", "gap", "noGap", "sharp", "rounded", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "border", "noBorder", "ring", "noRing", "shadow", "noShadow", "padding", "noPadding", "row", "column", "rowReverse", "columnReverse", "reverse", "flexWrap", "flexNoWrap", "flexWrapReverse"];
69
- export type CardKey = typeof CARD_KEYS[number];
70
- export declare const STACK_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "row", "column", "rowReverse", "columnReverse", "padding", "noPadding"];
71
- export type StackKey = typeof STACK_KEYS[number];
72
- export declare const BADGE_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify", "pill", "sharp", "rounded", "filled", "outline", "shadow", "noShadow", "border", "noBorder", "ring", "noRing", "gap", "noGap", "padding", "noPadding", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
73
- export type BadgeKey = typeof BADGE_KEYS[number];
74
- export declare const CHIP_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", "italic", "notItalic", "underline", "lineThrough", "noUnderline", "overline", "uppercase", "lowercase", "capitalize", "normalCase", "sans", "serif", "mono", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "muted", "link", "textLeft", "textCenter", "textRight", "textJustify", "pill", "sharp", "rounded", "filled", "outline", "shadow", "noShadow", "border", "noBorder", "ring", "noRing", "gap", "noGap", "padding", "noPadding", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
75
- export type ChipKey = typeof CHIP_KEYS[number];
76
- export declare const DIVIDER_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
77
- export type DividerKey = typeof DIVIDER_KEYS[number];
78
- export declare const CONTAINER_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "border", "noBorder", "shadow", "noShadow", "ring", "noRing", "gap", "noGap", "pill", "sharp", "rounded"];
79
- export type ContainerKey = typeof CONTAINER_KEYS[number];
80
- export declare const SECTION_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "relative", "absolute", "fixed", "sticky", "static", "inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden", "row", "column", "rowReverse", "columnReverse", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "padding", "noPadding", "reverse", "flexWrap", "flexNoWrap", "flexWrapReverse", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "gap", "noGap", "border", "noBorder", "shadow", "noShadow", "ring", "noRing", "pill", "sharp", "rounded"];
81
- export type SectionKey = typeof SECTION_KEYS[number];
@@ -1,43 +0,0 @@
1
- import React from "react";
2
- import { BadgeKey, ButtonKey, GridKey, RowKey, ColKey, CardKey, StackKey, ChipKey, DividerKey, ContainerKey, SectionKey, TypographyComponentKey } from "./keys";
3
- export type ComponentProps = {
4
- tag?: React.ReactNode | string | any;
5
- className?: string;
6
- children?: React.ReactNode;
7
- } & React.HTMLProps<HTMLElement>;
8
- export type TypographyComponentProps = {
9
- [K in TypographyComponentKey]?: boolean;
10
- } & ComponentProps;
11
- export type ButtonProps = {
12
- [K in ButtonKey]?: boolean;
13
- } & ComponentProps;
14
- export type BadgeProps = {
15
- [K in BadgeKey]?: boolean;
16
- } & ComponentProps;
17
- export type ChipProps = {
18
- [K in ChipKey]?: boolean;
19
- } & ComponentProps;
20
- export type GridProps = {
21
- [K in GridKey]?: boolean;
22
- } & ComponentProps;
23
- export type RowProps = {
24
- [K in RowKey]?: boolean;
25
- } & ComponentProps;
26
- export type ColProps = {
27
- [K in ColKey]?: boolean;
28
- } & ComponentProps;
29
- export type CardProps = {
30
- [K in CardKey]?: boolean;
31
- } & ComponentProps;
32
- export type StackProps = {
33
- [K in StackKey]?: boolean;
34
- } & ComponentProps;
35
- export type SectionProps = {
36
- [K in SectionKey]?: boolean;
37
- } & ComponentProps;
38
- export type DividerProps = {
39
- [K in DividerKey]?: boolean;
40
- } & ComponentProps;
41
- export type ContainerProps = {
42
- [K in ContainerKey]?: boolean;
43
- } & ComponentProps;
@@ -1,3 +0,0 @@
1
- import { JSX } from 'react';
2
- import { RowProps } from './props/props';
3
- export declare const Row: (props: RowProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { JSX } from 'react';
2
- import { SectionProps } from './props/props';
3
- export declare const Section: (props: SectionProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { JSX } from 'react';
2
- import { StackProps } from './props/props';
3
- export declare const Stack: (props: StackProps) => JSX.Element;
@@ -1,10 +0,0 @@
1
- import { BaseTheme } from "../common/baseTheme";
2
- import { AppearanceKey, ModeKey } from "../../props/keys";
3
- export interface LayoutAppearanceTheme extends Record<AppearanceKey, Record<ModeKey, string>> {
4
- }
5
- export declare class LayoutAppearanceTheme extends BaseTheme {
6
- static readonly defaultFullConfig: Record<AppearanceKey, Record<ModeKey, string>>;
7
- constructor(initialOverrides?: Partial<Record<AppearanceKey, Partial<Record<ModeKey, string>>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- static createDefaultStyle(src?: Partial<Record<ModeKey, Partial<Record<AppearanceKey, string>>>>): LayoutAppearanceTheme;
10
- }
@@ -1,10 +0,0 @@
1
- import { BaseTheme } from "../common/baseTheme";
2
- import { ModeKey, TextAppearanceKey } from "../../props/keys";
3
- export interface TextAppearanceTheme extends Record<TextAppearanceKey, Record<ModeKey, string>> {
4
- }
5
- export declare class TextAppearanceTheme extends BaseTheme {
6
- static readonly defaultFullConfig: Record<TextAppearanceKey, Record<ModeKey, string>>;
7
- constructor(initialOverrides?: Partial<Record<TextAppearanceKey, Partial<Record<ModeKey, string>>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- static createDefaultStyle(src?: Partial<Record<ModeKey, Partial<Record<TextAppearanceKey, string>>>>): TextAppearanceTheme;
10
- }
@@ -1,15 +0,0 @@
1
- import { BaseTheme } from "../common/baseTheme";
2
- import { VariantKey } from "../../props/keys";
3
- import { TextAppearanceTheme } from "./textAppearanceTheme";
4
- export interface VariantTheme extends Record<VariantKey, TextAppearanceTheme> {
5
- }
6
- export declare class VariantTheme extends BaseTheme {
7
- static readonly defaultInstances: Record<VariantKey, TextAppearanceTheme>;
8
- constructor(variantInstances?: Record<VariantKey, TextAppearanceTheme>);
9
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
10
- static createDefault(initialInstances?: Partial<Record<VariantKey, TextAppearanceTheme>>): VariantTheme;
11
- static createDefaultBackground(): VariantTheme;
12
- static createDefaultText(): VariantTheme;
13
- static createDefaultBorder(): VariantTheme;
14
- static createDefaultRing(): VariantTheme;
15
- }
@@ -1,32 +0,0 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
- import { BadgeProps } from "../props/props";
3
- import { SizeTheme } from "./size/sizeTheme";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { RadiusTheme } from "./layout/radiusTheme";
6
- import { BorderTheme } from "./layout/borderTheme";
7
- import { ShadowTheme } from "./layout/shadowTheme";
8
- import { RingTheme } from "./layout/ringTheme";
9
- import { PxTheme } from "./size/pxTheme";
10
- import { PyTheme } from "./size/pyTheme";
11
- import { VariantTheme } from "./appearance/variantTheme";
12
- export interface BadgeTheme<P> extends BaseComponentTheme<P> {
13
- size: {
14
- px: PxTheme;
15
- py: PyTheme;
16
- text: SizeTheme;
17
- gap: GapTheme;
18
- shadow: ShadowTheme;
19
- };
20
- appearance: {
21
- background: VariantTheme;
22
- text: VariantTheme;
23
- border: VariantTheme;
24
- ring: VariantTheme;
25
- };
26
- layout: DefaultLayoutThemes<P> & {
27
- border: BorderTheme;
28
- ring: RingTheme;
29
- radius: RadiusTheme;
30
- };
31
- }
32
- export declare const defaultBadgeTheme: ComponentTheme<BadgeProps, BadgeTheme<BadgeProps>>;
@@ -1,32 +0,0 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
- import { ButtonProps } from "../props/props";
3
- import { SizeTheme } from "./size/sizeTheme";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { RadiusTheme } from "./layout/radiusTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
- import { BorderTheme } from "./layout/borderTheme";
8
- import { RingTheme } from "./layout/ringTheme";
9
- import { PxTheme } from "./size/pxTheme";
10
- import { PyTheme } from "./size/pyTheme";
11
- import { VariantTheme } from "./appearance/variantTheme";
12
- export interface ButtonTheme<P> extends BaseComponentTheme<P> {
13
- size: {
14
- px: PxTheme;
15
- py: PyTheme;
16
- text: SizeTheme;
17
- gap: GapTheme;
18
- shadow: ShadowTheme;
19
- };
20
- appearance: {
21
- background: VariantTheme;
22
- text: VariantTheme;
23
- border: VariantTheme;
24
- ring: VariantTheme;
25
- };
26
- layout: DefaultLayoutThemes<P> & {
27
- border: BorderTheme;
28
- ring: RingTheme;
29
- radius: RadiusTheme;
30
- };
31
- }
32
- export declare const defaultButtonTheme: ComponentTheme<ButtonProps, ButtonTheme<ButtonProps>>;
@@ -1,37 +0,0 @@
1
- import { DirectionTheme } from "./layout/directionTheme";
2
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
3
- import { CardProps } from "../props/props";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { WrapTheme } from "./layout/wrapTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
- import { BorderTheme } from "./layout/borderTheme";
8
- import { RadiusTheme } from "./layout/radiusTheme";
9
- import { PxTheme } from "./size/pxTheme";
10
- import { PyTheme } from "./size/pyTheme";
11
- import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
12
- import { LayoutAppearanceTheme } from "./appearance/layoutAppearanceTheme";
13
- import { BreakpointTheme } from "./size/breakpointTheme";
14
- import { RingTheme } from "./layout/ringTheme";
15
- export interface CardTheme<P> extends BaseComponentTheme<P> {
16
- size: {
17
- px: PxTheme;
18
- py: PyTheme;
19
- gap: GapTheme;
20
- shadow: ShadowTheme;
21
- };
22
- layout: DefaultLayoutThemes<P> & {
23
- border: BorderTheme;
24
- radius: RadiusTheme;
25
- ring: RingTheme;
26
- wrap: WrapTheme;
27
- direction: DirectionTheme;
28
- breakpoint: BreakpointTheme;
29
- };
30
- appearance: {
31
- background: LayoutAppearanceTheme;
32
- text: TextAppearanceTheme;
33
- border: TextAppearanceTheme;
34
- ring: TextAppearanceTheme;
35
- };
36
- }
37
- export declare const defaultCardTheme: ComponentTheme<CardProps, CardTheme<CardProps>>;
@@ -1,32 +0,0 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
- import { ChipProps } from "../props/props";
3
- import { SizeTheme } from "./size/sizeTheme";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { RadiusTheme } from "./layout/radiusTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
- import { BorderTheme } from "./layout/borderTheme";
8
- import { RingTheme } from "./layout/ringTheme";
9
- import { PxTheme } from "./size/pxTheme";
10
- import { PyTheme } from "./size/pyTheme";
11
- import { VariantTheme } from "./appearance/variantTheme";
12
- export interface ChipTheme<P> extends BaseComponentTheme<P> {
13
- size: {
14
- px: PxTheme;
15
- py: PyTheme;
16
- text: SizeTheme;
17
- gap: GapTheme;
18
- shadow: ShadowTheme;
19
- };
20
- appearance: {
21
- background: VariantTheme;
22
- text: VariantTheme;
23
- border: VariantTheme;
24
- ring: VariantTheme;
25
- };
26
- layout: DefaultLayoutThemes<P> & {
27
- radius: RadiusTheme;
28
- border: BorderTheme;
29
- ring: RingTheme;
30
- };
31
- }
32
- export declare const defaultChipTheme: ComponentTheme<ChipProps, ChipTheme<ChipProps>>;
@@ -1,15 +0,0 @@
1
- import { DirectionTheme } from "./layout/directionTheme";
2
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
3
- import { ColProps } from "../props/props";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { WrapTheme } from "./layout/wrapTheme";
6
- export interface ColTheme<P> extends BaseComponentTheme<P> {
7
- size: {
8
- gap: GapTheme;
9
- };
10
- layout: DefaultLayoutThemes<P> & {
11
- wrap: WrapTheme;
12
- direction: DirectionTheme;
13
- };
14
- }
15
- export declare const defaultColTheme: ComponentTheme<ColProps, ColTheme<ColProps>>;
@@ -1,52 +0,0 @@
1
- import React from "react";
2
- import { BaseTheme } from "./baseTheme";
3
- import { HideTheme } from "../layout/hideTheme";
4
- import { ItemsTheme } from "../layout/itemsTheme";
5
- import { JustifyTheme } from "../layout/justifyTheme";
6
- import { PositionTheme } from "../layout/positionTheme";
7
- import { FontStyleTheme } from "../typography/fontStyleTheme";
8
- import { FontFamilyTheme } from "../typography/fontFamilyTheme";
9
- import { FontWeightTheme } from "../typography/fontWeightTheme";
10
- import { TextDecorationTheme } from "../typography/textDecorationTheme";
11
- import { TextTransformTheme } from "../typography/textTransformTheme";
12
- import { TextAlignTheme } from "../typography/textAlignTheme";
13
- import { DeepPartial } from "../../../utils/deepPartial";
14
- import { DisplayTheme } from "../layout/displayTheme";
15
- import { ComponentProps } from "../../props/props";
16
- type ThemeNode<P> = BaseTheme | ThemeMap<P>;
17
- export type ThemeMap<P> = {
18
- [key: string]: ThemeNode<P>;
19
- };
20
- export interface DefaultLayoutThemes<P> {
21
- hide: HideTheme;
22
- items: ItemsTheme;
23
- justify: JustifyTheme;
24
- position: PositionTheme;
25
- display: DisplayTheme;
26
- }
27
- export interface DefaultTypographyThemes<P> {
28
- fontFamily: FontFamilyTheme;
29
- fontWeight: FontWeightTheme;
30
- fontStyle: FontStyleTheme;
31
- textDecoration: TextDecorationTheme;
32
- textTransform: TextTransformTheme;
33
- textAlign: TextAlignTheme;
34
- }
35
- export interface BaseComponentTheme<P> {
36
- layout: DefaultLayoutThemes<P>;
37
- typography: DefaultTypographyThemes<P>;
38
- }
39
- export declare class ComponentTheme<P extends ComponentProps, TThemes extends object> {
40
- readonly tag: React.ElementType;
41
- readonly base: string;
42
- readonly themes: TThemes;
43
- defaults: Partial<P>;
44
- constructor(tag: React.ElementType, base: string, subThemes: DeepPartial<TThemes>, defaults?: Partial<P>);
45
- getClasses(props: P, defaults?: Partial<P>): string[];
46
- getComponentConfig(props: P, propsToOmit?: readonly string[]): {
47
- Tag: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
48
- finalClasses: string;
49
- finalProps: Omit<P, "tag" | "className">;
50
- };
51
- }
52
- export {};
@@ -1,12 +0,0 @@
1
- /**
2
- * Base Theme class that all theme types will extend
3
- */
4
- export declare abstract class BaseTheme {
5
- /**
6
- * Get CSS classes based on props
7
- * @param props Component props (only the real props the user passed)
8
- * @param defaults Component-level defaults
9
- * @returns CSS classes as an array of strings
10
- */
11
- abstract getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
12
- }
@@ -1,31 +0,0 @@
1
- import { DirectionTheme } from "./layout/directionTheme";
2
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
3
- import { ContainerProps } from "../props/props";
4
- import { GapTheme } from "./size/gapTheme";
5
- import { SizeTheme } from "./size/sizeTheme";
6
- import { WrapTheme } from "./layout/wrapTheme";
7
- import { BorderTheme } from "./layout/borderTheme";
8
- import { RingTheme } from "./layout/ringTheme";
9
- import { LayoutAppearanceTheme } from "./appearance/layoutAppearanceTheme";
10
- import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
11
- import { RadiusTheme } from "./layout/radiusTheme";
12
- export interface ContainerTheme<P> extends BaseComponentTheme<P> {
13
- size: {
14
- gap: GapTheme;
15
- maxWidth: SizeTheme;
16
- };
17
- layout: DefaultLayoutThemes<P> & {
18
- wrap: WrapTheme;
19
- direction: DirectionTheme;
20
- border: BorderTheme;
21
- ring: RingTheme;
22
- radius: RadiusTheme;
23
- };
24
- appearance: {
25
- background: LayoutAppearanceTheme;
26
- text: TextAppearanceTheme;
27
- border: TextAppearanceTheme;
28
- ring: TextAppearanceTheme;
29
- };
30
- }
31
- export declare const defaultContainerTheme: ComponentTheme<ContainerProps, ContainerTheme<ContainerProps>>;
@@ -1,9 +0,0 @@
1
- import { BaseComponentTheme, ComponentTheme } from "./common/ComponentTheme";
2
- import { DividerProps } from "../props/props";
3
- import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
4
- export interface DividerTheme<P> extends BaseComponentTheme<P> {
5
- appearance: {
6
- background: TextAppearanceTheme;
7
- };
8
- }
9
- export declare const defaultDividerTheme: ComponentTheme<DividerProps, DividerTheme<DividerProps>>;
@@ -1,10 +0,0 @@
1
- import { BaseComponentTheme, ComponentTheme } from "./common/ComponentTheme";
2
- import { GridProps } from "../props/props";
3
- import { GapTheme } from "./size/gapTheme";
4
- export interface GridTheme<P> extends BaseComponentTheme<P> {
5
- size: {
6
- gap: GapTheme;
7
- };
8
- }
9
- export declare const defaultGrid3Theme: ComponentTheme<GridProps, GridTheme<GridProps>>;
10
- export declare const defaultGrid4Theme: ComponentTheme<GridProps, GridTheme<GridProps>>;
@@ -1,9 +0,0 @@
1
- import { BaseTheme } from "../common/baseTheme";
2
- import { ModeKey, BorderKey } from "../../props/keys";
3
- export interface BorderTheme extends Record<BorderKey, Record<ModeKey, string>> {
4
- }
5
- export declare class BorderTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<BorderKey, Record<ModeKey, string>>;
7
- constructor(initial?: Partial<Record<BorderKey, Record<ModeKey, string>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { FlexDirectionKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface DirectionTheme extends Record<FlexDirectionKey, string> {
4
- }
5
- export declare class DirectionTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<FlexDirectionKey, string>;
7
- constructor(initial?: Partial<Record<FlexDirectionKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { DisplayKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface DisplayTheme extends Record<DisplayKey, string> {
4
- }
5
- export declare class DisplayTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<DisplayKey, string>;
7
- constructor(initialConfig?: Partial<Record<DisplayKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { HideKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface HideTheme extends Record<HideKey, string> {
4
- }
5
- export declare class HideTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<HideKey, string>;
7
- constructor(initialConfig?: Partial<Record<HideKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { ItemsKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface ItemsTheme extends Record<ItemsKey, string> {
4
- }
5
- export declare class ItemsTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<ItemsKey, string>;
7
- constructor(initialConfig?: Partial<Record<ItemsKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { JustifyKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface JustifyTheme extends Record<JustifyKey, string> {
4
- }
5
- export declare class JustifyTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<JustifyKey, string>;
7
- constructor(initialConfig?: Partial<Record<JustifyKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { PositionKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface PositionTheme extends Record<PositionKey, string> {
4
- }
5
- export declare class PositionTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<PositionKey, string>;
7
- constructor(initialConfig?: Partial<Record<PositionKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { ShapeKey, SizeKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface RadiusTheme extends Record<ShapeKey, string | Record<SizeKey, string>> {
4
- }
5
- export declare class RadiusTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<ShapeKey, string | Record<SizeKey, string>>;
7
- constructor(initial?: Partial<Record<ShapeKey, string | Record<SizeKey, string>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { BaseTheme } from "../common/baseTheme";
2
- import { ModeKey, RingKey } from "../../props/keys";
3
- export interface RingTheme extends Record<RingKey, Record<ModeKey, string>> {
4
- }
5
- export declare class RingTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<RingKey, Record<ModeKey, string>>;
7
- constructor(initial?: Partial<Record<RingKey, Record<ModeKey, string>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { SizeKey, ModeKey, ShadowKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface ShadowTheme extends Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>> {
4
- }
5
- export declare class ShadowTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>>;
7
- constructor(initial?: Partial<Record<ShadowKey, Record<ModeKey, string | Record<SizeKey, string>>>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }
@@ -1,9 +0,0 @@
1
- import { WrapKey } from "../../props/keys";
2
- import { BaseTheme } from "../common/baseTheme";
3
- export interface WrapTheme extends Record<WrapKey, string> {
4
- }
5
- export declare class WrapTheme extends BaseTheme {
6
- static readonly defaultClasses: Record<WrapKey, string>;
7
- constructor(initialConfig?: Partial<Record<WrapKey, string>>);
8
- getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
- }