@vaneui/ui 0.0.13 → 0.0.14

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 (129) hide show
  1. package/README.md +144 -1
  2. package/dist/all.css +1711 -86
  3. package/dist/complex.css +2697 -3
  4. package/dist/components/theme/components/theme/index.d.ts +1 -0
  5. package/dist/components/theme/components/theme/themeContext.d.ts +46 -0
  6. package/dist/components/theme/components/ui/classes/appearanceClasses.d.ts +13 -0
  7. package/dist/components/theme/components/ui/classes/layoutClasses.d.ts +13 -0
  8. package/dist/components/theme/components/ui/classes/spacingClasses.d.ts +2 -0
  9. package/dist/components/theme/components/ui/classes/typographyClasses.d.ts +10 -0
  10. package/dist/components/theme/components/ui/props/keys.d.ts +79 -0
  11. package/dist/components/theme/components/ui/props/props.d.ts +42 -0
  12. package/dist/components/theme/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +10 -0
  13. package/dist/components/theme/components/ui/theme/appearance/textAppearanceTheme.d.ts +10 -0
  14. package/dist/components/theme/components/ui/theme/appearance/variantTheme.d.ts +15 -0
  15. package/dist/components/theme/components/ui/theme/badgeTheme.d.ts +32 -0
  16. package/dist/components/theme/components/ui/theme/buttonTheme.d.ts +32 -0
  17. package/dist/components/theme/components/ui/theme/cardTheme.d.ts +37 -0
  18. package/dist/components/theme/components/ui/theme/chipTheme.d.ts +32 -0
  19. package/dist/components/theme/components/ui/theme/colTheme.d.ts +15 -0
  20. package/dist/components/theme/components/ui/theme/common/ComponentTheme.d.ts +44 -0
  21. package/dist/components/theme/components/ui/theme/common/baseTheme.d.ts +12 -0
  22. package/dist/components/theme/components/ui/theme/containerTheme.d.ts +29 -0
  23. package/dist/components/theme/components/ui/theme/dividerTheme.d.ts +9 -0
  24. package/dist/components/theme/components/ui/theme/gridTheme.d.ts +10 -0
  25. package/dist/components/theme/components/ui/theme/layout/borderTheme.d.ts +9 -0
  26. package/dist/components/theme/components/ui/theme/layout/directionTheme.d.ts +9 -0
  27. package/dist/components/theme/components/ui/theme/layout/hideTheme.d.ts +9 -0
  28. package/dist/components/theme/components/ui/theme/layout/itemsTheme.d.ts +9 -0
  29. package/dist/components/theme/components/ui/theme/layout/justifyTheme.d.ts +9 -0
  30. package/dist/components/theme/components/ui/theme/layout/positionTheme.d.ts +9 -0
  31. package/dist/components/theme/components/ui/theme/layout/radiusTheme.d.ts +9 -0
  32. package/dist/components/theme/components/ui/theme/layout/ringTheme.d.ts +9 -0
  33. package/dist/components/theme/components/ui/theme/layout/shadowTheme.d.ts +9 -0
  34. package/dist/components/theme/components/ui/theme/layout/wrapTheme.d.ts +9 -0
  35. package/dist/components/theme/components/ui/theme/rowTheme.d.ts +15 -0
  36. package/dist/components/theme/components/ui/theme/sectionTheme.d.ts +19 -0
  37. package/dist/components/theme/components/ui/theme/size/breakpointTheme.d.ts +9 -0
  38. package/dist/components/theme/components/ui/theme/size/gapTheme.d.ts +9 -0
  39. package/dist/components/theme/components/ui/theme/size/pxTheme.d.ts +9 -0
  40. package/dist/components/theme/components/ui/theme/size/pyTheme.d.ts +9 -0
  41. package/dist/components/theme/components/ui/theme/size/sizeTheme.d.ts +9 -0
  42. package/dist/components/theme/components/ui/theme/stackTheme.d.ts +19 -0
  43. package/dist/components/theme/components/ui/theme/typography/fontFamilyTheme.d.ts +9 -0
  44. package/dist/components/theme/components/ui/theme/typography/fontStyleTheme.d.ts +9 -0
  45. package/dist/components/theme/components/ui/theme/typography/fontWeightTheme.d.ts +9 -0
  46. package/dist/components/theme/components/ui/theme/typography/textAlignTheme.d.ts +9 -0
  47. package/dist/components/theme/components/ui/theme/typography/textDecorationTheme.d.ts +9 -0
  48. package/dist/components/theme/components/ui/theme/typography/textTransformTheme.d.ts +9 -0
  49. package/dist/components/theme/components/ui/theme/typographyComponentTheme.d.ts +22 -0
  50. package/dist/components/theme/components/utils/componentUtils.d.ts +4 -0
  51. package/dist/components/theme/components/utils/deepMerge.d.ts +4 -0
  52. package/dist/components/theme/components/utils/deepPartial.d.ts +3 -0
  53. package/dist/components/theme/index.d.ts +1 -0
  54. package/dist/components/theme/index.js +1827 -0
  55. package/dist/components/theme/index.js.map +1 -0
  56. package/dist/components/theme/themeContext.d.ts +46 -0
  57. package/dist/components/ui/badge.d.ts +3 -3
  58. package/dist/components/ui/button.d.ts +3 -3
  59. package/dist/components/ui/card.d.ts +3 -0
  60. package/dist/components/ui/chip.d.ts +3 -3
  61. package/dist/components/ui/classes/appearanceClasses.d.ts +13 -0
  62. package/dist/components/ui/classes/layoutClasses.d.ts +13 -0
  63. package/dist/components/ui/classes/spacingClasses.d.ts +2 -0
  64. package/dist/components/ui/classes/typographyClasses.d.ts +10 -0
  65. package/dist/components/ui/col.d.ts +10 -0
  66. package/dist/components/ui/container.d.ts +3 -0
  67. package/dist/components/ui/divider.d.ts +3 -3
  68. package/dist/components/ui/grid.d.ts +4 -0
  69. package/dist/components/ui/layout.d.ts +7 -8
  70. package/dist/components/ui/props/keys.d.ts +79 -0
  71. package/dist/components/ui/props/props.d.ts +41 -107
  72. package/dist/components/ui/row.d.ts +3 -0
  73. package/dist/components/ui/section.d.ts +3 -0
  74. package/dist/components/ui/stack.d.ts +3 -0
  75. package/dist/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +10 -0
  76. package/dist/components/ui/theme/appearance/textAppearanceTheme.d.ts +10 -0
  77. package/dist/components/ui/theme/appearance/variantTheme.d.ts +15 -0
  78. package/dist/components/ui/theme/badgeTheme.d.ts +32 -0
  79. package/dist/components/ui/theme/buttonTheme.d.ts +32 -0
  80. package/dist/components/ui/theme/cardTheme.d.ts +37 -0
  81. package/dist/components/ui/theme/chipTheme.d.ts +32 -0
  82. package/dist/components/ui/theme/colTheme.d.ts +15 -0
  83. package/dist/components/ui/theme/common/ComponentTheme.d.ts +44 -0
  84. package/dist/components/ui/theme/common/baseTheme.d.ts +12 -0
  85. package/dist/components/ui/theme/containerTheme.d.ts +29 -0
  86. package/dist/components/ui/theme/dividerTheme.d.ts +9 -0
  87. package/dist/components/ui/theme/gridTheme.d.ts +10 -0
  88. package/dist/components/ui/theme/layout/borderTheme.d.ts +9 -0
  89. package/dist/components/ui/theme/layout/directionTheme.d.ts +9 -0
  90. package/dist/components/ui/theme/layout/hideTheme.d.ts +9 -0
  91. package/dist/components/ui/theme/layout/itemsTheme.d.ts +9 -0
  92. package/dist/components/ui/theme/layout/justifyTheme.d.ts +9 -0
  93. package/dist/components/ui/theme/layout/positionTheme.d.ts +9 -0
  94. package/dist/components/ui/theme/layout/radiusTheme.d.ts +9 -0
  95. package/dist/components/ui/theme/layout/ringTheme.d.ts +9 -0
  96. package/dist/components/ui/theme/layout/shadowTheme.d.ts +9 -0
  97. package/dist/components/ui/theme/layout/wrapTheme.d.ts +9 -0
  98. package/dist/components/ui/theme/rowTheme.d.ts +15 -0
  99. package/dist/components/ui/theme/sectionTheme.d.ts +19 -0
  100. package/dist/components/ui/theme/size/breakpointTheme.d.ts +9 -0
  101. package/dist/components/ui/theme/size/gapTheme.d.ts +9 -0
  102. package/dist/components/ui/theme/size/pxTheme.d.ts +9 -0
  103. package/dist/components/ui/theme/size/pyTheme.d.ts +9 -0
  104. package/dist/components/ui/theme/size/sizeTheme.d.ts +9 -0
  105. package/dist/components/ui/theme/stackTheme.d.ts +19 -0
  106. package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts +9 -0
  107. package/dist/components/ui/theme/typography/fontStyleTheme.d.ts +9 -0
  108. package/dist/components/ui/theme/typography/fontWeightTheme.d.ts +9 -0
  109. package/dist/components/ui/theme/typography/textAlignTheme.d.ts +9 -0
  110. package/dist/components/ui/theme/typography/textDecorationTheme.d.ts +9 -0
  111. package/dist/components/ui/theme/typography/textTransformTheme.d.ts +9 -0
  112. package/dist/components/ui/theme/typographyComponentTheme.d.ts +22 -0
  113. package/dist/components/ui/typography.d.ts +9 -9
  114. package/dist/components/utils/buildComponent.d.ts +8 -0
  115. package/dist/components/utils/componentUtils.d.ts +4 -0
  116. package/dist/components/utils/deepMerge.d.ts +4 -0
  117. package/dist/components/utils/deepPartial.d.ts +3 -0
  118. package/dist/components/utils/tests/deepMerge.test.d.ts +1 -0
  119. package/dist/index.d.ts +3 -1
  120. package/dist/index.esm.js +1891 -323
  121. package/dist/index.esm.js.map +1 -1
  122. package/dist/index.js +1894 -322
  123. package/dist/index.js.map +1 -1
  124. package/dist/ui.css +2019 -100
  125. package/dist/vars.css +139 -0
  126. package/package.json +34 -11
  127. package/dist/components/ui/props/commonValues.d.ts +0 -45
  128. package/dist/components/ui/settings.d.ts +0 -30
  129. package/dist/components/utils/componentBuilder.d.ts +0 -23
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { ComponentTheme } from "../ui/theme/common/ComponentTheme";
3
+ import { ButtonTheme } from '../ui/theme/buttonTheme';
4
+ import { BadgeTheme } from '../ui/theme/badgeTheme';
5
+ import { ChipTheme } from '../ui/theme/chipTheme';
6
+ import { TypographyComponentTheme } from '../ui/theme/typographyComponentTheme';
7
+ import { CardTheme } from "../ui/theme/cardTheme";
8
+ import { RowTheme } from "../ui/theme/rowTheme";
9
+ import { DividerTheme } from '../ui/theme/dividerTheme';
10
+ import { ContainerTheme } from '../ui/theme/containerTheme';
11
+ import { ColTheme } from '../ui/theme/colTheme';
12
+ import { StackTheme } from '../ui/theme/stackTheme';
13
+ import { SectionTheme } from "../ui/theme/sectionTheme";
14
+ import { GridTheme } from "../ui/theme/gridTheme";
15
+ import { ButtonProps, GridProps, TypographyComponentProps, CardProps, RowProps, ColProps, StackProps, BadgeProps, ChipProps, DividerProps, ContainerProps, SectionProps } from "../ui/props/props";
16
+ import { DeepPartial } from "../utils/deepPartial";
17
+ export interface ThemeProps {
18
+ button: ComponentTheme<ButtonProps, ButtonTheme<ButtonProps>>;
19
+ badge: ComponentTheme<BadgeProps, BadgeTheme<BadgeProps>>;
20
+ chip: ComponentTheme<ChipProps, ChipTheme<ChipProps>>;
21
+ card: ComponentTheme<CardProps, CardTheme<CardProps>>;
22
+ divider: ComponentTheme<DividerProps, DividerTheme<DividerProps>>;
23
+ container: ComponentTheme<ContainerProps, ContainerTheme<ContainerProps>>;
24
+ row: ComponentTheme<RowProps, RowTheme<RowProps>>;
25
+ col: ComponentTheme<ColProps, ColTheme<ColProps>>;
26
+ stack: ComponentTheme<StackProps, StackTheme<StackProps>>;
27
+ section: ComponentTheme<SectionProps, SectionTheme<SectionProps>>;
28
+ grid3: ComponentTheme<GridProps, GridTheme<GridProps>>;
29
+ grid4: ComponentTheme<GridProps, GridTheme<GridProps>>;
30
+ pageTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
31
+ sectionTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
32
+ title: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
33
+ text: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
34
+ link: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
35
+ listItem: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
36
+ list: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
37
+ }
38
+ export type PartialTheme = DeepPartial<ThemeProps>;
39
+ export declare const defaultTheme: ThemeProps;
40
+ export interface ThemeProviderProps {
41
+ children: React.ReactNode;
42
+ theme?: PartialTheme;
43
+ themeOverride?: (theme: ThemeProps) => ThemeProps;
44
+ }
45
+ export declare function ThemeProvider({ children, theme: themeObject, themeOverride }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function useTheme(): ThemeProps;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { TypographyComponentProps } from "./props/props";
3
- export declare const Badge: React.FC<TypographyComponentProps>;
1
+ import { JSX } from 'react';
2
+ import { BadgeProps } from './props/props';
3
+ export declare const Badge: (props: BadgeProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { TypographyComponentProps } from "./props/props";
3
- export declare const Button: React.FC<TypographyComponentProps>;
1
+ import { JSX } from 'react';
2
+ import { ButtonProps } from './props/props';
3
+ export declare const Button: (props: ButtonProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import { CardProps } from "./props/props";
3
+ export declare const Card: (props: CardProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { TypographyComponentProps } from "./props/props";
3
- export declare const Chip: React.FC<TypographyComponentProps>;
1
+ import { JSX } from 'react';
2
+ import { TypographyComponentProps } from './props/props';
3
+ export declare const Chip: (props: TypographyComponentProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { AppearanceKey, TextAppearanceKey } from "../props/keys";
2
+ export declare const filledBackgroundAppearanceClasses: Record<TextAppearanceKey, string>;
3
+ export declare const filledHoverBackgroundAppearanceClasses: Record<TextAppearanceKey, string>;
4
+ export declare const filledActiveBackgroundAppearanceClasses: Record<TextAppearanceKey, string>;
5
+ export declare const backgroundAppearanceClasses: Record<TextAppearanceKey, string>;
6
+ export declare const hoverBackgroundAppearanceClasses: Record<TextAppearanceKey, string>;
7
+ export declare const activeBackgroundAppearanceClasses: Record<TextAppearanceKey, string>;
8
+ export declare const layoutBackgroundAppearanceClasses: Record<AppearanceKey, string>;
9
+ export declare const dividerAppearanceClasses: Record<TextAppearanceKey, string>;
10
+ export declare const borderAppearanceClasses: Record<TextAppearanceKey, string>;
11
+ export declare const filledBorderAppearanceClasses: Record<TextAppearanceKey, string>;
12
+ export declare const ringAppearanceClasses: Record<TextAppearanceKey, string>;
13
+ export declare const filledRingAppearanceClasses: Record<TextAppearanceKey, string>;
@@ -0,0 +1,13 @@
1
+ import { BreakpointKey, HideKey, JustifyKey, ModeKey, PositionKey, SizeKey, WrapKey } from "../props/keys";
2
+ export declare const rowToColumnBreakpointClasses: Record<BreakpointKey, string>;
3
+ export declare const justifyClasses: Record<JustifyKey, string>;
4
+ export declare const wrapClasses: Record<WrapKey, string>;
5
+ export declare const roundedClasses: Record<SizeKey, string>;
6
+ export declare const hideClasses: Record<HideKey, string>;
7
+ export declare const positionClasses: Record<PositionKey, string>;
8
+ export declare const shadowClasses: Record<SizeKey, string>;
9
+ export declare const hoverShadowClasses: Record<SizeKey, string>;
10
+ export declare const activeShadowClasses: Record<SizeKey, string>;
11
+ export declare const noRingModeClasses: Record<ModeKey, string>;
12
+ export declare const ringModeClasses: Record<ModeKey, string>;
13
+ export declare const noShadowModeClasses: Record<ModeKey, string>;
@@ -0,0 +1,2 @@
1
+ import { SizeKey } from "../props/keys";
2
+ export declare const commonGaps: Record<SizeKey, string>;
@@ -0,0 +1,10 @@
1
+ import { FontFamilyKey, FontStyleKey, FontWeightKey, SizeKey, TextAlignKey, TextAppearanceKey, TextDecorationKey, TextTransformKey } from "../props/keys";
2
+ export declare const fontWeightClasses: Record<FontWeightKey, string>;
3
+ export declare const fontStyleClasses: Record<FontStyleKey, string>;
4
+ export declare const fontFamilyClasses: Record<FontFamilyKey, string>;
5
+ export declare const textDecorationClasses: Record<TextDecorationKey, string>;
6
+ export declare const textTransformClasses: Record<TextTransformKey, string>;
7
+ export declare const textAlignClasses: Record<TextAlignKey, string>;
8
+ export declare const filledTextAppearanceClasses: Record<TextAppearanceKey, string>;
9
+ export declare const textAppearanceClasses: Record<TextAppearanceKey, string>;
10
+ export declare const textSizeClasses: Record<SizeKey, string>;
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'react';
2
+ import { ColProps } from './props/props';
3
+ /**
4
+ * Column component for vertical layouts.
5
+ * Supports flex-wrap properties for controlling how items wrap.
6
+ * @param props.wrap - Allows items to wrap (flex-wrap)
7
+ * @param props.nowrap - Prevents items from wrapping (flex-nowrap)
8
+ * @param props.wrapReverse - Wraps items onto multiple lines in reverse (flex-wrap-reverse)
9
+ */
10
+ export declare const Col: (props: ColProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import { ContainerProps } from './props/props';
3
+ export declare const Container: (props: ContainerProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { BaseComponentProps } from "./props/props";
3
- export declare const Divider: React.FC<BaseComponentProps>;
1
+ import { JSX } from 'react';
2
+ import { DividerProps } from './props/props';
3
+ export declare const Divider: (props: DividerProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { JSX } from 'react';
2
+ import { GridProps } from './props/props';
3
+ export declare const Grid3: (props: GridProps) => JSX.Element;
4
+ export declare const Grid4: (props: GridProps) => JSX.Element;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
- import { GridProps, LayoutComponentProps, ColProps, RowProps } from "./props/props";
3
- export declare const Section: React.FC<LayoutComponentProps>;
4
- export declare const Container: React.FC<LayoutComponentProps>;
5
- export declare const Col: React.FC<ColProps>;
6
- export declare const Row: React.FC<RowProps>;
7
- export declare const Grid3: React.FC<GridProps>;
8
- export declare const Grid4: React.FC<GridProps>;
1
+ export { Section } from './section';
2
+ export { Container } from './container';
3
+ export { Col } from './col';
4
+ export { Row } from './row';
5
+ export { Grid3, Grid4 } from './grid';
6
+ export { Card } from './card';
7
+ export { Stack } from './stack';
@@ -0,0 +1,79 @@
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 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"])[];
30
+ export type ModeKey = typeof MODE_KEYS[number];
31
+ export type SizeKey = typeof SIZE_KEYS[number];
32
+ export type RingKey = typeof RING_KEYS[number];
33
+ export type ShapeKey = typeof SHAPE_KEYS[number];
34
+ export type BorderKey = typeof BORDER_KEYS[number];
35
+ export type ShadowKey = typeof SHADOW_KEYS[number];
36
+ export type PaddingKey = typeof PADDING_KEYS[number];
37
+ export type GapKey = typeof GAP_KEYS[number];
38
+ export type VariantKey = typeof VARIANT_KEYS[number];
39
+ export type AppearanceKey = typeof APPEARANCE_KEYS[number];
40
+ export type TextAppearanceKey = typeof TEXT_APPEARANCE_KEYS[number];
41
+ export type FontFamilyKey = typeof FONT_FAMILY_KEYS[number];
42
+ export type FontWeightKey = typeof FONT_WEIGHT_KEYS[number];
43
+ export type FontStyleKey = typeof FONT_STYLE_KEYS[number];
44
+ export type TextDecorationKey = typeof TEXT_DECORATION_KEYS[number];
45
+ export type TextTransformKey = typeof TEXT_TRANSFORM_KEYS[number];
46
+ export type TextAlignKey = typeof TEXT_ALIGN_KEYS[number];
47
+ export type BreakpointKey = typeof BREAKPOINT_KEYS[number];
48
+ export type HideKey = typeof HIDE_KEYS[number];
49
+ export type PositionKey = typeof POSITION_KEYS[number];
50
+ export type FlexDirectionKey = typeof FLEX_DIRECTION_KEYS[number];
51
+ export type ItemsKey = typeof ITEMS_KEYS[number];
52
+ export type JustifyKey = typeof JUSTIFY_KEYS[number];
53
+ export type WrapKey = typeof WRAP_KEYS[number];
54
+ export declare const BASE_COMPONENT_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static"];
55
+ 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"];
56
+ export declare const TYPOGRAPHY_COMPONENT_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "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"];
57
+ export type TypographyComponentKey = typeof TYPOGRAPHY_COMPONENT_KEYS[number];
58
+ export declare const BUTTON_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "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", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
59
+ export type ButtonKey = typeof BUTTON_KEYS[number];
60
+ export declare const GRID_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "gap", "noGap", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
61
+ export type GridKey = typeof GRID_KEYS[number];
62
+ export declare const ROW_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
63
+ export type RowKey = typeof ROW_KEYS[number];
64
+ export declare const COL_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
65
+ export type ColKey = typeof COL_KEYS[number];
66
+ export declare const CARD_KEYS: readonly ["gap", "noGap", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "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", "xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "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", "reverse", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "flexWrap", "flexNoWrap", "flexWrapReverse"];
67
+ export type CardKey = typeof CARD_KEYS[number];
68
+ export declare const STACK_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "row", "column", "rowReverse", "columnReverse", "padding", "noPadding"];
69
+ export type StackKey = typeof STACK_KEYS[number];
70
+ export declare const BADGE_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "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", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "gap", "noGap", "padding", "noPadding", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
71
+ export type BadgeKey = typeof BADGE_KEYS[number];
72
+ export declare const CHIP_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "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", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "gap", "noGap", "padding", "noPadding", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
73
+ export type ChipKey = typeof CHIP_KEYS[number];
74
+ export declare const DIVIDER_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
75
+ export type DividerKey = typeof DIVIDER_KEYS[number];
76
+ export declare const CONTAINER_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "border", "noBorder", "shadow", "noShadow", "ring", "noRing", "gap", "noGap"];
77
+ export type ContainerKey = typeof CONTAINER_KEYS[number];
78
+ export declare const SECTION_KEYS: readonly ["xs", "sm", "md", "lg", "xl", "xsHide", "smHide", "mdHide", "lgHide", "xlHide", "relative", "absolute", "fixed", "sticky", "static", "row", "column", "rowReverse", "columnReverse", "itemsStart", "itemsEnd", "itemsCenter", "itemsBaseline", "itemsStretch", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "padding", "noPadding", "reverse", "justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline", "flexWrap", "flexNoWrap", "flexWrapReverse", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "gap", "noGap"];
79
+ export type SectionKey = typeof SECTION_KEYS[number];
@@ -1,108 +1,42 @@
1
- export interface SizeProps {
2
- xs?: boolean;
3
- sm?: boolean;
4
- md?: boolean;
5
- lg?: boolean;
6
- xl?: boolean;
7
- }
8
- export interface FontFamilyProps {
9
- sans?: boolean;
10
- serif?: boolean;
11
- mono?: boolean;
12
- }
13
- export interface FontWeightProps {
14
- thin?: boolean;
15
- extralight?: boolean;
16
- light?: boolean;
17
- normal?: boolean;
18
- medium?: boolean;
19
- semibold?: boolean;
20
- bold?: boolean;
21
- extrabold?: boolean;
22
- black?: boolean;
23
- }
24
- export interface FontStyleProps {
25
- italic?: boolean;
26
- notItalic?: boolean;
27
- }
28
- export interface TextDecorationProps {
29
- underline?: boolean;
30
- lineThrough?: boolean;
31
- noUnderline?: boolean;
32
- overline?: boolean;
33
- }
34
- export interface TextTransformProps {
35
- uppercase?: boolean;
36
- lowercase?: boolean;
37
- capitalize?: boolean;
38
- normalCase?: boolean;
39
- }
40
- export interface TextAppearanceProps {
41
- muted?: boolean;
42
- link?: boolean;
43
- }
44
- export interface CommonAppearanceProps {
45
- default?: boolean;
46
- accent?: boolean;
47
- primary?: boolean;
48
- secondary?: boolean;
49
- tertiary?: boolean;
50
- success?: boolean;
51
- danger?: boolean;
52
- warning?: boolean;
53
- info?: boolean;
54
- }
55
- export interface BreakpointProps {
56
- xsCol?: boolean;
57
- smCol?: boolean;
58
- mdCol?: boolean;
59
- lgCol?: boolean;
60
- xlCol?: boolean;
61
- }
62
- export interface HideProps {
63
- xsHide?: boolean;
64
- smHide?: boolean;
65
- mdHide?: boolean;
66
- lgHide?: boolean;
67
- xlHide?: boolean;
68
- }
69
- export interface PositionProps {
70
- relative?: boolean;
71
- absolute?: boolean;
72
- fixed?: boolean;
73
- sticky?: boolean;
74
- static?: boolean;
75
- }
1
+ import React from "react";
2
+ import { BadgeKey, ButtonKey, GridKey, RowKey, ColKey, CardKey, StackKey, ChipKey, DividerKey, ContainerKey, SectionKey, TypographyComponentKey } from "./keys";
76
3
  export interface TagProps {
77
- tag?: React.ElementType | string;
78
- }
79
- export interface ReverseProps {
80
- reverse?: boolean;
81
- }
82
- export interface GapProps {
83
- noGap?: boolean;
84
- }
85
- export interface ItemsProps {
86
- itemsStart?: boolean;
87
- itemsEnd?: boolean;
88
- itemsCenter?: boolean;
89
- itemsBaseline?: boolean;
90
- itemsStretch?: boolean;
91
- }
92
- export interface JustifyProps {
93
- justifyStart?: boolean;
94
- justifyEnd?: boolean;
95
- justifyCenter?: boolean;
96
- justifyBetween?: boolean;
97
- justifyAround?: boolean;
98
- justifyEvenly?: boolean;
99
- justifyStretch?: boolean;
100
- justifyBaseline?: boolean;
101
- }
102
- export type BaseComponentProps = TagProps & Partial<SizeProps & HideProps & PositionProps> & React.HTMLProps<HTMLElement>;
103
- export type LayoutComponentProps = BaseComponentProps & ReverseProps & ItemsProps;
104
- export type FontProps = FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAppearanceProps & CommonAppearanceProps;
105
- export type TypographyComponentProps = BaseComponentProps & FontProps;
106
- export type GridProps = BaseComponentProps & GapProps;
107
- export type RowProps = BaseComponentProps & GapProps & ReverseProps & ItemsProps & BreakpointProps & JustifyProps;
108
- export type ColProps = BaseComponentProps & GapProps & ReverseProps & ItemsProps;
4
+ tag?: React.ReactNode | string | any;
5
+ }
6
+ export type ComponentProps = TagProps & React.HTMLProps<HTMLElement>;
7
+ export type TypographyComponentProps = {
8
+ [K in TypographyComponentKey]?: boolean;
9
+ } & ComponentProps;
10
+ export type ButtonProps = {
11
+ [K in ButtonKey]?: boolean;
12
+ } & ComponentProps;
13
+ export type BadgeProps = {
14
+ [K in BadgeKey]?: boolean;
15
+ } & ComponentProps;
16
+ export type ChipProps = {
17
+ [K in ChipKey]?: boolean;
18
+ } & ComponentProps;
19
+ export type GridProps = {
20
+ [K in GridKey]?: boolean;
21
+ } & ComponentProps;
22
+ export type RowProps = {
23
+ [K in RowKey]?: boolean;
24
+ } & ComponentProps;
25
+ export type ColProps = {
26
+ [K in ColKey]?: boolean;
27
+ } & ComponentProps;
28
+ export type CardProps = {
29
+ [K in CardKey]?: boolean;
30
+ } & ComponentProps;
31
+ export type StackProps = {
32
+ [K in StackKey]?: boolean;
33
+ } & ComponentProps;
34
+ export type SectionProps = {
35
+ [K in SectionKey]?: boolean;
36
+ } & ComponentProps;
37
+ export type DividerProps = {
38
+ [K in DividerKey]?: boolean;
39
+ } & ComponentProps;
40
+ export type ContainerProps = {
41
+ [K in ContainerKey]?: boolean;
42
+ } & ComponentProps;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import { RowProps } from './props/props';
3
+ export declare const Row: (props: RowProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import { SectionProps } from './props/props';
3
+ export declare const Section: (props: SectionProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ import { StackProps } from './props/props';
3
+ export declare const Stack: (props: StackProps) => JSX.Element;
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,15 @@
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
+ }
@@ -0,0 +1,32 @@
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>>;
@@ -0,0 +1,32 @@
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>>;
@@ -0,0 +1,37 @@
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>>;