@vaneui/ui 0.3.1-alpha.20251129115555.bcd1100 → 0.3.1-alpha.20251130172447.8795285
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/themeContext.d.ts +17 -1
- package/dist/components/themeContext.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +14 -189
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +14 -189
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +8 -128
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +8 -88
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/chip.d.ts +14 -2
- package/dist/components/ui/chip.d.ts.map +1 -1
- package/dist/components/ui/code.d.ts +8 -126
- package/dist/components/ui/code.d.ts.map +1 -1
- package/dist/components/ui/col.d.ts +8 -96
- package/dist/components/ui/col.d.ts.map +1 -1
- package/dist/components/ui/container.d.ts +8 -96
- package/dist/components/ui/container.d.ts.map +1 -1
- package/dist/components/ui/divider.d.ts +8 -71
- package/dist/components/ui/divider.d.ts.map +1 -1
- package/dist/components/ui/grid.d.ts +16 -405
- package/dist/components/ui/grid.d.ts.map +1 -1
- package/dist/components/ui/img.d.ts +8 -88
- package/dist/components/ui/img.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +8 -126
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +8 -107
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/props/appearance.d.ts +0 -20
- package/dist/components/ui/props/appearance.d.ts.map +1 -1
- package/dist/components/ui/props/appearanceProps.d.ts +26 -0
- package/dist/components/ui/props/appearanceProps.d.ts.map +1 -0
- package/dist/components/ui/props/baseProps.d.ts +11 -0
- package/dist/components/ui/props/baseProps.d.ts.map +1 -0
- package/dist/components/ui/props/border.d.ts +0 -14
- package/dist/components/ui/props/border.d.ts.map +1 -1
- package/dist/components/ui/props/borderProps.d.ts +22 -0
- package/dist/components/ui/props/borderProps.d.ts.map +1 -0
- package/dist/components/ui/props/breakpoint.d.ts +0 -8
- package/dist/components/ui/props/breakpoint.d.ts.map +1 -1
- package/dist/components/ui/props/breakpointProps.d.ts +14 -0
- package/dist/components/ui/props/breakpointProps.d.ts.map +1 -0
- package/dist/components/ui/props/display.d.ts +0 -22
- package/dist/components/ui/props/display.d.ts.map +1 -1
- package/dist/components/ui/props/displayProps.d.ts +28 -0
- package/dist/components/ui/props/displayProps.d.ts.map +1 -0
- package/dist/components/ui/props/flexDirection.d.ts +0 -8
- package/dist/components/ui/props/flexDirection.d.ts.map +1 -1
- package/dist/components/ui/props/flexDirectionProps.d.ts +14 -0
- package/dist/components/ui/props/flexDirectionProps.d.ts.map +1 -0
- package/dist/components/ui/props/focusVisible.d.ts +0 -4
- package/dist/components/ui/props/focusVisible.d.ts.map +1 -1
- package/dist/components/ui/props/focusVisibleProps.d.ts +10 -0
- package/dist/components/ui/props/focusVisibleProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontFamily.d.ts +0 -6
- package/dist/components/ui/props/fontFamily.d.ts.map +1 -1
- package/dist/components/ui/props/fontFamilyProps.d.ts +12 -0
- package/dist/components/ui/props/fontFamilyProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontStyle.d.ts +0 -4
- package/dist/components/ui/props/fontStyle.d.ts.map +1 -1
- package/dist/components/ui/props/fontStyleProps.d.ts +10 -0
- package/dist/components/ui/props/fontStyleProps.d.ts.map +1 -0
- package/dist/components/ui/props/fontWeight.d.ts +0 -18
- package/dist/components/ui/props/fontWeight.d.ts.map +1 -1
- package/dist/components/ui/props/fontWeightProps.d.ts +24 -0
- package/dist/components/ui/props/fontWeightProps.d.ts.map +1 -0
- package/dist/components/ui/props/gap.d.ts +0 -4
- package/dist/components/ui/props/gap.d.ts.map +1 -1
- package/dist/components/ui/props/gapProps.d.ts +10 -0
- package/dist/components/ui/props/gapProps.d.ts.map +1 -0
- package/dist/components/ui/props/hide.d.ts +0 -8
- package/dist/components/ui/props/hide.d.ts.map +1 -1
- package/dist/components/ui/props/hideProps.d.ts +14 -0
- package/dist/components/ui/props/hideProps.d.ts.map +1 -0
- package/dist/components/ui/props/items.d.ts +0 -10
- package/dist/components/ui/props/items.d.ts.map +1 -1
- package/dist/components/ui/props/itemsProps.d.ts +16 -0
- package/dist/components/ui/props/itemsProps.d.ts.map +1 -0
- package/dist/components/ui/props/justify.d.ts +0 -16
- package/dist/components/ui/props/justify.d.ts.map +1 -1
- package/dist/components/ui/props/justifyProps.d.ts +22 -0
- package/dist/components/ui/props/justifyProps.d.ts.map +1 -0
- package/dist/components/ui/props/listStyle.d.ts +0 -4
- package/dist/components/ui/props/listStyle.d.ts.map +1 -1
- package/dist/components/ui/props/listStyleProps.d.ts +10 -0
- package/dist/components/ui/props/listStyleProps.d.ts.map +1 -0
- package/dist/components/ui/props/overflow.d.ts +0 -30
- package/dist/components/ui/props/overflow.d.ts.map +1 -1
- package/dist/components/ui/props/overflowProps.d.ts +36 -0
- package/dist/components/ui/props/overflowProps.d.ts.map +1 -0
- package/dist/components/ui/props/padding.d.ts +0 -4
- package/dist/components/ui/props/padding.d.ts.map +1 -1
- package/dist/components/ui/props/paddingProps.d.ts +10 -0
- package/dist/components/ui/props/paddingProps.d.ts.map +1 -0
- package/dist/components/ui/props/position.d.ts +0 -10
- package/dist/components/ui/props/position.d.ts.map +1 -1
- package/dist/components/ui/props/positionProps.d.ts +16 -0
- package/dist/components/ui/props/positionProps.d.ts.map +1 -0
- package/dist/components/ui/props/props.d.ts +34 -76
- package/dist/components/ui/props/props.d.ts.map +1 -1
- package/dist/components/ui/props/reverse.d.ts +0 -2
- package/dist/components/ui/props/reverse.d.ts.map +1 -1
- package/dist/components/ui/props/reverseProps.d.ts +8 -0
- package/dist/components/ui/props/reverseProps.d.ts.map +1 -0
- package/dist/components/ui/props/ring.d.ts +0 -4
- package/dist/components/ui/props/ring.d.ts.map +1 -1
- package/dist/components/ui/props/ringProps.d.ts +10 -0
- package/dist/components/ui/props/ringProps.d.ts.map +1 -0
- package/dist/components/ui/props/shadow.d.ts +0 -4
- package/dist/components/ui/props/shadow.d.ts.map +1 -1
- package/dist/components/ui/props/shadowProps.d.ts +10 -0
- package/dist/components/ui/props/shadowProps.d.ts.map +1 -0
- package/dist/components/ui/props/shape.d.ts +0 -6
- package/dist/components/ui/props/shape.d.ts.map +1 -1
- package/dist/components/ui/props/shapeProps.d.ts +12 -0
- package/dist/components/ui/props/shapeProps.d.ts.map +1 -0
- package/dist/components/ui/props/size.d.ts +0 -10
- package/dist/components/ui/props/size.d.ts.map +1 -1
- package/dist/components/ui/props/sizeProps.d.ts +16 -0
- package/dist/components/ui/props/sizeProps.d.ts.map +1 -0
- package/dist/components/ui/props/textAlign.d.ts +0 -8
- package/dist/components/ui/props/textAlign.d.ts.map +1 -1
- package/dist/components/ui/props/textAlignProps.d.ts +14 -0
- package/dist/components/ui/props/textAlignProps.d.ts.map +1 -0
- package/dist/components/ui/props/textDecoration.d.ts +0 -8
- package/dist/components/ui/props/textDecoration.d.ts.map +1 -1
- package/dist/components/ui/props/textDecorationProps.d.ts +14 -0
- package/dist/components/ui/props/textDecorationProps.d.ts.map +1 -0
- package/dist/components/ui/props/textTransform.d.ts +0 -8
- package/dist/components/ui/props/textTransform.d.ts.map +1 -1
- package/dist/components/ui/props/textTransformProps.d.ts +14 -0
- package/dist/components/ui/props/textTransformProps.d.ts.map +1 -0
- package/dist/components/ui/props/transparent.d.ts +0 -2
- package/dist/components/ui/props/transparent.d.ts.map +1 -1
- package/dist/components/ui/props/transparentProps.d.ts +8 -0
- package/dist/components/ui/props/transparentProps.d.ts.map +1 -0
- package/dist/components/ui/props/variant.d.ts +0 -4
- package/dist/components/ui/props/variant.d.ts.map +1 -1
- package/dist/components/ui/props/variantProps.d.ts +10 -0
- package/dist/components/ui/props/variantProps.d.ts.map +1 -0
- package/dist/components/ui/props/wrap.d.ts +0 -6
- package/dist/components/ui/props/wrap.d.ts.map +1 -1
- package/dist/components/ui/props/wrapProps.d.ts +12 -0
- package/dist/components/ui/props/wrapProps.d.ts.map +1 -0
- package/dist/components/ui/row.d.ts +8 -100
- package/dist/components/ui/row.d.ts.map +1 -1
- package/dist/components/ui/section.d.ts +8 -102
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/stack.d.ts +8 -102
- package/dist/components/ui/stack.d.ts.map +1 -1
- package/dist/components/ui/theme/badgeTheme.d.ts +1 -1
- package/dist/components/ui/theme/badgeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/buttonTheme.d.ts +1 -1
- package/dist/components/ui/theme/buttonTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/cardTheme.d.ts +1 -1
- package/dist/components/ui/theme/cardTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/checkboxTheme.d.ts +1 -1
- package/dist/components/ui/theme/checkboxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/chipTheme.d.ts +1 -1
- package/dist/components/ui/theme/chipTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/codeTheme.d.ts +1 -1
- package/dist/components/ui/theme/codeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/colTheme.d.ts +1 -1
- package/dist/components/ui/theme/colTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/common/ComponentTheme.d.ts +1 -1
- package/dist/components/ui/theme/containerTheme.d.ts +1 -1
- package/dist/components/ui/theme/containerTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/dividerTheme.d.ts +1 -1
- package/dist/components/ui/theme/dividerTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/gridTheme.d.ts +1 -1
- package/dist/components/ui/theme/gridTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/imgTheme.d.ts +1 -1
- package/dist/components/ui/theme/imgTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/inputTheme.d.ts +1 -1
- package/dist/components/ui/theme/inputTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/labelTheme.d.ts +1 -1
- package/dist/components/ui/theme/labelTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/rowTheme.d.ts +1 -1
- package/dist/components/ui/theme/rowTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/sectionTheme.d.ts +1 -1
- package/dist/components/ui/theme/sectionTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/stackTheme.d.ts +1 -1
- package/dist/components/ui/theme/stackTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/typographyTheme.d.ts +1 -1
- package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
- package/dist/components/ui/typography.d.ts +51 -108
- package/dist/components/ui/typography.d.ts.map +1 -1
- package/dist/index.esm.js +33 -659
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +32 -782
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
package/dist/index.esm.js
CHANGED
|
@@ -9,350 +9,98 @@ import { createContext, useContext, useMemo, forwardRef } from 'react';
|
|
|
9
9
|
class BaseTheme {
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
/** Default neutral appearance - uses default color variables */
|
|
13
|
-
const DEFAULT = 'default';
|
|
14
|
-
/** Accent appearance - uses accent/rose color variables for brand secondary styling */
|
|
15
|
-
const ACCENT = 'accent';
|
|
16
|
-
/** Primary appearance - uses primary/blue color variables for main brand styling */
|
|
17
|
-
const PRIMARY = 'primary';
|
|
18
|
-
/** Secondary appearance - uses secondary/gray color variables for muted styling */
|
|
19
|
-
const SECONDARY = 'secondary';
|
|
20
|
-
/** Tertiary appearance - uses tertiary/gray color variables for subtle styling */
|
|
21
|
-
const TERTIARY = 'tertiary';
|
|
22
|
-
/** Success appearance - uses success/emerald color variables for positive states */
|
|
23
|
-
const SUCCESS = 'success';
|
|
24
|
-
/** Danger appearance - uses danger/red color variables for error/destructive states */
|
|
25
|
-
const DANGER = 'danger';
|
|
26
|
-
/** Warning appearance - uses warning/amber color variables for caution states */
|
|
27
|
-
const WARNING = 'warning';
|
|
28
|
-
/** Info appearance - uses info/cyan color variables for informational states */
|
|
29
|
-
const INFO = 'info';
|
|
30
|
-
/** Link appearance - uses link/blue color variables for hyperlinks and navigation */
|
|
31
|
-
const LINK = 'link';
|
|
32
12
|
/** All appearance property values */
|
|
33
|
-
const APPEARANCE_VALUES = [
|
|
13
|
+
const APPEARANCE_VALUES = ['default', 'accent', 'primary', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info', 'link'];
|
|
34
14
|
|
|
35
|
-
/** Show border - adds appearance-based border styling */
|
|
36
|
-
const BORDER$1 = 'border';
|
|
37
|
-
/** Show top border */
|
|
38
|
-
const BORDER_T = 'borderT';
|
|
39
|
-
/** Show bottom border */
|
|
40
|
-
const BORDER_B = 'borderB';
|
|
41
|
-
/** Show left border */
|
|
42
|
-
const BORDER_L = 'borderL';
|
|
43
|
-
/** Show right border */
|
|
44
|
-
const BORDER_R = 'borderR';
|
|
45
|
-
/** Show horizontal borders (left and right) */
|
|
46
|
-
const BORDER_X = 'borderX';
|
|
47
|
-
/** Show vertical borders (top and bottom) */
|
|
48
|
-
const BORDER_Y = 'borderY';
|
|
49
15
|
/** Hide border - removes border styling (overrides appearance colors) */
|
|
50
16
|
const NO_BORDER = 'noBorder';
|
|
51
17
|
/** All border property values - includes all border variations and noBorder */
|
|
52
|
-
const BORDER_VALUES = [
|
|
18
|
+
const BORDER_VALUES = ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'noBorder'];
|
|
53
19
|
/** All border side keys (excluding noBorder since it doesn't have a CSS class) */
|
|
54
|
-
const BORDER_KEYS = [
|
|
20
|
+
const BORDER_KEYS = ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY'];
|
|
55
21
|
|
|
56
|
-
/** Mobile column breakpoint - switch to column layout on mobile devices (max-mobile: 20rem) */
|
|
57
|
-
const MOBILE_COL = 'mobileCol';
|
|
58
|
-
/** Tablet column breakpoint - switch to column layout on tablet devices (max-tablet: 40rem) */
|
|
59
|
-
const TABLET_COL = 'tabletCol';
|
|
60
|
-
/** Laptop column breakpoint - switch to column layout on laptop devices (max-laptop: 64rem) */
|
|
61
|
-
const LAPTOP_COL = 'laptopCol';
|
|
62
|
-
/** Desktop column breakpoint - switch to column layout on desktop devices (max-desktop: 80rem) */
|
|
63
|
-
const DESKTOP_COL = 'desktopCol';
|
|
64
22
|
/** All breakpoint property values */
|
|
65
|
-
const BREAKPOINT_VALUES = [
|
|
23
|
+
const BREAKPOINT_VALUES = ['mobileCol', 'tabletCol', 'laptopCol', 'desktopCol'];
|
|
66
24
|
|
|
67
|
-
/** Inline display - flows with text */
|
|
68
|
-
const INLINE = 'inline';
|
|
69
|
-
/** Block display - takes full width, new line */
|
|
70
|
-
const BLOCK = 'block';
|
|
71
|
-
/** Inline-block display - inline but with block properties */
|
|
72
|
-
const INLINE_BLOCK = 'inlineBlock';
|
|
73
|
-
/** Flex display - flexbox container */
|
|
74
|
-
const FLEX = 'flex';
|
|
75
|
-
/** Inline-flex display - inline flexbox container */
|
|
76
|
-
const INLINE_FLEX = 'inlineFlex';
|
|
77
|
-
/** Grid display - CSS grid container */
|
|
78
|
-
const GRID = 'grid';
|
|
79
|
-
/** Inline-grid display - inline grid container */
|
|
80
|
-
const INLINE_GRID = 'inlineGrid';
|
|
81
|
-
/** Contents display - element's box is removed, children display as if parent didn't exist */
|
|
82
|
-
const CONTENTS = 'contents';
|
|
83
|
-
/** Table display - behaves like table element */
|
|
84
|
-
const TABLE = 'table';
|
|
85
|
-
/** Table-cell display - behaves like td element */
|
|
86
|
-
const TABLE_CELL = 'tableCell';
|
|
87
|
-
/** Hidden display - element is not visible */
|
|
88
|
-
const HIDDEN = 'hidden';
|
|
89
25
|
/** All display property values */
|
|
90
|
-
const DISPLAY_VALUES = [
|
|
26
|
+
const DISPLAY_VALUES = ['inline', 'block', 'inlineBlock', 'flex', 'inlineFlex', 'grid', 'inlineGrid', 'contents', 'table', 'tableCell', 'hidden'];
|
|
91
27
|
|
|
92
|
-
/** Horizontal flex direction (left to right) */
|
|
93
|
-
const ROW = 'row';
|
|
94
|
-
/** Vertical flex direction (top to bottom) */
|
|
95
|
-
const COLUMN = 'column';
|
|
96
|
-
/** Horizontal flex direction reversed (right to left) */
|
|
97
|
-
const ROW_REVERSE = 'rowReverse';
|
|
98
|
-
/** Vertical flex direction reversed (bottom to top) */
|
|
99
|
-
const COLUMN_REVERSE = 'columnReverse';
|
|
100
28
|
/** All flex direction property values */
|
|
101
|
-
const FLEX_DIRECTION_VALUES = [
|
|
29
|
+
const FLEX_DIRECTION_VALUES = ['row', 'column', 'rowReverse', 'columnReverse'];
|
|
102
30
|
|
|
103
|
-
/** Sans-serif font family - clean, modern typeface without serifs */
|
|
104
|
-
const SANS = 'sans';
|
|
105
|
-
/** Serif font family - traditional typeface with small decorative strokes */
|
|
106
|
-
const SERIF = 'serif';
|
|
107
|
-
/** Monospace font family - fixed-width typeface for code and data */
|
|
108
|
-
const MONO = 'mono';
|
|
109
31
|
/** All font family property values */
|
|
110
|
-
const FONT_FAMILY_VALUES = [
|
|
32
|
+
const FONT_FAMILY_VALUES = ['sans', 'serif', 'mono'];
|
|
111
33
|
|
|
112
|
-
/** Italic font style - slanted text styling */
|
|
113
|
-
const ITALIC = 'italic';
|
|
114
|
-
/** Normal font style - upright text styling (not italic) */
|
|
115
|
-
const NOT_ITALIC = 'notItalic';
|
|
116
34
|
/** All font style property values */
|
|
117
|
-
const FONT_STYLE_VALUES = [
|
|
35
|
+
const FONT_STYLE_VALUES = ['italic', 'notItalic'];
|
|
118
36
|
|
|
119
|
-
/** Thin font weight - CSS font-weight: 100 */
|
|
120
|
-
const THIN = 'thin';
|
|
121
|
-
/** Extra light font weight - CSS font-weight: 200 */
|
|
122
|
-
const EXTRALIGHT = 'extralight';
|
|
123
|
-
/** Light font weight - CSS font-weight: 300 */
|
|
124
|
-
const LIGHT = 'light';
|
|
125
|
-
/** Normal font weight - CSS font-weight: 400 (default) */
|
|
126
|
-
const NORMAL = 'normal';
|
|
127
|
-
/** Medium font weight - CSS font-weight: 500 */
|
|
128
|
-
const MEDIUM = 'medium';
|
|
129
|
-
/** Semibold font weight - CSS font-weight: 600 */
|
|
130
|
-
const SEMIBOLD = 'semibold';
|
|
131
|
-
/** Bold font weight - CSS font-weight: 700 */
|
|
132
|
-
const BOLD = 'bold';
|
|
133
|
-
/** Extra bold font weight - CSS font-weight: 800 */
|
|
134
|
-
const EXTRABOLD = 'extrabold';
|
|
135
|
-
/** Black font weight - CSS font-weight: 900 (heaviest) */
|
|
136
|
-
const BLACK = 'black';
|
|
137
37
|
/** All font weight property values */
|
|
138
|
-
const FONT_WEIGHT_VALUES = [
|
|
38
|
+
const FONT_WEIGHT_VALUES = ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'];
|
|
139
39
|
|
|
140
|
-
/** Enable spacing between flex/grid items - uses size-responsive gap values */
|
|
141
|
-
const GAP = 'gap';
|
|
142
|
-
/** Disable spacing between flex/grid items - no gap applied */
|
|
143
|
-
const NO_GAP = 'noGap';
|
|
144
40
|
/** All gap property values */
|
|
145
|
-
const GAP_VALUES = [
|
|
41
|
+
const GAP_VALUES = ['gap', 'noGap'];
|
|
146
42
|
|
|
147
|
-
/** Hide element on mobile devices and below (max-mobile: 20rem) */
|
|
148
|
-
const MOBILE_HIDE = 'mobileHide';
|
|
149
|
-
/** Hide element on tablet devices and below (max-tablet: 40rem) */
|
|
150
|
-
const TABLET_HIDE = 'tabletHide';
|
|
151
|
-
/** Hide element on laptop devices and below (max-laptop: 64rem) */
|
|
152
|
-
const LAPTOP_HIDE = 'laptopHide';
|
|
153
|
-
/** Hide element on desktop devices and below (max-desktop: 80rem) */
|
|
154
|
-
const DESKTOP_HIDE = 'desktopHide';
|
|
155
43
|
/** All hide property values */
|
|
156
|
-
const HIDE_VALUES = [
|
|
44
|
+
const HIDE_VALUES = ['mobileHide', 'tabletHide', 'laptopHide', 'desktopHide'];
|
|
157
45
|
|
|
158
|
-
/** Align items to the start of the cross axis */
|
|
159
|
-
const ITEMS_START = 'itemsStart';
|
|
160
|
-
/** Align items to the end of the cross axis */
|
|
161
|
-
const ITEMS_END = 'itemsEnd';
|
|
162
|
-
/** Center items along the cross axis */
|
|
163
|
-
const ITEMS_CENTER = 'itemsCenter';
|
|
164
|
-
/** Align items along their baseline */
|
|
165
|
-
const ITEMS_BASELINE = 'itemsBaseline';
|
|
166
|
-
/** Stretch items to fill the cross axis */
|
|
167
|
-
const ITEMS_STRETCH = 'itemsStretch';
|
|
168
46
|
/** All items property values */
|
|
169
|
-
const ITEMS_VALUES = [
|
|
47
|
+
const ITEMS_VALUES = ['itemsStart', 'itemsEnd', 'itemsCenter', 'itemsBaseline', 'itemsStretch'];
|
|
170
48
|
|
|
171
|
-
/** Pack items toward the start of the main axis */
|
|
172
|
-
const JUSTIFY_START = 'justifyStart';
|
|
173
|
-
/** Pack items toward the end of the main axis */
|
|
174
|
-
const JUSTIFY_END = 'justifyEnd';
|
|
175
|
-
/** Center items along the main axis */
|
|
176
|
-
const JUSTIFY_CENTER = 'justifyCenter';
|
|
177
|
-
/** Distribute items with space between them */
|
|
178
|
-
const JUSTIFY_BETWEEN = 'justifyBetween';
|
|
179
|
-
/** Distribute items with space around them */
|
|
180
|
-
const JUSTIFY_AROUND = 'justifyAround';
|
|
181
|
-
/** Distribute items with equal space around them */
|
|
182
|
-
const JUSTIFY_EVENLY = 'justifyEvenly';
|
|
183
|
-
/** Stretch items to fill the main axis */
|
|
184
|
-
const JUSTIFY_STRETCH = 'justifyStretch';
|
|
185
|
-
/** Align items along their baseline on main axis */
|
|
186
|
-
const JUSTIFY_BASELINE = 'justifyBaseline';
|
|
187
49
|
/** All justify property values */
|
|
188
|
-
const JUSTIFY_VALUES = [
|
|
50
|
+
const JUSTIFY_VALUES = ['justifyStart', 'justifyEnd', 'justifyCenter', 'justifyBetween', 'justifyAround', 'justifyEvenly', 'justifyStretch', 'justifyBaseline'];
|
|
189
51
|
|
|
190
|
-
/** Disc bullet points - circular bullets for list items */
|
|
191
|
-
const DISC = 'disc';
|
|
192
|
-
/** Decimal numbers - numbered list items (1, 2, 3...) */
|
|
193
|
-
const DECIMAL = 'decimal';
|
|
194
52
|
/** All list style property values */
|
|
195
|
-
const LIST_STYLE_VALUES = [
|
|
53
|
+
const LIST_STYLE_VALUES = ['disc', 'decimal'];
|
|
196
54
|
|
|
197
|
-
/** Auto overflow - show scrollbars if needed */
|
|
198
|
-
const OVERFLOW_AUTO = 'overflowAuto';
|
|
199
|
-
/** Hidden overflow - clip content without scrollbars */
|
|
200
|
-
const OVERFLOW_HIDDEN = 'overflowHidden';
|
|
201
|
-
/** Clip overflow - hard clip without scrollbars */
|
|
202
|
-
const OVERFLOW_CLIP = 'overflowClip';
|
|
203
|
-
/** Visible overflow - content extends beyond bounds */
|
|
204
|
-
const OVERFLOW_VISIBLE = 'overflowVisible';
|
|
205
|
-
/** Scroll overflow - always show scrollbars */
|
|
206
|
-
const OVERFLOW_SCROLL = 'overflowScroll';
|
|
207
|
-
/** Auto overflow on X-axis only */
|
|
208
|
-
const OVERFLOW_X_AUTO = 'overflowXAuto';
|
|
209
|
-
/** Auto overflow on Y-axis only */
|
|
210
|
-
const OVERFLOW_Y_AUTO = 'overflowYAuto';
|
|
211
|
-
/** Hidden overflow on X-axis only */
|
|
212
|
-
const OVERFLOW_X_HIDDEN = 'overflowXHidden';
|
|
213
|
-
/** Hidden overflow on Y-axis only */
|
|
214
|
-
const OVERFLOW_Y_HIDDEN = 'overflowYHidden';
|
|
215
|
-
/** Clip overflow on X-axis only */
|
|
216
|
-
const OVERFLOW_X_CLIP = 'overflowXClip';
|
|
217
|
-
/** Clip overflow on Y-axis only */
|
|
218
|
-
const OVERFLOW_Y_CLIP = 'overflowYClip';
|
|
219
|
-
/** Visible overflow on X-axis only */
|
|
220
|
-
const OVERFLOW_X_VISIBLE = 'overflowXVisible';
|
|
221
|
-
/** Visible overflow on Y-axis only */
|
|
222
|
-
const OVERFLOW_Y_VISIBLE = 'overflowYVisible';
|
|
223
|
-
/** Scroll overflow on X-axis only */
|
|
224
|
-
const OVERFLOW_X_SCROLL = 'overflowXScroll';
|
|
225
|
-
/** Scroll overflow on Y-axis only */
|
|
226
|
-
const OVERFLOW_Y_SCROLL = 'overflowYScroll';
|
|
227
55
|
/** All overflow property values */
|
|
228
56
|
const OVERFLOW_VALUES = [
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
57
|
+
'overflowAuto', 'overflowHidden', 'overflowClip', 'overflowVisible', 'overflowScroll',
|
|
58
|
+
'overflowXAuto', 'overflowYAuto', 'overflowXHidden', 'overflowYHidden',
|
|
59
|
+
'overflowXClip', 'overflowYClip', 'overflowXVisible', 'overflowYVisible',
|
|
60
|
+
'overflowXScroll', 'overflowYScroll'
|
|
233
61
|
];
|
|
234
62
|
|
|
235
|
-
/** Enable internal padding - uses size-responsive padding values */
|
|
236
|
-
const PADDING$1 = 'padding';
|
|
237
|
-
/** Disable internal padding - no padding applied */
|
|
238
|
-
const NO_PADDING = 'noPadding';
|
|
239
63
|
/** All padding property values */
|
|
240
|
-
const PADDING_VALUES = [
|
|
64
|
+
const PADDING_VALUES = ['padding', 'noPadding'];
|
|
241
65
|
|
|
242
|
-
/** Relative positioning - offset from normal position */
|
|
243
|
-
const RELATIVE = 'relative';
|
|
244
|
-
/** Absolute positioning - removed from normal flow */
|
|
245
|
-
const ABSOLUTE = 'absolute';
|
|
246
|
-
/** Fixed positioning - positioned relative to viewport */
|
|
247
|
-
const FIXED = 'fixed';
|
|
248
|
-
/** Sticky positioning - toggles between relative and fixed */
|
|
249
|
-
const STICKY = 'sticky';
|
|
250
|
-
/** Static positioning - normal document flow (default) */
|
|
251
|
-
const STATIC = 'static';
|
|
252
66
|
/** All position property values */
|
|
253
|
-
const POSITION_VALUES = [
|
|
67
|
+
const POSITION_VALUES = ['relative', 'absolute', 'fixed', 'sticky', 'static'];
|
|
254
68
|
|
|
255
|
-
/** Reverse flex direction - converts row to row-reverse or column to column-reverse */
|
|
256
|
-
const REVERSE = 'reverse';
|
|
257
69
|
/** All reverse property values */
|
|
258
|
-
const REVERSE_VALUES = [
|
|
70
|
+
const REVERSE_VALUES = ['reverse'];
|
|
259
71
|
|
|
260
|
-
/** Show ring - adds decorative ring/outline border around element */
|
|
261
|
-
const RING = 'ring';
|
|
262
|
-
/** Hide ring - removes ring/outline border styling */
|
|
263
|
-
const NO_RING = 'noRing';
|
|
264
72
|
/** All ring property values */
|
|
265
|
-
const RING_VALUES = [
|
|
73
|
+
const RING_VALUES = ['ring', 'noRing'];
|
|
266
74
|
|
|
267
|
-
/** Enable drop shadow - adds size-responsive shadow styling */
|
|
268
|
-
const SHADOW = 'shadow';
|
|
269
|
-
/** Disable drop shadow - removes all shadow styling */
|
|
270
|
-
const NO_SHADOW = 'noShadow';
|
|
271
75
|
/** All shadow property values */
|
|
272
|
-
const SHADOW_VALUES = [
|
|
76
|
+
const SHADOW_VALUES = ['shadow', 'noShadow'];
|
|
273
77
|
|
|
274
|
-
/** Show focus-visible outline - adds visible focus indicator for keyboard navigation */
|
|
275
|
-
const FOCUS_VISIBLE_OUTLINE = 'focusVisible';
|
|
276
|
-
/** Hide focus-visible outline - removes focus-visible outline styling */
|
|
277
|
-
const NO_FOCUS_VISIBLE_OUTLINE = 'noFocusVisible';
|
|
278
78
|
/** All focusVisible property values */
|
|
279
|
-
const FOCUS_VISIBLE_VALUES = [
|
|
79
|
+
const FOCUS_VISIBLE_VALUES = ['focusVisible', 'noFocusVisible'];
|
|
280
80
|
|
|
281
|
-
/** Pill shape - fully rounded corners (rounded-full) */
|
|
282
|
-
const PILL = 'pill';
|
|
283
|
-
/** Sharp shape - no border radius (rounded-none) */
|
|
284
|
-
const SHARP = 'sharp';
|
|
285
|
-
/** Rounded shape - size-responsive border radius (varies by component size) */
|
|
286
|
-
const ROUNDED = 'rounded';
|
|
287
81
|
/** All shape property values */
|
|
288
|
-
const SHAPE_VALUES = [
|
|
82
|
+
const SHAPE_VALUES = ['pill', 'sharp', 'rounded'];
|
|
289
83
|
|
|
290
|
-
/** Extra small size - affects padding, font-size, border-radius, and spacing */
|
|
291
|
-
const XS = 'xs';
|
|
292
|
-
/** Small size - affects padding, font-size, border-radius, and spacing */
|
|
293
|
-
const SM = 'sm';
|
|
294
|
-
/** Medium size (default) - affects padding, font-size, border-radius, and spacing */
|
|
295
|
-
const MD = 'md';
|
|
296
|
-
/** Large size - affects padding, font-size, border-radius, and spacing */
|
|
297
|
-
const LG = 'lg';
|
|
298
|
-
/** Extra large size - affects padding, font-size, border-radius, and spacing */
|
|
299
|
-
const XL = 'xl';
|
|
300
84
|
/** All size property values */
|
|
301
|
-
const SIZE_VALUES = [
|
|
85
|
+
const SIZE_VALUES = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
302
86
|
|
|
303
|
-
/** Left-aligned text */
|
|
304
|
-
const TEXT_LEFT = 'textLeft';
|
|
305
|
-
/** Center-aligned text */
|
|
306
|
-
const TEXT_CENTER = 'textCenter';
|
|
307
|
-
/** Right-aligned text */
|
|
308
|
-
const TEXT_RIGHT = 'textRight';
|
|
309
|
-
/** Justified text */
|
|
310
|
-
const TEXT_JUSTIFY = 'textJustify';
|
|
311
87
|
/** All text align property values */
|
|
312
|
-
const TEXT_ALIGN_VALUES = [
|
|
88
|
+
const TEXT_ALIGN_VALUES = ['textLeft', 'textCenter', 'textRight', 'textJustify'];
|
|
313
89
|
|
|
314
|
-
/** Add underline decoration below text */
|
|
315
|
-
const UNDERLINE = 'underline';
|
|
316
|
-
/** Add strikethrough/line-through decoration across text */
|
|
317
|
-
const LINE_THROUGH = 'lineThrough';
|
|
318
|
-
/** Remove text decoration (no underline, strikethrough, etc.) */
|
|
319
|
-
const NO_UNDERLINE = 'noUnderline';
|
|
320
|
-
/** Add overline decoration above text */
|
|
321
|
-
const OVERLINE = 'overline';
|
|
322
90
|
/** All text decoration property values */
|
|
323
|
-
const TEXT_DECORATION_VALUES = [
|
|
91
|
+
const TEXT_DECORATION_VALUES = ['underline', 'lineThrough', 'noUnderline', 'overline'];
|
|
324
92
|
|
|
325
|
-
/** Transform text to UPPERCASE */
|
|
326
|
-
const UPPERCASE = 'uppercase';
|
|
327
|
-
/** Transform text to lowercase */
|
|
328
|
-
const LOWERCASE = 'lowercase';
|
|
329
|
-
/** Transform text to Capitalize Each Word */
|
|
330
|
-
const CAPITALIZE = 'capitalize';
|
|
331
|
-
/** Normal case - no transformation */
|
|
332
|
-
const NORMAL_CASE = 'normalCase';
|
|
333
93
|
/** All text transform property values */
|
|
334
|
-
const TEXT_TRANSFORM_VALUES = [
|
|
94
|
+
const TEXT_TRANSFORM_VALUES = ['uppercase', 'lowercase', 'capitalize', 'normalCase'];
|
|
335
95
|
|
|
336
|
-
/** Make background transparent for layout/UI components or text transparent for typography components */
|
|
337
|
-
const TRANSPARENT = 'transparent';
|
|
338
96
|
/** All transparent property values */
|
|
339
|
-
const TRANSPARENT_VALUES = [
|
|
97
|
+
const TRANSPARENT_VALUES = ['transparent'];
|
|
340
98
|
|
|
341
|
-
/** Filled variant - solid background with contrasting text color */
|
|
342
|
-
const FILLED = 'filled';
|
|
343
|
-
/** Outline variant - transparent background with border and colored text (default) */
|
|
344
|
-
const OUTLINE = 'outline';
|
|
345
99
|
/** All variant property values */
|
|
346
|
-
const VARIANT_VALUES = [
|
|
100
|
+
const VARIANT_VALUES = ['filled', 'outline'];
|
|
347
101
|
|
|
348
|
-
/** Allow flex items to wrap to new lines when container is too narrow */
|
|
349
|
-
const FLEX_WRAP = 'flexWrap';
|
|
350
|
-
/** Force flex items to stay on single line (may overflow) */
|
|
351
|
-
const FLEX_NO_WRAP = 'flexNoWrap';
|
|
352
|
-
/** Wrap flex items in reverse order (last items wrap first) */
|
|
353
|
-
const FLEX_WRAP_REVERSE = 'flexWrapReverse';
|
|
354
102
|
/** All wrap property values */
|
|
355
|
-
const WRAP_VALUES = [
|
|
103
|
+
const WRAP_VALUES = ['flexWrap', 'flexNoWrap', 'flexWrapReverse'];
|
|
356
104
|
|
|
357
105
|
/** Base state - default resting appearance */
|
|
358
106
|
const BASE = 'base';
|
|
@@ -5747,385 +5495,11 @@ const ThemedComponent = forwardRef(function ThemedComponent(allProps, ref) {
|
|
|
5747
5495
|
return (jsx(Tag, { ref: ref, className: finalClasses, ...finalProps, children: props.children }));
|
|
5748
5496
|
});
|
|
5749
5497
|
|
|
5750
|
-
/**
|
|
5751
|
-
* Button - A clickable button element with customizable appearance and behavior
|
|
5752
|
-
*
|
|
5753
|
-
* @example
|
|
5754
|
-
* ```tsx
|
|
5755
|
-
* // Basic button
|
|
5756
|
-
* <Button>Click me</Button>
|
|
5757
|
-
*
|
|
5758
|
-
* // With size, appearance, and variant
|
|
5759
|
-
* <Button lg primary filled>Submit</Button>
|
|
5760
|
-
*
|
|
5761
|
-
* // Outlined button
|
|
5762
|
-
* <Button outlined secondary>Cancel</Button>
|
|
5763
|
-
*
|
|
5764
|
-
* // As a link
|
|
5765
|
-
* <Button href="/about">Learn More</Button>
|
|
5766
|
-
* ```
|
|
5767
|
-
*
|
|
5768
|
-
* @param props - Button props
|
|
5769
|
-
* @param props.children - Button content
|
|
5770
|
-
* @param props.className - Additional CSS classes to merge with theme classes
|
|
5771
|
-
*
|
|
5772
|
-
|
|
5773
|
-
* SIZE PROPS:
|
|
5774
|
-
* @param props.xs - Extra small size
|
|
5775
|
-
* @param props.sm - Small size
|
|
5776
|
-
* @param props.md - Medium size (default)
|
|
5777
|
-
* @param props.lg - Large size
|
|
5778
|
-
* @param props.xl - Extra large size
|
|
5779
|
-
*
|
|
5780
|
-
|
|
5781
|
-
* ALIGNMENT PROPS (Cross-axis):
|
|
5782
|
-
* @param props.itemsStart - Align items to start (top/left)
|
|
5783
|
-
* @param props.itemsEnd - Align items to end (bottom/right)
|
|
5784
|
-
* @param props.itemsCenter - Align items to center
|
|
5785
|
-
* @param props.itemsBaseline - Align items to baseline
|
|
5786
|
-
* @param props.itemsStretch - Stretch items to fill container
|
|
5787
|
-
*
|
|
5788
|
-
|
|
5789
|
-
* ALIGNMENT PROPS (Main-axis):
|
|
5790
|
-
* @param props.justifyStart - Justify content to start
|
|
5791
|
-
* @param props.justifyEnd - Justify content to end
|
|
5792
|
-
* @param props.justifyCenter - Justify content to center
|
|
5793
|
-
* @param props.justifyBetween - Space between items
|
|
5794
|
-
* @param props.justifyAround - Space around items
|
|
5795
|
-
* @param props.justifyEvenly - Space evenly between items
|
|
5796
|
-
*
|
|
5797
|
-
|
|
5798
|
-
* POSITION PROPS:
|
|
5799
|
-
* @param props.relative - Relative positioning
|
|
5800
|
-
* @param props.absolute - Absolute positioning
|
|
5801
|
-
* @param props.fixed - Fixed positioning
|
|
5802
|
-
* @param props.sticky - Sticky positioning
|
|
5803
|
-
* @param props.static - Static positioning
|
|
5804
|
-
*
|
|
5805
|
-
|
|
5806
|
-
* DISPLAY PROPS:
|
|
5807
|
-
* @param props.flex - Display as flex container
|
|
5808
|
-
* @param props.block - Display as block
|
|
5809
|
-
* @param props.inline - Display as inline
|
|
5810
|
-
* @param props.inlineBlock - Display as inline-block
|
|
5811
|
-
* @param props.inlineFlex - Display as inline-flex
|
|
5812
|
-
* @param props.grid - Display as grid
|
|
5813
|
-
* @param props.inlineGrid - Display as inline-grid
|
|
5814
|
-
* @param props.contents - Display as contents
|
|
5815
|
-
* @param props.hidden - Hide element (display: none)
|
|
5816
|
-
*
|
|
5817
|
-
|
|
5818
|
-
* OVERFLOW PROPS:
|
|
5819
|
-
* @param props.overflowAuto - Auto overflow on both axes
|
|
5820
|
-
* @param props.overflowHidden - Hidden overflow on both axes
|
|
5821
|
-
* @param props.overflowVisible - Visible overflow on both axes
|
|
5822
|
-
* @param props.overflowScroll - Scrollable overflow on both axes
|
|
5823
|
-
* @param props.overflowXAuto - Auto overflow on X axis
|
|
5824
|
-
* @param props.overflowYAuto - Auto overflow on Y axis
|
|
5825
|
-
* @param props.overflowXHidden - Hidden overflow on X axis
|
|
5826
|
-
* @param props.overflowYHidden - Hidden overflow on Y axis
|
|
5827
|
-
*
|
|
5828
|
-
|
|
5829
|
-
* FLEXBOX PROPS:
|
|
5830
|
-
* @param props.wrap - Enable flex wrap
|
|
5831
|
-
* @param props.reverse - Reverse the order of children
|
|
5832
|
-
*
|
|
5833
|
-
|
|
5834
|
-
* LAYOUT PROPS:
|
|
5835
|
-
* @param props.gap - Enable gap spacing between children
|
|
5836
|
-
* @param props.noGap - Disable gap spacing
|
|
5837
|
-
* @param props.padding - Enable internal padding
|
|
5838
|
-
* @param props.noPadding - Disable internal padding
|
|
5839
|
-
*
|
|
5840
|
-
|
|
5841
|
-
* FLEXBOX DIRECTION PROPS:
|
|
5842
|
-
* @param props.row - Flex direction row (horizontal)
|
|
5843
|
-
* @param props.column - Flex direction column (vertical)
|
|
5844
|
-
* @param props.rowReverse - Flex direction row-reverse
|
|
5845
|
-
* @param props.columnReverse - Flex direction column-reverse
|
|
5846
|
-
*
|
|
5847
|
-
|
|
5848
|
-
* APPEARANCE PROPS:
|
|
5849
|
-
* @param props.default - Default color appearance
|
|
5850
|
-
* @param props.primary - Primary color appearance (blue)
|
|
5851
|
-
* @param props.secondary - Secondary color appearance (gray)
|
|
5852
|
-
* @param props.tertiary - Tertiary color appearance
|
|
5853
|
-
* @param props.accent - Accent color appearance (rose)
|
|
5854
|
-
* @param props.success - Success color appearance (green)
|
|
5855
|
-
* @param props.danger - Danger color appearance (red)
|
|
5856
|
-
* @param props.warning - Warning color appearance (amber)
|
|
5857
|
-
* @param props.info - Info color appearance (cyan)
|
|
5858
|
-
* @param props.link - Link color appearance
|
|
5859
|
-
*
|
|
5860
|
-
|
|
5861
|
-
* BORDER PROPS:
|
|
5862
|
-
* @param props.border - Enable border on all sides
|
|
5863
|
-
* @param props.borderT - Enable border on top
|
|
5864
|
-
* @param props.borderB - Enable border on bottom
|
|
5865
|
-
* @param props.borderL - Enable border on left
|
|
5866
|
-
* @param props.borderR - Enable border on right
|
|
5867
|
-
* @param props.borderX - Enable border on left and right
|
|
5868
|
-
* @param props.borderY - Enable border on top and bottom
|
|
5869
|
-
* @param props.noBorder - Disable all borders
|
|
5870
|
-
*
|
|
5871
|
-
|
|
5872
|
-
* VISUAL DECORATION PROPS:
|
|
5873
|
-
* @param props.shadow - Enable drop shadow
|
|
5874
|
-
* @param props.noShadow - Disable drop shadow
|
|
5875
|
-
* @param props.ring - Enable focus ring
|
|
5876
|
-
* @param props.noRing - Disable focus ring
|
|
5877
|
-
* @param props.focusVisible - Enable focus-visible outline
|
|
5878
|
-
* @param props.noFocusVisible - Disable focus-visible outline
|
|
5879
|
-
*
|
|
5880
|
-
|
|
5881
|
-
* SHAPE PROPS:
|
|
5882
|
-
* @param props.rounded - Medium rounded corners (default)
|
|
5883
|
-
* @param props.pill - Fully rounded corners (circular)
|
|
5884
|
-
* @param props.sharp - No rounded corners (square)
|
|
5885
|
-
*
|
|
5886
|
-
|
|
5887
|
-
* FONT WEIGHT PROPS:
|
|
5888
|
-
* @param props.thin - Thin font weight (100)
|
|
5889
|
-
* @param props.extralight - Extra light font weight (200)
|
|
5890
|
-
* @param props.light - Light font weight (300)
|
|
5891
|
-
* @param props.normal - Normal font weight (400)
|
|
5892
|
-
* @param props.medium - Medium font weight (500)
|
|
5893
|
-
* @param props.semibold - Semibold font weight (600)
|
|
5894
|
-
* @param props.bold - Bold font weight (700)
|
|
5895
|
-
* @param props.extrabold - Extra bold font weight (800)
|
|
5896
|
-
* @param props.black - Black font weight (900)
|
|
5897
|
-
*
|
|
5898
|
-
|
|
5899
|
-
* FONT STYLE PROPS:
|
|
5900
|
-
* @param props.italic - Italic font style
|
|
5901
|
-
* @param props.notItalic - Not italic (normal) font style
|
|
5902
|
-
*
|
|
5903
|
-
|
|
5904
|
-
* TEXT DECORATION PROPS:
|
|
5905
|
-
* @param props.underline - Underline text decoration
|
|
5906
|
-
* @param props.lineThrough - Line-through text decoration
|
|
5907
|
-
* @param props.noUnderline - No text decoration
|
|
5908
|
-
*
|
|
5909
|
-
|
|
5910
|
-
* TEXT TRANSFORM PROPS:
|
|
5911
|
-
* @param props.uppercase - Transform text to uppercase
|
|
5912
|
-
* @param props.lowercase - Transform text to lowercase
|
|
5913
|
-
* @param props.capitalize - Capitalize first letter of each word
|
|
5914
|
-
* @param props.normalCase - Normal text case (no transformation)
|
|
5915
|
-
*
|
|
5916
|
-
|
|
5917
|
-
* FONT FAMILY PROPS:
|
|
5918
|
-
* @param props.sans - Sans-serif font family (default)
|
|
5919
|
-
* @param props.serif - Serif font family
|
|
5920
|
-
* @param props.mono - Monospace font family
|
|
5921
|
-
*
|
|
5922
|
-
|
|
5923
|
-
* TEXT ALIGNMENT PROPS:
|
|
5924
|
-
* @param props.textLeft - Align text to left
|
|
5925
|
-
* @param props.textCenter - Align text to center
|
|
5926
|
-
* @param props.textRight - Align text to right
|
|
5927
|
-
* @param props.textJustify - Justify text
|
|
5928
|
-
*
|
|
5929
|
-
|
|
5930
|
-
* VARIANT PROPS:
|
|
5931
|
-
* @param props.filled - Filled variant with solid background
|
|
5932
|
-
* @param props.outlined - Outlined variant with border only
|
|
5933
|
-
* @param props.ghost - Ghost variant with minimal styling
|
|
5934
|
-
*
|
|
5935
|
-
* @see {@link ButtonProps} for the complete type definition
|
|
5936
|
-
*/
|
|
5937
5498
|
const Button = forwardRef(function Button(props, ref) {
|
|
5938
5499
|
const theme = useTheme();
|
|
5939
5500
|
return jsx(ThemedComponent, { ref: ref, theme: theme.button, ...props });
|
|
5940
5501
|
});
|
|
5941
5502
|
|
|
5942
|
-
/**
|
|
5943
|
-
* Badge - A small label for status, categories, counts, or notifications
|
|
5944
|
-
*
|
|
5945
|
-
* @example
|
|
5946
|
-
* ```tsx
|
|
5947
|
-
* // Basic badge
|
|
5948
|
-
* <Badge>New</Badge>
|
|
5949
|
-
*
|
|
5950
|
-
* // Status badge with appearance and variant
|
|
5951
|
-
* <Badge success filled pill>Active</Badge>
|
|
5952
|
-
*
|
|
5953
|
-
* // Count badge
|
|
5954
|
-
* <Badge danger filled>3</Badge>
|
|
5955
|
-
*
|
|
5956
|
-
* // As a link
|
|
5957
|
-
* <Badge href="/notifications" primary outlined>5 New</Badge>
|
|
5958
|
-
* ```
|
|
5959
|
-
*
|
|
5960
|
-
* @param props - Badge props
|
|
5961
|
-
* @param props.children - Badge content
|
|
5962
|
-
* @param props.className - Additional CSS classes to merge with theme classes
|
|
5963
|
-
*
|
|
5964
|
-
|
|
5965
|
-
* SIZE PROPS:
|
|
5966
|
-
* @param props.xs - Extra small size
|
|
5967
|
-
* @param props.sm - Small size
|
|
5968
|
-
* @param props.md - Medium size (default)
|
|
5969
|
-
* @param props.lg - Large size
|
|
5970
|
-
* @param props.xl - Extra large size
|
|
5971
|
-
*
|
|
5972
|
-
|
|
5973
|
-
* ALIGNMENT PROPS (Cross-axis):
|
|
5974
|
-
* @param props.itemsStart - Align items to start (top/left)
|
|
5975
|
-
* @param props.itemsEnd - Align items to end (bottom/right)
|
|
5976
|
-
* @param props.itemsCenter - Align items to center
|
|
5977
|
-
* @param props.itemsBaseline - Align items to baseline
|
|
5978
|
-
* @param props.itemsStretch - Stretch items to fill container
|
|
5979
|
-
*
|
|
5980
|
-
|
|
5981
|
-
* ALIGNMENT PROPS (Main-axis):
|
|
5982
|
-
* @param props.justifyStart - Justify content to start
|
|
5983
|
-
* @param props.justifyEnd - Justify content to end
|
|
5984
|
-
* @param props.justifyCenter - Justify content to center
|
|
5985
|
-
* @param props.justifyBetween - Space between items
|
|
5986
|
-
* @param props.justifyAround - Space around items
|
|
5987
|
-
* @param props.justifyEvenly - Space evenly between items
|
|
5988
|
-
*
|
|
5989
|
-
|
|
5990
|
-
* POSITION PROPS:
|
|
5991
|
-
* @param props.relative - Relative positioning
|
|
5992
|
-
* @param props.absolute - Absolute positioning
|
|
5993
|
-
* @param props.fixed - Fixed positioning
|
|
5994
|
-
* @param props.sticky - Sticky positioning
|
|
5995
|
-
* @param props.static - Static positioning
|
|
5996
|
-
*
|
|
5997
|
-
|
|
5998
|
-
* DISPLAY PROPS:
|
|
5999
|
-
* @param props.flex - Display as flex container
|
|
6000
|
-
* @param props.block - Display as block
|
|
6001
|
-
* @param props.inline - Display as inline
|
|
6002
|
-
* @param props.inlineBlock - Display as inline-block
|
|
6003
|
-
* @param props.inlineFlex - Display as inline-flex
|
|
6004
|
-
* @param props.grid - Display as grid
|
|
6005
|
-
* @param props.inlineGrid - Display as inline-grid
|
|
6006
|
-
* @param props.contents - Display as contents
|
|
6007
|
-
* @param props.hidden - Hide element (display: none)
|
|
6008
|
-
*
|
|
6009
|
-
|
|
6010
|
-
* OVERFLOW PROPS:
|
|
6011
|
-
* @param props.overflowAuto - Auto overflow on both axes
|
|
6012
|
-
* @param props.overflowHidden - Hidden overflow on both axes
|
|
6013
|
-
* @param props.overflowVisible - Visible overflow on both axes
|
|
6014
|
-
* @param props.overflowScroll - Scrollable overflow on both axes
|
|
6015
|
-
* @param props.overflowXAuto - Auto overflow on X axis
|
|
6016
|
-
* @param props.overflowYAuto - Auto overflow on Y axis
|
|
6017
|
-
* @param props.overflowXHidden - Hidden overflow on X axis
|
|
6018
|
-
* @param props.overflowYHidden - Hidden overflow on Y axis
|
|
6019
|
-
*
|
|
6020
|
-
|
|
6021
|
-
* FLEXBOX PROPS:
|
|
6022
|
-
* @param props.wrap - Enable flex wrap
|
|
6023
|
-
* @param props.reverse - Reverse the order of children
|
|
6024
|
-
*
|
|
6025
|
-
|
|
6026
|
-
* LAYOUT PROPS:
|
|
6027
|
-
* @param props.gap - Enable gap spacing between children
|
|
6028
|
-
* @param props.noGap - Disable gap spacing
|
|
6029
|
-
* @param props.padding - Enable internal padding
|
|
6030
|
-
* @param props.noPadding - Disable internal padding
|
|
6031
|
-
*
|
|
6032
|
-
|
|
6033
|
-
* FLEXBOX DIRECTION PROPS:
|
|
6034
|
-
* @param props.row - Flex direction row (horizontal)
|
|
6035
|
-
* @param props.column - Flex direction column (vertical)
|
|
6036
|
-
* @param props.rowReverse - Flex direction row-reverse
|
|
6037
|
-
* @param props.columnReverse - Flex direction column-reverse
|
|
6038
|
-
*
|
|
6039
|
-
|
|
6040
|
-
* APPEARANCE PROPS:
|
|
6041
|
-
* @param props.default - Default color appearance
|
|
6042
|
-
* @param props.primary - Primary color appearance (blue)
|
|
6043
|
-
* @param props.secondary - Secondary color appearance (gray)
|
|
6044
|
-
* @param props.tertiary - Tertiary color appearance
|
|
6045
|
-
* @param props.accent - Accent color appearance (rose)
|
|
6046
|
-
* @param props.success - Success color appearance (green)
|
|
6047
|
-
* @param props.danger - Danger color appearance (red)
|
|
6048
|
-
* @param props.warning - Warning color appearance (amber)
|
|
6049
|
-
* @param props.info - Info color appearance (cyan)
|
|
6050
|
-
* @param props.link - Link color appearance
|
|
6051
|
-
*
|
|
6052
|
-
|
|
6053
|
-
* BORDER PROPS:
|
|
6054
|
-
* @param props.border - Enable border on all sides
|
|
6055
|
-
* @param props.borderT - Enable border on top
|
|
6056
|
-
* @param props.borderB - Enable border on bottom
|
|
6057
|
-
* @param props.borderL - Enable border on left
|
|
6058
|
-
* @param props.borderR - Enable border on right
|
|
6059
|
-
* @param props.borderX - Enable border on left and right
|
|
6060
|
-
* @param props.borderY - Enable border on top and bottom
|
|
6061
|
-
* @param props.noBorder - Disable all borders
|
|
6062
|
-
*
|
|
6063
|
-
|
|
6064
|
-
* VISUAL DECORATION PROPS:
|
|
6065
|
-
* @param props.shadow - Enable drop shadow
|
|
6066
|
-
* @param props.noShadow - Disable drop shadow
|
|
6067
|
-
* @param props.ring - Enable focus ring
|
|
6068
|
-
* @param props.noRing - Disable focus ring
|
|
6069
|
-
* @param props.focusVisible - Enable focus-visible outline
|
|
6070
|
-
* @param props.noFocusVisible - Disable focus-visible outline
|
|
6071
|
-
*
|
|
6072
|
-
|
|
6073
|
-
* SHAPE PROPS:
|
|
6074
|
-
* @param props.rounded - Medium rounded corners (default)
|
|
6075
|
-
* @param props.pill - Fully rounded corners (circular)
|
|
6076
|
-
* @param props.sharp - No rounded corners (square)
|
|
6077
|
-
*
|
|
6078
|
-
|
|
6079
|
-
* FONT WEIGHT PROPS:
|
|
6080
|
-
* @param props.thin - Thin font weight (100)
|
|
6081
|
-
* @param props.extralight - Extra light font weight (200)
|
|
6082
|
-
* @param props.light - Light font weight (300)
|
|
6083
|
-
* @param props.normal - Normal font weight (400)
|
|
6084
|
-
* @param props.medium - Medium font weight (500)
|
|
6085
|
-
* @param props.semibold - Semibold font weight (600)
|
|
6086
|
-
* @param props.bold - Bold font weight (700)
|
|
6087
|
-
* @param props.extrabold - Extra bold font weight (800)
|
|
6088
|
-
* @param props.black - Black font weight (900)
|
|
6089
|
-
*
|
|
6090
|
-
|
|
6091
|
-
* FONT STYLE PROPS:
|
|
6092
|
-
* @param props.italic - Italic font style
|
|
6093
|
-
* @param props.notItalic - Not italic (normal) font style
|
|
6094
|
-
*
|
|
6095
|
-
|
|
6096
|
-
* TEXT DECORATION PROPS:
|
|
6097
|
-
* @param props.underline - Underline text decoration
|
|
6098
|
-
* @param props.lineThrough - Line-through text decoration
|
|
6099
|
-
* @param props.noUnderline - No text decoration
|
|
6100
|
-
*
|
|
6101
|
-
|
|
6102
|
-
* TEXT TRANSFORM PROPS:
|
|
6103
|
-
* @param props.uppercase - Transform text to uppercase
|
|
6104
|
-
* @param props.lowercase - Transform text to lowercase
|
|
6105
|
-
* @param props.capitalize - Capitalize first letter of each word
|
|
6106
|
-
* @param props.normalCase - Normal text case (no transformation)
|
|
6107
|
-
*
|
|
6108
|
-
|
|
6109
|
-
* FONT FAMILY PROPS:
|
|
6110
|
-
* @param props.sans - Sans-serif font family (default)
|
|
6111
|
-
* @param props.serif - Serif font family
|
|
6112
|
-
* @param props.mono - Monospace font family
|
|
6113
|
-
*
|
|
6114
|
-
|
|
6115
|
-
* TEXT ALIGNMENT PROPS:
|
|
6116
|
-
* @param props.textLeft - Align text to left
|
|
6117
|
-
* @param props.textCenter - Align text to center
|
|
6118
|
-
* @param props.textRight - Align text to right
|
|
6119
|
-
* @param props.textJustify - Justify text
|
|
6120
|
-
*
|
|
6121
|
-
|
|
6122
|
-
* VARIANT PROPS:
|
|
6123
|
-
* @param props.filled - Filled variant with solid background
|
|
6124
|
-
* @param props.outlined - Outlined variant with border only
|
|
6125
|
-
* @param props.ghost - Ghost variant with minimal styling
|
|
6126
|
-
*
|
|
6127
|
-
* @see {@link BadgeProps} for the complete type definition
|
|
6128
|
-
*/
|
|
6129
5503
|
const Badge = forwardRef(function Badge(props, ref) {
|
|
6130
5504
|
const theme = useTheme();
|
|
6131
5505
|
return jsx(ThemedComponent, { theme: theme.badge, ref: ref, ...props });
|
|
@@ -6275,5 +5649,5 @@ const List = forwardRef(function List(props, ref) {
|
|
|
6275
5649
|
return jsx(ThemedComponent, { ref: ref, theme: theme.list, ...props });
|
|
6276
5650
|
});
|
|
6277
5651
|
|
|
6278
|
-
export {
|
|
5652
|
+
export { ACTIVE, APPEARANCE_CATEGORY, APPEARANCE_VALUES, BADGE_CATEGORIES, BASE, BORDER, BORDER_KEYS, BORDER_VALUES, BREAKPOINT, BREAKPOINT_VALUES, BUTTON_CATEGORIES, Badge, Button, CARD_CATEGORIES, CHECKBOX_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COL_CATEGORIES, COMPONENT, COMPONENT_PROPS_CATEGORY, CONTAINER_CATEGORIES, Card, Checkbox, Chip, Code, Col, ComponentCategories, ComponentKeys, Container, DISPLAY_VALUES, DIVIDER_CATEGORIES, Divider, FLEX_DIRECTION_VALUES, FOCUS, FOCUS_VISIBLE, FOCUS_VISIBLE_VALUES, FONT_FAMILY_VALUES, FONT_STYLE_VALUES, FONT_WEIGHT_VALUES, GAP_VALUES, GRID_CATEGORIES, Grid2, Grid3, Grid4, Grid5, Grid6, HIDE_VALUES, HOVER, IMG_CATEGORIES, INPUT_CATEGORIES, INTERACTIVE_CATEGORIES, ITEMS_VALUES, Img, Input, JUSTIFY_VALUES, LABEL_CATEGORIES, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_CATEGORIES, LIST_STYLE, LIST_STYLE_VALUES, Label, Link, List, ListItem, MODE_VALUES, ModeKeys, NO_BORDER, OVERFLOW_VALUES, PADDING, PADDING_VALUES, POSITION_VALUES, PageTitle, REVERSE_VALUES, RING_VALUES, ROW_CATEGORIES, Row, SECTION_CATEGORIES, SHADOW_VALUES, SHAPE, SHAPE_VALUES, SIZE_VALUES, STACK_CATEGORIES, Section, SectionTitle, Stack, TEXT_ALIGN_VALUES, TEXT_DECORATION_VALUES, TEXT_TRANSFORM_VALUES, TRANSPARENT_VALUES, TYPOGRAPHY_CATEGORIES, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, Text, ThemeProvider, Title, VARIANT, VARIANT_VALUES, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, WRAP_VALUES, defaultTheme, themeDefaults, useTheme };
|
|
6279
5653
|
//# sourceMappingURL=index.esm.js.map
|