@codeenvision/ui-webcomponents 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/components/Calendar/Calendar.d.ts.map +1 -1
  2. package/dist/components/Calendar/Calendar.js +7 -0
  3. package/dist/components/Calendar/Calendar.js.map +1 -1
  4. package/dist/components/web-components/combobox.d.ts.map +1 -1
  5. package/dist/components/web-components/combobox.js +7 -0
  6. package/dist/components/web-components/combobox.js.map +1 -1
  7. package/dist/components/web-components/input.d.ts +4 -0
  8. package/dist/components/web-components/input.d.ts.map +1 -1
  9. package/dist/components/web-components/input.js +62 -2
  10. package/dist/components/web-components/input.js.map +1 -1
  11. package/dist/components/web-components/listbox.d.ts.map +1 -1
  12. package/dist/components/web-components/listbox.js +21 -0
  13. package/dist/components/web-components/listbox.js.map +1 -1
  14. package/dist/components/web-components/multiselect.d.ts.map +1 -1
  15. package/dist/components/web-components/multiselect.js +22 -0
  16. package/dist/components/web-components/multiselect.js.map +1 -1
  17. package/dist/src/index.d.ts +3 -1
  18. package/dist/src/index.d.ts.map +1 -1
  19. package/dist/src/index.js +6 -1
  20. package/dist/src/index.js.map +1 -1
  21. package/dist/src/styles/ensureShadowStyles.d.ts.map +1 -1
  22. package/dist/src/styles/ensureShadowStyles.js +218 -7
  23. package/dist/src/styles/ensureShadowStyles.js.map +1 -1
  24. package/dist/src/styles/ensureThemeTokens.d.ts +5 -1
  25. package/dist/src/styles/ensureThemeTokens.d.ts.map +1 -1
  26. package/dist/src/styles/ensureThemeTokens.js +339 -10
  27. package/dist/src/styles/ensureThemeTokens.js.map +1 -1
  28. package/package.json +2 -2
@@ -1,8 +1,10 @@
1
1
  const TOKEN_STYLE_MARKER = "data-ce-ui-theme-tokens";
2
- const DEFAULT_THEME_TOKENS = `
3
- :root {
4
- --text-primary: var(--ce-color-text, var(--theme-fg, #202124));
5
- --text-muted: var(--ce-color-text-muted, var(--theme-muted, #6c757d));
2
+ const FONT_STACK = `"Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif`;
3
+ const BASE_SEMANTIC_TOKENS = `
4
+ --text-primary: var(--ce-color-text, var(--theme-fg, #0f172a));
5
+ --text-muted: var(--ce-color-text-muted, var(--theme-muted, #52607a));
6
+ --text-inverse: var(--ce-color-text-inverse, #ffffff);
7
+ --text-link: var(--ce-color-text-link, #1e4dff);
6
8
  --font-size-base: var(--ce-font-size-base, 15px);
7
9
  --font-size-sm: var(--ce-font-size-sm, 0.875rem);
8
10
  --font-size-md: var(--ce-font-size-md, 1rem);
@@ -10,7 +12,12 @@ const DEFAULT_THEME_TOKENS = `
10
12
  --font-weight-regular: var(--ce-font-weight-regular, 400);
11
13
  --font-weight-medium: var(--ce-font-weight-medium, 500);
12
14
  --font-weight-semibold: var(--ce-font-weight-semibold, 600);
13
- --ce-font-family-fallback: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
15
+ --font-weight-bold: var(--ce-font-weight-bold, 700);
16
+ --ce-font-family: var(--ce-font-family-base, ${FONT_STACK});
17
+ --ce-font-family-fallback: var(--ce-font-family, ${FONT_STACK});
18
+ --font-family-base: var(--ce-font-family);
19
+ --font-family-heading: var(--ce-font-family, "Inter", "Segoe UI", sans-serif);
20
+ --font-family-monospace: "Fira Code", "Cascadia Code", "SFMono-Regular", monospace;
14
21
  --icon-filter: brightness(0) saturate(100%);
15
22
  --ce-icon-size: 18px;
16
23
  --ce-icon-size-sm: 14px;
