@work-rjkashyap/unified-ui 0.3.2 → 0.3.4
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/CHANGELOG.md +7 -0
- package/bin/cli.mjs +248 -3
- package/dist/{chunk-ZBGR7MUW.cjs → chunk-6ZZZBOCH.cjs} +136 -1
- package/dist/{chunk-IVZAB7BV.mjs → chunk-AAEWG5VR.mjs} +128 -2
- package/dist/{chunk-EQWESXRH.mjs → chunk-BJ55D5IK.mjs} +800 -102
- package/dist/{chunk-5TP7J7T4.cjs → chunk-RUG3BW2B.cjs} +862 -157
- package/dist/index.cjs +74 -50
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/theme.cjs +60 -32
- package/dist/theme.d.cts +28 -2
- package/dist/theme.d.ts +28 -2
- package/dist/theme.mjs +2 -2
- package/dist/tokens.cjs +19 -19
- package/dist/tokens.d.cts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.mjs +1 -1
- package/dist/{z-index-Dd8IllRx.d.cts → z-index-DmLl6FUD.d.cts} +117 -0
- package/dist/{z-index-Dd8IllRx.d.ts → z-index-DmLl6FUD.d.ts} +117 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunk2JFREULQ_cjs = require('./chunk-2JFREULQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkRUG3BW2B_cjs = require('./chunk-RUG3BW2B.cjs');
|
|
6
|
+
var chunk6ZZZBOCH_cjs = require('./chunk-6ZZZBOCH.cjs');
|
|
7
7
|
var chunkFUWXGHWQ_cjs = require('./chunk-FUWXGHWQ.cjs');
|
|
8
8
|
var chunkECIGDEAH_cjs = require('./chunk-ECIGDEAH.cjs');
|
|
9
9
|
var chunkA2DGHQL2_cjs = require('./chunk-A2DGHQL2.cjs');
|
|
@@ -22,195 +22,219 @@ Object.defineProperty(exports, "spacing", {
|
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "COLOR_PRESETS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRUG3BW2B_cjs.COLOR_PRESETS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "COLOR_PRESET_KEYS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRUG3BW2B_cjs.COLOR_PRESET_KEYS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DEFAULT_FONT_KEY", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_FONT_KEY; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "DEFAULT_MENU_ACCENT_KEY", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_MENU_ACCENT_KEY; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "DEFAULT_MENU_COLOR_KEY", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_MENU_COLOR_KEY; }
|
|
34
42
|
});
|
|
35
43
|
Object.defineProperty(exports, "DEFAULT_RADIUS_KEY", {
|
|
36
44
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_RADIUS_KEY; }
|
|
38
46
|
});
|
|
39
47
|
Object.defineProperty(exports, "DEFAULT_SHADOW_KEY", {
|
|
40
48
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_SHADOW_KEY; }
|
|
42
50
|
});
|
|
43
51
|
Object.defineProperty(exports, "DEFAULT_STYLE_KEY", {
|
|
44
52
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_STYLE_KEY; }
|
|
46
54
|
});
|
|
47
55
|
Object.defineProperty(exports, "DEFAULT_SURFACE_STYLE_KEY", {
|
|
48
56
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_SURFACE_STYLE_KEY; }
|
|
50
58
|
});
|
|
51
59
|
Object.defineProperty(exports, "DEFAULT_THEME_CONFIG", {
|
|
52
60
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_THEME_CONFIG; }
|
|
54
62
|
});
|
|
55
63
|
Object.defineProperty(exports, "DSThemeProvider", {
|
|
56
64
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkRUG3BW2B_cjs.DSThemeProvider; }
|
|
58
66
|
});
|
|
59
67
|
Object.defineProperty(exports, "FONT_PRESETS", {
|
|
60
68
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkRUG3BW2B_cjs.FONT_PRESETS; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "MENU_ACCENT_PRESETS", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return chunkRUG3BW2B_cjs.MENU_ACCENT_PRESETS; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "MENU_COLOR_PRESETS", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return chunkRUG3BW2B_cjs.MENU_COLOR_PRESETS; }
|
|
62
78
|
});
|
|
63
79
|
Object.defineProperty(exports, "RADIUS_PRESETS", {
|
|
64
80
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkRUG3BW2B_cjs.RADIUS_PRESETS; }
|
|
66
82
|
});
|
|
67
83
|
Object.defineProperty(exports, "SHADOW_PRESETS", {
|
|
68
84
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkRUG3BW2B_cjs.SHADOW_PRESETS; }
|
|
70
86
|
});
|
|
71
87
|
Object.defineProperty(exports, "STYLE_PRESETS", {
|
|
72
88
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkRUG3BW2B_cjs.STYLE_PRESETS; }
|
|
74
90
|
});
|
|
75
91
|
Object.defineProperty(exports, "SURFACE_STYLE_PRESETS", {
|
|
76
92
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkRUG3BW2B_cjs.SURFACE_STYLE_PRESETS; }
|
|
78
94
|
});
|
|
79
95
|
Object.defineProperty(exports, "ThemeCustomizer", {
|
|
80
96
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkRUG3BW2B_cjs.ThemeCustomizer; }
|
|
82
98
|
});
|
|
83
99
|
Object.defineProperty(exports, "ThemeCustomizerProvider", {
|
|
84
100
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkRUG3BW2B_cjs.ThemeCustomizerProvider; }
|
|
86
102
|
});
|
|
87
103
|
Object.defineProperty(exports, "buildDarkThemeVars", {
|
|
88
104
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkRUG3BW2B_cjs.buildDarkThemeVars; }
|
|
90
106
|
});
|
|
91
107
|
Object.defineProperty(exports, "buildLightThemeVars", {
|
|
92
108
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkRUG3BW2B_cjs.buildLightThemeVars; }
|
|
94
110
|
});
|
|
95
111
|
Object.defineProperty(exports, "buildThemeCSS", {
|
|
96
112
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkRUG3BW2B_cjs.buildThemeCSS; }
|
|
98
114
|
});
|
|
99
115
|
Object.defineProperty(exports, "buildThemeOverrides", {
|
|
100
116
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkRUG3BW2B_cjs.buildThemeOverrides; }
|
|
102
118
|
});
|
|
103
119
|
Object.defineProperty(exports, "contract", {
|
|
104
120
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkRUG3BW2B_cjs.contract; }
|
|
106
122
|
});
|
|
107
123
|
Object.defineProperty(exports, "cssVar", {
|
|
108
124
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkRUG3BW2B_cjs.cssVar; }
|
|
110
126
|
});
|
|
111
127
|
Object.defineProperty(exports, "generateThemeCSS", {
|
|
112
128
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkRUG3BW2B_cjs.generateThemeCSS; }
|
|
114
130
|
});
|
|
115
131
|
Object.defineProperty(exports, "getColorPreset", {
|
|
116
132
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkRUG3BW2B_cjs.getColorPreset; }
|
|
118
134
|
});
|
|
119
135
|
Object.defineProperty(exports, "getFontPreset", {
|
|
120
136
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkRUG3BW2B_cjs.getFontPreset; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "getMenuAccentPreset", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return chunkRUG3BW2B_cjs.getMenuAccentPreset; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "getMenuColorPreset", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return chunkRUG3BW2B_cjs.getMenuColorPreset; }
|
|
122
146
|
});
|
|
123
147
|
Object.defineProperty(exports, "getRadiusPreset", {
|
|
124
148
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkRUG3BW2B_cjs.getRadiusPreset; }
|
|
126
150
|
});
|
|
127
151
|
Object.defineProperty(exports, "getShadowPreset", {
|
|
128
152
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkRUG3BW2B_cjs.getShadowPreset; }
|
|
130
154
|
});
|
|
131
155
|
Object.defineProperty(exports, "getStylePreset", {
|
|
132
156
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkRUG3BW2B_cjs.getStylePreset; }
|
|
134
158
|
});
|
|
135
159
|
Object.defineProperty(exports, "useDSTheme", {
|
|
136
160
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkRUG3BW2B_cjs.useDSTheme; }
|
|
138
162
|
});
|
|
139
163
|
Object.defineProperty(exports, "useThemeCustomizer", {
|
|
140
164
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkRUG3BW2B_cjs.useThemeCustomizer; }
|
|
142
166
|
});
|
|
143
167
|
Object.defineProperty(exports, "amber", {
|
|
144
168
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk6ZZZBOCH_cjs.amber; }
|
|
146
170
|
});
|
|
147
171
|
Object.defineProperty(exports, "blue", {
|
|
148
172
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunk6ZZZBOCH_cjs.blue; }
|
|
150
174
|
});
|
|
151
175
|
Object.defineProperty(exports, "brand", {
|
|
152
176
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunk6ZZZBOCH_cjs.brand; }
|
|
154
178
|
});
|
|
155
179
|
Object.defineProperty(exports, "gray", {
|
|
156
180
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunk6ZZZBOCH_cjs.gray; }
|
|
158
182
|
});
|
|
159
183
|
Object.defineProperty(exports, "green", {
|
|
160
184
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunk6ZZZBOCH_cjs.green; }
|
|
162
186
|
});
|
|
163
187
|
Object.defineProperty(exports, "neutral", {
|
|
164
188
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunk6ZZZBOCH_cjs.neutral; }
|
|
166
190
|
});
|
|
167
191
|
Object.defineProperty(exports, "palettes", {
|
|
168
192
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunk6ZZZBOCH_cjs.palettes; }
|
|
170
194
|
});
|
|
171
195
|
Object.defineProperty(exports, "pure", {
|
|
172
196
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunk6ZZZBOCH_cjs.pure; }
|
|
174
198
|
});
|
|
175
199
|
Object.defineProperty(exports, "radius", {
|
|
176
200
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunk6ZZZBOCH_cjs.radius; }
|
|
178
202
|
});
|
|
179
203
|
Object.defineProperty(exports, "red", {
|
|
180
204
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunk6ZZZBOCH_cjs.red; }
|
|
182
206
|
});
|
|
183
207
|
Object.defineProperty(exports, "semanticDark", {
|
|
184
208
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunk6ZZZBOCH_cjs.semanticDark; }
|
|
186
210
|
});
|
|
187
211
|
Object.defineProperty(exports, "semanticLight", {
|
|
188
212
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunk6ZZZBOCH_cjs.semanticLight; }
|
|
190
214
|
});
|
|
191
215
|
Object.defineProperty(exports, "shadow", {
|
|
192
216
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunk6ZZZBOCH_cjs.shadow; }
|
|
194
218
|
});
|
|
195
219
|
Object.defineProperty(exports, "shadowDark", {
|
|
196
220
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunk6ZZZBOCH_cjs.shadowDark; }
|
|
198
222
|
});
|
|
199
223
|
Object.defineProperty(exports, "slate", {
|
|
200
224
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunk6ZZZBOCH_cjs.slate; }
|
|
202
226
|
});
|
|
203
227
|
Object.defineProperty(exports, "teal", {
|
|
204
228
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunk6ZZZBOCH_cjs.teal; }
|
|
206
230
|
});
|
|
207
231
|
Object.defineProperty(exports, "zIndex", {
|
|
208
232
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunk6ZZZBOCH_cjs.zIndex; }
|
|
210
234
|
});
|
|
211
235
|
Object.defineProperty(exports, "zinc", {
|
|
212
236
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunk6ZZZBOCH_cjs.zinc; }
|
|
214
238
|
});
|
|
215
239
|
Object.defineProperty(exports, "Body", {
|
|
216
240
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, Acco
|
|
|
2
2
|
export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.cjs';
|
|
3
3
|
export { MotionPreset, MotionPropsResult, MotionSafe, MotionSafeProps, SpringConfig, blurIn, blurInSubtle, countUp, crossfade, dragDismiss, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, numberRoll, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, revealMask, scaleIn, scaleInLg, scaleInSpring, shakeX, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slidePanelBottom, slidePanelLeft, slidePanelRight, slidePanelTop, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, springHover, springPress, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion } from './motion.cjs';
|
|
4
4
|
export { Body, BodyProps, Caption, CaptionProps, Container, ContainerPadding, ContainerProps, ContainerSize, Divider, DividerProps, Grid, GridProps, Heading, HeadingComponentProps, HeadingProps, InlineCode, InlineCodeProps, Label, LabelProps, Overline, OverlineProps, Stack, StackAlign, StackDirection, StackJustify, StackProps, Subheading, SubheadingProps, Typography, TypographyAlign, TypographyColor, TypographyFont, TypographyOwnProps, TypographyProps, TypographyVariant } from './primitives.cjs';
|
|
5
|
-
export { COLOR_PRESETS, COLOR_PRESET_KEYS, ColorPreset, ColorPresetKey, ColorVarName, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FONT_PRESETS, FontFamilyVarName, FontPreset, PresetSemanticColors, RADIUS_PRESETS, RadiusPreset, RadiusVarName, ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ShadowPreset, ShadowVarName, StylePreset, SurfaceStylePreset, ThemeConfig, ThemeCustomizer, ThemeCustomizerContextValue, ThemeCustomizerProps, ThemeCustomizerProvider, ThemeCustomizerProviderProps, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './theme.cjs';
|
|
6
|
-
export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-
|
|
5
|
+
export { COLOR_PRESETS, COLOR_PRESET_KEYS, ColorPreset, ColorPresetKey, ColorVarName, DEFAULT_FONT_KEY, DEFAULT_MENU_ACCENT_KEY, DEFAULT_MENU_COLOR_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FONT_PRESETS, FontFamilyVarName, FontPreset, MENU_ACCENT_PRESETS, MENU_COLOR_PRESETS, MenuAccentPreset, MenuColorPreset, PresetSemanticColors, RADIUS_PRESETS, RadiusPreset, RadiusVarName, ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ShadowPreset, ShadowVarName, StylePreset, SurfaceStylePreset, ThemeConfig, ThemeCustomizer, ThemeCustomizerContextValue, ThemeCustomizerProps, ThemeCustomizerProvider, ThemeCustomizerProviderProps, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getMenuAccentPreset, getMenuColorPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './theme.cjs';
|
|
6
|
+
export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-DmLl6FUD.cjs';
|
|
7
7
|
export { spacing } from './tokens.cjs';
|
|
8
8
|
export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariantToken, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.cjs';
|
|
9
9
|
export { AsProp, AuditResult, ChildrenProps, ColorPair, ComponentIntent, ComponentSize, ContrastResult, DS_DARK_CRITICAL_PAIRS, DS_LIGHT_CRITICAL_PAIRS, FocusRingVariant, OptionalChildrenProps, PolymorphicProps, PolymorphicPropsWithRef, PolymorphicRef, RGB, SlotClasses, SlotConfig, Slots, TextSize, WCAG_AAA_LARGE, WCAG_AAA_NORMAL, WCAG_AA_LARGE, WCAG_AA_NORMAL, WCAG_NON_TEXT_AA, auditContrast, checkDSContrast, checkHexContrast, cn, composeRefs, contrastRatio, dsAttr, dsColorVar, dsDataAttrs, dsStateAttr, dsVar, focusRingClassList, focusRingClasses, focusRingCompactClassList, focusRingCompactClasses, focusRingGroupRingClasses, focusRingGroupTriggerClasses, focusRingInsetClassList, focusRingInsetClasses, focusRingVariantOverrides, focusWithinRingClassList, focusWithinRingClasses, meetsAA, meetsAAA, meetsNonTextAA, mergeSlots, noop, parseHex, parseRGBString, relativeLuminance, toRGBString, typedKeys } from './utils.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, Acco
|
|
|
2
2
|
export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.js';
|
|
3
3
|
export { MotionPreset, MotionPropsResult, MotionSafe, MotionSafeProps, SpringConfig, blurIn, blurInSubtle, countUp, crossfade, dragDismiss, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, numberRoll, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, revealMask, scaleIn, scaleInLg, scaleInSpring, shakeX, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slidePanelBottom, slidePanelLeft, slidePanelRight, slidePanelTop, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, springHover, springPress, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion } from './motion.js';
|
|
4
4
|
export { Body, BodyProps, Caption, CaptionProps, Container, ContainerPadding, ContainerProps, ContainerSize, Divider, DividerProps, Grid, GridProps, Heading, HeadingComponentProps, HeadingProps, InlineCode, InlineCodeProps, Label, LabelProps, Overline, OverlineProps, Stack, StackAlign, StackDirection, StackJustify, StackProps, Subheading, SubheadingProps, Typography, TypographyAlign, TypographyColor, TypographyFont, TypographyOwnProps, TypographyProps, TypographyVariant } from './primitives.js';
|
|
5
|
-
export { COLOR_PRESETS, COLOR_PRESET_KEYS, ColorPreset, ColorPresetKey, ColorVarName, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FONT_PRESETS, FontFamilyVarName, FontPreset, PresetSemanticColors, RADIUS_PRESETS, RadiusPreset, RadiusVarName, ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ShadowPreset, ShadowVarName, StylePreset, SurfaceStylePreset, ThemeConfig, ThemeCustomizer, ThemeCustomizerContextValue, ThemeCustomizerProps, ThemeCustomizerProvider, ThemeCustomizerProviderProps, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './theme.js';
|
|
6
|
-
export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-
|
|
5
|
+
export { COLOR_PRESETS, COLOR_PRESET_KEYS, ColorPreset, ColorPresetKey, ColorVarName, DEFAULT_FONT_KEY, DEFAULT_MENU_ACCENT_KEY, DEFAULT_MENU_COLOR_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FONT_PRESETS, FontFamilyVarName, FontPreset, MENU_ACCENT_PRESETS, MENU_COLOR_PRESETS, MenuAccentPreset, MenuColorPreset, PresetSemanticColors, RADIUS_PRESETS, RadiusPreset, RadiusVarName, ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ShadowPreset, ShadowVarName, StylePreset, SurfaceStylePreset, ThemeConfig, ThemeCustomizer, ThemeCustomizerContextValue, ThemeCustomizerProps, ThemeCustomizerProvider, ThemeCustomizerProviderProps, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getMenuAccentPreset, getMenuColorPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './theme.js';
|
|
6
|
+
export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-DmLl6FUD.js';
|
|
7
7
|
export { spacing } from './tokens.js';
|
|
8
8
|
export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariantToken, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.js';
|
|
9
9
|
export { AsProp, AuditResult, ChildrenProps, ColorPair, ComponentIntent, ComponentSize, ContrastResult, DS_DARK_CRITICAL_PAIRS, DS_LIGHT_CRITICAL_PAIRS, FocusRingVariant, OptionalChildrenProps, PolymorphicProps, PolymorphicPropsWithRef, PolymorphicRef, RGB, SlotClasses, SlotConfig, Slots, TextSize, WCAG_AAA_LARGE, WCAG_AAA_NORMAL, WCAG_AA_LARGE, WCAG_AA_NORMAL, WCAG_NON_TEXT_AA, auditContrast, checkDSContrast, checkHexContrast, cn, composeRefs, contrastRatio, dsAttr, dsColorVar, dsDataAttrs, dsStateAttr, dsVar, focusRingClassList, focusRingClasses, focusRingCompactClassList, focusRingCompactClasses, focusRingGroupRingClasses, focusRingGroupTriggerClasses, focusRingInsetClassList, focusRingInsetClasses, focusRingVariantOverrides, focusWithinRingClassList, focusWithinRingClasses, meetsAA, meetsAAA, meetsNonTextAA, mergeSlots, noop, parseHex, parseRGBString, relativeLuminance, toRGBString, typedKeys } from './utils.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { spacing } from './chunk-NMPHV6ZD.mjs';
|
|
3
|
-
export { COLOR_PRESETS, COLOR_PRESET_KEYS, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeProvider, FONT_PRESETS, RADIUS_PRESETS, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ThemeCustomizer, ThemeCustomizerProvider, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './chunk-
|
|
4
|
-
export { amber, blue, brand, gray, green, neutral, palettes, pure, radius, red, semanticDark, semanticLight, shadow, shadowDark, slate, teal, zIndex, zinc } from './chunk-
|
|
3
|
+
export { COLOR_PRESETS, COLOR_PRESET_KEYS, DEFAULT_FONT_KEY, DEFAULT_MENU_ACCENT_KEY, DEFAULT_MENU_COLOR_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, DSThemeProvider, FONT_PRESETS, MENU_ACCENT_PRESETS, MENU_COLOR_PRESETS, RADIUS_PRESETS, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, ThemeCustomizer, ThemeCustomizerProvider, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getMenuAccentPreset, getMenuColorPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer } from './chunk-BJ55D5IK.mjs';
|
|
4
|
+
export { amber, blue, brand, gray, green, neutral, palettes, pure, radius, red, semanticDark, semanticLight, shadow, shadowDark, slate, teal, zIndex, zinc } from './chunk-AAEWG5VR.mjs';
|
|
5
5
|
export { Body, Caption, Container, Divider, Grid, Heading, InlineCode, Label, Overline, Stack, Subheading, Typography } from './chunk-OHEH57BV.mjs';
|
|
6
6
|
export { fontFamily, fontSize, fontWeight, letterSpacing, lineHeight, typographyVariants } from './chunk-ITBG42M5.mjs';
|
|
7
7
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarGroup, Badge, Banner, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNav, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Callout, Card, CardBody, CardFooter, CardHeader, Carousel, ChartContainer, ChartTooltipContent, Checkbox, CheckboxGroup, CodeBlock, InlineCode as CodeInline, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, Command, CommandTrigger, ConfirmDialog, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DataList, DataListDetail, DataListTerm, DataTable, DataTableToolbar, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FileUpload, FormField, Label as FormLabel, HoverCard, HoverCardContent, HoverCardTrigger, ImageGallery, InfiniteScroll, Input, InputGroup, Kbd, Markdown, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuCardLink, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, Pagination, PinInput, Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioCard, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarMobileOverlay, SidebarProvider, SidebarRail, SidebarSection, SidebarSeparator, SidebarToggle, SidebarTrigger, Skeleton, SkeletonCircle, SkeletonRect, SkeletonText, Slider, SonnerToaster, Spinner, Stat, Step, Steps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Textarea, ThemeToggle, Timeline, TimelineItem, ToastItem, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipProvider, TreeView, VideoPlayer, VirtualList, VisuallyHidden, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calendarDayVariants, calloutVariants, cardVariants, chartColors, checkboxVariants, codeBlockVariants, comboboxTriggerVariants, copyButtonVariants, createColumnHelper, dataListVariants, dialogContentVariants, drawerContentVariants, fileUploadZoneVariants, labelVariants as formLabelVariants, inlineCodeVariants, inputVariants, kbdVariants, numberInputVariants, paginationButtonVariants, pinCellVariants, progressIndicatorVariants, progressTrackVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, scrollbarThumbVariants, scrollbarVariants, searchInputVariants, selectTriggerVariants, separatorVariants, sheetContentVariants, skeletonVariants, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants, spinnerVariants, statVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, tagVariants, textareaVariants, toast, toastVariants, toggleGroupItemVariants, toggleGroupVariants, toggleVariants, useCarouselContext, useCheckboxGroupContext, useCollapsibleContext, useDataTable, useSidebar, useSidebarContext, useToast, useToggleGroupContext } from './chunk-XAIUX2YS.mjs';
|
package/dist/theme.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var chunkRUG3BW2B_cjs = require('./chunk-RUG3BW2B.cjs');
|
|
5
|
+
require('./chunk-6ZZZBOCH.cjs');
|
|
6
6
|
require('./chunk-ECIGDEAH.cjs');
|
|
7
7
|
require('./chunk-XCKK6P46.cjs');
|
|
8
8
|
require('./chunk-4ON3M3OM.cjs');
|
|
@@ -11,121 +11,149 @@ require('./chunk-4ON3M3OM.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "COLOR_PRESETS", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRUG3BW2B_cjs.COLOR_PRESETS; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "COLOR_PRESET_KEYS", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRUG3BW2B_cjs.COLOR_PRESET_KEYS; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "DEFAULT_FONT_KEY", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_FONT_KEY; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "DEFAULT_MENU_ACCENT_KEY", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_MENU_ACCENT_KEY; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "DEFAULT_MENU_COLOR_KEY", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_MENU_COLOR_KEY; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "DEFAULT_RADIUS_KEY", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_RADIUS_KEY; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "DEFAULT_SHADOW_KEY", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_SHADOW_KEY; }
|
|
31
39
|
});
|
|
32
40
|
Object.defineProperty(exports, "DEFAULT_STYLE_KEY", {
|
|
33
41
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_STYLE_KEY; }
|
|
35
43
|
});
|
|
36
44
|
Object.defineProperty(exports, "DEFAULT_SURFACE_STYLE_KEY", {
|
|
37
45
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_SURFACE_STYLE_KEY; }
|
|
39
47
|
});
|
|
40
48
|
Object.defineProperty(exports, "DEFAULT_THEME_CONFIG", {
|
|
41
49
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkRUG3BW2B_cjs.DEFAULT_THEME_CONFIG; }
|
|
43
51
|
});
|
|
44
52
|
Object.defineProperty(exports, "DSThemeProvider", {
|
|
45
53
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkRUG3BW2B_cjs.DSThemeProvider; }
|
|
47
55
|
});
|
|
48
56
|
Object.defineProperty(exports, "FONT_PRESETS", {
|
|
49
57
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkRUG3BW2B_cjs.FONT_PRESETS; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "MENU_ACCENT_PRESETS", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkRUG3BW2B_cjs.MENU_ACCENT_PRESETS; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "MENU_COLOR_PRESETS", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkRUG3BW2B_cjs.MENU_COLOR_PRESETS; }
|
|
51
67
|
});
|
|
52
68
|
Object.defineProperty(exports, "RADIUS_PRESETS", {
|
|
53
69
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkRUG3BW2B_cjs.RADIUS_PRESETS; }
|
|
55
71
|
});
|
|
56
72
|
Object.defineProperty(exports, "SHADOW_PRESETS", {
|
|
57
73
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkRUG3BW2B_cjs.SHADOW_PRESETS; }
|
|
59
75
|
});
|
|
60
76
|
Object.defineProperty(exports, "STYLE_PRESETS", {
|
|
61
77
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkRUG3BW2B_cjs.STYLE_PRESETS; }
|
|
63
79
|
});
|
|
64
80
|
Object.defineProperty(exports, "SURFACE_STYLE_PRESETS", {
|
|
65
81
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkRUG3BW2B_cjs.SURFACE_STYLE_PRESETS; }
|
|
67
83
|
});
|
|
68
84
|
Object.defineProperty(exports, "ThemeCustomizer", {
|
|
69
85
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkRUG3BW2B_cjs.ThemeCustomizer; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "ThemeCustomizerContext", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkRUG3BW2B_cjs.ThemeCustomizerContext; }
|
|
71
91
|
});
|
|
72
92
|
Object.defineProperty(exports, "ThemeCustomizerProvider", {
|
|
73
93
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkRUG3BW2B_cjs.ThemeCustomizerProvider; }
|
|
75
95
|
});
|
|
76
96
|
Object.defineProperty(exports, "buildDarkThemeVars", {
|
|
77
97
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkRUG3BW2B_cjs.buildDarkThemeVars; }
|
|
79
99
|
});
|
|
80
100
|
Object.defineProperty(exports, "buildLightThemeVars", {
|
|
81
101
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkRUG3BW2B_cjs.buildLightThemeVars; }
|
|
83
103
|
});
|
|
84
104
|
Object.defineProperty(exports, "buildThemeCSS", {
|
|
85
105
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkRUG3BW2B_cjs.buildThemeCSS; }
|
|
87
107
|
});
|
|
88
108
|
Object.defineProperty(exports, "buildThemeOverrides", {
|
|
89
109
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkRUG3BW2B_cjs.buildThemeOverrides; }
|
|
91
111
|
});
|
|
92
112
|
Object.defineProperty(exports, "contract", {
|
|
93
113
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkRUG3BW2B_cjs.contract; }
|
|
95
115
|
});
|
|
96
116
|
Object.defineProperty(exports, "cssVar", {
|
|
97
117
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkRUG3BW2B_cjs.cssVar; }
|
|
99
119
|
});
|
|
100
120
|
Object.defineProperty(exports, "generateThemeCSS", {
|
|
101
121
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkRUG3BW2B_cjs.generateThemeCSS; }
|
|
103
123
|
});
|
|
104
124
|
Object.defineProperty(exports, "getColorPreset", {
|
|
105
125
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkRUG3BW2B_cjs.getColorPreset; }
|
|
107
127
|
});
|
|
108
128
|
Object.defineProperty(exports, "getFontPreset", {
|
|
109
129
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkRUG3BW2B_cjs.getFontPreset; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "getMenuAccentPreset", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkRUG3BW2B_cjs.getMenuAccentPreset; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "getMenuColorPreset", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkRUG3BW2B_cjs.getMenuColorPreset; }
|
|
111
139
|
});
|
|
112
140
|
Object.defineProperty(exports, "getRadiusPreset", {
|
|
113
141
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkRUG3BW2B_cjs.getRadiusPreset; }
|
|
115
143
|
});
|
|
116
144
|
Object.defineProperty(exports, "getShadowPreset", {
|
|
117
145
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkRUG3BW2B_cjs.getShadowPreset; }
|
|
119
147
|
});
|
|
120
148
|
Object.defineProperty(exports, "getStylePreset", {
|
|
121
149
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkRUG3BW2B_cjs.getStylePreset; }
|
|
123
151
|
});
|
|
124
152
|
Object.defineProperty(exports, "useDSTheme", {
|
|
125
153
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkRUG3BW2B_cjs.useDSTheme; }
|
|
127
155
|
});
|
|
128
156
|
Object.defineProperty(exports, "useThemeCustomizer", {
|
|
129
157
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkRUG3BW2B_cjs.useThemeCustomizer; }
|
|
131
159
|
});
|
package/dist/theme.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { S as SemanticColorKey, r as radius, o as shadow, z as zIndex } from './z-index-
|
|
1
|
+
import { S as SemanticColorKey, r as radius, o as shadow, z as zIndex } from './z-index-DmLl6FUD.cjs';
|
|
2
2
|
import { b as durationCSS, f as easingCSS } from './motion-D9wQbcKL.cjs';
|
|
3
3
|
import { f as fontFamily } from './typography-DlvVjEdE.cjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import * as react from 'react';
|
|
5
6
|
import { ReactNode } from 'react';
|
|
6
7
|
|
|
7
8
|
declare const colorVarNames: Record<SemanticColorKey, string>;
|
|
@@ -228,6 +229,22 @@ interface SurfaceStylePreset {
|
|
|
228
229
|
}
|
|
229
230
|
declare const SURFACE_STYLE_PRESETS: readonly SurfaceStylePreset[];
|
|
230
231
|
declare const DEFAULT_SURFACE_STYLE_KEY = "bordered";
|
|
232
|
+
interface MenuColorPreset {
|
|
233
|
+
readonly name: string;
|
|
234
|
+
readonly key: string;
|
|
235
|
+
readonly description: string;
|
|
236
|
+
}
|
|
237
|
+
declare const MENU_COLOR_PRESETS: readonly MenuColorPreset[];
|
|
238
|
+
declare const DEFAULT_MENU_COLOR_KEY = "default";
|
|
239
|
+
declare function getMenuColorPreset(key: string): MenuColorPreset;
|
|
240
|
+
interface MenuAccentPreset {
|
|
241
|
+
readonly name: string;
|
|
242
|
+
readonly key: string;
|
|
243
|
+
readonly description: string;
|
|
244
|
+
}
|
|
245
|
+
declare const MENU_ACCENT_PRESETS: readonly MenuAccentPreset[];
|
|
246
|
+
declare const DEFAULT_MENU_ACCENT_KEY = "subtle";
|
|
247
|
+
declare function getMenuAccentPreset(key: string): MenuAccentPreset;
|
|
231
248
|
interface StylePreset {
|
|
232
249
|
readonly name: string;
|
|
233
250
|
readonly key: string;
|
|
@@ -275,6 +292,10 @@ interface ThemeConfig {
|
|
|
275
292
|
shadow: string;
|
|
276
293
|
/** Surface style key (e.g. "bordered", "elevated", "mixed") */
|
|
277
294
|
surfaceStyle: string;
|
|
295
|
+
/** Menu color key (e.g. "default", "muted", "inverted", "primary") */
|
|
296
|
+
menuColor: string;
|
|
297
|
+
/** Menu accent key (e.g. "none", "subtle", "bold") */
|
|
298
|
+
menuAccent: string;
|
|
278
299
|
}
|
|
279
300
|
/** The default theme configuration — matches the design system's built-in styles */
|
|
280
301
|
declare const DEFAULT_THEME_CONFIG: ThemeConfig;
|
|
@@ -310,6 +331,10 @@ interface ThemeCustomizerContextValue {
|
|
|
310
331
|
setShadow: (key: string) => void;
|
|
311
332
|
/** Set just the surface style (e.g. "bordered", "elevated", "mixed") */
|
|
312
333
|
setSurfaceStyle: (key: string) => void;
|
|
334
|
+
/** Set just the menu color (e.g. "default", "muted", "inverted", "primary") */
|
|
335
|
+
setMenuColor: (key: string) => void;
|
|
336
|
+
/** Set just the menu accent (e.g. "none", "subtle", "bold") */
|
|
337
|
+
setMenuAccent: (key: string) => void;
|
|
313
338
|
/** Reset to the default theme configuration */
|
|
314
339
|
resetConfig: () => void;
|
|
315
340
|
/** Whether the current config matches the default config */
|
|
@@ -317,6 +342,7 @@ interface ThemeCustomizerContextValue {
|
|
|
317
342
|
/** Generate a copyable CSS string for the current config */
|
|
318
343
|
generateCSS: () => string;
|
|
319
344
|
}
|
|
345
|
+
declare const ThemeCustomizerContext: react.Context<ThemeCustomizerContextValue | null>;
|
|
320
346
|
/**
|
|
321
347
|
* Access the theme customizer store.
|
|
322
348
|
*
|
|
@@ -411,4 +437,4 @@ interface DSThemeProviderProps {
|
|
|
411
437
|
*/
|
|
412
438
|
declare function DSThemeProvider({ children, defaultTheme, manageHtmlClass, }: DSThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
413
439
|
|
|
414
|
-
export { COLOR_PRESETS, COLOR_PRESET_KEYS, type ColorPreset, type ColorPresetKey, type ColorVarName, DEFAULT_FONT_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, type DSThemeContextValue, DSThemeProvider, type DSThemeProviderProps, type DurationVarName, type EasingVarName, FONT_PRESETS, type FontFamilyVarName, type FontPreset, type PresetSemanticColors, RADIUS_PRESETS, type RadiusPreset, type RadiusVarName, type ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, type ShadowPreset, type ShadowVarName, type StylePreset, type SurfaceStylePreset, type ThemeConfig, ThemeCustomizer, type ThemeCustomizerContextValue, type ThemeCustomizerProps, ThemeCustomizerProvider, type ThemeCustomizerProviderProps, type ThemeMode, type ThemeVars, type ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer };
|
|
440
|
+
export { COLOR_PRESETS, COLOR_PRESET_KEYS, type ColorPreset, type ColorPresetKey, type ColorVarName, DEFAULT_FONT_KEY, DEFAULT_MENU_ACCENT_KEY, DEFAULT_MENU_COLOR_KEY, DEFAULT_RADIUS_KEY, DEFAULT_SHADOW_KEY, DEFAULT_STYLE_KEY, DEFAULT_SURFACE_STYLE_KEY, DEFAULT_THEME_CONFIG, type DSThemeContextValue, DSThemeProvider, type DSThemeProviderProps, type DurationVarName, type EasingVarName, FONT_PRESETS, type FontFamilyVarName, type FontPreset, MENU_ACCENT_PRESETS, MENU_COLOR_PRESETS, type MenuAccentPreset, type MenuColorPreset, type PresetSemanticColors, RADIUS_PRESETS, type RadiusPreset, type RadiusVarName, type ResolvedTheme, SHADOW_PRESETS, STYLE_PRESETS, SURFACE_STYLE_PRESETS, type ShadowPreset, type ShadowVarName, type StylePreset, type SurfaceStylePreset, type ThemeConfig, ThemeCustomizer, ThemeCustomizerContext, type ThemeCustomizerContextValue, type ThemeCustomizerProps, ThemeCustomizerProvider, type ThemeCustomizerProviderProps, type ThemeMode, type ThemeVars, type ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, buildThemeOverrides, contract, cssVar, generateThemeCSS, getColorPreset, getFontPreset, getMenuAccentPreset, getMenuColorPreset, getRadiusPreset, getShadowPreset, getStylePreset, useDSTheme, useThemeCustomizer };
|