@vaneui/ui 0.1.5 → 0.1.7

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.
@@ -17,25 +17,25 @@ import { DeepPartial } from "./utils/deepPartial";
17
17
  export declare const COMPONENT_KEYS: readonly ["button", "badge", "chip", "card", "divider", "row", "col", "stack", "section", "grid3", "grid4", "pageTitle", "sectionTitle", "title", "text", "link", "list", "listItem"];
18
18
  export type ComponentKey = typeof COMPONENT_KEYS[number];
19
19
  export interface ThemeProps extends Record<ComponentKey, ComponentTheme<object, object>> {
20
- button: ComponentTheme<ButtonProps, ButtonTheme<ButtonProps>>;
21
- badge: ComponentTheme<BadgeProps, BadgeTheme<BadgeProps>>;
22
- chip: ComponentTheme<ChipProps, ChipTheme<ChipProps>>;
23
- card: ComponentTheme<CardProps, CardTheme<CardProps>>;
24
- divider: ComponentTheme<DividerProps, DividerTheme<DividerProps>>;
25
- container: ComponentTheme<ContainerProps, ContainerTheme<ContainerProps>>;
26
- row: ComponentTheme<RowProps, RowTheme<RowProps>>;
27
- col: ComponentTheme<ColProps, ColTheme<ColProps>>;
28
- stack: ComponentTheme<StackProps, StackTheme<StackProps>>;
29
- section: ComponentTheme<SectionProps, SectionTheme<SectionProps>>;
30
- grid3: ComponentTheme<GridProps, GridTheme<GridProps>>;
31
- grid4: ComponentTheme<GridProps, GridTheme<GridProps>>;
32
- pageTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
33
- sectionTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
34
- title: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
35
- text: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
36
- link: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
37
- list: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
38
- listItem: ComponentTheme<TypographyComponentProps, TypographyComponentTheme<TypographyComponentProps>>;
20
+ button: ComponentTheme<ButtonProps, ButtonTheme>;
21
+ badge: ComponentTheme<BadgeProps, BadgeTheme>;
22
+ chip: ComponentTheme<ChipProps, ChipTheme>;
23
+ card: ComponentTheme<CardProps, CardTheme>;
24
+ divider: ComponentTheme<DividerProps, DividerTheme>;
25
+ container: ComponentTheme<ContainerProps, ContainerTheme>;
26
+ row: ComponentTheme<RowProps, RowTheme>;
27
+ col: ComponentTheme<ColProps, ColTheme>;
28
+ stack: ComponentTheme<StackProps, StackTheme>;
29
+ section: ComponentTheme<SectionProps, SectionTheme>;
30
+ grid3: ComponentTheme<GridProps, GridTheme>;
31
+ grid4: ComponentTheme<GridProps, GridTheme>;
32
+ pageTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
33
+ sectionTitle: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
34
+ title: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
35
+ text: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
36
+ link: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
37
+ list: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
38
+ listItem: ComponentTheme<TypographyComponentProps, TypographyComponentTheme>;
39
39
  }
40
40
  export type PartialTheme = DeepPartial<ThemeProps>;
41
41
  export declare const defaultTheme: ThemeProps;