@@ -21,34 +28,356 @@ const DEFAULT_THEME_TOKENS = `
21
28
  --ce-icon-color: currentColor;
22
29
  --ce-icon-color-muted: var(--text-muted);
23
30
  --ce-icon-filter: var(--icon-filter);
31
+ --focus-ring-color: #2563eb;
32
+ --focus-ring-soft: color-mix(in srgb, var(--focus-ring-color) 72%, transparent);
33
+ --focus-ring-width: 2px;
34
+ --focus-ring-offset: 2px;
35
+ --spacing-1: 0.25rem;
36
+ --spacing-2: 0.5rem;
37
+ --spacing-3: 0.75rem;
38
+ --spacing-4: 1rem;
39
+ --spacing-5: 1.25rem;
40
+ --spacing-6: 1.5rem;
41
+ --spacing-7: 2rem;
42
+ --spacing-8: 2.5rem;
43
+ --background: var(--background-default);
44
+ --accent: var(--primary);
45
+ --gray: var(--color-gray-500, #74829e);
46
+ --depth: 1;
47
+ --depth-elevated: 2;
48
+ --background-surface: var(--surface-subtle);
49
+ --ce-radius-sm: 0.375rem;
50
+ --ce-radius-md: 0.5rem;
51
+ --ce-radius-lg: 0.75rem;
52
+ --ce-radius-xl: 1rem;
53
+ --elevation-1: 0 6px 14px rgba(15, 23, 42, 0.08);
54
+ --elevation-2: 0 16px 30px rgba(15, 23, 42, 0.12);
55
+ --duration-fast: 120ms;
56
+ --duration-std: 180ms;
57
+ --duration-slow: 260ms;
58
+ --motion-ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
59
+ --theme-font: var(--ce-font-family, "Inter", "Segoe UI", sans-serif);
60
+ --theme-fg: var(--text-primary);
61
+ --theme-muted: var(--text-muted);
62
+ --theme-bg: var(--background-default);
63
+ --theme-surface: var(--surface);
64
+ --theme-surface-soft: var(--surface-bg);
65
+ --theme-overlay: var(--overlay);
66
+ --theme-border: var(--border-color, rgba(15, 23, 42, 0.14));
67
+ --theme-primary: var(--primary);
68
+ --theme-primary-hover: var(--primary-hover);
69
+ --theme-primary-active: var(--primary-active);
70
+ --theme-secondary: var(--secondary);
71
+ --theme-success: var(--success);
72
+ --theme-warning: var(--warning);
73
+ --theme-danger: var(--danger);
74
+ --theme-error: var(--danger);
75
+ --theme-info: var(--info);
76
+ --theme-on-primary: var(--text-light);
77
+ --theme-on-secondary: var(--text-light);
78
+ --theme-on-success: var(--text-light);
79
+ --theme-on-warning: var(--text-dark);
80
+ --theme-on-danger: var(--text-light);
81
+ --theme-on-error: var(--text-light);
82
+ --theme-on-info: var(--text-light);
83
+ --theme-on-surface: var(--text-primary);
84
+ --surface-bg: var(--ce-color-surface, #f7f9ff);
85
+ --surface-card: var(--ce-color-surface-soft, #ffffff);
86
+ --surface-elevated: var(--ce-color-surface-elevated, #ffffff);
87
+ --surface-border: var(--ce-color-border, rgba(12, 24, 48, 0.12));
88
+ --surface: var(--ce-color-surface, #ffffff);
89
+ --surface-subtle: var(--ce-color-surface-soft, #f8faff);
90
+ --surface-strong: var(--ce-color-surface-elevated, #ffffff);
91
+ --surface-inverse: var(--ce-color-text, #0f172a);
92
+ --surface-flat: var(--ce-color-background, #f4f7ff);
93
+ --border: var(--ce-color-border, rgba(15, 23, 42, 0.14));
94
+ --border-strong: var(--ce-color-border, rgba(15, 23, 42, 0.22));
95
+ --overlay: rgba(148, 163, 184, 0.1);
96
+ --overlay-hover: rgba(148, 163, 184, 0.18);
97
+ --background-dark: #0f172a;
98
+ --light: #ffffff;
99
+ --dark: #0f172a;
100
+ --text-light: #ffffff;
101
+ --text-dark: var(--ce-color-text, #0f172a);
102
+ --primary-dark: color-mix(in srgb, var(--primary) 85%, black 15%);
103
+ --text-subtle: var(--text-muted, #52607a);
104
+ --danger-strong: var(--danger);
105
+ --danger-foreground: var(--text-light);
106
+ --success-strong: var(--success);
107
+ --success-foreground: var(--text-light);
108
+ --info-foreground: var(--text-light);
109
+ --row-height: 2.75rem;
110
+ --text-secondary: var(--text-muted);
111
+ --swatch-color: var(--text-primary);
112
+ --switch-track-off: color-mix(in srgb, var(--surface) 88%, #000 12%);
113
+ --table-row-hover: color-mix(in srgb, var(--surface-subtle) 82%, var(--surface) 18%);
114
+ --table-row-active: color-mix(in srgb, var(--surface-subtle) 72%, var(--surface) 28%);
115
+ --table-row-stripe: color-mix(in srgb, var(--surface-subtle) 90%, var(--surface) 10%);
116
+ --gauge-value: var(--primary);
117
+ --gradient-start: var(--primary);
118
+ --gradient-middle: color-mix(in srgb, var(--primary) 75%, #fff 25%);
119
+ --gradient-end: var(--primary);
120
+ --gradient-angle: 135deg;
121
+ --gradient-direction: var(--gradient-angle);
122
+ --wizard-step-bg: var(--surface-subtle);
123
+ --wizard-progress-track: color-mix(in srgb, var(--primary) 20%, var(--surface-subtle) 80%);
124
+ --role-count: var(--spacing-8, 2.5rem);
125
+ --shadow-xxs: 0 1px 2px rgba(15, 23, 42, 0.06);
126
+ --primary: var(--ce-color-primary, #1e4dff);
127
+ --primary-hover: color-mix(in srgb, var(--primary) 88%, black 12%);
128
+ --primary-active: color-mix(in srgb, var(--primary) 78%, black 22%);
129
+ --primary-disabled: color-mix(in srgb, var(--primary) 45%, white 55%);
130
+ --secondary: var(--ce-color-secondary, #1f7be2);
131
+ --success: var(--ce-color-success, #07966b);
132
+ --warning: var(--ce-color-warning, #a16a00);
133
+ --danger: var(--ce-color-error, #e11d48);
134
+ --error: var(--danger);
135
+ --info: var(--ce-color-info, #1d8ff0);
136
+ --primary-rgb: 30, 77, 255;
137
+ --secondary-rgb: 31, 123, 226;
138
+ --success-rgb: 7, 150, 107;
139
+ --warning-rgb: 161, 106, 0;
140
+ --danger-rgb: 225, 29, 72;
141
+ --error-rgb: 225, 29, 72;
142
+ --info-rgb: 29, 143, 240;
143
+ `.trim();
144
+ const DEFAULT_THEME_TOKENS = `
145
+ :root {
146
+ ${BASE_SEMANTIC_TOKENS}
147
+ --ce-color-primary: #1e4dff;
148
+ --ce-color-primary-contrast: #ffffff;
149
+ --ce-color-primary-soft: #d8e1ff;
150
+ --ce-color-secondary: #1f7be2;
151
+ --ce-color-secondary-soft: #d6ebff;
152
+ --ce-color-tertiary: #8f5cf6;
153
+ --ce-color-tertiary-soft: #ece4ff;
154
+ --ce-color-success: #07966b;
155
+ --ce-color-warning: #a16a00;
156
+ --ce-color-error: #e11d48;
157
+ --ce-color-info: #1d8ff0;
158
+ --ce-color-surface: #ffffff;
159
+ --ce-color-surface-soft: #f8faff;
160
+ --ce-color-surface-elevated: #ffffff;
161
+ --ce-color-background: #f4f7ff;
162
+ --ce-color-border: rgba(15, 23, 42, 0.14);
163
+ --color-primary: #1e4dff;
164
+ --color-primary-light: #4f78ff;
165
+ --color-primary-dark: #1132a8;
166
+ --color-primary-contrast: #ffffff;
167
+ --color-secondary: #1f7be2;
168
+ --color-secondary-light: #4b97ff;
169
+ --color-secondary-dark: #1058b0;
170
+ --color-secondary-contrast: #ffffff;
171
+ --color-tertiary: #8f5cf6;
172
+ --color-tertiary-contrast: #ffffff;
173
+ --color-success: #07966b;
174
+ --color-warning: #f7ae00;
175
+ --color-error: #e11d48;
176
+ --color-info: #1d8ff0;
177
+ --color-white: #ffffff;
178
+ --color-black: #0b1220;
179
+ --color-gray-50: #f8fafc;
180
+ --color-gray-100: #f3f6fb;
181
+ --color-gray-200: #e5ebf5;
182
+ --color-gray-300: #d2ddec;
183
+ --color-gray-400: #aab7ce;
184
+ --color-gray-500: #74829e;
185
+ --color-gray-600: #54617b;
186
+ --color-gray-700: #3a4557;
187
+ --color-gray-800: #273248;
188
+ --color-gray-900: #131c2e;
189
+ --background-default: var(--ce-color-background);
190
+ --background-surface: var(--ce-color-surface-soft);
191
+ --background-paper: var(--ce-color-surface);
192
+ --background-overlay: rgba(3, 10, 26, 0.52);
193
+ --background-transparent: rgba(255, 255, 255, 0.12);
194
+ --text-disabled: #8a94a8;
195
+ --text-inverse: #ffffff;
196
+ --text-link: #1e4dff;
197
+ --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.08);
198
+ --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
199
+ --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.12);
200
+ --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.16);
201
+ --shadow-xl: 0 28px 60px rgba(15, 23, 42, 0.16);
202
+ --shadow-outline: 0 0 0 3px rgba(30, 77, 255, 0.2);
203
+ --radius-sm: 0.375rem;
204
+ --radius-md: 0.625rem;
205
+ --radius-lg: 0.875rem;
206
+ --radius-xl: 1.15rem;
207
+ --radius-2xl: 1.6rem;
208
+ --radius-pill: 9999px;
209
+ --radius-circle: 50%;
210
+ --opacity-0: 0;
211
+ --opacity-10: 0.1;
212
+ --opacity-20: 0.2;
213
+ --opacity-30: 0.3;
214
+ --opacity-40: 0.4;
215
+ --opacity-50: 0.5;
216
+ --opacity-60: 0.6;
217
+ --opacity-70: 0.7;
218
+ --opacity-80: 0.8;
219
+ --opacity-90: 0.9;
220
+ --opacity-100: 1;
24
221
  }
25
222
 
26
223
  :root[data-theme="dark"],
27
224
  :root[data-ce-theme="dark"] {
28
- --text-primary: var(--ce-color-text, var(--theme-fg, #e2e8f0));
29
- --text-muted: var(--ce-color-text-muted, var(--theme-muted, #94a3b8));
225
+ --text-primary: var(--ce-color-text, var(--theme-fg, #e5ebff));
226
+ --text-muted: var(--ce-color-text-muted, var(--theme-muted, #9cb0c9));
30
227
  --icon-filter: brightness(0) saturate(100%) invert(1);
228
+ --theme-bg: #071024;
229
+ --theme-surface: #0a1730;
230
+ --theme-surface-soft: #0d203d;
231
+ --theme-overlay: rgba(148, 163, 184, 0.14);
232
+ --theme-border: rgba(148, 163, 184, 0.25);
233
+ --ce-color-background: #071024;
234
+ --ce-color-surface: #0a1730;
235
+ --ce-color-surface-soft: #0d203d;
236
+ --ce-color-surface-elevated: #0c1c3a;
237
+ --ce-color-border: rgba(148, 163, 184, 0.2);
238
+ --surface: #0a1730;
239
+ --surface-subtle: #0d203d;
240
+ --surface-strong: #0c1c3a;
241
+ --surface-inverse: #ffffff;
242
+ --surface-flat: #071024;
243
+ --border: rgba(148, 163, 184, 0.24);
244
+ --overlay: rgba(148, 163, 184, 0.16);
245
+ --overlay-hover: rgba(148, 163, 184, 0.24);
246
+ --background-dark: #061127;
247
+ --text-light: #f8fafc;
248
+ --primary: #2f5bff;
249
+ --primary-hover: #4c72ff;
250
+ --primary-active: #264de0;
251
+ --secondary: #38bdf8;
252
+ --success: #34d399;
253
+ --warning: #facc15;
254
+ --danger: #fb7185;
255
+ --error: #fb7185;
256
+ --info: #60a5fa;
257
+ --primary-rgb: 47, 91, 255;
258
+ --secondary-rgb: 56, 189, 248;
259
+ --success-rgb: 52, 211, 153;
260
+ --warning-rgb: 250, 204, 21;
261
+ --danger-rgb: 251, 113, 133;
262
+ --error-rgb: 251, 113, 133;
263
+ --info-rgb: 96, 165, 250;
264
+ --background-default: #061127;
265
+ --background-surface: #0a1730;
266
+ --background-paper: #0c1c3a;
31
267
  }
32
268
 
33
269
  body {
34
270
  color: var(--text-primary);
35
- font-family: var(--ce-font-family, var(--theme-font, var(--ce-font-family-fallback, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif)));
271
+ font-family: var(--ce-font-family, var(--theme-font, var(--ce-font-family-fallback, ${FONT_STACK})));
36
272
  font-size: var(--font-size-base);
37
273
  }
38
274
  `.trim();
