@frontile/theme 0.17.0-alpha.5 → 0.17.0-alpha.7

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 (131) hide show
  1. package/declarations/colors/defaults.d.ts +1 -14
  2. package/declarations/colors/defaults.d.ts.map +1 -1
  3. package/declarations/components/chip.d.ts.map +1 -1
  4. package/declarations/components/forms/form-field.d.ts +70 -1
  5. package/declarations/components/forms/form-field.d.ts.map +1 -1
  6. package/declarations/components/index.d.ts +1 -0
  7. package/declarations/components/index.d.ts.map +1 -1
  8. package/declarations/components/listbox.d.ts.map +1 -1
  9. package/declarations/components/overlays.d.ts +89 -72
  10. package/declarations/components/overlays.d.ts.map +1 -1
  11. package/declarations/components/popover.d.ts +52 -0
  12. package/declarations/components/popover.d.ts.map +1 -0
  13. package/declarations/defaults-2fd1ea0c.d.ts +79 -0
  14. package/declarations/defaults-339db4e8.d.ts +79 -0
  15. package/declarations/defaults-6b749161.d.ts +66 -0
  16. package/declarations/defaults-726937a2.d.ts +79 -0
  17. package/declarations/defaults-729119aa.d.ts +79 -0
  18. package/declarations/defaults-87797129.d.ts +79 -0
  19. package/declarations/defaults-a668928c.d.ts +79 -0
  20. package/declarations/defaults-f493cef9.d.ts +79 -0
  21. package/declarations/defaults-fb28f33c.d.ts +79 -0
  22. package/declarations/form-select--1MF6JnA.d.ts +3471 -0
  23. package/declarations/form-select--UpU9I_M.d.ts +3520 -0
  24. package/declarations/form-select--udlpk9y.d.ts +3520 -0
  25. package/declarations/form-select-0-ga6Fz1.d.ts +3520 -0
  26. package/declarations/form-select-0XSPovJ2.d.ts +3520 -0
  27. package/declarations/form-select-2hEPlYKN.d.ts +3520 -0
  28. package/declarations/form-select-2svveHDj.d.ts +3520 -0
  29. package/declarations/form-select-30e4UdDd.d.ts +3520 -0
  30. package/declarations/form-select-4jN5J8Sz.d.ts +3520 -0
  31. package/declarations/form-select-4nmGwNvk.d.ts +3525 -0
  32. package/declarations/form-select-4vOEcCpM.d.ts +3520 -0
  33. package/declarations/form-select-7yPf8smM.d.ts +3520 -0
  34. package/declarations/form-select-8oZMWYCU.d.ts +3518 -0
  35. package/declarations/form-select-BGCcHt06.d.ts +3520 -0
  36. package/declarations/form-select-BI_s7BbT.d.ts +3520 -0
  37. package/declarations/form-select-BT6ziXF-.d.ts +3520 -0
  38. package/declarations/form-select-BtSMtSCm.d.ts +3565 -0
  39. package/declarations/form-select-Ck7Yuz7f.d.ts +3525 -0
  40. package/declarations/form-select-Cz_Ug85a.d.ts +3599 -0
  41. package/declarations/form-select-D9Rowk5y.d.ts +3589 -0
  42. package/declarations/form-select-DKVRs4yZ.d.ts +3520 -0
  43. package/declarations/form-select-Dac3Ucjx.d.ts +3622 -0
  44. package/declarations/form-select-Do3foqfV.d.ts +3581 -0
  45. package/declarations/form-select-DsyitwRl.d.ts +3520 -0
  46. package/declarations/form-select-DvNBOnOz.d.ts +3520 -0
  47. package/declarations/form-select-EUeHZkj4.d.ts +3520 -0
  48. package/declarations/form-select-Ee_vQ-T8.d.ts +3520 -0
  49. package/declarations/form-select-H4qMXBq7.d.ts +3520 -0
  50. package/declarations/form-select-HNUgysBK.d.ts +3520 -0
  51. package/declarations/form-select-HosqHocF.d.ts +3520 -0
  52. package/declarations/form-select-Jnt0CK3Q.d.ts +3520 -0
  53. package/declarations/form-select-M0JhC8vw.d.ts +3520 -0
  54. package/declarations/form-select-MvHycdM5.d.ts +3515 -0
  55. package/declarations/form-select-O2OIkn0m.d.ts +3520 -0
  56. package/declarations/form-select-OW5f7dom.d.ts +3471 -0
  57. package/declarations/form-select-OcXADJMC.d.ts +3520 -0
  58. package/declarations/form-select-Og-Jy-vv.d.ts +3520 -0
  59. package/declarations/form-select-PMracG2Z.d.ts +3520 -0
  60. package/declarations/form-select-QQGx3Ylq.d.ts +3520 -0
  61. package/declarations/form-select-QZ7JH-zW.d.ts +3520 -0
  62. package/declarations/form-select-QejDmNP1.d.ts +3520 -0
  63. package/declarations/form-select-S1qNdmIz.d.ts +3520 -0
  64. package/declarations/form-select-S6A5heDA.d.ts +3520 -0
  65. package/declarations/form-select-Th_yftZE.d.ts +3520 -0
  66. package/declarations/form-select-UrKxyCli.d.ts +3520 -0
  67. package/declarations/form-select-Uur-Sso6.d.ts +3565 -0
  68. package/declarations/form-select-VnOc5Qqb.d.ts +3573 -0
  69. package/declarations/form-select-Yn5WigbP.d.ts +3520 -0
  70. package/declarations/form-select-ZLxSHCIo.d.ts +3622 -0
  71. package/declarations/form-select-Zg3hlU-x.d.ts +3520 -0
  72. package/declarations/form-select-_NsBUa3B.d.ts +3520 -0
  73. package/declarations/form-select-ae2R6OWN.d.ts +3520 -0
  74. package/declarations/form-select-c8Bj-scR.d.ts +3520 -0
  75. package/declarations/form-select-cjn5uefL.d.ts +3520 -0
  76. package/declarations/form-select-crlNo28Y.d.ts +3520 -0
  77. package/declarations/form-select-ctKR_XDV.d.ts +3520 -0
  78. package/declarations/form-select-dAgVKNIB.d.ts +3520 -0
  79. package/declarations/form-select-f9OxTunQ.d.ts +3520 -0
  80. package/declarations/form-select-fVBU79-1.d.ts +3520 -0
  81. package/declarations/form-select-gkz_eihx.d.ts +3520 -0
  82. package/declarations/form-select-ib1fjunr.d.ts +3520 -0
  83. package/declarations/form-select-jePLluJ6.d.ts +3520 -0
  84. package/declarations/form-select-kcEG81o2.d.ts +3454 -0
  85. package/declarations/form-select-m46CwZx_.d.ts +3520 -0
  86. package/declarations/form-select-moI1Jwts.d.ts +3520 -0
  87. package/declarations/form-select-oDuamzjE.d.ts +3520 -0
  88. package/declarations/form-select-pShCXCkP.d.ts +3520 -0
  89. package/declarations/form-select-rUbL0kzl.d.ts +3520 -0
  90. package/declarations/form-select-rfrxolEM.d.ts +3520 -0
  91. package/declarations/form-select-saU6i0yc.d.ts +3520 -0
  92. package/declarations/form-select-tiULO0GB.d.ts +3520 -0
  93. package/declarations/form-select-uAogHhLg.d.ts +3520 -0
  94. package/declarations/form-select-uxew3Txp.d.ts +3520 -0
  95. package/declarations/form-select-vGHaKo0R.d.ts +3520 -0
  96. package/declarations/form-select-vcjYYGMy.d.ts +3471 -0
  97. package/declarations/form-select-w53zspWV.d.ts +3599 -0
  98. package/declarations/form-select-wC5JNMm7.d.ts +3520 -0
  99. package/declarations/form-select-yCc40wHr.d.ts +3520 -0
  100. package/declarations/form-select-yeR3Zczx.d.ts +3520 -0
  101. package/declarations/index-c9ef1cca.d.ts +1 -0
  102. package/declarations/plugin.d.ts.map +1 -1
  103. package/declarations/semantic-AO9htqdK.d.ts +6 -0
  104. package/declarations/semantic-C-zplSFK.d.ts +6 -0
  105. package/declarations/semantic-CDfxLpiY.d.ts +6 -0
  106. package/declarations/semantic-Dvx9MBmp.d.ts +6 -0
  107. package/declarations/semantic-EX2ItUwE.d.ts +6 -0
  108. package/declarations/semantic-EZBALpvi.d.ts +6 -0
  109. package/declarations/semantic-GjbqwmKr.d.ts +6 -0
  110. package/declarations/semantic-I0eGzjIQ.d.ts +6 -0
  111. package/declarations/semantic-K5DnTcMP.d.ts +6 -0
  112. package/declarations/semantic-LvxGx4jZ.d.ts +6 -0
  113. package/declarations/semantic-Ypod1mhm.d.ts +6 -0
  114. package/declarations/semantic-_zivtqlE.d.ts +6 -0
  115. package/declarations/semantic-dH1W9-mD.d.ts +6 -0
  116. package/declarations/semantic-jUsnjDu0.d.ts +6 -0
  117. package/declarations/semantic-n5ZhYwig.d.ts +6 -0
  118. package/declarations/semantic-uPH9P6Es.d.ts +6 -0
  119. package/declarations/semantic-xEkdO3bd.d.ts +6 -0
  120. package/dist/colors.js +1 -1
  121. package/dist/{form-select-9VgdOaLR.js → form-select-D9Rowk5y.js} +77 -49
  122. package/dist/form-select-D9Rowk5y.js.map +1 -0
  123. package/dist/index.js +4 -1
  124. package/dist/index.js.map +1 -1
  125. package/dist/plugin.js +5 -3
  126. package/dist/plugin.js.map +1 -1
  127. package/dist/{semantic-Z9lbkghu.js → semantic-CDfxLpiY.js} +54 -67
  128. package/dist/semantic-CDfxLpiY.js.map +1 -0
  129. package/package.json +7 -7
  130. package/dist/form-select-9VgdOaLR.js.map +0 -1
  131. package/dist/semantic-Z9lbkghu.js.map +0 -1
@@ -0,0 +1 @@
1
+ export * from "./form-select-D9Rowk5y.js";
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AASxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,iBAAS,QAAQ,CAAC,MAAM,GAAE,YAAiB,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAyFtE;AAKD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AASxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,iBAAS,QAAQ,CAAC,MAAM,GAAE,YAAiB,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CA+FtE;AAKD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
@@ -0,0 +1,6 @@
1
+ import { ThemeColors } from "./types-45f8510f.js";
2
+ declare const semanticColors: {
3
+ light: ThemeColors;
4
+ dark: ThemeColors;
5
+ };
6
+ export { semanticColors };
package/dist/colors.js CHANGED
@@ -1,2 +1,2 @@
1
- export { b as blue, g as gray, a as green, p as purple, r as red, s as semanticColors, y as yellow } from './semantic-Z9lbkghu.js';
1
+ export { b as blue, g as gray, a as green, r as red, s as semanticColors, y as yellow } from './semantic-CDfxLpiY.js';
2
2
  //# sourceMappingURL=colors.js.map
@@ -72,19 +72,19 @@ const button = tv({
72
72
  }, {
73
73
  appearance: 'default',
74
74
  intent: 'primary',
75
- class: 'bg-primary text-primary-foreground hover:bg-primary/80'
75
+ class: 'bg-primary-500 text-primary-foreground hover:bg-primary-500/80'
76
76
  }, {
77
77
  appearance: 'default',
78
78
  intent: 'success',
79
- class: 'bg-success text-success-foreground hover:bg-success/80'
79
+ class: 'bg-success-500 text-success-foreground hover:bg-success-500/80'
80
80
  }, {
81
81
  appearance: 'default',
82
82
  intent: 'warning',
83
- class: 'bg-warning text-warning-foreground hover:bg-warning/80'
83
+ class: 'bg-warning-500 text-black hover:bg-warning-500/80'
84
84
  }, {
85
85
  appearance: 'default',
86
86
  intent: 'danger',
87
- class: 'bg-danger text-danger-foreground hover:bg-danger/80'
87
+ class: 'bg-danger-500 text-danger-foreground hover:bg-danger-500/80'
88
88
  },
89
89
  // APPEARANCE: minimal
90
90
  {
@@ -201,15 +201,15 @@ const chip = tv({
201
201
  },
202
202
  success: {
203
203
  dot: 'bg-success',
204
- closeButton: ['bg-success-700', 'text-background', 'hover:bg-success-700/60']
204
+ closeButton: ['bg-success', 'text-background', 'hover:bg-success/60']
205
205
  },
206
206
  warning: {
207
207
  dot: 'bg-warning',
208
- closeButton: ['bg-warning-700', 'text-background', 'hover:bg-warning-700/60']
208
+ closeButton: ['bg-warning', 'text-background', 'hover:bg-warning/60']
209
209
  },
210
210
  danger: {
211
211
  dot: 'bg-danger',
212
- closeButton: ['bg-danger-700', 'text-background', 'hover:bg-danger-700/60']
212
+ closeButton: ['bg-danger', 'text-background', 'hover:bg-danger/60']
213
213
  }
214
214
  },
215
215
  size: {
@@ -274,31 +274,31 @@ const chip = tv({
274
274
  appearance: 'faded',
275
275
  intent: 'default',
276
276
  class: {
277
- base: 'text-default-700 border border-default-700 bg-default-700/20'
277
+ base: 'text-default-700 border border-default-700 bg-default-400/20'
278
278
  }
279
279
  }, {
280
280
  appearance: 'faded',
281
281
  intent: 'primary',
282
282
  class: {
283
- base: 'text-primary-600 border border-primary-600 bg-primary/20'
283
+ base: 'text-primary border border-primary bg-primary-300/20'
284
284
  }
285
285
  }, {
286
286
  appearance: 'faded',
287
287
  intent: 'success',
288
288
  class: {
289
- base: 'text-success-600 border border-success-600 bg-success/20'
289
+ base: 'text-success border border-success bg-success-300/20'
290
290
  }
291
291
  }, {
292
292
  appearance: 'faded',
293
293
  intent: 'warning',
294
294
  class: {
295
- base: 'text-warning-600 border border-warning-600 bg-warning/20'
295
+ base: 'text-warning border border-warning bg-warning-300/20'
296
296
  }
297
297
  }, {
298
298
  appearance: 'faded',
299
299
  intent: 'danger',
300
300
  class: {
301
- base: 'text-danger-600 border border-danger-600 bg-danger/20'
301
+ base: 'text-danger border border-danger bg-danger-300/20'
302
302
  }
303
303
  },
304
304
  // APPEARANCE: outlined
@@ -358,16 +358,16 @@ const progressBar = tv({
358
358
  progress: 'bg-default-800 dark:bg-default'
359
359
  },
360
360
  primary: {
361
- progress: 'bg-primary'
361
+ progress: 'bg-primary-500'
362
362
  },
363
363
  success: {
364
- progress: 'bg-success'
364
+ progress: 'bg-success-500'
365
365
  },
366
366
  warning: {
367
- progress: 'bg-warning'
367
+ progress: 'bg-warning-500'
368
368
  },
369
369
  danger: {
370
- progress: 'bg-danger'
370
+ progress: 'bg-danger-500'
371
371
  }
372
372
  },
373
373
  size: {
@@ -434,7 +434,7 @@ const listboxItem = tv({
434
434
  label: 'flex-1 text-sm font-normal truncate',
435
435
  description: ['w-full', 'text-xs', 'text-foreground-500', 'group-hover:text-current'],
436
436
  selectedIcon: ['text-inherit', 'w-4', 'h-4', 'flex-shrink-0'],
437
- shortcut: ['px-1', 'py-0.5', 'rounded', 'font-sans', 'text-foreground-500', 'text-xs', 'border', 'border-default-300', 'group-hover:border-current']
437
+ shortcut: ['px-1', 'py-0.5', 'rounded', 'font-sans', 'text-foreground-500', 'text-xs', 'border', 'border-default-300', 'group-data-is-active:border-current']
438
438
  },
439
439
  variants: {
440
440
  appearence: {
@@ -487,31 +487,31 @@ const listboxItem = tv({
487
487
  appearence: 'default',
488
488
  intent: 'default',
489
489
  class: {
490
- base: ['data-[active=true]:bg-default', 'data-[active=true]:text-default-foreground']
490
+ base: ['data-is-active:bg-default', 'data-is-active:text-default-foreground']
491
491
  }
492
492
  }, {
493
493
  appearence: 'default',
494
494
  intent: 'primary',
495
495
  class: {
496
- base: ['data-[active=true]:bg-primary', 'data-[active=true]:text-primary-foreground']
496
+ base: ['data-is-active:bg-primary-500', 'data-is-active:text-primary-foreground']
497
497
  }
498
498
  }, {
499
499
  appearence: 'default',
500
500
  intent: 'success',
501
501
  class: {
502
- base: ['data-[active=true]:bg-success', 'data-[active=true]:text-success-foreground']
502
+ base: ['data-is-active:bg-success-500', 'data-is-active:text-success-foreground']
503
503
  }
504
504
  }, {
505
505
  appearence: 'default',
506
506
  intent: 'warning',
507
507
  class: {
508
- base: ['data-[active=true]:bg-warning', 'data-[active=true]:text-warning-foreground']
508
+ base: ['data-is-active:bg-warning-500', 'data-is-active:text-warning-foreground']
509
509
  }
510
510
  }, {
511
511
  appearence: 'default',
512
512
  intent: 'danger',
513
513
  class: {
514
- base: ['data-[active=true]:bg-danger', 'data-[active=true]:text-danger-foreground']
514
+ base: ['data-is-active:bg-danger-500', 'data-is-active:text-danger-foreground']
515
515
  }
516
516
  }, {
517
517
  appearence: 'default',
@@ -547,31 +547,31 @@ const listboxItem = tv({
547
547
  appearence: 'outlined',
548
548
  intent: 'default',
549
549
  class: {
550
- base: ['data-[active=true]:border-default-700', 'data-[active=true]:text-default-700']
550
+ base: ['data-is-active:border-default-700', 'data-is-active:text-default-700']
551
551
  }
552
552
  }, {
553
553
  appearence: 'outlined',
554
554
  intent: 'primary',
555
555
  class: {
556
- base: ['data-[active=true]:border-primary', 'data-[active=true]:text-primary']
556
+ base: ['data-is-active:border-primary', 'data-is-active:text-primary']
557
557
  }
558
558
  }, {
559
559
  appearence: 'outlined',
560
560
  intent: 'success',
561
561
  class: {
562
- base: ['data-[active=true]:border-success', 'data-[active=true]:text-success']
562
+ base: ['data-is-active:border-success', 'data-is-active:text-success']
563
563
  }
564
564
  }, {
565
565
  appearence: 'outlined',
566
566
  intent: 'warning',
567
567
  class: {
568
- base: ['data-[active=true]:border-warning', 'data-[active=true]:text-warning']
568
+ base: ['data-is-active:border-warning', 'data-is-active:text-warning']
569
569
  }
570
570
  }, {
571
571
  appearence: 'outlined',
572
572
  intent: 'danger',
573
573
  class: {
574
- base: ['data-[active=true]:border-danger', 'data-[active=true]:text-danger']
574
+ base: ['data-is-active:border-danger', 'data-is-active:text-danger']
575
575
  }
576
576
  },
577
577
  // appearence: faded
@@ -579,31 +579,31 @@ const listboxItem = tv({
579
579
  appearence: 'faded',
580
580
  intent: 'default',
581
581
  class: {
582
- base: ['data-[active=true]:bg-default-700/20', 'data-[active=true]:border-default-700', 'data-[active=true]:text-default-700']
582
+ base: ['data-is-active:bg-default-400/20', 'data-is-active:border-default-700', 'data-is-active:text-default-700']
583
583
  }
584
584
  }, {
585
585
  appearence: 'faded',
586
586
  intent: 'primary',
587
587
  class: {
588
- base: ['data-[active=true]:bg-primary/20', 'data-[active=true]:border-primary-600', 'data-[active=true]:text-primary-600']
588
+ base: ['data-is-active:bg-primary-300/20', 'data-is-active:border-primary', 'data-is-active:text-primary']
589
589
  }
590
590
  }, {
591
591
  appearence: 'faded',
592
592
  intent: 'success',
593
593
  class: {
594
- base: ['data-[active=true]:bg-success/20', 'data-[active=true]:border-success-600', 'data-[active=true]:text-success-600']
594
+ base: ['data-is-active:bg-success-300/20', 'data-is-active:border-success', 'data-is-active:text-success']
595
595
  }
596
596
  }, {
597
597
  appearence: 'faded',
598
598
  intent: 'warning',
599
599
  class: {
600
- base: ['data-[active=true]:bg-warning/20', 'data-[active=true]:border-warning-600', 'data-[active=true]:text-warning-600']
600
+ base: ['data-is-active:bg-warning-300/20', 'data-is-active:border-warning', 'data-is-active:text-warning']
601
601
  }
602
602
  }, {
603
603
  appearence: 'faded',
604
604
  intent: 'danger',
605
605
  class: {
606
- base: ['data-[active=true]:bg-danger/20', 'data-[active=true]:border-danger-600', 'data-[active=true]:text-danger-600']
606
+ base: ['data-is-active:bg-danger-300/20', 'data-is-active:border-danger', 'data-is-active:text-danger']
607
607
  }
608
608
  }]
609
609
  });
@@ -612,6 +612,21 @@ const dropdownContent = tv({
612
612
  base: 'bg-content1 w-[260px] rounded border border-default-200'
613
613
  });
614
614
 
615
+ const popover = tv({
616
+ base: 'bg-content1 rounded border border-default-200',
617
+ variants: {
618
+ size: {
619
+ sm: 'w-40',
620
+ md: 'w-64',
621
+ lg: 'w-96',
622
+ xl: 'w-[34rem]'
623
+ }
624
+ },
625
+ defaultVariants: {
626
+ size: 'md'
627
+ }
628
+ });
629
+
615
630
  const divider = tv({
616
631
  base: 'shrink-0 bg-default-200 border-none',
617
632
  variants: {
@@ -733,23 +748,27 @@ const notificationTransitions = {
733
748
 
734
749
  const obscurer = `before:bg-gradient-to-b before:to-content1 before:from-content1/75 before:absolute before:left-0 before:w-full before:h-4 before:-top-4 before:content-['_']`;
735
750
  const overlay = tv({
736
- slots: {
737
- base: 'fixed inset-0',
738
- backdrop: 'fixed inset-0 select-none z-10 bg-overlay/[.45]',
739
- content: 'z-20 will-change-transform overflow-auto'
740
- },
751
+ base: 'z-20 will-change-transform overflow-auto',
741
752
  variants: {
742
753
  enableFlexContent: {
743
- true: {
744
- content: 'flex items-center fixed inset-0 flex-col'
745
- }
754
+ true: 'flex items-center fixed inset-0 flex-col'
746
755
  },
747
756
  inPlace: {
748
- true: {
749
- base: 'absolute',
750
- backdrop: 'absolute',
751
- content: 'absolute'
752
- }
757
+ true: 'absolute'
758
+ }
759
+ }
760
+ });
761
+ const backdrop = tv({
762
+ base: 'fixed inset-0 select-none z-10 ',
763
+ variants: {
764
+ type: {
765
+ none: '',
766
+ transparent: '',
767
+ blur: 'bg-overlay/[.45] backdrop-blur',
768
+ faded: 'bg-overlay/[.45]'
769
+ },
770
+ inPlace: {
771
+ true: 'absolute'
753
772
  }
754
773
  }
755
774
  });
@@ -988,7 +1007,7 @@ const feedback = tv({
988
1007
  base: 'text-xs pt-1',
989
1008
  variants: {
990
1009
  isError: {
991
- true: 'text-red-600'
1010
+ true: 'text-danger'
992
1011
  },
993
1012
  size: {
994
1013
  sm: 'text-xs',
@@ -1018,7 +1037,7 @@ const textarea = tv({
1018
1037
  base: 'min-h-24'
1019
1038
  });
1020
1039
  const checkboxRadioBase = tv({
1021
- base: ['appearance-none', 'inline-block', 'align-middle', 'select-none', 'shrink-0', 'h-[1em] w-[1em]', 'text-base', 'text-primary', 'border border-default-400', 'bg-white dark:bg-default-100', 'checked:bg-origin-border checked:border-transparent checked:bg-current checked:bg-center checked:bg-no-repeat checked:disabled:bg-default-300'],
1040
+ base: ['appearance-none', 'inline-block', 'align-middle', 'select-none', 'shrink-0', 'h-[1em] w-[1em]', 'text-base', 'text-primary', 'border border-default-400', 'bg-white dark:bg-default-100', 'checked:bg-origin-border checked:border-transparent dark:checked:bg-current checked:bg-current checked:bg-center checked:bg-no-repeat checked:disabled:bg-default-300'],
1022
1041
  variants: {
1023
1042
  size: {
1024
1043
  sm: '',
@@ -1058,6 +1077,15 @@ const radio = tv({
1058
1077
  size: 'md'
1059
1078
  }
1060
1079
  });
1080
+ const select = tv({
1081
+ slots: {
1082
+ base: [],
1083
+ trigger: [input(), 'flex items-center justify-between', 'disabled:cursor-not-allowed disabled:opacity-50'],
1084
+ placeholder: 'text-default-400',
1085
+ listbox: 'scroll-py-6 max-h-64',
1086
+ icon: 'w-5 h-5'
1087
+ }
1088
+ });
1061
1089
 
1062
1090
  const formInput = tv({
1063
1091
  slots: {
@@ -1180,5 +1208,5 @@ const formSelect = tv({
1180
1208
  }
1181
1209
  });
1182
1210
 
1183
- export { overlayTransitions as A, progressBar as B, radio as C, textarea as D, toggleButton as E, buttonGroup as a, button as b, checkbox as c, chip as d, closeButton as e, divider as f, drawer as g, dropdownContent as h, feedback as i, formCheckbox as j, formCheckboxGroup as k, formInput as l, formRadio as m, formRadioGroup as n, formSelect as o, formTextarea as p, hint as q, input as r, label as s, listbox as t, listboxItem as u, modal as v, notificationCard as w, notificationTransitions as x, notificationsContainer as y, overlay as z };
1184
- //# sourceMappingURL=form-select-9VgdOaLR.js.map
1211
+ export { overlay as A, overlayTransitions as B, popover as C, progressBar as D, radio as E, select as F, textarea as G, toggleButton as H, button as a, backdrop as b, buttonGroup as c, checkbox as d, chip as e, closeButton as f, divider as g, drawer as h, dropdownContent as i, feedback as j, formCheckbox as k, formCheckboxGroup as l, formInput as m, formRadio as n, formRadioGroup as o, formSelect as p, formTextarea as q, hint as r, input as s, label as t, listbox as u, listboxItem as v, modal as w, notificationCard as x, notificationTransitions as y, notificationsContainer as z };
1212
+ //# sourceMappingURL=form-select-D9Rowk5y.js.map