@nextui-org/theme 0.0.0-dev-v2-20230717232039 → 0.0.0-dev-v2-20230718014939

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 (55) hide show
  1. package/dist/{chunk-H3WJKBMK.mjs → chunk-2T5RQ7SK.mjs} +3 -2
  2. package/dist/{chunk-GIVXQT7B.mjs → chunk-3M6H25BL.mjs} +5 -5
  3. package/dist/{chunk-G4RCK475.mjs → chunk-7L2ZWDVP.mjs} +1 -1
  4. package/dist/{chunk-TJL5HHMD.mjs → chunk-KO4T2DX4.mjs} +4 -5
  5. package/dist/{chunk-QZTWGJ72.mjs → chunk-QGHMGO5E.mjs} +2 -2
  6. package/dist/{chunk-WK6I5GT7.mjs → chunk-RUD4TZ7J.mjs} +4 -4
  7. package/dist/{chunk-HKDWTEHI.mjs → chunk-SJ7X4UT4.mjs} +29 -12
  8. package/dist/{chunk-4DKW2WAC.mjs → chunk-Y33ZY7KH.mjs} +2 -2
  9. package/dist/colors/common.mjs +3 -3
  10. package/dist/colors/index.mjs +5 -5
  11. package/dist/colors/semantic.mjs +4 -4
  12. package/dist/colors.mjs +5 -5
  13. package/dist/components/accordion.mjs +1 -1
  14. package/dist/components/avatar.mjs +2 -2
  15. package/dist/components/badge.mjs +2 -2
  16. package/dist/components/button.d.ts +4 -4
  17. package/dist/components/button.js +1 -2
  18. package/dist/components/button.mjs +2 -2
  19. package/dist/components/card.mjs +1 -1
  20. package/dist/components/checkbox.js +3 -2
  21. package/dist/components/checkbox.mjs +2 -2
  22. package/dist/components/chip.mjs +2 -2
  23. package/dist/components/code.mjs +2 -2
  24. package/dist/components/dropdown.mjs +1 -1
  25. package/dist/components/index.js +35 -18
  26. package/dist/components/index.mjs +40 -40
  27. package/dist/components/input.mjs +1 -1
  28. package/dist/components/link.mjs +1 -1
  29. package/dist/components/modal.mjs +1 -1
  30. package/dist/components/navbar.mjs +1 -1
  31. package/dist/components/pagination.d.ts +4 -4
  32. package/dist/components/pagination.js +1 -1
  33. package/dist/components/pagination.mjs +2 -2
  34. package/dist/components/popover.mjs +2 -2
  35. package/dist/components/radio.d.ts +4 -4
  36. package/dist/components/radio.js +2 -2
  37. package/dist/components/radio.mjs +2 -2
  38. package/dist/components/snippet.mjs +2 -2
  39. package/dist/components/table.mjs +1 -1
  40. package/dist/components/tabs.mjs +2 -2
  41. package/dist/components/toggle.js +34 -16
  42. package/dist/components/toggle.mjs +2 -2
  43. package/dist/components/user.mjs +1 -1
  44. package/dist/index.js +35 -18
  45. package/dist/index.mjs +47 -47
  46. package/dist/plugin.mjs +7 -7
  47. package/package.json +1 -1
  48. package/dist/{chunk-XCWQAA5D.mjs → chunk-3RZCOCFH.mjs} +3 -3
  49. package/dist/{chunk-IAS3SFA4.mjs → chunk-6TOTQSJE.mjs} +6 -6
  50. package/dist/{chunk-RHIZZ5XX.mjs → chunk-AWPGSFD6.mjs} +3 -3
  51. package/dist/{chunk-77O7KLUI.mjs → chunk-HDWYLUG3.mjs} +3 -3
  52. package/dist/{chunk-HFOW2Y4W.mjs → chunk-HREHHLTK.mjs} +3 -3
  53. package/dist/{chunk-B55QBA5E.mjs → chunk-O3IKQG57.mjs} +3 -3
  54. package/dist/{chunk-MYJVNM2A.mjs → chunk-QZOZ7UWM.mjs} +3 -3
  55. package/dist/{chunk-RPMLQF4Y.mjs → chunk-VB6YPWEW.mjs} +3 -3