275
+ const ENTERPRISE_THEME_TOKENS = `
276
+ :root {
277
+ --ce-font-family: ${FONT_STACK};
278
+ --font-family-base: ${FONT_STACK};
279
+ --font-family-heading: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
280
+ --ce-radius-xl: 1.25rem;
281
+ --shadow-outline: 0 0 0 3px rgba(30, 77, 255, 0.2);
282
+ --spacing-1: 0.375rem;
283
+ --spacing-2: 0.625rem;
284
+ --spacing-3: 0.875rem;
285
+ --spacing-4: 1.25rem;
286
+ --spacing-5: 1.6rem;
287
+ --spacing-6: 2rem;
288
+ --spacing-7: 2.5rem;
289
+ --spacing-8: 3rem;
290
+ --ce-color-primary: #1f4bff;
291
+ --ce-color-secondary: #1f7af0;
292
+ --ce-color-tertiary: #7f56d9;
293
+ --ce-color-success: #047857;
294
+ --ce-color-warning: #ca8a04;
295
+ --ce-color-error: #be123c;
296
+ --ce-color-info: #0284c7;
297
+ --ce-color-surface-soft: #eef2ff;
298
+ --ce-color-border: rgba(15, 23, 42, 0.14);
299
+ --surface: #ffffff;
300
+ --surface-subtle: #eef2ff;
301
+ --surface-strong: #e2e8ff;
302
+ --surface-inverse: #0f1a3a;
303
+ --surface-flat: #f4f7ff;
304
+ --border: rgba(15, 23, 42, 0.18);
305
+ --overlay: rgba(15, 23, 42, 0.08);
306
+ --overlay-hover: rgba(15, 23, 42, 0.14);
307
+ --background-dark: #071024;
308
+ --text-light: #ffffff;
309
+ --text-dark: #0f172a;
310
+ --text-subtle: #5a6680;
311
+ --primary: #1f4bff;
312
+ --primary-hover: #4360ff;
313
+ --primary-active: #1a3ce8;
314
+ --secondary: #1f7af0;
315
+ --success: #047857;
316
+ --warning: #ca8a04;
317
+ --danger: #be123c;
318
+ --error: #be123c;
319
+ --info: #0284c7;
320
+ --primary-rgb: 31, 75, 255;
321
+ --secondary-rgb: 31, 122, 240;
322
+ --success-rgb: 4, 120, 87;
323
+ --warning-rgb: 202, 138, 4;
324
+ --danger-rgb: 190, 18, 60;
325
+ --error-rgb: 190, 18, 60;
326
+ --info-rgb: 2, 132, 199;
327
+ --theme-font: ${FONT_STACK};
328
+ --theme-fg: var(--text-primary);
329
+ --theme-muted: var(--text-muted);
330
+ --theme-bg: var(--background-default);
331
+ --theme-surface: var(--surface);
332
+ --theme-surface-soft: var(--surface-subtle);
333
+ --theme-overlay: var(--overlay);
334
+ --theme-border: var(--border);
335
+ --theme-primary: var(--primary);
336
+ --theme-primary-hover: var(--primary-hover);
337
+ --theme-primary-active: var(--primary-active);
338
+ --theme-secondary: var(--secondary);
339
+ --theme-success: var(--success);
340
+ --theme-warning: var(--warning);
341
+ --theme-danger: var(--danger);
342
+ --theme-error: var(--danger);
343
+ --theme-info: var(--info);
344
+ --theme-on-primary: var(--text-light);
345
+ --theme-on-secondary: var(--text-light);
346
+ --theme-on-success: var(--text-light);
347
+ --theme-on-warning: var(--text-dark);
348
+ --theme-on-danger: var(--text-light);
349
+ --theme-on-error: var(--text-light);
350
+ --theme-on-info: var(--text-light);
351
+ --theme-on-surface: var(--text-dark);
352
+ --focus-ring-soft: color-mix(in srgb, var(--focus-ring-color) 72%, transparent);
353
+ }
354
+ `.trim();
355
+ let activePreset = "default";
39
356
  let tokensAttached = false;
