@getgreenline/blaze-ui 1.0.23 → 1.0.25

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/globals.css CHANGED
@@ -8,38 +8,38 @@
8
8
  @custom-variant dark (&:is(.dark *));
9
9
 
10
10
  :root {
11
- --background: oklch(1.0000 0 0);
11
+ --background: oklch(1 0 0);
12
12
  --foreground: oklch(0.3152 0.0198 242.4463);
13
- --card: oklch(1.0000 0 0);
13
+ --card: oklch(1 0 0);
14
14
  --card-foreground: oklch(0.3152 0.0198 242.4463);
15
- --popover: oklch(1.0000 0 0);
15
+ --popover: oklch(1 0 0);
16
16
  --popover-foreground: oklch(0.3152 0.0198 242.4463);
17
- --primary: oklch(0.6890 0.1379 230.8);
18
- --primary-foreground: oklch(1.0000 0 0);
17
+ --primary: oklch(0.689 0.1379 230.8);
18
+ --primary-foreground: oklch(1 0 0);
19
19
  --secondary: oklch(0.6723 0.1606 244.9955);
20
- --secondary-foreground: oklch(1.0000 0 0);
21
- --muted: oklch(0.9680 0.0070 247.8960);
20
+ --secondary-foreground: oklch(1 0 0);
21
+ --muted: oklch(0.968 0.007 247.896);
22
22
  --muted-foreground: oklch(0.1884 0.0128 248.5103);
23
23
  --accent: oklch(0.9632 0.0127 244.2532);
24
24
  --accent-foreground: oklch(0.6723 0.1606 244.9955);
25
25
  --destructive: oklch(0.6188 0.2376 25.7658);
26
- --destructive-foreground: oklch(1.0000 0 0);
26
+ --destructive-foreground: oklch(1 0 0);
27
27
  --border: oklch(0.9317 0.0118 231.6594);
28
28
  --input: oklch(0.9809 0.0025 228.7836);
29
- --ring: oklch(0.6818 0.1584 243.3540);
29
+ --ring: oklch(0.6818 0.1584 243.354);
30
30
  --chart-1: oklch(0.6723 0.1606 244.9955);
31
31
  --chart-2: oklch(0.6907 0.1554 160.3454);
32
- --chart-3: oklch(0.8214 0.1600 82.5337);
32
+ --chart-3: oklch(0.8214 0.16 82.5337);
33
33
  --chart-4: oklch(0.7064 0.1822 151.7125);
34
34
  --chart-5: oklch(0.5919 0.2186 10.5826);
35
35
  --sidebar: oklch(0.9784 0.0011 197.1387);
36
36
  --sidebar-foreground: oklch(0.3152 0.0198 242.4463);
37
37
  --sidebar-primary: oklch(0.6723 0.1606 244.9955);
38
- --sidebar-primary-foreground: oklch(1.0000 0 0);
38
+ --sidebar-primary-foreground: oklch(1 0 0);
39
39
  --sidebar-accent: oklch(0.9392 0.0166 250.8453);
40
40
  --sidebar-accent-foreground: oklch(0.6723 0.1606 244.9955);
41
41
  --sidebar-border: oklch(0.9271 0.0101 238.5177);
42
- --sidebar-ring: oklch(0.6818 0.1584 243.3540);
42
+ --sidebar-ring: oklch(0.6818 0.1584 243.354);
43
43
  --font-sans: Roboto, ui-sans-serif, sans-serif, system-ui;
44
44
  --font-serif: Georgia, serif;
45
45
  --font-mono: Menlo, monospace;
@@ -50,14 +50,24 @@
50
50
  --shadow-spread: 0px;
51
51
  --shadow-opacity: 0;
52
52
  --shadow-color: rgba(29, 161, 242, 0.15);
53
- --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
54
- --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
55
- --shadow-sm: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
56
- --shadow: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
57
- --shadow-md: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
58
- --shadow-lg: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
59
- --shadow-xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
60
- --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
53
+ --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
54
+ --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
55
+ --shadow-sm:
56
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
57
+ 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0);
58
+ --shadow:
59
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
60
+ 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0);
61
+ --shadow-md:
62
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
63
+ 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0);
64
+ --shadow-lg:
65
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
66
+ 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0);
67
+ --shadow-xl:
68
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
69
+ 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0);
70
+ --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
61
71
  --tracking-normal: 0em;