@@ -703,7 +703,6 @@ var button = tv({
703
703
  "min-w-max",
704
704
  "font-normal",
705
705
  "subpixel-antialiased",
706
- "data-[pressed=true]:scale-95",
707
706
  "overflow-hidden",
708
707
  "tap-highlight-transparent",
709
708
  ...dataFocusVisibleClasses
@@ -756,7 +755,7 @@ var button = tv({
756
755
  },
757
756
  disableAnimation: {
758
757
  true: "!transition-none",
759
- false: "transition-transform-colors motion-reduce:transition-none"
758
+ false: "data-[pressed=true]:scale-95 transition-transform-colors motion-reduce:transition-none"
760
759
  }
761
760
  },
762
761
  defaultVariants: {
@@ -2425,7 +2424,7 @@ var badge = tv({
2425
2424
  // src/components/checkbox.ts
2426
2425
  var checkbox = tv({
2427
2426
  slots: {
2428
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
2427
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",
2429
2428
  wrapper: [
2430
2429
  "relative",
2431
2430
  "inline-flex",
@@ -2449,7 +2448,6 @@ var checkbox = tv({
2449
2448
  "group-data-[selected=true]:after:scale-100",
2450
2449
  "group-data-[selected=true]:after:opacity-100",
2451
2450
  "group-data-[hover=true]:before:bg-default-100",
2452
- "group-data-[hover=true]:before:bg-default-100",
2453
2451
  ...groupDataFocusVisibleClasses
2454
2452
  ],
2455
2453
  icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
@@ -2567,6 +2565,8 @@ var checkbox = tv({
2567
2565
  false: {
2568
2566
  wrapper: [
2569
2567
  "before:transition-background",
2568
+ "group-data-[pressed=true]:scale-95",
2569
+ "transition-transform",
2570
2570
  "after:transition-transform-opacity",
2571
2571
  "after:!ease-linear",
2572
2572
  "after:!duration-200"
@@ -2597,7 +2597,7 @@ var checkboxGroup = tv({
2597
2597
  // src/components/radio.ts
2598
2598
  var radio = tv({
2599
2599
  slots: {
2600
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
2600
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",
2601
2601
  wrapper: [
2602
2602
  "relative",
2603
2603
  "inline-flex",
@@ -2694,7 +2694,7 @@ var radio = tv({
2694
2694
  disableAnimation: {
2695
2695
  true: {},
2696
2696
  false: {
2697
- wrapper: "transition-background",
2697
+ wrapper: ["group-data-[pressed=true]:scale-95", "transition-transform-background"],
2698
2698
  control: "transition-transform-opacity"
2699
2699
  }
2700
2700
  }
@@ -2832,7 +2832,7 @@ var pagination = tv({
2832
2832
  cursor: "transition-none"
2833
2833
  },
2834
2834
  false: {
2835
- item: "transition-background",
2835
+ item: ["data-[pressed=true]:scale-95", "transition-transform-background"],
2836
2836
  cursor: ["transition-transform", "!duration-300"]
2837
2837
  }
2838
2838
  }
@@ -3107,7 +3107,7 @@ var toggle = tv({
3107
3107
  "overflow-hidden",
3108
3108
  "bg-default-200",
3109
3109
  "rounded-full",
3110
- ...dataFocusVisibleClasses
3110
+ ...groupDataFocusVisibleClasses
3111
3111
  ],
3112
3112
  thumb: [
3113
3113
  "z-10",
@@ -3168,9 +3168,7 @@ var toggle = tv({
3168
3168
  wrapper: "w-10 h-6 mr-2",
3169
3169
  thumb: [
3170
3170
  "w-4 h-4 text-tiny",
3171
- "group-data-[selected=true]:ml-4",
3172
- "group-data-[pressed=true]:w-5",
3173
- "group-data-[selected]:group-data-[pressed]:ml-4"
3171
+ "group-data-[selected=true]:ml-4"
3174
3172
  ],
3175
3173
  endContent: "text-tiny",
3176
3174
  startContent: "text-tiny",
@@ -3180,9 +3178,7 @@ var toggle = tv({
3180
3178
  wrapper: "w-12 h-7 mr-2",
3181
3179
  thumb: [
3182
3180
  "w-5 h-5 text-small",
3183
- "group-data-[selected=true]:ml-5",
3184
- "group-data-[pressed=true]:w-6",
3185
- "group-data-[selected]:group-data-[pressed]:ml-4"
3181
+ "group-data-[selected=true]:ml-5"
3186
3182
  ],
3187
3183
  endContent: "text-small",
3188
3184
  startContent: "text-small",
@@ -3192,9 +3188,7 @@ var toggle = tv({
3192
3188
  wrapper: "w-14 h-8 mr-2",
3193
3189
  thumb: [
3194
3190
  "w-6 h-6 text-medium",
3195
- "group-data-[selected=true]:ml-6",
3196
- "group-data-[pressed=true]:w-7",
3197
- "group-data-[selected]:group-data-[pressed]:ml-5"
3191
+ "group-data-[selected=true]:ml-6"
3198
3192
  ],
3199
3193
  endContent: "text-medium",
3200
3194
  startContent: "text-medium",
@@ -3235,7 +3229,30 @@ var toggle = tv({
3235
3229
  size: "md",
3236
3230
  isDisabled: false,
3237
3231
  disableAnimation: false
3238
- }
3232
+ },
3233
+ compoundVariants: [
3234
+ {
3235
+ disableAnimation: false,
3236
+ size: "sm",
3237
+ class: {
3238
+ thumb: ["group-data-[pressed=true]:w-5", "group-data-[selected]:group-data-[pressed]:ml-4"]
3239
+ }
3240
+ },
3241
+ {
3242
+ disableAnimation: false,
3243
+ size: "md",
3244
+ class: {
3245
+ thumb: ["group-data-[pressed=true]:w-6", "group-data-[selected]:group-data-[pressed]:ml-4"]
3246
+ }
3247
+ },
3248
+ {
3249
+ disableAnimation: false,
3250
+ size: "lg",
3251
+ class: {
3252
+ thumb: ["group-data-[pressed=true]:w-7", "group-data-[selected]:group-data-[pressed]:ml-5"]
3253
+ }
3254
+ }
3255
+ ]
3239
3256
  });
3240
3257
 
3241
3258
  // src/components/accordion.ts
@@ -1,17 +1,35 @@
1
1
  import "../chunk-PRWEADY4.mjs";
2
+ import {
3
+ table
4
+ } from "../chunk-ADNJ6GPZ.mjs";
5
+ import {
6
+ tabs
7
+ } from "../chunk-AWPGSFD6.mjs";
8
+ import {
9
+ toggle
10
+ } from "../chunk-SJ7X4UT4.mjs";
2
11
  import {
3
12
  user
4
13
  } from "../chunk-O24TFHPZ.mjs";
14
+ import {
15
+ pagination
16
+ } from "../chunk-RUD4TZ7J.mjs";
17
+ import {
18
+ popover
19
+ } from "../chunk-HREHHLTK.mjs";
20
+ import {
21
+ progress
22
+ } from "../chunk-LQGOKGQV.mjs";
5
23
  import {
6
24
  radio,
7
25
  radioGroup
8
- } from "../chunk-4DKW2WAC.mjs";
26
+ } from "../chunk-Y33ZY7KH.mjs";
9
27
  import {
10
28
  skeleton
11
29
  } from "../chunk-EUS2SEYI.mjs";
12
30
  import {
13
31
  snippet
14
- } from "../chunk-B55QBA5E.mjs";
32
+ } from "../chunk-O3IKQG57.mjs";
15
33
  import {
16
34
  spacer
17
35
  } from "../chunk-EC4F6RJF.mjs";
@@ -19,14 +37,14 @@ import {
19
37
  spinner
20
38
  } from "../chunk-NAY2XKLY.mjs";
21
39
  import {
22
- table
23
- } from "../chunk-ADNJ6GPZ.mjs";
24
- import {
25
- tabs
26
- } from "../chunk-RHIZZ5XX.mjs";
40
+ dropdown,
41
+ dropdownItem,
42
+ dropdownMenu,
43
+ dropdownSection
44
+ } from "../chunk-23KK2ZAZ.mjs";
27
45
  import {
28
- toggle
29
- } from "../chunk-HKDWTEHI.mjs";
46
+ image
47
+ } from "../chunk-WBNF66V7.mjs";
30
48
  import {
31
49
  input
32
50
  } from "../chunk-LIHSRRTN.mjs";
@@ -44,38 +62,31 @@ import {
44
62
  navbar
45
63
  } from "../chunk-LGRQRHJJ.mjs";
46
64
  import {
47
- pagination
48
- } from "../chunk-WK6I5GT7.mjs";
65
+ button,
66
+ buttonGroup
67
+ } from "../chunk-KO4T2DX4.mjs";
49
68
  import {
50
- popover
51
- } from "../chunk-HFOW2Y4W.mjs";
69
+ card
70
+ } from "../chunk-O5HCT4VI.mjs";
52
71
  import {
53
- progress
54
- } from "../chunk-LQGOKGQV.mjs";
72
+ checkbox,
73
+ checkboxGroup
74
+ } from "../chunk-2T5RQ7SK.mjs";
55
75
  import {
56
76
  chip
57
- } from "../chunk-MYJVNM2A.mjs";
77
+ } from "../chunk-QZOZ7UWM.mjs";
58
78
  import {
59
79
  circularProgress
60
80
  } from "../chunk-XPLXQDB3.mjs";
61
81
  import {
62
82
  code
63
- } from "../chunk-77O7KLUI.mjs";
83
+ } from "../chunk-HDWYLUG3.mjs";
64
84
  import {
65
85
  divider
66
86
  } from "../chunk-YSXRNNDV.mjs";
67
87
  import {
68
88
  drip
69
89
  } from "../chunk-GNLIYZAQ.mjs";
70
- import {
71
- dropdown,
72
- dropdownItem,
73
- dropdownMenu,
74
- dropdownSection
75
- } from "../chunk-23KK2ZAZ.mjs";
76
- import {
77
- image
78
- } from "../chunk-WBNF66V7.mjs";
79
90
  import {
80
91
  accordion,
81
92
  accordionItem
@@ -83,25 +94,14 @@ import {
83
94
  import {
84
95
  avatar,
85
96
  avatarGroup
86
- } from "../chunk-RPMLQF4Y.mjs";
97
+ } from "../chunk-VB6YPWEW.mjs";
87
98
  import {
88
99
  badge
89
- } from "../chunk-XCWQAA5D.mjs";
90
- import {
91
- button,
92
- buttonGroup
93
- } from "../chunk-TJL5HHMD.mjs";
94
- import {
95
- card
96
- } from "../chunk-O5HCT4VI.mjs";
97
- import {
98
- checkbox,
99
- checkboxGroup
100
- } from "../chunk-H3WJKBMK.mjs";
100
+ } from "../chunk-3RZCOCFH.mjs";
101
+ import "../chunk-6AEINX52.mjs";
101
102
  import "../chunk-CMYR6AOY.mjs";
102
103
  import "../chunk-K7LK7NCE.mjs";
103
104
  import "../chunk-2PIR7DFM.mjs";
104
- import "../chunk-6AEINX52.mjs";
105
105
  import "../chunk-T7JNS25F.mjs";
106
106
  import "../chunk-WA5F6AED.mjs";
107
107
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  input
3
3
  } from "../chunk-LIHSRRTN.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -2,10 +2,10 @@ import {
2
2
  link,
3
3
  linkAnchorClasses
4
4
  } from "../chunk-MOHT4OBR.mjs";
5
+ import "../chunk-6AEINX52.mjs";
5
6
  import "../chunk-CMYR6AOY.mjs";
6
7
  import "../chunk-K7LK7NCE.mjs";
7
8
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  modal
3
3
  } from "../chunk-VW6BA2CS.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  navbar
3
3
  } from "../chunk-LGRQRHJJ.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -90,7 +90,7 @@ declare const pagination: tailwind_variants.TVReturnType<{
90
90
  cursor: string;
91
91
  };
92
92
  false: {
93
- item: string;
93
+ item: string[];
94
94
  cursor: string[];
95
95
  };
96
96
  };
@@ -176,7 +176,7 @@ declare const pagination: tailwind_variants.TVReturnType<{
176
176
  cursor: string;
177
177
  };
178
178
  false: {
179
- item: string;
179
+ item: string[];
180
180
  cursor: string[];
181
181
  };
182
182
  };
@@ -252,7 +252,7 @@ declare const pagination: tailwind_variants.TVReturnType<{
252
252
  cursor: string;
253
253
  };
254
254
  false: {
255
- item: string;
255
+ item: string[];
256
256
  cursor: string[];
257
257
  };
258
258
  };
@@ -328,7 +328,7 @@ declare const pagination: tailwind_variants.TVReturnType<{
328
328
  cursor: string;
329
329
  };
330
330
  false: {
331
- item: string;
331
+ item: string[];
332
332
  cursor: string[];
333
333
  };
334
334
  };
@@ -314,7 +314,7 @@ var pagination = tv({
314
314
  cursor: "transition-none"
315
315
  },
316
316
  false: {
317
- item: "transition-background",
317
+ item: ["data-[pressed=true]:scale-95", "transition-transform-background"],
318
318
  cursor: ["transition-transform", "!duration-300"]
319
319
  }
320
320
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pagination
3
- } from "../chunk-WK6I5GT7.mjs";
3
+ } from "../chunk-RUD4TZ7J.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  popover
3
- } from "../chunk-HFOW2Y4W.mjs";
3
+ } from "../chunk-HREHHLTK.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -90,7 +90,7 @@ declare const radio: tailwind_variants.TVReturnType<{
90
90
  disableAnimation: {
91
91
  true: {};
92
92
  false: {
93
- wrapper: string;
93
+ wrapper: string[];
94
94
  control: string;
95
95
  };
96
96
  };
@@ -167,7 +167,7 @@ declare const radio: tailwind_variants.TVReturnType<{
167
167
  disableAnimation: {
168
168
  true: {};
169
169
  false: {
170
- wrapper: string;
170
+ wrapper: string[];
171
171
  control: string;
172
172
  };
173
173
  };
@@ -237,7 +237,7 @@ declare const radio: tailwind_variants.TVReturnType<{
237
237
  disableAnimation: {
238
238
  true: {};
239
239
  false: {
240
- wrapper: string;
240
+ wrapper: string[];
241
241
  control: string;
242
242
  };
243
243
  };
@@ -307,7 +307,7 @@ declare const radio: tailwind_variants.TVReturnType<{
307
307
  disableAnimation: {
308
308
  true: {};
309
309
  false: {
310
- wrapper: string;
310
+ wrapper: string[];
311
311
  control: string;
312
312
  };
313
313
  };
@@ -130,7 +130,7 @@ var groupDataFocusVisibleClasses = [
130
130
  // src/components/radio.ts
131
131
  var radio = tv({
132
132
  slots: {
133
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
133
+ base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2",
134
134
  wrapper: [
135
135
  "relative",
136
136
  "inline-flex",
@@ -227,7 +227,7 @@ var radio = tv({
227
227
  disableAnimation: {
228
228
  true: {},
229
229
  false: {
230
- wrapper: "transition-background",
230
+ wrapper: ["group-data-[pressed=true]:scale-95", "transition-transform-background"],
231
231
  control: "transition-transform-opacity"
232
232
  }
233
233
  }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  radio,
3
3
  radioGroup
4
- } from "../chunk-4DKW2WAC.mjs";
4
+ } from "../chunk-Y33ZY7KH.mjs";
5
+ import "../chunk-6AEINX52.mjs";
5
6
  import "../chunk-CMYR6AOY.mjs";
6
7
  import "../chunk-K7LK7NCE.mjs";
7
8
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  snippet
3
- } from "../chunk-B55QBA5E.mjs";
3
+ } from "../chunk-O3IKQG57.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  table
3
3
  } from "../chunk-ADNJ6GPZ.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  tabs
3
- } from "../chunk-RHIZZ5XX.mjs";
3
+ } from "../chunk-AWPGSFD6.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -117,12 +117,13 @@ var tv = (options, config) => {
117
117
  };
118
118
 
119
119
  // src/utils/classes.ts
120
- var dataFocusVisibleClasses = [
120
+ var groupDataFocusVisibleClasses = [
121
121
  "outline-none",
122
- "data-[focus-visible=true]:z-10",
123
- "data-[focus-visible=true]:outline-2",
124
- "data-[focus-visible=true]:outline-focus",
125
- "data-[focus-visible=true]:outline-offset-2"
122
+ "group-data-[focus-visible=true]:z-10",
123
+ "group-data-[focus-visible=true]:ring-2",
124
+ "group-data-[focus-visible=true]:ring-focus",
125
+ "group-data-[focus-visible=true]:ring-offset-2",
126
+ "group-data-[focus-visible=true]:ring-offset-background"
126
127
  ];
127
128
 
128
129
  // src/components/toggle.ts
@@ -139,7 +140,7 @@ var toggle = tv({
139
140
  "overflow-hidden",
140
141
  "bg-default-200",
141
142
  "rounded-full",
142
- ...dataFocusVisibleClasses
143
+ ...groupDataFocusVisibleClasses
143
144
  ],
144
145
  thumb: [
145
146
  "z-10",
@@ -200,9 +201,7 @@ var toggle = tv({
200
201
  wrapper: "w-10 h-6 mr-2",
201
202
  thumb: [
202
203
  "w-4 h-4 text-tiny",
203
- "group-data-[selected=true]:ml-4",
204
- "group-data-[pressed=true]:w-5",
205
- "group-data-[selected]:group-data-[pressed]:ml-4"
204
+ "group-data-[selected=true]:ml-4"
206
205
  ],
207
206
  endContent: "text-tiny",
208
207
  startContent: "text-tiny",
@@ -212,9 +211,7 @@ var toggle = tv({
212
211
  wrapper: "w-12 h-7 mr-2",
213
212
  thumb: [
214
213
  "w-5 h-5 text-small",
215
- "group-data-[selected=true]:ml-5",
216
- "group-data-[pressed=true]:w-6",
217
- "group-data-[selected]:group-data-[pressed]:ml-4"
214
+ "group-data-[selected=true]:ml-5"
218
215
  ],
219
216
  endContent: "text-small",
220
217
  startContent: "text-small",
@@ -224,9 +221,7 @@ var toggle = tv({
224
221
  wrapper: "w-14 h-8 mr-2",
225
222
  thumb: [
226
223
  "w-6 h-6 text-medium",
227
- "group-data-[selected=true]:ml-6",
228
- "group-data-[pressed=true]:w-7",
229
- "group-data-[selected]:group-data-[pressed]:ml-5"
224
+ "group-data-[selected=true]:ml-6"
230
225
  ],
231
226
  endContent: "text-medium",
232
227
  startContent: "text-medium",
@@ -267,7 +262,30 @@ var toggle = tv({
267
262
  size: "md",
268
263
  isDisabled: false,
269
264
  disableAnimation: false
270
- }
265
+ },
266
+ compoundVariants: [
267
+ {
268
+ disableAnimation: false,
269
+ size: "sm",
270
+ class: {
271
+ thumb: ["group-data-[pressed=true]:w-5", "group-data-[selected]:group-data-[pressed]:ml-4"]
272
+ }
273
+ },
274
+ {
275
+ disableAnimation: false,
276
+ size: "md",
277
+ class: {
278
+ thumb: ["group-data-[pressed=true]:w-6", "group-data-[selected]:group-data-[pressed]:ml-4"]
279
+ }
280
+ },
281
+ {
282
+ disableAnimation: false,
283
+ size: "lg",
284
+ class: {
285
+ thumb: ["group-data-[pressed=true]:w-7", "group-data-[selected]:group-data-[pressed]:ml-5"]
286
+ }
287
+ }
288
+ ]
271
289
  });
272
290
  // Annotate the CommonJS export names for ESM import in node:
273
291
  0 && (module.exports = {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-HKDWTEHI.mjs";
3
+ } from "../chunk-SJ7X4UT4.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  user
3
3
  } from "../chunk-O24TFHPZ.mjs";
4
+ import "../chunk-6AEINX52.mjs";
4
5
  import "../chunk-CMYR6AOY.mjs";
5
6
  import "../chunk-K7LK7NCE.mjs";
6
7
  import "../chunk-2PIR7DFM.mjs";
7
- import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {