@vaneui/ui 0.2.1-alpha.20250830120134.26927ee → 0.2.1-alpha.20250830140007.8b4cce3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/img.d.ts +2 -0
- package/dist/components/ui/label.d.ts +2 -0
- package/dist/components/ui/props/keys.d.ts +11 -11
- package/dist/components/ui/theme/cardTheme.d.ts +5 -4
- package/dist/components/ui/theme/colTheme.d.ts +2 -1
- package/dist/components/ui/theme/containerTheme.d.ts +4 -4
- package/dist/components/ui/theme/gridTheme.d.ts +3 -1
- package/dist/components/ui/theme/labelTheme.d.ts +2 -1
- package/dist/components/ui/theme/rowTheme.d.ts +2 -1
- package/dist/components/ui/theme/stackTheme.d.ts +2 -1
- package/dist/components/ui/theme/typographyTheme.d.ts +3 -2
- package/dist/components/ui/typography.d.ts +2 -0
- package/dist/index.esm.js +36 -38
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +36 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -77,6 +77,8 @@ export declare const Img: React.ForwardRefExoticComponent<{
|
|
|
77
77
|
md?: boolean | undefined;
|
|
78
78
|
lg?: boolean | undefined;
|
|
79
79
|
xl?: boolean | undefined;
|
|
80
|
+
filled?: boolean | undefined;
|
|
81
|
+
outline?: boolean | undefined;
|
|
80
82
|
} & {
|
|
81
83
|
tag?: React.ElementType;
|
|
82
84
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
@@ -101,6 +101,8 @@ export declare const Label: React.ForwardRefExoticComponent<{
|
|
|
101
101
|
lowercase?: boolean | undefined;
|
|
102
102
|
capitalize?: boolean | undefined;
|
|
103
103
|
normalCase?: boolean | undefined;
|
|
104
|
+
filled?: boolean | undefined;
|
|
105
|
+
outline?: boolean | undefined;
|
|
104
106
|
flexWrap?: boolean | undefined;
|
|
105
107
|
flexNoWrap?: boolean | undefined;
|
|
106
108
|
flexWrapReverse?: boolean | undefined;
|
|
@@ -75,19 +75,19 @@ export declare const BUTTON_CATEGORIES: readonly ["size", "hide", "items", "just
|
|
|
75
75
|
export declare const BADGE_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "padding", "variant"];
|
|
76
76
|
export declare const CHIP_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "padding", "variant"];
|
|
77
77
|
export declare const CODE_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "padding", "variant"];
|
|
78
|
-
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent"];
|
|
79
|
-
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "listStyle", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "padding"];
|
|
80
|
-
export declare const GRID_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent"];
|
|
81
|
-
export declare const CONTAINER_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape"];
|
|
82
|
-
export declare const COL_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape"];
|
|
83
|
-
export declare const ROW_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "appearance", "transparent", "border", "shadow", "ring", "shape"];
|
|
84
|
-
export declare const STACK_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "padding", "appearance", "transparent", "border", "shadow", "ring", "shape"];
|
|
85
|
-
export declare const CARD_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "appearance", "transparent", "border", "shadow", "ring", "shape", "padding"];
|
|
78
|
+
export declare const TYPOGRAPHY_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "variant"];
|
|
79
|
+
export declare const LIST_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "listStyle", "size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "padding", "variant"];
|
|
80
|
+
export declare const GRID_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "variant"];
|
|
81
|
+
export declare const CONTAINER_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
82
|
+
export declare const COL_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
83
|
+
export declare const ROW_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
84
|
+
export declare const STACK_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "padding", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
85
|
+
export declare const CARD_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "breakpoint", "appearance", "transparent", "border", "shadow", "ring", "shape", "padding", "variant"];
|
|
86
86
|
export declare const DIVIDER_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "padding"];
|
|
87
|
-
export declare const SECTION_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "padding", "breakpoint"];
|
|
87
|
+
export declare const SECTION_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "border", "shadow", "ring", "shape", "padding", "breakpoint", "variant"];
|
|
88
88
|
export declare const CHECKBOX_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
89
|
-
export declare const LABEL_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent"];
|
|
90
|
-
export declare const IMG_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "border", "shadow", "ring", "shape"];
|
|
89
|
+
export declare const LABEL_CATEGORIES: readonly ["fontWeight", "fontStyle", "textDecoration", "textTransform", "fontFamily", "textAlign", "size", "hide", "items", "justify", "position", "display", "overflow", "wrap", "gap", "flexDirection", "reverse", "appearance", "transparent", "variant"];
|
|
90
|
+
export declare const IMG_CATEGORIES: readonly ["size", "hide", "items", "justify", "position", "display", "overflow", "appearance", "transparent", "border", "shadow", "ring", "shape", "variant"];
|
|
91
91
|
export type CategoryProps = {
|
|
92
92
|
[K in ComponentCategoryKey]?: (typeof ComponentKeys)[K][number];
|
|
93
93
|
};
|
|
@@ -8,6 +8,7 @@ import { RadiusTheme } from "./layout/radiusTheme";
|
|
|
8
8
|
import { PxTheme } from "./size/pxTheme";
|
|
9
9
|
import { PyTheme } from "./size/pyTheme";
|
|
10
10
|
import { AppearanceTheme } from "./appearance/appearanceTheme";
|
|
11
|
+
import { GenericVariantTheme } from "./appearance/genericVariantTheme";
|
|
11
12
|
import { BreakpointTheme } from "./size/breakpointTheme";
|
|
12
13
|
import { RingTheme } from "./layout/ringTheme";
|
|
13
14
|
import { ShadowAppearanceTheme } from "./appearance/shadowAppearanceTheme";
|
|
@@ -27,10 +28,10 @@ export interface CardTheme extends BaseTypographyComponentTheme {
|
|
|
27
28
|
shadow: ShadowAppearanceTheme;
|
|
28
29
|
};
|
|
29
30
|
appearance: {
|
|
30
|
-
background: AppearanceTheme
|
|
31
|
-
text: AppearanceTheme
|
|
32
|
-
border: AppearanceTheme
|
|
33
|
-
ring: AppearanceTheme
|
|
31
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
32
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
33
|
+
border: GenericVariantTheme<AppearanceTheme>;
|
|
34
|
+
ring: GenericVariantTheme<AppearanceTheme>;
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
export declare const defaultCardTheme: ComponentTheme<CardProps, CardTheme>;
|
|
@@ -21,7 +21,8 @@ export interface ColTheme extends BaseComponentTheme {
|
|
|
21
21
|
radius: RadiusTheme;
|
|
22
22
|
};
|
|
23
23
|
appearance: {
|
|
24
|
-
background: AppearanceTheme
|
|
24
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
25
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
25
26
|
border: GenericVariantTheme<AppearanceTheme>;
|
|
26
27
|
ring: GenericVariantTheme<AppearanceTheme>;
|
|
27
28
|
shadow: GenericVariantTheme<ShadowAppearanceTheme>;
|
|
@@ -23,10 +23,10 @@ export interface ContainerTheme extends BaseComponentTheme {
|
|
|
23
23
|
radius: RadiusTheme;
|
|
24
24
|
};
|
|
25
25
|
appearance: {
|
|
26
|
-
background: AppearanceTheme
|
|
27
|
-
text: AppearanceTheme
|
|
28
|
-
border: AppearanceTheme
|
|
29
|
-
ring: AppearanceTheme
|
|
26
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
27
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
28
|
+
border: GenericVariantTheme<AppearanceTheme>;
|
|
29
|
+
ring: GenericVariantTheme<AppearanceTheme>;
|
|
30
30
|
shadow: GenericVariantTheme<ShadowAppearanceTheme>;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -4,12 +4,14 @@ import { GapTheme } from "./size/gapTheme";
|
|
|
4
4
|
import { WrapTheme } from "./layout/wrapTheme";
|
|
5
5
|
import { DirectionTheme } from "./layout/directionTheme";
|
|
6
6
|
import { AppearanceTheme } from "./appearance/appearanceTheme";
|
|
7
|
+
import { GenericVariantTheme } from "./appearance/genericVariantTheme";
|
|
7
8
|
export interface GridTheme extends BaseComponentTheme {
|
|
8
9
|
size: {
|
|
9
10
|
gap: GapTheme;
|
|
10
11
|
};
|
|
11
12
|
appearance: {
|
|
12
|
-
background: AppearanceTheme
|
|
13
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
14
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
13
15
|
};
|
|
14
16
|
layout: DefaultLayoutThemes & {
|
|
15
17
|
wrap: WrapTheme;
|
|
@@ -3,6 +3,7 @@ import { LabelProps } from "../props";
|
|
|
3
3
|
import { SizeTheme } from "./size/sizeTheme";
|
|
4
4
|
import { GapTheme } from "./size/gapTheme";
|
|
5
5
|
import { AppearanceTheme } from "./appearance/appearanceTheme";
|
|
6
|
+
import { GenericVariantTheme } from "./appearance/genericVariantTheme";
|
|
6
7
|
import { WrapTheme } from "./layout/wrapTheme";
|
|
7
8
|
import { DirectionTheme } from "./layout/directionTheme";
|
|
8
9
|
export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
@@ -11,7 +12,7 @@ export interface LabelTheme extends BaseTypographyComponentTheme {
|
|
|
11
12
|
gap: GapTheme;
|
|
12
13
|
};
|
|
13
14
|
appearance: {
|
|
14
|
-
text: AppearanceTheme
|
|
15
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
15
16
|
};
|
|
16
17
|
layout: DefaultLayoutThemes & {
|
|
17
18
|
wrap: WrapTheme;
|
|
@@ -23,7 +23,8 @@ export interface RowTheme extends BaseComponentTheme {
|
|
|
23
23
|
radius: RadiusTheme;
|
|
24
24
|
};
|
|
25
25
|
appearance: {
|
|
26
|
-
background: AppearanceTheme
|
|
26
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
27
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
27
28
|
border: GenericVariantTheme<AppearanceTheme>;
|
|
28
29
|
ring: GenericVariantTheme<AppearanceTheme>;
|
|
29
30
|
shadow: GenericVariantTheme<ShadowAppearanceTheme>;
|
|
@@ -27,7 +27,8 @@ export interface StackTheme extends BaseComponentTheme {
|
|
|
27
27
|
radius: RadiusTheme;
|
|
28
28
|
};
|
|
29
29
|
appearance: {
|
|
30
|
-
background: AppearanceTheme
|
|
30
|
+
background: GenericVariantTheme<AppearanceTheme>;
|
|
31
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
31
32
|
border: GenericVariantTheme<AppearanceTheme>;
|
|
32
33
|
ring: GenericVariantTheme<AppearanceTheme>;
|
|
33
34
|
shadow: GenericVariantTheme<ShadowAppearanceTheme>;
|
|
@@ -3,6 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { BaseTypographyComponentTheme, ComponentTheme, DefaultLayoutThemes } from "./common/ComponentTheme";
|
|
4
4
|
import { SizeTheme } from "./size/sizeTheme";
|
|
5
5
|
import { AppearanceTheme } from "./appearance/appearanceTheme";
|
|
6
|
+
import { GenericVariantTheme } from "./appearance/genericVariantTheme";
|
|
6
7
|
import { SizeKey } from "../props";
|
|
7
8
|
import { PlTheme } from "./size/plTheme";
|
|
8
9
|
import { ListStyleTheme } from "./list/listStyleTheme";
|
|
@@ -11,7 +12,7 @@ export interface TypographyTheme extends BaseTypographyComponentTheme {
|
|
|
11
12
|
text: SizeTheme;
|
|
12
13
|
};
|
|
13
14
|
appearance: {
|
|
14
|
-
text: AppearanceTheme
|
|
15
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
15
16
|
};
|
|
16
17
|
layout: DefaultLayoutThemes;
|
|
17
18
|
}
|
|
@@ -28,7 +29,7 @@ export interface ListTheme extends BaseTypographyComponentTheme {
|
|
|
28
29
|
paddingLeft: PlTheme;
|
|
29
30
|
};
|
|
30
31
|
appearance: {
|
|
31
|
-
text: AppearanceTheme
|
|
32
|
+
text: GenericVariantTheme<AppearanceTheme>;
|
|
32
33
|
};
|
|
33
34
|
layout: DefaultLayoutThemes;
|
|
34
35
|
listStyle: ListStyleTheme;
|
|
@@ -105,6 +105,8 @@ export declare const List: React.ForwardRefExoticComponent<{
|
|
|
105
105
|
lowercase?: boolean | undefined;
|
|
106
106
|
capitalize?: boolean | undefined;
|
|
107
107
|
normalCase?: boolean | undefined;
|
|
108
|
+
filled?: boolean | undefined;
|
|
109
|
+
outline?: boolean | undefined;
|
|
108
110
|
} & {
|
|
109
111
|
tag?: React.ElementType;
|
|
110
112
|
} & React.RefAttributes<HTMLUListElement>>;
|
package/dist/index.esm.js
CHANGED
|
@@ -72,22 +72,22 @@ const BADGE_CATEGORIES = INTERACTIVE_CATEGORIES;
|
|
|
72
72
|
const CHIP_CATEGORIES = INTERACTIVE_CATEGORIES;
|
|
73
73
|
const CODE_CATEGORIES = INTERACTIVE_CATEGORIES;
|
|
74
74
|
//typography:
|
|
75
|
-
const TYPOGRAPHY_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_CORE, ...VISUAL_CORE];
|
|
76
|
-
const LIST_CATEGORIES = [...TYPOGRAPHY_FULL, ...LIST_STYLE, ...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING];
|
|
75
|
+
const TYPOGRAPHY_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_CORE, ...VISUAL_CORE, ...VARIANT];
|
|
76
|
+
const LIST_CATEGORIES = [...TYPOGRAPHY_FULL, ...LIST_STYLE, ...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING, ...VARIANT];
|
|
77
77
|
//layout:
|
|
78
|
-
const GRID_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_CORE];
|
|
79
|
-
const CONTAINER_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL];
|
|
80
|
-
const COL_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL];
|
|
81
|
-
const ROW_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_FULL];
|
|
82
|
-
const STACK_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...PADDING, ...VISUAL_FULL];
|
|
83
|
-
const CARD_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_FULL, ...PADDING];
|
|
78
|
+
const GRID_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_CORE, ...VARIANT];
|
|
79
|
+
const CONTAINER_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...VARIANT];
|
|
80
|
+
const COL_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...VARIANT];
|
|
81
|
+
const ROW_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_FULL, ...VARIANT];
|
|
82
|
+
const STACK_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...PADDING, ...VISUAL_FULL, ...VARIANT];
|
|
83
|
+
const CARD_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_FULL, ...PADDING, ...VARIANT];
|
|
84
84
|
const DIVIDER_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING];
|
|
85
|
-
const SECTION_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...PADDING, ...BREAKPOINT];
|
|
85
|
+
const SECTION_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...PADDING, ...BREAKPOINT, ...VARIANT];
|
|
86
86
|
// Form component categories
|
|
87
87
|
const CHECKBOX_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT];
|
|
88
|
-
const LABEL_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...VISUAL_CORE];
|
|
88
|
+
const LABEL_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...VISUAL_CORE, ...VARIANT];
|
|
89
89
|
// Media component categories
|
|
90
|
-
const IMG_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...VISUAL_DECORATION, ...SHAPE];
|
|
90
|
+
const IMG_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT];
|
|
91
91
|
const COMPONENT = ['button', 'badge', 'chip', 'code', 'card', 'divider', 'container', 'row', 'col', 'stack', 'section',
|
|
92
92
|
'grid2', 'grid3', 'grid4', 'pageTitle', 'sectionTitle', 'title', 'text', 'link', 'list', 'listItem', 'checkbox', 'label', 'img'];
|
|
93
93
|
const ComponentCategories = {
|
|
@@ -4088,7 +4088,6 @@ const themeDefaults = {
|
|
|
4088
4088
|
md: true,
|
|
4089
4089
|
flex: true,
|
|
4090
4090
|
gap: true,
|
|
4091
|
-
default: true,
|
|
4092
4091
|
sans: true,
|
|
4093
4092
|
medium: true,
|
|
4094
4093
|
},
|
|
@@ -4107,27 +4106,23 @@ const themeDefaults = {
|
|
|
4107
4106
|
},
|
|
4108
4107
|
text: {
|
|
4109
4108
|
md: true,
|
|
4110
|
-
default: true,
|
|
4111
4109
|
sans: true,
|
|
4112
4110
|
textLeft: true,
|
|
4113
4111
|
},
|
|
4114
4112
|
title: {
|
|
4115
4113
|
md: true,
|
|
4116
|
-
default: true,
|
|
4117
4114
|
sans: true,
|
|
4118
4115
|
semibold: true,
|
|
4119
4116
|
textLeft: true,
|
|
4120
4117
|
},
|
|
4121
4118
|
pageTitle: {
|
|
4122
4119
|
md: true,
|
|
4123
|
-
default: true,
|
|
4124
4120
|
sans: true,
|
|
4125
4121
|
semibold: true,
|
|
4126
4122
|
textLeft: true,
|
|
4127
4123
|
},
|
|
4128
4124
|
sectionTitle: {
|
|
4129
4125
|
md: true,
|
|
4130
|
-
default: true,
|
|
4131
4126
|
sans: true,
|
|
4132
4127
|
semibold: true,
|
|
4133
4128
|
textLeft: true,
|
|
@@ -4142,7 +4137,6 @@ const themeDefaults = {
|
|
|
4142
4137
|
},
|
|
4143
4138
|
list: {
|
|
4144
4139
|
md: true,
|
|
4145
|
-
default: true,
|
|
4146
4140
|
sans: true,
|
|
4147
4141
|
normal: true,
|
|
4148
4142
|
padding: true,
|
|
@@ -4405,7 +4399,7 @@ const createTypographyComponentTheme = (tag, base = "text-balance", textSizeMap
|
|
|
4405
4399
|
text: new SizeTheme(textSizeMap),
|
|
4406
4400
|
},
|
|
4407
4401
|
appearance: {
|
|
4408
|
-
text:
|
|
4402
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4409
4403
|
},
|
|
4410
4404
|
typography: defaultTypographyTheme,
|
|
4411
4405
|
layout: defaultLayoutTheme,
|
|
@@ -4440,7 +4434,7 @@ const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer"
|
|
|
4440
4434
|
text: new SizeTheme(textSizeClasses, false),
|
|
4441
4435
|
},
|
|
4442
4436
|
appearance: {
|
|
4443
|
-
text:
|
|
4437
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4444
4438
|
},
|
|
4445
4439
|
typography: defaultTypographyTheme,
|
|
4446
4440
|
layout: defaultLayoutTheme,
|
|
@@ -4451,7 +4445,7 @@ const listItemTheme = new ComponentTheme("li", "", {
|
|
|
4451
4445
|
text: new SizeTheme(textSizeClasses, false),
|
|
4452
4446
|
},
|
|
4453
4447
|
appearance: {
|
|
4454
|
-
text:
|
|
4448
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4455
4449
|
},
|
|
4456
4450
|
typography: defaultTypographyTheme,
|
|
4457
4451
|
}, themeDefaults.listItem, TYPOGRAPHY_CATEGORIES);
|
|
@@ -4462,7 +4456,7 @@ const listTheme = new ComponentTheme("ul", "list-inside", {
|
|
|
4462
4456
|
paddingLeft: new PlTheme(),
|
|
4463
4457
|
},
|
|
4464
4458
|
appearance: {
|
|
4465
|
-
text:
|
|
4459
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4466
4460
|
},
|
|
4467
4461
|
typography: defaultTypographyTheme,
|
|
4468
4462
|
layout: defaultLayoutTheme,
|
|
@@ -4528,10 +4522,10 @@ const defaultCardTheme = new ComponentTheme("div", "", {
|
|
|
4528
4522
|
shadow: ShadowAppearanceTheme.createLayoutTheme(),
|
|
4529
4523
|
},
|
|
4530
4524
|
appearance: {
|
|
4531
|
-
background:
|
|
4532
|
-
text:
|
|
4533
|
-
border:
|
|
4534
|
-
ring:
|
|
4525
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4526
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4527
|
+
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4528
|
+
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4535
4529
|
},
|
|
4536
4530
|
typography: defaultTypographyTheme,
|
|
4537
4531
|
}, themeDefaults.card, CARD_CATEGORIES, (props, defaults) => {
|
|
@@ -4552,7 +4546,8 @@ const defaultRowTheme = new ComponentTheme("div", "", {
|
|
|
4552
4546
|
radius: RadiusTheme.createLayoutTheme(),
|
|
4553
4547
|
},
|
|
4554
4548
|
appearance: {
|
|
4555
|
-
background:
|
|
4549
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4550
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4556
4551
|
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4557
4552
|
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4558
4553
|
shadow: GenericVariantTheme.createLayoutShadowTheme(),
|
|
@@ -4594,10 +4589,10 @@ const defaultContainerTheme = new ComponentTheme("div", "flex-col mx-auto w-full
|
|
|
4594
4589
|
radius: RadiusTheme.createLayoutTheme(),
|
|
4595
4590
|
},
|
|
4596
4591
|
appearance: {
|
|
4597
|
-
background:
|
|
4598
|
-
text:
|
|
4599
|
-
border:
|
|
4600
|
-
ring:
|
|
4592
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4593
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4594
|
+
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4595
|
+
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4601
4596
|
shadow: GenericVariantTheme.createLayoutShadowTheme(),
|
|
4602
4597
|
}
|
|
4603
4598
|
}, themeDefaults.container, CONTAINER_CATEGORIES, (props, defaults) => {
|
|
@@ -4617,7 +4612,8 @@ const defaultColTheme = new ComponentTheme("div", "", {
|
|
|
4617
4612
|
radius: RadiusTheme.createLayoutTheme(),
|
|
4618
4613
|
},
|
|
4619
4614
|
appearance: {
|
|
4620
|
-
background:
|
|
4615
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4616
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4621
4617
|
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4622
4618
|
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4623
4619
|
shadow: GenericVariantTheme.createLayoutShadowTheme(),
|
|
@@ -4642,7 +4638,8 @@ const defaultStackTheme = new ComponentTheme("div", "", {
|
|
|
4642
4638
|
radius: RadiusTheme.createLayoutTheme(),
|
|
4643
4639
|
},
|
|
4644
4640
|
appearance: {
|
|
4645
|
-
background:
|
|
4641
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4642
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4646
4643
|
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4647
4644
|
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4648
4645
|
shadow: GenericVariantTheme.createLayoutShadowTheme(),
|
|
@@ -4671,10 +4668,10 @@ const defaultSectionTheme = new ComponentTheme("div", "w-full flex-col", {
|
|
|
4671
4668
|
breakpoint: new BreakpointTheme(),
|
|
4672
4669
|
},
|
|
4673
4670
|
appearance: {
|
|
4674
|
-
background:
|
|
4675
|
-
text:
|
|
4676
|
-
border:
|
|
4677
|
-
ring:
|
|
4671
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4672
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4673
|
+
border: GenericVariantTheme.createUIElementBorderTheme(),
|
|
4674
|
+
ring: GenericVariantTheme.createUIElementRingTheme(),
|
|
4678
4675
|
shadow: ShadowAppearanceTheme.createLayoutTheme(),
|
|
4679
4676
|
},
|
|
4680
4677
|
layout: {
|
|
@@ -4700,7 +4697,8 @@ const gridSubThemes = {
|
|
|
4700
4697
|
}),
|
|
4701
4698
|
},
|
|
4702
4699
|
appearance: {
|
|
4703
|
-
background:
|
|
4700
|
+
background: GenericVariantTheme.createSimpleBgAppearanceTheme(),
|
|
4701
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4704
4702
|
},
|
|
4705
4703
|
layout: {
|
|
4706
4704
|
...defaultLayoutTheme,
|
|
@@ -4780,7 +4778,7 @@ const defaultLabelTheme = new ComponentTheme("label", "has-[input]:cursor-pointe
|
|
|
4780
4778
|
gap: new GapTheme({ xs: 'gap-1.5', sm: 'gap-2', md: 'gap-2.5', lg: 'gap-3', xl: 'gap-3' }),
|
|
4781
4779
|
},
|
|
4782
4780
|
appearance: {
|
|
4783
|
-
text:
|
|
4781
|
+
text: GenericVariantTheme.createUIElementTextTheme(),
|
|
4784
4782
|
},
|
|
4785
4783
|
typography: defaultTypographyTheme,
|
|
4786
4784
|
layout: {
|