62
72
  --spacing: 0.25rem;
63
73
  }
@@ -65,36 +75,36 @@
65
75
  .dark {
66
76
  --background: oklch(0 0 0);
67
77
  --foreground: oklch(0.9328 0.0025 228.7857);
68
- --card: oklch(0.2097 0.0080 274.5332);
78
+ --card: oklch(0.2097 0.008 274.5332);
69
79
  --card-foreground: oklch(0.8853 0 0);
70
80
  --popover: oklch(0 0 0);
71
81
  --popover-foreground: oklch(0.9328 0.0025 228.7857);
72
- --primary: oklch(0.6692 0.1607 245.0110);
73
- --primary-foreground: oklch(1.0000 0 0);
82
+ --primary: oklch(0.6692 0.1607 245.011);
83
+ --primary-foreground: oklch(1 0 0);
74
84
  --secondary: oklch(0.9622 0.0035 219.5331);
75
85
  --secondary-foreground: oklch(0.1884 0.0128 248.5103);
76
- --muted: oklch(0.2090 0 0);
86
+ --muted: oklch(0.209 0 0);
77
87
  --muted-foreground: oklch(0.5637 0.0078 247.9662);
78
88
  --accent: oklch(0.1928 0.0331 242.5459);
79
- --accent-foreground: oklch(0.6692 0.1607 245.0110);
89
+ --accent-foreground: oklch(0.6692 0.1607 245.011);
80
90
  --destructive: oklch(0.6188 0.2376 25.7658);
81
- --destructive-foreground: oklch(1.0000 0 0);
91
+ --destructive-foreground: oklch(1 0 0);
82
92
  --border: oklch(0.2674 0.0047 248.0045);
83
- --input: oklch(0.3020 0.0288 244.8244);
84
- --ring: oklch(0.6818 0.1584 243.3540);
93
+ --input: oklch(0.302 0.0288 244.8244);
94
+ --ring: oklch(0.6818 0.1584 243.354);
85
95
  --chart-1: oklch(0.6723 0.1606 244.9955);
86
96
  --chart-2: oklch(0.6907 0.1554 160.3454);
87
- --chart-3: oklch(0.8214 0.1600 82.5337);
97
+ --chart-3: oklch(0.8214 0.16 82.5337);
88
98
  --chart-4: oklch(0.7064 0.1822 151.7125);
89
99
  --chart-5: oklch(0.5919 0.2186 10.5826);
90
100
  --sidebar: oklch(0.2064 0.0474 267.6919);
91
101
  --sidebar-foreground: oklch(0.8853 0 0);
92
- --sidebar-primary: oklch(0.6818 0.1584 243.3540);
93
- --sidebar-primary-foreground: oklch(1.0000 0 0);
102
+ --sidebar-primary: oklch(0.6818 0.1584 243.354);
103
+ --sidebar-primary-foreground: oklch(1 0 0);
94
104
  --sidebar-accent: oklch(0.1928 0.0331 242.5459);
95
- --sidebar-accent-foreground: oklch(0.6692 0.1607 245.0110);
96
- --sidebar-border: oklch(0.3795 0.0220 240.5943);
97
- --sidebar-ring: oklch(0.6818 0.1584 243.3540);
105
+ --sidebar-accent-foreground: oklch(0.6692 0.1607 245.011);
106
+ --sidebar-border: oklch(0.3795 0.022 240.5943);
107
+ --sidebar-ring: oklch(0.6818 0.1584 243.354);
98
108
  --font-sans: Roboto, ui-sans-serif, sans-serif, system-ui;
99
109
  --font-serif: Georgia, serif;
100
110
  --font-mono: Menlo, monospace;
@@ -105,14 +115,24 @@
105
115
  --shadow-spread: 0px;
106
116
  --shadow-opacity: 0;
107
117
  --shadow-color: rgba(29, 161, 242, 0.25);
108
- --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
109
- --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
110
- --shadow-sm: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
111
- --shadow: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
112
- --shadow-md: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
113
- --shadow-lg: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
114
- --shadow-xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0.00);
115
- --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0.00);
118
+ --shadow-2xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
119
+ --shadow-xs: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
120
+ --shadow-sm:
121
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
122
+ 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0);
123
+ --shadow:
124
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
125
+ 0px 1px 2px -1px hsl(202.8169 89.1213% 53.1373% / 0);
126
+ --shadow-md:
127
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
128
+ 0px 2px 4px -1px hsl(202.8169 89.1213% 53.1373% / 0);
129
+ --shadow-lg:
130
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
131
+ 0px 4px 6px -1px hsl(202.8169 89.1213% 53.1373% / 0);
132
+ --shadow-xl:
133
+ 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0),
134
+ 0px 8px 10px -1px hsl(202.8169 89.1213% 53.1373% / 0);
135
+ --shadow-2xl: 0px 2px 0px 0px hsl(202.8169 89.1213% 53.1373% / 0);
116
136
  }
