@nurix/ui-component-library 1.1.3-stage.78 → 1.1.3-stage.80

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/index.d.mts CHANGED
@@ -1,12 +1,20 @@
1
- import * as React$1 from 'react';
1
+ import * as React from 'react';
2
2
 
3
3
  type ButtonBorderRadius = "none" | "soft" | "rounded" | "pill";
4
- type ButtonVariant = "primary" | "destructive" | "outline" | "secondary" | "link";
5
- type ButtonSize = "default" | "sm" | "lg" | "icon";
4
+ type ButtonVariant = "primary" | "secondary" | "destructive" | "outline" | "link" | "iconPrimary" | "iconSecondary" | "iconOutline";
5
+ type ButtonSize = "default" | "sm" | "lg" | "icon" | "iconSm";
6
6
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
7
7
  variant?: ButtonVariant;
8
8
  size?: ButtonSize;
9
9
  onClick?: () => void;
10
+ /**
11
+ * Optional leading/trailing icons (e.g. lucide-react). If `asChild` is true,
12
+ * children layout is controlled by the consumer, so these are not injected.
13
+ */
14
+ leadingIcon?: React.ReactNode;
15
+ trailingIcon?: React.ReactNode;
16
+ showLeadingIcon?: boolean;
17
+ showTrailingIcon?: boolean;
10
18
  /**
11
19
  * Design-system controlled border radius
12
20
  */
@@ -15,7 +23,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
15
23
  isDarkTheme?: boolean;
16
24
  }
17
25
 
18
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
26
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
19
27
 
20
28
  type InputBorderRadius = "none" | "soft" | "rounded" | "pill";
21
29
  type SupportingTextType = "help" | "error";
@@ -61,9 +69,9 @@ interface FileInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement
61
69
  onFileChange?: (file: File | null) => void;
62
70
  }
63
71
 
64
- declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
72
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
65
73
 
66
- declare const FileInput: React$1.ForwardRefExoticComponent<FileInputProps & React$1.RefAttributes<HTMLInputElement>>;
74
+ declare const FileInput: React.ForwardRefExoticComponent<FileInputProps & React.RefAttributes<HTMLInputElement>>;
67
75
 
68
76
  type SwitchSize = "default" | "small";