@@ -27,13 +27,13 @@ export declare const ITEMS_KEYS: readonly ["itemsStart", "itemsEnd", "itemsCente
27
27
  export declare const JUSTIFY_KEYS: readonly ["justifyStart", "justifyEnd", "justifyCenter", "justifyBetween", "justifyAround", "justifyEvenly", "justifyStretch", "justifyBaseline"];
28
28
  export declare const WRAP_KEYS: readonly ["flexWrap", "flexNoWrap", "flexWrapReverse"];
29
29
  export declare const DISPLAY_KEYS: readonly ["inline", "block", "inlineBlock", "flex", "inlineFlex", "grid", "inlineGrid", "contents", "table", "tableCell", "hidden"];
30
+ export declare const OVERFLOW_KEYS: readonly ["overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll"];
30
31
  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"] | 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
32
  export type ModeKey = typeof MODE_KEYS[number];
32
33
  export type SizeKey = typeof SIZE_KEYS[number];
33
34
  export type RingKey = typeof RING_KEYS[number];
34
35
  export type ShapeKey = typeof SHAPE_KEYS[number];
35
36
  export type BorderKey = typeof BORDER_KEYS[number];
36
- export type ShadowKey = typeof SHADOW_KEYS[number];
37
37
  export type PaddingKey = typeof PADDING_KEYS[number];
38
38
  export type GapKey = typeof GAP_KEYS[number];
39
39
  export type VariantKey = typeof VARIANT_KEYS[number];
@@ -53,29 +53,30 @@ export type ItemsKey = typeof ITEMS_KEYS[number];
53
53
  export type JustifyKey = typeof JUSTIFY_KEYS[number];
54
54
  export type WrapKey = typeof WRAP_KEYS[number];
55
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"];
56
+ export type OverflowKey = typeof OVERFLOW_KEYS[number];
57
+ 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll"];
57
58
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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
60
  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", "muted", "link"];
61
+ 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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", "muted", "link"];
61
62
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "gap", "noGap", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
63
64
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "xsCol", "smCol", "mdCol", "lgCol", "xlCol", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
65
66
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "flexWrap", "flexNoWrap", "flexWrapReverse", "gap", "noGap", "reverse", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
67
68
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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
70
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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
72
  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", "muted", "link"];
73
+ 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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", "muted", "link"];
73
74
  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", "muted", "link"];
75
+ 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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", "muted", "link"];
75
76
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent"];
77
78
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "default", "accent", "primary", "secondary", "tertiary", "success", "danger", "warning", "info", "transparent", "border", "noBorder", "shadow", "noShadow", "ring", "noRing", "gap", "noGap", "pill", "sharp", "rounded"];
79
80
  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 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", "overflowAuto", "overflowHidden", "overflowClip", "overflowVisible", "overflowScroll", "overflowXAuto", "overflowYAuto", "overflowXHidden", "overflowYHidden", "overflowXClip", "overflowYClip", "overflowXVisible", "overflowYVisible", "overflowXScroll", "overflowYScroll", "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
82
  export type SectionKey = typeof SECTION_KEYS[number];
@@ -1,12 +1,14 @@
1
1
  import { BaseTheme } from "../common/baseTheme";
2
2
  import { VariantKey } from "../../props";
3
3
  import { TextAppearanceTheme } from "./textAppearanceTheme";
4
+ import { ShadowAppearanceTheme } from "./shadowAppearanceTheme";
4
5
  export interface GenericVariantTheme<T extends BaseTheme> extends Record<VariantKey, T> {
5
6
  }