40
- export function ensureThemeTokens() {
357
+ export function setThemePreset(preset) {
358
+ activePreset = preset;
359
+ }
360
+ export function getThemePreset() {
361
+ return activePreset;
362
+ }
363
+ function getThemeTokens(preset) {
364
+ return preset === "enterprise" ? `${DEFAULT_THEME_TOKENS}\n\n${ENTERPRISE_THEME_TOKENS}` : DEFAULT_THEME_TOKENS;
365
+ }
366
+ export function ensureThemeTokens(preset = activePreset) {
41
367
  if (tokensAttached || typeof document === "undefined") {
42
368
  return;
43
369
  }
44
370
  const existing = document.head?.querySelector(`style[${TOKEN_STYLE_MARKER}]`);
45
371
  if (existing) {
372
+ if (!existing.textContent || existing.textContent !== getThemeTokens(preset)) {
373
+ existing.textContent = getThemeTokens(preset);
374
+ }
46
375
  tokensAttached = true;
47
376
  return;
48
377
  }
49
378
  const style = document.createElement("style");
50
379
  style.setAttribute(TOKEN_STYLE_MARKER, "true");
51
- style.textContent = DEFAULT_THEME_TOKENS;
380
+ style.textContent = getThemeTokens(preset);
52
381
  document.head.appendChild(style);
53
382
  tokensAttached = true;
54
383
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ensureThemeTokens.js","sourceRoot":"","sources":["../../../src/styles/ensureThemeTokens.ts"],"names":[],"mappings":"AAAA,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAErD,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC5B,CAAC,IAAI,EAAE,CAAC;AAET,IAAI,cAAc,GAAG,KAAK,CAAC;AAE3B,MAAM,UAAU,iBAAiB;IAC/B,IAAI,cAAc,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACtD,OAAO;IACT,CAAC;IAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAmB,SAAS,kBAAkB,GAAG,CAAC,CAAC;IAChG,IAAI,QAAQ,EAAE,CAAC;QACb,cAAc,GAAG,IAAI,CAAC;QACtB,OAAO;IACT,CAAC;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;IAC/C,KAAK,CAAC,WAAW,GAAG,oBAAoB,CAAC;IACzC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,cAAc,GAAG,IAAI,CAAC;AACxB,CAAC"}
1
+ {"version":3,"file":"ensureThemeTokens.js","sourceRoot":"","sources":["../../../src/styles/ensureThemeTokens.ts"],"names":[],"mappings":"AAAA,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAErD,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAE7F,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;iDAaoB,UAAU;qDACN,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8H9D,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,oBAAoB,GAAG;;IAEzB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFA6HgE,UAAU;;;CAGjG,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,uBAAuB,GAAG;;sBAEV,UAAU;wBACR,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiDhB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B3B,CAAC,IAAI,EAAE,CAAC;AAIT,IAAI,YAAY,GAAgB,SAAS,CAAC;AAC1C,IAAI,cAAc,GAAG,KAAK,CAAC;AAE3B,MAAM,UAAU,cAAc,CAAC,MAAmB;IAChD,YAAY,GAAG,MAAM,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,cAAc,CAAC,MAAmB;IACzC,OAAO,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,GAAG,oBAAoB,OAAO,uBAAuB,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC;AAClH,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,SAAsB,YAAY;IAClE,IAAI,cAAc,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACtD,OAAO;IACT,CAAC;IAED,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAmB,SAAS,kBAAkB,GAAG,CAAC,CAAC;IAChG,IAAI,QAAQ,EAAE,CAAC;QACb,IAAI,CAAC,QAAQ,CAAC,WAAW,IAAI,QAAQ,CAAC,WAAW,KAAK,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7E,QAAQ,CAAC,WAAW,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;QAChD,CAAC;QACD,cAAc,GAAG,IAAI,CAAC;QACtB,OAAO;IACT,CAAC;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,KAAK,CAAC,YAAY,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;IAC/C,KAAK,CAAC,WAAW,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjC,cAAc,GAAG,IAAI,CAAC;AACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeenvision/ui-webcomponents",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Cluster Envision reusable Web Components built on top of the CE UI framework.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -93,7 +93,7 @@
93
93
  "author": "Cluster Envision",
94
94
  "license": "MIT",
95
95
  "devDependencies": {
96
- "@codeenvision/ui-scss": "^1.94.4",
96
+ "@codeenvision/ui-scss": "file:../ce-ui-scss",
97
97
  "@playwright/test": "^1.55.0",
98
98
  "@storybook/addon-docs": "^10.2.19",
99
99
  "@storybook/web-components-vite": "^10.2.19",