117
137
 
118
138
  @theme inline {
@@ -163,7 +183,7 @@
163
183
  --shadow-lg: var(--shadow-lg);
164
184
  --shadow-xl: var(--shadow-xl);
165
185
  --shadow-2xl: var(--shadow-2xl);
166
- --color-sky-500: #0ea5e9;
186
+ --color-sky-500: #0ea5e9;
167
187
  --color-sky-600: #0284c7;
168
188
  }
169
189
 
@@ -197,14 +217,14 @@
197
217
  @apply tw:text-foreground tw:font-sans;
198
218
  }
199
219
 
200
- .blaze-ui-root button[data-slot='button'],
201
- .blaze-ui-root button[data-slot='switch'] {
220
+ .blaze-ui-root button[data-slot="button"],
221
+ .blaze-ui-root button[data-slot="switch"] {
202
222
  color: inherit;
203
223
  box-shadow: none;
204
224
  font: inherit;
205
225
  }
206
226
 
207
- .blaze-ui-root button[data-slot='button'] {
227
+ .blaze-ui-root button[data-slot="button"] {
208
228
  background-color: initial;
209
229
  min-height: var(--blaze-420-height-9);
210
230
  height: var(--blaze-420-height-9);
@@ -215,13 +235,220 @@
215
235
  line-height: var(--blaze-420-line-sm);
216
236
  }
217
237
 
218
- .blaze-ui-root button[data-slot='button'].tw\:has-\[\>svg\]\:px-3,
219
- .blaze-ui-root button[data-slot='button']:has(> svg) {
238
+ .blaze-ui-root button[data-slot="button"].tw\:has-\[\>svg\]\:px-3,
239
+ .blaze-ui-root button[data-slot="button"]:has(> svg) {
220
240
  padding-left: var(--blaze-420-space-3);
221
241
  padding-right: var(--blaze-420-space-3);
222
242
  }
223
243
 
224
- .blaze-ui-root button[data-slot='switch'] {
244
+ /* SelectionPanel utility classes - Blaze 420 scoped overrides */
245
+
246
+ /* Typography */
247
+ .blaze-ui-root .tw\:text-lg {
248
+ font-size: 18px;
249
+ line-height: 28px;
250
+ }
251
+
252
+ .blaze-ui-root .tw\:text-lg\! {
253
+ font-size: 18px !important;
254
+ line-height: 28px !important;
255
+ }
256
+
257
+ .blaze-ui-root .tw\:font-semibold {
258
+ font-weight: 600;
259
+ }
260
+
261
+ .blaze-ui-root .tw\:\!font-semibold {
262
+ font-weight: 600 !important;
263
+ }
264
+
265
+ /* Layout - Flexbox */
266
+ .blaze-ui-root .tw\:flex {
267
+ display: flex;
268
+ }
269
+
270
+ .blaze-ui-root .tw\:\!flex {
271
+ display: flex !important;
272
+ }
273
+
274
+ .blaze-ui-root .tw\:flex-col {
275
+ flex-direction: column;
276
+ }
277
+
278
+ .blaze-ui-root .tw\:\!flex-col {
279
+ flex-direction: column !important;
280
+ }
281
+
282
+ .blaze-ui-root .tw\:flex-row {
283
+ flex-direction: row;
284
+ }
285
+
286
+ .blaze-ui-root .tw\:\!flex-row {
287
+ flex-direction: row !important;
288
+ }
289
+
290
+ .blaze-ui-root .tw\:flex-1 {
291
+ flex: 1 1 0%;
292
+ }
293
+
294
+ .blaze-ui-root .tw\:\!flex-1 {
295
+ flex: 1 1 0% !important;
296
+ }
297
+
298
+ .blaze-ui-root .tw\:items-center {
299
+ align-items: center;
300
+ }
301
+
302
+ .blaze-ui-root .tw\:\!items-center {
303
+ align-items: center !important;
304
+ }
305
+
306
+ .blaze-ui-root .tw\:justify-between {
307
+ justify-content: space-between;
308
+ }
309
+
310
+ .blaze-ui-root .tw\:\!justify-between {
311
+ justify-content: space-between !important;
312
+ }
313
+
314
+ .blaze-ui-root .tw\:justify-end {
315
+ justify-content: flex-end;
316
+ }
317
+
318
+ .blaze-ui-root .tw\:\!justify-end {
319
+ justify-content: flex-end !important;
320
+ }
321
+
322
+ /* Sizing */
323
+ .blaze-ui-root .tw\:h-full {
324
+ height: 100%;
325
+ }
326
+
327
+ .blaze-ui-root .tw\:\!h-full {
328
+ height: 100% !important;
329
+ }
330
+
331
+ .blaze-ui-root .tw\:w-1\/2 {
332
+ width: 50%;
333
+ }
334
+
335
+ .blaze-ui-root .tw\:\!w-1\/2 {
336
+ width: 50% !important;
337
+ }
338
+
339
+ /* Overflow */
340
+ .blaze-ui-root .tw\:overflow-hidden {
341
+ overflow: hidden;
342
+ }
343
+
344
+ .blaze-ui-root .tw\:\!overflow-hidden {
345
+ overflow: hidden !important;
346
+ }
347
+
348
+ /* Spacing - Padding */
349
+ .blaze-ui-root .tw\:p-0 {
350
+ padding: 0;
351
+ }
352
+
353
+ .blaze-ui-root .tw\:\!p-0 {
354
+ padding: 0 !important;
355
+ }
356
+
357
+ .blaze-ui-root .tw\:p-2 {
358
+ padding: var(--blaze-420-space-2);
359
+ }
360
+
361
+ .blaze-ui-root .tw\:\!p-2 {
362
+ padding: var(--blaze-420-space-2) !important;
363
+ }
364
+
365
+ .blaze-ui-root .tw\:p-4 {
366
+ padding: var(--blaze-420-space-4);
367
+ }
368
+
369
+ .blaze-ui-root .tw\:\!p-4 {
370
+ padding: var(--blaze-420-space-4) !important;
371
+ }
372
+
373
+ .blaze-ui-root .tw\:px-0 {
374
+ padding-left: 0;
375
+ padding-right: 0;
376
+ }
377
+
378
+ .blaze-ui-root .tw\:\!px-0 {
379
+ padding-left: 0 !important;
380
+ padding-right: 0 !important;
381
+ }
382
+
383
+ /* Spacing - Margin */
384
+ .blaze-ui-root .tw\:mb-3 {
385
+ margin-bottom: var(--blaze-420-space-3);
386
+ }
387
+
388
+ .blaze-ui-root .tw\:\!mb-3 {
389
+ margin-bottom: var(--blaze-420-space-3) !important;
390
+ }
391
+
392
+ .blaze-ui-root .tw\:mt-3 {
393
+ margin-top: var(--blaze-420-space-3);
394
+ }
395
+
396
+ .blaze-ui-root .tw\:\!mt-3 {
397
+ margin-top: var(--blaze-420-space-3) !important;
398
+ }
399
+
400
+ /* Borders */
401
+ .blaze-ui-root .tw\:border-b {
402
+ border-bottom-width: 1px;
403
+ }
404
+
405
+ .blaze-ui-root .tw\:\!border-b {
406
+ border-bottom-width: 1px !important;
407
+ }
408
+
409
+ .blaze-ui-root .tw\:border-t {
410
+ border-top-width: 1px;
411
+ }
412
+
413
+ .blaze-ui-root .tw\:\!border-t {
414
+ border-top-width: 1px !important;
415
+ }
416
+
417
+ .blaze-ui-root .tw\:border-r {
418
+ border-right-width: 1px;
419
+ }
420
+
421
+ .blaze-ui-root .tw\:\!border-r {
422
+ border-right-width: 1px !important;
423
+ }
424
+
425
+ /* Colors */
426
+ .blaze-ui-root .tw\:text-muted-foreground {
427
+ color: hsl(var(--muted-foreground));
428
+ }
429
+
430
+ .blaze-ui-root .tw\:\!text-muted-foreground {
431
+ color: hsl(var(--muted-foreground)) !important;
432
+ }
433
+
434
+ .blaze-ui-root .tw\:text-primary {
435
+ color: hsl(var(--primary));
436
+ }
437
+
438
+ .blaze-ui-root .tw\:\!text-primary {
439
+ color: hsl(var(--primary)) !important;
440
+ }
441
+
442
+ /* Z-index */
443
+ .blaze-ui-root .tw\:z-\[1200\] {
444
+ z-index: 1200;
445
+ }
446
+
447
+ .blaze-ui-root .tw\:\!z-\[1200\] {
448
+ z-index: 1200 !important;
449
+ }
450
+
451
+ .blaze-ui-root button[data-slot="switch"] {
225
452
  background-color: initial;
226
453
  width: var(--blaze-420-switch-width);
227
454
  min-width: var(--blaze-420-switch-width);
@@ -230,53 +457,53 @@
230
457
  border-radius: var(--blaze-420-radius-full);
231
458
  }
232
459
 
233
- .blaze-ui-root button[data-slot='switch']>[data-slot='switch-thumb'] {
460
+ .blaze-ui-root button[data-slot="switch"] > [data-slot="switch-thumb"] {
234
461
  width: var(--blaze-420-thumb-size);
235
462
  height: var(--blaze-420-thumb-size);
236
463
  }
237
464
 
238
- .blaze-ui-root button[data-slot='button'].tw\:bg-primary {
465
+ .blaze-ui-root button[data-slot="button"].tw\:bg-primary {
239
466
  @apply tw:bg-primary;
240
467
  }
241
468
 
242
- .blaze-ui-root button[data-slot='button'].tw\:bg-destructive {
469
+ .blaze-ui-root button[data-slot="button"].tw\:bg-destructive {
243
470
  @apply tw:bg-destructive;
244
471
  }
245
472
 
246
- .blaze-ui-root button[data-slot='button'].tw\:bg-secondary {
473
+ .blaze-ui-root button[data-slot="button"].tw\:bg-secondary {
247
474
  @apply tw:bg-secondary;
248
475
  }
249
476
 
250
- .blaze-ui-root button[data-slot='button'].tw\:bg-background {
477
+ .blaze-ui-root button[data-slot="button"].tw\:bg-background {
251
478
  @apply tw:bg-background;
252
479
  }
253
480
 
254
- .blaze-ui-root button[data-slot='button'].tw\:text-primary-foreground {
481
+ .blaze-ui-root button[data-slot="button"].tw\:text-primary-foreground {
255
482
  @apply tw:text-primary-foreground;
256
483
  }
257
484
 
258
- .blaze-ui-root button[data-slot='button'].tw\:text-white {
485
+ .blaze-ui-root button[data-slot="button"].tw\:text-white {
259
486
  @apply tw:text-white;
260
487
  }
261
488
 
262
- .blaze-ui-root button[data-slot='button'].tw\:text-secondary-foreground {
489
+ .blaze-ui-root button[data-slot="button"].tw\:text-secondary-foreground {
263
490
  @apply tw:text-secondary-foreground;
264
491
  }
265
492
 
266
- .blaze-ui-root button[data-slot='button'].tw\:text-primary {
493
+ .blaze-ui-root button[data-slot="button"].tw\:text-primary {
267
494
  @apply tw:text-primary;
268
495
  }
269
496
 
270
- .blaze-ui-root button[data-slot='button'].tw\:shadow-xs,
271
- .blaze-ui-root button[data-slot='switch'].tw\:shadow-xs {
497
+ .blaze-ui-root button[data-slot="button"].tw\:shadow-xs,
498
+ .blaze-ui-root button[data-slot="switch"].tw\:shadow-xs {
272
499
  @apply tw:shadow-xs;
273
500
  }
274
501
 
275
- .blaze-ui-root button[data-slot='button'].tw\:border {
502
+ .blaze-ui-root button[data-slot="button"].tw\:border {
276
503
  @apply tw:border tw:border-border;
277
504
  }
278
505
 
279
- .blaze-ui-root button[data-slot='switch'].tw\:border {
506
+ .blaze-ui-root button[data-slot="switch"].tw\:border {
280
507
  @apply tw:border tw:border-transparent;
281
508
  }
282
509
 
@@ -374,23 +601,23 @@
374
601
  @apply tw:text-primary tw:hover:text-primary/90;
375
602
  }
376
603
 
377
- .blaze-ui-root button[data-slot='switch'][data-state='checked'] {
604
+ .blaze-ui-root button[data-slot="switch"][data-state="checked"] {
378
605
  background-color: var(--primary) !important;
379
606
  }
380
607
 
381
- .blaze-ui-root button[data-slot='switch'][data-state='unchecked'] {
608
+ .blaze-ui-root button[data-slot="switch"][data-state="unchecked"] {
382
609
  background-color: var(--input) !important;
383
610
  }
384
611
 
385
- .blaze-ui-root [data-slot='segmented-control-item'][data-state='active'] {
612
+ .blaze-ui-root [data-slot="segmented-control-item"][data-state="active"] {
386
613
  color: var(--primary-foreground) !important;
387
614
  }
388
615
 
389
- .blaze-ui-root [data-slot='label']>span[aria-hidden='true'] {
616
+ .blaze-ui-root [data-slot="label"] > span[aria-hidden="true"] {
390
617
  margin-left: var(--blaze-420-space-1);
391
618
  }
392
619
 
393
- .blaze-ui-root [data-slot='button-spinner'] svg {
620
+ .blaze-ui-root [data-slot="button-spinner"] svg {
394
621
  stroke: currentColor;
395
622
  fill: none;
396
623
  }
@@ -404,4 +631,4 @@
404
631
  body {
405
632
  @apply tw:bg-background tw:text-foreground;
406
633
  }
407
- }
634
+ }
package/dist/index.d.ts CHANGED
@@ -53,5 +53,9 @@ export * from "./components/field";
53
53
  export * from "./components/form";
54
54
  export * from "./components/input-group";
55
55
  export * from "./components/sidebar";
56
+ export * from "./components/search-bar";
57
+ export * from "./components/selection-panel";
58
+ export * from "./components/visually-hidden";
56
59
  export * from "./lib/utils";
60
+ export * from "./lib/portal-wrapper";
57
61
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA"}
package/dist/index.js CHANGED
@@ -53,5 +53,9 @@ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLab
53
53
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/form.js';
54
54
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from './components/input-group.js';
55
55
  export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './components/sidebar.js';
56
+ export { SearchBar } from './components/search-bar.js';
57
+ export { SelectionPanel } from './components/selection-panel.js';
58
+ export { VisuallyHidden } from './components/visually-hidden.js';
56
59
  export { cn } from './lib/utils.js';
60
+ export { PortalWrapper } from './lib/portal-wrapper.js';
57
61
  export { Check, X } from 'lucide-react';
@@ -0,0 +1,32 @@
1
+ import * as React from "react";
2
+ /**
3
+ * PortalWrapper - Wraps portal content in .blaze-ui-root for scoped Tailwind CSS
4
+ *
5
+ * **Problem**: Radix UI portals render at document.body level, outside the MFE's
6
+ * .blaze-ui-root wrapper. Since Blaze UI's Tailwind CSS is scoped to .blaze-ui-root,
7
+ * portal content renders unstyled without an ancestor with this class.
8
+ *
9
+ * **Solution**: Wrap all portal content in a <div className="blaze-ui-root"> with
10
+ * display: contents. The wrapper is layout-transparent (invisible to CSS layout)
11
+ * but provides the necessary class for Tailwind CSS scoping.
12
+ *
13
+ * **Usage**: Import and wrap children in all Radix portal Content components:
14
+ * - SheetContent (sheet.tsx)
15
+ * - DialogContent (dialog.tsx)
16
+ * - AlertDialogContent (alert-dialog.tsx)
17
+ * - PopoverContent (popover.tsx)
18
+ * - TooltipContent (tooltip.tsx)
19
+ * - DropdownMenuContent (dropdown-menu.tsx)
20
+ * - ContextMenuContent (context-menu.tsx)
21
+ *
22
+ * @example
23
+ * <SheetPrimitive.Content {...props}>
24
+ * <PortalWrapper>
25
+ * {children}
26
+ * </PortalWrapper>
27
+ * </SheetPrimitive.Content>
28
+ */
29
+ export declare function PortalWrapper({ children }: {
30
+ children: React.ReactNode;
31
+ }): import("react/jsx-runtime").JSX.Element;
32
+ //# sourceMappingURL=portal-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-wrapper.d.ts","sourceRoot":"","sources":["../../src/lib/portal-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAMxE"}
@@ -0,0 +1,34 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+
3
+ /**
4
+ * PortalWrapper - Wraps portal content in .blaze-ui-root for scoped Tailwind CSS
5
+ *
6
+ * **Problem**: Radix UI portals render at document.body level, outside the MFE's
7
+ * .blaze-ui-root wrapper. Since Blaze UI's Tailwind CSS is scoped to .blaze-ui-root,
8
+ * portal content renders unstyled without an ancestor with this class.
9
+ *
10
+ * **Solution**: Wrap all portal content in a <div className="blaze-ui-root"> with
11
+ * display: contents. The wrapper is layout-transparent (invisible to CSS layout)
12
+ * but provides the necessary class for Tailwind CSS scoping.
13
+ *
14
+ * **Usage**: Import and wrap children in all Radix portal Content components:
15
+ * - SheetContent (sheet.tsx)
16
+ * - DialogContent (dialog.tsx)
17
+ * - AlertDialogContent (alert-dialog.tsx)
18
+ * - PopoverContent (popover.tsx)
19
+ * - TooltipContent (tooltip.tsx)
20
+ * - DropdownMenuContent (dropdown-menu.tsx)
21
+ * - ContextMenuContent (context-menu.tsx)
22
+ *
23
+ * @example
24
+ * <SheetPrimitive.Content {...props}>
25
+ * <PortalWrapper>
26
+ * {children}
27
+ * </PortalWrapper>
28
+ * </SheetPrimitive.Content>
29
+ */
30
+ function PortalWrapper({ children }) {
31
+ return (jsx("div", { className: "blaze-ui-root", style: { display: "contents" }, children: children }));
32
+ }
33
+
34
+ export { PortalWrapper };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getgreenline/blaze-ui",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@base-ui/react": "^1.1.0",