69
77
  interface SwitchProps {
@@ -89,131 +97,41 @@ interface SwitchProps {
89
97
  style?: React.CSSProperties;
90
98
  }
91
99
 
92
- declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
100
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
93
101
 
94
102
  type Theme = "light" | "dark";
95
103
  interface ThemeContextType {
96
104
  theme: Theme;
97
105
  setTheme: (theme: Theme) => void;
98
106
  }
99
- declare const ThemeProvider: React$1.FC<{
100
- children: React$1.ReactNode;
107
+ declare const ThemeProvider: React.FC<{
108
+ children: React.ReactNode;
101
109
  defaultTheme?: Theme;
102
110
  }>;
103
- declare const NurixThemeProvider: React$1.FC<{
104
- children: React$1.ReactNode;
111
+ declare const NurixThemeProvider: React.FC<{
112
+ children: React.ReactNode;
105
113
  defaultTheme?: Theme;
106
114
  }>;
107
115
  declare const useTheme: () => ThemeContextType;
108
116
 
109
117
  interface LegoLandWrapperProps {
110
- children: React$1.ReactNode;
118
+ children: React.ReactNode;
111
119
  theme: "light" | "dark";
112
120
  className?: string;
113
- style?: React$1.CSSProperties;
121
+ style?: React.CSSProperties;
114
122
  }
115
- declare const LegoLandWrapper: React$1.FC<LegoLandWrapperProps>;
123
+ declare const LegoLandWrapper: React.FC<LegoLandWrapperProps>;
116
124
 
117
- declare const LEGO_TOKENS: {
118
- readonly twColors: {
119
- readonly mode1: {
120
- readonly slate50: "hsla(210, 40, 98, 1)";
121
- readonly slate100: "hsla(210, 40, 96, 1)";
122
- readonly slate200: "hsla(214, 32, 91, 1)";
123
- readonly slate300: "hsla(213, 27, 84, 1)";
124
- readonly slate400: "hsla(215, 20, 65, 1)";
125
- readonly slate500: "hsla(215, 14, 47, 1)";
126
- readonly slate600: "hsla(215, 19, 35, 1)";
127
- readonly slate700: "hsla(215, 25, 27, 1)";
128
- readonly slate800: "hsla(217, 33, 17, 1)";
129
- readonly slate900: "hsla(222, 47, 11, 1)";
130
- readonly slate950: "hsla(229, 84, 5, 1)";
131
- readonly white: "hsla(0, 0, 100, 1)";
132
- readonly black: "hsla(0, 0, 0, 1)";
133
- };
134
- };
135
- readonly uIColors: {
136
- readonly lightMode: {
137
- readonly background: "#f5f5f5";
138
- readonly foreground: "#0a0a0a";
139
- readonly border: "#e5e5e5";
140
- readonly destructive: "#dc2626";
141
- readonly secondary: "#e5e5e5";
142
- readonly mutedForeground: "#737373";
143
- readonly muted: "#f5f5f5";
144
- readonly backgroundColor: "#0000004c";
145
- readonly primary: "#1d4885";
146
- readonly secondaryForeground: "#0a0a0a";
147
- readonly accentForeground: "#171717";
148
- readonly accent: "#f5f5f5";
149
- readonly ring: "#0090ff";
150
- readonly chart3: "#0588f0";
151
- readonly chart2: "#0090ff";
152
- readonly chart4: "#0d74ce";
153
- readonly chart1: "#5eb1ef";
154
- readonly chart5: "#113264";
155
- readonly card: "#ffffff";
156
- readonly cardForeground: "#0a0a0a";
157
- readonly popover: "#ffffff";
158
- readonly popoverForeground: "#0a0a0a";
159
- readonly primaryForeground: "#fafafa";
160
- readonly input: "#f5f5f5";
161
- readonly sidebar: "#fafafa";
162
- readonly sidebarForeground: "#0a0a0a";
163
- readonly sidebarPrimary: "#171717";
164
- readonly sidebarPrimaryForeground: "#fafafa";
165
- readonly sidebarAccent: "#f5f5f5";
166
- readonly sidebarAccentForeground: "#171717";
167
- readonly sidebarBorder: "#d4d4d4";
168
- readonly sidebarRing: "#737373";
169
- readonly semanticBackground: "#696867";
170
- readonly semanticBorder: "#898887";
171
- readonly semanticForeground: "#ffffff";
172
- readonly disabled: "#d4d4d4";
173
- readonly primary10: "#1d488519";
174
- readonly success: "#047857";
175
- };
176
- readonly darkMode: {
177
- readonly background: "#1e1e1e";
178
- readonly foreground: "#fafafa";
179
- readonly border: "#404040";
180
- readonly destructive: "#f87171";
181
- readonly secondary: "#262626";
182
- readonly mutedForeground: "#a3a3a3";
183
- readonly muted: "#262626";
184
- readonly backgroundColor: "#0000004c";
185
- readonly primary: "#b5d4fd";
186
- readonly secondaryForeground: "#fafafa";
187
- readonly accentForeground: "#fafafa";
188
- readonly accent: "#262626";
189
- readonly ring: "#acd8fc";
190
- readonly chart3: "#0588f0";
191
- readonly chart2: "#0090ff";
192
- readonly chart4: "#0d74ce";
193
- readonly chart1: "#5eb1ef";
194
- readonly chart5: "#113264";
195
- readonly card: "#171717";
196
- readonly cardForeground: "#fafafa";
197
- readonly popover: "#262626";
198
- readonly popoverForeground: "#fafafa";
199
- readonly primaryForeground: "#171717";
200
- readonly input: "#2e3034";
201
- readonly sidebar: "#171717";
202
- readonly sidebarForeground: "#fafafa";
203
- readonly sidebarPrimary: "#0588f0";
204
- readonly sidebarPrimaryForeground: "#fafafa";
205
- readonly sidebarAccent: "#262626";
206
- readonly sidebarAccentForeground: "#fafafa";
207
- readonly sidebarBorder: "#ffffffcc";
208
- readonly sidebarRing: "#737373";
209
- readonly semanticBackground: "#272625";
210
- readonly semanticBorder: "#535151";
211
- readonly semanticForeground: "#ffffff";
212
- readonly disabled: "#404040";
213
- readonly primary10: "#e6f1ff19";
214
- readonly success: "#a7f3d0";
215
- };
216
- };
125
+ /**
126
+ * Hardcoded theme JSON (as requested).
127
+ * NOTE: `uIColors` values are hex, but at runtime we convert them to HSL channels
128
+ * so they work with `tailwind.config.ts` which uses `hsl(var(--...))`.
129
+ */
130
+ declare const DEFAULT_THEME: {
131
+ /**
132
+ * Design tokens (numbers) used by components.
133
+ * This file is the single source of truth (do not duplicate these elsewhere).
134
+ */
217
135
  readonly twPadding: {
218
136
  readonly mode1: {
219
137
  readonly px0: 0;
@@ -305,6 +223,336 @@ declare const LEGO_TOKENS: {
305
223
  readonly "275": 2.75;
306
224
  };
307
225
  };
226
+ readonly twColors: {
227
+ readonly mode1: {
228
+ readonly slate50: "#f8fafc";
229
+ readonly slate100: "#f1f5f9";
230
+ readonly slate200: "#e2e8f0";
231
+ readonly slate300: "#cbd5e1";
232
+ readonly slate400: "#94a3b8";
233
+ readonly slate500: "#64748b";
234
+ readonly slate600: "#475569";
235
+ readonly slate700: "#334155";
236
+ readonly slate800: "#1e293b";
237
+ readonly slate900: "#0f172a";
238
+ readonly slate950: "#020617";
239
+ readonly gray50: "#f9fafb";
240
+ readonly gray100: "#f3f4f6";
241
+ readonly gray200: "#e5e7eb";
242
+ readonly gray300: "#d1d5db";
243
+ readonly gray400: "#9ca3af";
244
+ readonly gray500: "#6b7280";
245
+ readonly gray600: "#4b5563";
246
+ readonly gray700: "#374151";
247
+ readonly gray800: "#1f2937";
248
+ readonly gray900: "#111827";
249
+ readonly gray950: "#030712";
250
+ readonly zinc50: "#fafafa";
251
+ readonly zinc100: "#f4f4f5";
252
+ readonly zinc200: "#e4e4e7";
253
+ readonly zinc300: "#d4d4d8";
254
+ readonly zinc400: "#a1a1aa";
255
+ readonly zinc500: "#71717a";
256
+ readonly zinc600: "#52525b";
257
+ readonly zinc700: "#3f3f46";
258
+ readonly zinc800: "#27272a";
259
+ readonly zinc900: "#18181b";
260
+ readonly zinc950: "#09090b";
261
+ readonly neutral50: "#fafafa";
262
+ readonly neutral100: "#f5f5f5";
263
+ readonly neutral200: "#e5e5e5";
264
+ readonly neutral300: "#d4d4d4";
265
+ readonly neutral400: "#a3a3a3";
266
+ readonly neutral500: "#737373";
267
+ readonly neutral600: "#525252";
268
+ readonly neutral700: "#404040";
269
+ readonly neutral800: "#262626";
270
+ readonly neutral900: "#171717";
271
+ readonly neutral950: "#0a0a0a";
272
+ readonly stone50: "#fafaf9";
273
+ readonly stone100: "#f5f5f4";
274
+ readonly stone200: "#e7e5e4";
275
+ readonly stone300: "#d6d3d1";
276
+ readonly stone400: "#a8a29e";
277
+ readonly stone500: "#78716c";
278
+ readonly stone600: "#57534e";
279
+ readonly stone700: "#44403c";
280
+ readonly stone800: "#292524";
281
+ readonly stone900: "#1c1917";
282
+ readonly stone950: "#0c0a09";
283
+ readonly red50: "#fef2f2";
284
+ readonly red100: "#fee2e2";
285
+ readonly red200: "#fecaca";
286
+ readonly red300: "#fca5a5";
287
+ readonly red400: "#f87171";
288
+ readonly red500: "#ef4444";
289
+ readonly red600: "#dc2626";
290
+ readonly red700: "#b91c1c";
291
+ readonly red800: "#991b1b";
292
+ readonly red900: "#7f1d1d";
293
+ readonly red950: "#450a0a";
294
+ readonly orange50: "#fff7ed";
295
+ readonly orange100: "#ffedd5";
296
+ readonly orange200: "#fed7aa";
297
+ readonly orange300: "#fdba74";
298
+ readonly orange400: "#fb923c";
299
+ readonly orange500: "#f97316";
300
+ readonly orange600: "#ea580c";
301
+ readonly orange700: "#c2410c";
302
+ readonly orange800: "#9a3412";
303
+ readonly orange900: "#7c2d12";
304
+ readonly orange950: "#431407";
305
+ readonly amber50: "#fffbeb";
306
+ readonly amber100: "#fef3c7";
307
+ readonly amber200: "#fde68a";
308
+ readonly amber300: "#fcd34d";
309
+ readonly amber400: "#fbbf24";
310
+ readonly amber500: "#f59e0b";
311
+ readonly amber600: "#d97706";
312
+ readonly amber700: "#b45309";
313
+ readonly amber800: "#92400e";
314
+ readonly amber900: "#78350f";
315
+ readonly amber950: "#451a03";
316
+ readonly green50: "#f0fdf4";
317
+ readonly green100: "#dcfce7";
318
+ readonly green200: "#bbf7d0";
319
+ readonly green300: "#86efac";
320
+ readonly green400: "#4ade80";
321
+ readonly green500: "#22c55e";
322
+ readonly green600: "#16a34a";
323
+ readonly green700: "#15803d";
324
+ readonly green800: "#166534";
325
+ readonly green900: "#14532d";
326
+ readonly green950: "#052e16";
327
+ readonly emerald50: "#ecfdf5";
328
+ readonly emerald100: "#d1fae5";
329
+ readonly emerald200: "#a7f3d0";
330
+ readonly emerald300: "#6ee7b7";
331
+ readonly emerald400: "#34d399";
332
+ readonly emerald500: "#10b981";
333
+ readonly emerald600: "#059669";
334
+ readonly emerald700: "#047857";
335
+ readonly emerald800: "#065f46";
336
+ readonly emerald900: "#064e3b";
337
+ readonly emerald950: "#022c22";
338
+ readonly teal50: "#f0fdfa";
339
+ readonly teal100: "#ccfbf1";
340
+ readonly teal200: "#99f6e4";
341
+ readonly teal300: "#5eead4";
342
+ readonly teal400: "#2dd4bf";
343
+ readonly teal500: "#14b8a6";
344
+ readonly teal600: "#0d9488";
345
+ readonly teal700: "#0f766e";
346
+ readonly teal800: "#115e59";
347
+ readonly teal900: "#134e4a";
348
+ readonly teal950: "#042f2e";
349
+ readonly cyan50: "#ecfeff";
350
+ readonly cyan100: "#cffafe";
351
+ readonly cyan200: "#a5f3fc";
352
+ readonly cyan300: "#67e8f9";
353
+ readonly cyan400: "#22d3ee";
354
+ readonly cyan500: "#06b6d4";
355
+ readonly cyan600: "#0891b2";
356
+ readonly cyan700: "#0e7490";
357
+ readonly cyan800: "#155e75";
358
+ readonly cyan900: "#164e63";
359
+ readonly cyan950: "#083344";
360
+ readonly sky50: "#f0f9ff";
361
+ readonly sky100: "#e0f2fe";
362
+ readonly sky200: "#bae6fd";
363
+ readonly sky300: "#7dd3fc";
364
+ readonly sky400: "#38bdf8";
365
+ readonly sky500: "#0ea5e9";
366
+ readonly sky600: "#0284c7";
367
+ readonly sky700: "#0369a1";
368
+ readonly sky800: "#075985";
369
+ readonly sky900: "#0c4a6e";
370
+ readonly sky950: "#082f49";
371
+ readonly indigo50: "#eef2ff";
372
+ readonly indigo100: "#e0e7ff";
373
+ readonly indigo200: "#c7d2fe";
374
+ readonly indigo300: "#a5b4fc";
375
+ readonly indigo400: "#818cf8";
376
+ readonly indigo500: "#6366f1";
377
+ readonly indigo600: "#4f46e5";
378
+ readonly indigo700: "#4338ca";
379
+ readonly indigo800: "#3730a3";
380
+ readonly indigo900: "#312e81";
381
+ readonly indigo950: "#1e1b4b";
382
+ readonly violet50: "#f5f3ff";
383
+ readonly violet100: "#ede9fe";
384
+ readonly violet200: "#ddd6fe";
385
+ readonly violet300: "#c4b5fd";
386
+ readonly violet400: "#a78bfa";
387
+ readonly violet500: "#8b5cf6";
388
+ readonly violet600: "#7c3aed";
389
+ readonly violet700: "#6d28d9";
390
+ readonly violet800: "#5b21b6";
391
+ readonly violet900: "#4c1d95";
392
+ readonly violet950: "#2e1065";
393
+ readonly purple50: "#faf5ff";
394
+ readonly purple100: "#f3e8ff";
395
+ readonly purple200: "#e9d5ff";
396
+ readonly purple300: "#d8b4fe";
397
+ readonly purple400: "#c084fc";
398
+ readonly purple500: "#a855f7";
399
+ readonly purple600: "#9333ea";
400
+ readonly purple700: "#7e22ce";
401
+ readonly purple800: "#6b21a8";
402
+ readonly purple900: "#581c87";
403
+ readonly purple950: "#3b0764";
404
+ readonly fuchsia50: "#fdf4ff";
405
+ readonly fuchsia100: "#fae8ff";
406
+ readonly fuchsia200: "#f5d0fe";
407
+ readonly fuchsia300: "#f0abfc";
408
+ readonly fuchsia400: "#e879f9";
409
+ readonly fuchsia500: "#d946ef";
410
+ readonly fuchsia600: "#c026d3";
411
+ readonly fuchsia700: "#a21caf";
412
+ readonly fuchsia800: "#86198f";
413
+ readonly fuchsia900: "#701a75";
414
+ readonly fuchsia950: "#4a044e";
415
+ readonly pink50: "#fdf2f8";
416
+ readonly pink100: "#fce7f3";
417
+ readonly pink200: "#fbcfe8";
418
+ readonly pink300: "#f9a8d4";
419
+ readonly pink400: "#f472b6";
420
+ readonly pink500: "#ec4899";
421
+ readonly pink600: "#db2777";
422
+ readonly pink700: "#be185d";
423
+ readonly pink800: "#9d174d";
424
+ readonly pink900: "#831843";
425
+ readonly pink950: "#500724";
426
+ readonly rose50: "#fff1f2";
427
+ readonly rose100: "#ffe4e6";
428
+ readonly rose200: "#fecdd3";
429
+ readonly rose300: "#fda4af";
430
+ readonly rose400: "#fb7185";
431
+ readonly rose500: "#f43f5e";
432
+ readonly rose600: "#e11d48";
433
+ readonly rose700: "#be123c";
434
+ readonly rose800: "#9f1239";
435
+ readonly rose900: "#881337";
436
+ readonly rose950: "#4c0519";
437
+ readonly lime50: "#f7fee7";
438
+ readonly lime100: "#ecfccb";
439
+ readonly lime200: "#d9f99d";
440
+ readonly lime300: "#bef264";
441
+ readonly lime400: "#a3e635";
442
+ readonly lime500: "#84cc16";
443
+ readonly lime600: "#65a30d";
444
+ readonly lime700: "#4d7c0f";
445
+ readonly lime800: "#3f6212";
446
+ readonly lime900: "#365314";
447
+ readonly lime950: "#1a2e05";
448
+ readonly yellow50: "#fefce8";
449
+ readonly yellow100: "#fef9c3";
450
+ readonly yellow200: "#fef08a";
451
+ readonly yellow300: "#fde047";
452
+ readonly yellow400: "#facc15";
453
+ readonly yellow500: "#eab308";
454
+ readonly yellow600: "#ca8a04";
455
+ readonly yellow700: "#a16207";
456
+ readonly yellow800: "#854d0e";
457
+ readonly yellow900: "#713f12";
458
+ readonly yellow950: "#422006";
459
+ readonly blue50: "#eff6ff";
460
+ readonly blue100: "#dbeafe";
461
+ readonly blue200: "#bfdbfe";
462
+ readonly blue300: "#93c5fd";
463
+ readonly blue400: "#60a5fa";
464
+ readonly blue500: "#3b82f6";
465
+ readonly blue600: "#2563eb";
466
+ readonly blue700: "#1d4ed8";
467
+ readonly blue800: "#1e40af";
468
+ readonly blue900: "#1e3a8a";
469
+ readonly blue950: "#172554";
470
+ readonly white: "#ffffff";
471
+ readonly black: "#000000";
472
+ };
473
+ };
474
+ readonly uIColors: {
475
+ readonly lightMode: {
476
+ readonly background: "#f5f5f5";
477
+ readonly foreground: "#0a0a0a";
478
+ readonly border: "#e5e5e5";
479
+ readonly destructive: "#dc2626";
480
+ readonly secondary: "#e5e5e5";
481
+ readonly mutedForeground: "#737373";
482
+ readonly muted: "#f5f5f5";
483
+ readonly backgroundColor: "#0000004d";
484
+ readonly primary: "#1d4885";
485
+ readonly secondaryForeground: "#0a0a0a";
486
+ readonly accentForeground: "#171717";
487
+ readonly accent: "#f5f5f5";
488
+ readonly ring: "#0090ff";
489
+ readonly chart3: "#0588f0";
490
+ readonly chart2: "#0090ff";
491
+ readonly chart4: "#0d74ce";
492
+ readonly chart1: "#5eb1ef";
493
+ readonly chart5: "#113264";
494
+ readonly card: "#ffffff";
495
+ readonly cardForeground: "#0a0a0a";
496
+ readonly popover: "#ffffff";
497
+ readonly popoverForeground: "#0a0a0a";
498
+ readonly primaryForeground: "#fafafa";
499
+ readonly input: "#f5f5f5";
500
+ readonly sidebar: "#fafafa";
501
+ readonly sidebarForeground: "#0a0a0a";
502
+ readonly sidebarPrimary: "#171717";
503
+ readonly sidebarPrimaryForeground: "#fafafa";
504
+ readonly sidebarAccent: "#f5f5f5";
505
+ readonly sidebarAccentForeground: "#171717";
506
+ readonly sidebarBorder: "#d4d4d4";
507
+ readonly sidebarRing: "#737373";
508
+ readonly semanticBackground: "#696867";
509
+ readonly semanticBorder: "#898887";
510
+ readonly semanticForeground: "#ffffff";
511
+ readonly disabled: "#d4d4d4";
512
+ readonly primary10: "#1d488519";
513
+ readonly success: "#047857";
514
+ };
515
+ readonly darkMode: {
516
+ readonly background: "#1e1e1e";
517
+ readonly foreground: "#fafafa";
518
+ readonly border: "#404040";
519
+ readonly destructive: "#f87171";
520
+ readonly secondary: "#262626";
521
+ readonly mutedForeground: "#a3a3a3";
522
+ readonly muted: "#262626";
523
+ readonly backgroundColor: "#0000004d";
524
+ readonly primary: "#b5d5fd";
525
+ readonly secondaryForeground: "#fafafa";
526
+ readonly accentForeground: "#fafafa";
527
+ readonly accent: "#262626";
528
+ readonly ring: "#acd8fc";
529
+ readonly chart3: "#0588f0";
530
+ readonly chart2: "#0090ff";
531
+ readonly chart4: "#0d74ce";
532
+ readonly chart1: "#5eb1ef";
533
+ readonly chart5: "#113264";
534
+ readonly card: "#171717";
535
+ readonly cardForeground: "#fafafa";
536
+ readonly popover: "#262626";
537
+ readonly popoverForeground: "#fafafa";
538
+ readonly primaryForeground: "#171717";
539
+ readonly input: "#2e3034";
540
+ readonly sidebar: "#171717";
541
+ readonly sidebarForeground: "#fafafa";
542
+ readonly sidebarPrimary: "#0588f0";
543
+ readonly sidebarPrimaryForeground: "#fafafa";
544
+ readonly sidebarAccent: "#262626";
545
+ readonly sidebarAccentForeground: "#fafafa";
546
+ readonly sidebarBorder: "#ffffffcc";
547
+ readonly sidebarRing: "#737373";
548
+ readonly semanticBackground: "#272625";
549
+ readonly semanticBorder: "#535151";
550
+ readonly semanticForeground: "#ffffff";
551
+ readonly disabled: "#404040";
552
+ readonly primary10: "#e6f1ff1a";
553
+ readonly success: "#a7f3d0";
554
+ };
555
+ };
308
556
  readonly components: {
309
557
  readonly mode1: {
310
558
  readonly inputRadius: 16;
@@ -312,27 +560,17 @@ declare const LEGO_TOKENS: {
312
560
  readonly inputHeightLarge: 64;
313
561
  readonly inputPaddingHorizontal: 16;
314
562
  readonly inputPaddingVertical: 8;
315
- readonly inputActiveBg: "hsla(0, 0, 96, 1)";
316
- readonly inputFocussedBg: "hsla(0, 0, 98, 1)";
317
- readonly inputFocussedRing: "hsla(200, 64, 39, 1)";
318
563
  readonly buttonHeight: 40;
319
564
  readonly buttonRadius: 24;
565
+ readonly inputActiveBg: "#2e3034";
566
+ readonly inputFocussedBg: "#2e3034";
567
+ readonly inputFocussedRing: "#acd8fc";
320
568
  };
321
569
  };
322
570
  };
323
- type LegoTheme = "light" | "dark";
324
- /**
325
- * Convert hex colors like "#RRGGBB" or "#RGB" into the format Tailwind expects for
326
- * `hsl(var(--token))`: "H S% L%".
327
- */
328
- declare function hexToHslVarValue(hex: string): string;
329
- type CSSVarStyle = Record<`--${string}`, string> & {
330
- colorScheme?: "light" | "dark";
331
- };
332
- declare function getLegoLandThemeCSSVars(theme: LegoTheme): CSSVarStyle;
333
571
 
334
572
  interface ShadowDOMWrapperProps {
335
- children: React$1.ReactNode;
573
+ children: React.ReactNode;
336
574
  /**
337
575
  * CSS styles to inject into the shadow root.
338
576
  * If not provided, styles will be extracted from the document's stylesheets.
@@ -359,6 +597,6 @@ interface ShadowDOMWrapperProps {
359
597
  * ShadowDOMWrapper component that wraps children in a Shadow DOM.
360
598
  * This isolates component styles and DOM structure from the parent document.
361
599
  */
362
- declare const ShadowDOMWrapper: React$1.FC<ShadowDOMWrapperProps>;
600
+ declare const ShadowDOMWrapper: React.FC<ShadowDOMWrapperProps>;
363
601
 
364
- export { Button, type ButtonProps, FileInput, type FileInputProps, Input, type InputProps, LEGO_TOKENS, LegoLandWrapper, type LegoLandWrapperProps, type LegoTheme, NurixThemeProvider, ShadowDOMWrapper, Switch, type SwitchProps, ThemeProvider, getLegoLandThemeCSSVars, hexToHslVarValue, useTheme };
602
+ export { Button, type ButtonBorderRadius, type ButtonProps, type ButtonSize, type ButtonVariant, DEFAULT_THEME, FileInput, type FileInputProps, Input, type InputBorderRadius, type InputForceState, type InputProps, LegoLandWrapper, type LegoLandWrapperProps, NurixThemeProvider, ShadowDOMWrapper, type SupportingTextType, Switch, type SwitchProps, type SwitchSize, ThemeProvider, useTheme };