6
7
  export declare class GenericVariantTheme<T extends BaseTheme> extends BaseTheme {
7
8
  private constructor();
8
9
  getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
10
  static createUIElementTextTheme(): GenericVariantTheme<TextAppearanceTheme>;
11
+ static createUIElementShadowTheme(): GenericVariantTheme<ShadowAppearanceTheme>;
10
12
  static createBorderAppearanceTheme(): GenericVariantTheme<TextAppearanceTheme>;
11
13
  static createRingAppearanceTheme(): GenericVariantTheme<TextAppearanceTheme>;
12
14
  static createBgAppearanceTheme(): GenericVariantTheme<TextAppearanceTheme>;
@@ -0,0 +1,10 @@
1
+ import { SizeKey, ModeKey, TextAppearanceKey } from "../../props";
2
+ import { BaseTheme } from "../common/baseTheme";
3
+ export interface ShadowAppearanceTheme extends Record<TextAppearanceKey, Record<SizeKey, Record<ModeKey, string>> | undefined> {
4
+ }
5
+ export declare class ShadowAppearanceTheme extends BaseTheme {
6
+ private static readonly defaultShadow;
7
+ constructor(initial?: Partial<Record<TextAppearanceKey, Record<SizeKey, Record<ModeKey, string>>>>);
8
+ getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
+ static createTheme(src?: Partial<Record<TextAppearanceKey, Record<SizeKey, Record<ModeKey, string>>>>): ShadowAppearanceTheme;
10
+ }
@@ -1,33 +1,33 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
1
+ import { BaseTypographyComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
2
  import { BadgeProps } from "../props/props";
3
3
  import { SizeTheme } from "./size/sizeTheme";
4
4
  import { GapTheme } from "./size/gapTheme";
5
5
  import { RadiusTheme } from "./layout/radiusTheme";
6
6
  import { BorderTheme } from "./layout/borderTheme";
7
- import { ShadowTheme } from "./layout/shadowTheme";
8
7
  import { RingTheme } from "./layout/ringTheme";
9
8
  import { PxTheme } from "./size/pxTheme";
10
9
  import { PyTheme } from "./size/pyTheme";
11
10
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
12
11
  import { GenericVariantTheme } from "./appearance/genericVariantTheme";
13
- export interface BadgeTheme<P> extends BaseComponentTheme<P> {
12
+ import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
13
+ export interface BadgeTheme extends BaseTypographyComponentTheme {
14
14
  size: {
15
15
  px: PxTheme;
16
16
  py: PyTheme;
17
17
  text: SizeTheme;
18
18
  gap: GapTheme;
19
- shadow: ShadowTheme;
20
19
  };
21
20
  appearance: {
22
21
  background: GenericVariantTheme<TextAppearanceTheme>;
23
22
  text: GenericVariantTheme<TextAppearanceTheme>;
24
23
  border: GenericVariantTheme<TextAppearanceTheme>;
25
24
  ring: GenericVariantTheme<TextAppearanceTheme>;
25
+ shadow: GenericVariantTheme<ShadowAppearanceTheme>;
26
26
  };
27
- layout: DefaultLayoutThemes<P> & {
27
+ layout: DefaultLayoutThemes & {
28
28
  border: BorderTheme;
29
29
  ring: RingTheme;
30
30
  radius: RadiusTheme;
31
31
  };
32
32
  }
33
- export declare const defaultBadgeTheme: ComponentTheme<BadgeProps, BadgeTheme<BadgeProps>>;
33
+ export declare const defaultBadgeTheme: ComponentTheme<BadgeProps, BadgeTheme>;
@@ -1,33 +1,33 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
1
+ import { BaseTypographyComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
2
  import { ButtonProps } from "../props/props";
3
3
  import { SizeTheme } from "./size/sizeTheme";
4
4
  import { GapTheme } from "./size/gapTheme";
5
5
  import { RadiusTheme } from "./layout/radiusTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
6
  import { BorderTheme } from "./layout/borderTheme";
8
7
  import { RingTheme } from "./layout/ringTheme";
9
8
  import { PxTheme } from "./size/pxTheme";
10
9
  import { PyTheme } from "./size/pyTheme";
11
10
  import { GenericVariantTheme } from "./appearance/genericVariantTheme";
12
11
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
13
- export interface ButtonTheme<P> extends BaseComponentTheme<P> {
12
+ import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
13
+ export interface ButtonTheme extends BaseTypographyComponentTheme {
14
14
  size: {
15
15
  px: PxTheme;
16
16
  py: PyTheme;
17
17
  text: SizeTheme;
18
18
  gap: GapTheme;
19
- shadow: ShadowTheme;
20
19
  };
21
20
  appearance: {
22
21
  background: GenericVariantTheme<TextAppearanceTheme>;
23
22
  text: GenericVariantTheme<TextAppearanceTheme>;
24
23
  border: GenericVariantTheme<TextAppearanceTheme>;
25
24
  ring: GenericVariantTheme<TextAppearanceTheme>;
25
+ shadow: GenericVariantTheme<ShadowAppearanceTheme>;
26
26
  };
27
- layout: DefaultLayoutThemes<P> & {
27
+ layout: DefaultLayoutThemes & {
28
28
  border: BorderTheme;
29
29
  ring: RingTheme;
30
30
  radius: RadiusTheme;
31
31
  };
32
32
  }
33
- export declare const defaultButtonTheme: ComponentTheme<ButtonProps, ButtonTheme<ButtonProps>>;
33
+ export declare const defaultButtonTheme: ComponentTheme<ButtonProps, ButtonTheme>;
@@ -3,7 +3,6 @@ import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./commo
3
3
  import { CardProps } from "../props/props";
4
4
  import { GapTheme } from "./size/gapTheme";
5
5
  import { WrapTheme } from "./layout/wrapTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
6
  import { BorderTheme } from "./layout/borderTheme";
8
7
  import { RadiusTheme } from "./layout/radiusTheme";
9
8
  import { PxTheme } from "./size/pxTheme";
@@ -12,20 +11,21 @@ import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
12
11
  import { BgAppearanceTheme } from "./appearance/bgAppearanceTheme";
13
12
  import { BreakpointTheme } from "./size/breakpointTheme";
14
13
  import { RingTheme } from "./layout/ringTheme";
15
- export interface CardTheme<P> extends BaseComponentTheme<P> {
14
+ import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
15
+ export interface CardTheme extends BaseComponentTheme {
16
16
  size: {
17
17
  px: PxTheme;
18
18
  py: PyTheme;
19
19
  gap: GapTheme;
20
- shadow: ShadowTheme;
21
20
  };
22
- layout: DefaultLayoutThemes<P> & {
21
+ layout: DefaultLayoutThemes & {
23
22
  border: BorderTheme;
24
23
  radius: RadiusTheme;
25
24
  ring: RingTheme;
26
25
  wrap: WrapTheme;
27
26
  direction: DirectionTheme;
28
27
  breakpoint: BreakpointTheme;
28
+ shadow: ShadowAppearanceTheme;
29
29
  };
30
30
  appearance: {
31
31
  background: BgAppearanceTheme;
@@ -34,4 +34,4 @@ export interface CardTheme<P> extends BaseComponentTheme<P> {
34
34
  ring: TextAppearanceTheme;
35
35
  };
36
36
  }
37
- export declare const defaultCardTheme: ComponentTheme<CardProps, CardTheme<CardProps>>;
37
+ export declare const defaultCardTheme: ComponentTheme<CardProps, CardTheme>;
@@ -1,33 +1,33 @@
1
- import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
1
+ import { BaseTypographyComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
2
2
  import { ChipProps } from "../props/props";
3
3
  import { SizeTheme } from "./size/sizeTheme";
4
4
  import { GapTheme } from "./size/gapTheme";
5
5
  import { RadiusTheme } from "./layout/radiusTheme";
6
- import { ShadowTheme } from "./layout/shadowTheme";
7
6
  import { BorderTheme } from "./layout/borderTheme";
8
7
  import { RingTheme } from "./layout/ringTheme";
9
8
  import { PxTheme } from "./size/pxTheme";
10
9
  import { PyTheme } from "./size/pyTheme";
11
10
  import { GenericVariantTheme } from "./appearance/genericVariantTheme";
12
11
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
13
- export interface ChipTheme<P> extends BaseComponentTheme<P> {
12
+ import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
13
+ export interface ChipTheme extends BaseTypographyComponentTheme {
14
14
  size: {
15
15
  px: PxTheme;
16
16
  py: PyTheme;
17
17
  text: SizeTheme;
18
18
  gap: GapTheme;
19
- shadow: ShadowTheme;
20
19
  };
21
20
  appearance: {
22
21
  background: GenericVariantTheme<TextAppearanceTheme>;
23
22
  text: GenericVariantTheme<TextAppearanceTheme>;
24
23
  border: GenericVariantTheme<TextAppearanceTheme>;
25
24
  ring: GenericVariantTheme<TextAppearanceTheme>;
25
+ shadow: GenericVariantTheme<ShadowAppearanceTheme>;
26
26
  };
27
- layout: DefaultLayoutThemes<P> & {
27
+ layout: DefaultLayoutThemes & {
28
28
  radius: RadiusTheme;
29
29
  border: BorderTheme;
30
30
  ring: RingTheme;
31
31
  };
32
32
  }
33
- export declare const defaultChipTheme: ComponentTheme<ChipProps, ChipTheme<ChipProps>>;
33
+ export declare const defaultChipTheme: ComponentTheme<ChipProps, ChipTheme>;
@@ -3,13 +3,13 @@ import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./commo
3
3
  import { ColProps } from "../props/props";
4
4
  import { GapTheme } from "./size/gapTheme";
5
5
  import { WrapTheme } from "./layout/wrapTheme";
6
- export interface ColTheme<P> extends BaseComponentTheme<P> {
6
+ export interface ColTheme extends BaseComponentTheme {
7
7
  size: {
8
8
  gap: GapTheme;
9
9
  };
10
- layout: DefaultLayoutThemes<P> & {
10
+ layout: DefaultLayoutThemes & {
11
11
  wrap: WrapTheme;
12
12
  direction: DirectionTheme;
13
13
  };
14
14
  }
15
- export declare const defaultColTheme: ComponentTheme<ColProps, ColTheme<ColProps>>;
15
+ export declare const defaultColTheme: ComponentTheme<ColProps, ColTheme>;
@@ -13,18 +13,20 @@ import { TextAlignTheme } from "../typography/textAlignTheme";
13
13
  import { DeepPartial } from "../../../utils/deepPartial";
14
14
  import { DisplayTheme } from "../layout/displayTheme";
15
15
  import { ComponentProps } from "../../props/props";
16
+ import { OverflowTheme } from "../layout/overflowTheme";
16
17
  type ThemeNode<P> = BaseTheme | ThemeMap<P>;
17
18
  export type ThemeMap<P> = {
18
19
  [key: string]: ThemeNode<P>;
19
20
  };
20
- export interface DefaultLayoutThemes<P> {
21
+ export interface DefaultLayoutThemes {
21
22
  hide: HideTheme;
22
23
  items: ItemsTheme;
23
24
  justify: JustifyTheme;
24
25
  position: PositionTheme;
25
26
  display: DisplayTheme;
27
+ overflow: OverflowTheme;
26
28
  }
27
- export interface DefaultTypographyThemes<P> {
29
+ export interface DefaultTypographyThemes {
28
30
  fontFamily: FontFamilyTheme;
29
31
  fontWeight: FontWeightTheme;
30
32
  fontStyle: FontStyleTheme;
@@ -32,14 +34,18 @@ export interface DefaultTypographyThemes<P> {
32
34
  textTransform: TextTransformTheme;
33
35
  textAlign: TextAlignTheme;
34
36
  }
35
- export interface BaseComponentTheme<P> {
36
- layout: DefaultLayoutThemes<P>;
37
- typography: DefaultTypographyThemes<P>;
37
+ export declare const defaultLayoutTheme: DefaultLayoutThemes;
38
+ export declare const defaultTypographyTheme: DefaultTypographyThemes;
39
+ export interface BaseComponentTheme {
40
+ layout: DefaultLayoutThemes;
41
+ }
42
+ export interface BaseTypographyComponentTheme extends BaseComponentTheme {
43
+ typography: DefaultTypographyThemes;
38
44
  }
39
45
  export declare class ComponentTheme<P extends ComponentProps, TTheme extends object> {
40
46
  readonly tag: React.ElementType;
41
47
  readonly base: string;
42
- readonly themes: TTheme;
48
+ readonly themes: DeepPartial<TTheme>;
43
49
  defaults: Partial<P>;
44
50
  constructor(tag: React.ElementType, base: string, subThemes: DeepPartial<TTheme>, defaults?: Partial<P>);
45
51
  getClasses(props: P, defaults?: Partial<P>): string[];
@@ -9,12 +9,12 @@ import { RingTheme } from "./layout/ringTheme";
9
9
  import { BgAppearanceTheme } from "./appearance/bgAppearanceTheme";
10
10
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
11
11
  import { RadiusTheme } from "./layout/radiusTheme";
12
- export interface ContainerTheme<P> extends BaseComponentTheme<P> {
12
+ export interface ContainerTheme extends BaseComponentTheme {
13
13
  size: {
14
14
  gap: GapTheme;
15
15
  maxWidth: SizeTheme;
16
16
  };
17
- layout: DefaultLayoutThemes<P> & {
17
+ layout: DefaultLayoutThemes & {
18
18
  wrap: WrapTheme;
19
19
  direction: DirectionTheme;
20
20
  border: BorderTheme;
@@ -28,4 +28,4 @@ export interface ContainerTheme<P> extends BaseComponentTheme<P> {
28
28
  ring: TextAppearanceTheme;
29
29
  };
30
30
  }
31
- export declare const defaultContainerTheme: ComponentTheme<ContainerProps, ContainerTheme<ContainerProps>>;
31
+ export declare const defaultContainerTheme: ComponentTheme<ContainerProps, ContainerTheme>;
@@ -1,9 +1,9 @@
1
1
  import { BaseComponentTheme, ComponentTheme } from "./common/ComponentTheme";
2
2
  import { DividerProps } from "../props/props";
3
3
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
4
- export interface DividerTheme<P> extends BaseComponentTheme<P> {
4
+ export interface DividerTheme extends BaseComponentTheme {
5
5
  appearance: {
6
6
  background: TextAppearanceTheme;
7
7
  };
8
8
  }
9
- export declare const defaultDividerTheme: ComponentTheme<DividerProps, DividerTheme<DividerProps>>;
9
+ export declare const defaultDividerTheme: ComponentTheme<DividerProps, DividerTheme>;
@@ -1,10 +1,10 @@
1
1
  import { BaseComponentTheme, ComponentTheme } from "./common/ComponentTheme";
2
2
  import { GridProps } from "../props/props";
3
3
  import { GapTheme } from "./size/gapTheme";
4
- export interface GridTheme<P> extends BaseComponentTheme<P> {
4
+ export interface GridTheme extends BaseComponentTheme {
5
5
  size: {
6
6
  gap: GapTheme;
7
7
  };
8
8
  }
9
- export declare const defaultGrid3Theme: ComponentTheme<GridProps, GridTheme<GridProps>>;
10
- export declare const defaultGrid4Theme: ComponentTheme<GridProps, GridTheme<GridProps>>;
9
+ export declare const defaultGrid3Theme: ComponentTheme<GridProps, GridTheme>;
10
+ export declare const defaultGrid4Theme: ComponentTheme<GridProps, GridTheme>;
@@ -1,4 +1,4 @@
1
- import { DisplayKey } from "../../props/keys";
1
+ import { DisplayKey } from "../../props";
2
2
  import { BaseTheme } from "../common/baseTheme";
3
3
  export interface DisplayTheme extends Record<DisplayKey, string> {
4
4
  }
@@ -0,0 +1,9 @@
1
+ import { OverflowKey } from "../../props";
2
+ import { BaseTheme } from "../common/baseTheme";
3
+ export interface OverflowTheme extends Record<OverflowKey, string> {
4
+ }
5
+ export declare class OverflowTheme extends BaseTheme {
6
+ static readonly defaultClasses: Record<OverflowKey, string>;
7
+ constructor(initialConfig?: Partial<Record<OverflowKey, string>>);
8
+ getClasses(props: Record<string, boolean>, defaults: Record<string, boolean>): string[];
9
+ }
@@ -3,13 +3,13 @@ import { WrapTheme } from "./layout/wrapTheme";
3
3
  import { BaseComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
4
4
  import { RowProps } from "../props/props";
5
5
  import { BreakpointTheme } from "./size/breakpointTheme";
6
- export interface RowTheme<P> extends BaseComponentTheme<P> {
6
+ export interface RowTheme extends BaseComponentTheme {
7
7
  size: {
8
8
  gap: GapTheme;
9
9
  breakpoint: BreakpointTheme;
10
10
  };
11
- layout: DefaultLayoutThemes<P> & {
11
+ layout: DefaultLayoutThemes & {
12
12
  wrap: WrapTheme;
13
13
  };
14
14
  }
15
- export declare const defaultRowTheme: ComponentTheme<RowProps, RowTheme<RowProps>>;
15
+ export declare const defaultRowTheme: ComponentTheme<RowProps, RowTheme>;
@@ -8,24 +8,24 @@ import { PyTheme } from "./size/pyTheme";
8
8
  import { BorderTheme } from "./layout/borderTheme";
9
9
  import { RingTheme } from "./layout/ringTheme";
10
10
  import { RadiusTheme } from "./layout/radiusTheme";
11
- import { ShadowTheme } from "./layout/shadowTheme";
12
11
  import { BgAppearanceTheme } from "./appearance/bgAppearanceTheme";
13
12
  import { TextAppearanceTheme } from "./appearance/textAppearanceTheme";
14
13
  import { GenericVariantTheme } from "./appearance/genericVariantTheme";
15
- export interface SectionTheme<P> extends BaseComponentTheme<P> {
14
+ import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
15
+ export interface SectionTheme extends BaseComponentTheme {
16
16
  size: {
17
17
  px: PxTheme;
18
18
  py: PyTheme;
19
19
  gap: GapTheme;
20
- shadow: ShadowTheme;
21
20
  };
22
21
  appearance: {
23
22
  background: GenericVariantTheme<BgAppearanceTheme>;
24
23
  text: GenericVariantTheme<TextAppearanceTheme>;
25
24
  border: GenericVariantTheme<TextAppearanceTheme>;
26
25
  ring: GenericVariantTheme<TextAppearanceTheme>;
26
+ shadow: ShadowAppearanceTheme;
27
27
  };
28
- layout: DefaultLayoutThemes<P> & {
28
+ layout: DefaultLayoutThemes & {
29
29
  wrap: WrapTheme;
30
30
  direction: DirectionTheme;
31
31
  border: BorderTheme;
@@ -33,4 +33,4 @@ export interface SectionTheme<P> extends BaseComponentTheme<P> {
33
33
  radius: RadiusTheme;
34
34
  };
35
35
  }
36
- export declare const defaultSectionTheme: ComponentTheme<SectionProps, SectionTheme<SectionProps>>;
36
+ export declare const defaultSectionTheme: ComponentTheme<SectionProps, SectionTheme>;
@@ -5,15 +5,15 @@ import { StackProps } from "../props/props";
5
5
  import { GapTheme } from "./size/gapTheme";
6
6
  import { PxTheme } from "./size/pxTheme";
7
7
  import { PyTheme } from "./size/pyTheme";
8
- export interface StackTheme<P> extends BaseComponentTheme<P> {
8
+ export interface StackTheme extends BaseComponentTheme {
9
9
  size: {
10
10
  px: PxTheme;
11
11
  py: PyTheme;
12
12
  gap: GapTheme;
13
13
  };
14
- layout: DefaultLayoutThemes<P> & {
14
+ layout: DefaultLayoutThemes & {
15
15
  wrap: WrapTheme;
16
16
  direction: DirectionTheme;
17
17
  };
18
18
  }
19
- export declare const defaultStackTheme: ComponentTheme<StackProps, StackTheme<StackProps>>;
19
+ export declare const defaultStackTheme: ComponentTheme<StackProps, StackTheme>;