@getgreenline/blaze-ui 1.0.14 → 1.0.15

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 (2) hide show
  1. package/dist/globals.css +24 -5
  2. package/package.json +1 -1
package/dist/globals.css CHANGED
@@ -247,13 +247,12 @@
247
247
  .blaze-ui-420 button[data-slot='button'],
248
248
  .blaze-ui-420 button[data-slot='switch'] {
249
249
  color: inherit;
250
- background-color: transparent;
251
- border: none;
252
250
  box-shadow: none;
253
251
  font: inherit;
254
252
  }
255
253
 
256
254
  .blaze-ui-420 button[data-slot='button'] {
255
+ background-color: initial;
257
256
  min-height: var(--blaze-420-height-9);
258
257
  height: var(--blaze-420-height-9);
259
258
  padding: var(--blaze-420-space-2) var(--blaze-420-space-4);
@@ -270,6 +269,7 @@
270
269
  }
271
270
 
272
271
  .blaze-ui-420 button[data-slot='switch'] {
272
+ background-color: initial;
273
273
  width: var(--blaze-420-switch-width);
274
274
  min-width: var(--blaze-420-switch-width);
275
275
  height: var(--blaze-420-switch-height);
@@ -319,11 +319,14 @@
319
319
  @apply tw:shadow-xs;
320
320
  }
321
321
 
322
- .blaze-ui-420 button[data-slot='button'].tw\:border,
323
- .blaze-ui-420 button[data-slot='switch'].tw\:border {
322
+ .blaze-ui-420 button[data-slot='button'].tw\:border {
324
323
  @apply tw:border tw:border-border;
325
324
  }
326
325
 
326
+ .blaze-ui-420 button[data-slot='switch'].tw\:border {
327
+ @apply tw:border tw:border-transparent;
328
+ }
329
+
327
330
  .blaze-ui-420 .tw\:rounded-md {
328
331
  border-radius: var(--blaze-420-radius-md);
329
332
  }
@@ -416,4 +419,20 @@
416
419
 
417
420
  .blaze-ui-420 a.tw\:ml-auto {
418
421
  @apply tw:text-primary tw:hover:text-primary/90;
419
- }
422
+ }
423
+
424
+ .blaze-ui-420 button[data-slot='switch'][data-state='checked'] {
425
+ background-color: var(--primary) !important;
426
+ }
427
+
428
+ .blaze-ui-420 button[data-slot='switch'][data-state='unchecked'] {
429
+ background-color: var(--input) !important;
430
+ }
431
+
432
+ .blaze-ui-420 [data-slot='segmented-control-item'][data-state='active'] {
433
+ color: var(--primary-foreground) !important;
434
+ }
435
+
436
+ .blaze-ui-420 [data-slot='label'] > span[aria-hidden='true'] {
437
+ margin-left: var(--blaze-420-space-1);
438
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getgreenline/blaze-ui",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@radix-ui/react-alert-dialog": "^1.1.15",