@nextui-org/theme 0.0.0-dev-v2-20230625233448 → 0.0.0-dev-v2-20230701230240

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 (176) hide show
  1. package/dist/{chunk-CEW7YOHH.mjs → chunk-2PIR7DFM.mjs} +1 -1
  2. package/dist/{chunk-LGTXL2ML.mjs → chunk-3DUVVNBM.mjs} +15 -21
  3. package/dist/chunk-3LKKH4AR.mjs +17 -0
  4. package/dist/{chunk-BHHIVMOY.mjs → chunk-524WVPFR.mjs} +20 -35
  5. package/dist/{chunk-S6AN5YW7.mjs → chunk-5VNI3CVI.mjs} +33 -51
  6. package/dist/{chunk-XAE5NCFD.mjs → chunk-6PEULYVG.mjs} +11 -34
  7. package/dist/{chunk-OIVGIOVG.mjs → chunk-AGUZRGXC.mjs} +4 -1
  8. package/dist/{chunk-3D7G7PZH.mjs → chunk-BC3PVAWS.mjs} +13 -27
  9. package/dist/{chunk-4ZBRDYD7.mjs → chunk-C43HNPNG.mjs} +18 -33
  10. package/dist/chunk-D2XMP2NC.mjs +6 -0
  11. package/dist/{chunk-I75M4OOG.mjs → chunk-DY5676QC.mjs} +9 -50
  12. package/dist/{chunk-C3VRXEKA.mjs → chunk-GCKY7FII.mjs} +17 -39
  13. package/dist/{chunk-EKPDWNE4.mjs → chunk-GHB2MRUU.mjs} +10 -8
  14. package/dist/{chunk-DYAPDM2A.mjs → chunk-GHZ36ATJ.mjs} +1 -1
  15. package/dist/chunk-GMMETTYU.mjs +30 -0
  16. package/dist/{chunk-5LKRUH3Q.mjs → chunk-IAS3SFA4.mjs} +15 -11
  17. package/dist/{chunk-LJRWR5MA.mjs → chunk-ICPFKWB4.mjs} +11 -7
  18. package/dist/{chunk-JG7GS7DC.mjs → chunk-IG4H42LV.mjs} +34 -35
  19. package/dist/{chunk-P5E3PNHW.mjs → chunk-IWEUZYJF.mjs} +4 -1
  20. package/dist/{chunk-Y4YW5MKL.mjs → chunk-JUEOCLA3.mjs} +1 -1
  21. package/dist/{chunk-46ZSXBCH.mjs → chunk-LDBYFTHC.mjs} +13 -50
  22. package/dist/chunk-LXHWZ5PE.mjs +54 -0
  23. package/dist/{chunk-B6FPCX5Q.mjs → chunk-MBMVULBL.mjs} +15 -56
  24. package/dist/{chunk-37PIXVP4.mjs → chunk-MEZC3VSI.mjs} +12 -1
  25. package/dist/{chunk-OJDLSLMW.mjs → chunk-NXGPICRI.mjs} +8 -8
  26. package/dist/{chunk-P455YPME.mjs → chunk-OFWUJFG6.mjs} +20 -53
  27. package/dist/{chunk-HOQUCE4N.mjs → chunk-PSEUPXFL.mjs} +7 -16
  28. package/dist/{chunk-WNUIORY5.mjs → chunk-Q7Y2WFSA.mjs} +28 -62
  29. package/dist/{chunk-MMICGI5R.mjs → chunk-QMVL7T5G.mjs} +12 -27
  30. package/dist/{chunk-V62BB4KJ.mjs → chunk-RMP5GJT5.mjs} +2 -2
  31. package/dist/{chunk-LE5M6GGI.mjs → chunk-RVVPQOCN.mjs} +43 -31
  32. package/dist/{chunk-KECBFVJC.mjs → chunk-SQCHLZL7.mjs} +38 -151
  33. package/dist/{chunk-FAR5DJOU.mjs → chunk-TXDV4YYI.mjs} +6 -4
  34. package/dist/{chunk-ACERSXMK.mjs → chunk-U7M6NPLF.mjs} +5 -3
  35. package/dist/{chunk-2ENRZMQI.mjs → chunk-UODOTC2G.mjs} +6 -3
  36. package/dist/{chunk-7ZE4XJWS.mjs → chunk-UZZPYFGR.mjs} +14 -22
  37. package/dist/{chunk-576B55VI.mjs → chunk-V5ZTBGGO.mjs} +11 -13
  38. package/dist/{chunk-3B4SYPW2.mjs → chunk-W6DVXJB3.mjs} +4 -1
  39. package/dist/{chunk-UPBFQDTD.mjs → chunk-WAAJG22Y.mjs} +8 -15
  40. package/dist/chunk-XJ2ME5DT.mjs +220 -0
  41. package/dist/{chunk-7CDOS5YK.mjs → chunk-ZHGJEVPT.mjs} +25 -38
  42. package/dist/{chunk-DN3YP75Q.mjs → chunk-ZQYK5VM2.mjs} +26 -59
  43. package/dist/colors/blue.js +1 -1
  44. package/dist/colors/blue.mjs +1 -1
  45. package/dist/colors/common.d.ts +12 -0
  46. package/dist/colors/common.js +18 -3
  47. package/dist/colors/common.mjs +6 -5
  48. package/dist/colors/index.d.ts +16 -4
  49. package/dist/colors/index.js +50 -34
  50. package/dist/colors/index.mjs +9 -8
  51. package/dist/colors/semantic.d.ts +6 -6
  52. package/dist/colors/semantic.js +56 -40
  53. package/dist/colors/semantic.mjs +14 -13
  54. package/dist/colors/types.d.ts +2 -2
  55. package/dist/colors/yellow.js +1 -1
  56. package/dist/colors/yellow.mjs +1 -1
  57. package/dist/colors/zinc.d.ts +14 -0
  58. package/dist/colors/zinc.js +41 -0
  59. package/dist/colors/zinc.mjs +6 -0
  60. package/dist/colors.d.ts +1 -1
  61. package/dist/colors.js +50 -34
  62. package/dist/colors.mjs +9 -8
  63. package/dist/components/accordion.d.ts +8 -28
  64. package/dist/components/accordion.js +39 -23
  65. package/dist/components/accordion.mjs +3 -2
  66. package/dist/components/avatar.d.ts +0 -72
  67. package/dist/components/avatar.js +36 -35
  68. package/dist/components/avatar.mjs +3 -2
  69. package/dist/components/badge.d.ts +0 -116
  70. package/dist/components/badge.js +33 -50
  71. package/dist/components/badge.mjs +3 -2
  72. package/dist/components/button.d.ts +48 -72
  73. package/dist/components/button.js +53 -63
  74. package/dist/components/button.mjs +3 -2
  75. package/dist/components/card.d.ts +0 -136
  76. package/dist/components/card.js +44 -53
  77. package/dist/components/card.mjs +3 -2
  78. package/dist/components/checkbox.d.ts +24 -88
  79. package/dist/components/checkbox.js +68 -32
  80. package/dist/components/checkbox.mjs +3 -2
  81. package/dist/components/chip.d.ts +0 -96
  82. package/dist/components/chip.js +57 -51
  83. package/dist/components/chip.mjs +3 -2
  84. package/dist/components/circular-progress.d.ts +0 -40
  85. package/dist/components/circular-progress.js +33 -15
  86. package/dist/components/circular-progress.mjs +2 -1
  87. package/dist/components/code.d.ts +24 -40
  88. package/dist/components/code.js +35 -13
  89. package/dist/components/code.mjs +3 -2
  90. package/dist/components/divider.d.ts +8 -8
  91. package/dist/components/divider.js +31 -3
  92. package/dist/components/divider.mjs +2 -1
  93. package/dist/components/drip.js +29 -1
  94. package/dist/components/drip.mjs +2 -1
  95. package/dist/components/dropdown.js +42 -24
  96. package/dist/components/dropdown.mjs +3 -2
  97. package/dist/components/image.d.ts +0 -80
  98. package/dist/components/image.js +38 -50
  99. package/dist/components/image.mjs +2 -1
  100. package/dist/components/index.js +410 -949
  101. package/dist/components/index.mjs +38 -37
  102. package/dist/components/input.d.ts +0 -68
  103. package/dist/components/input.js +62 -151
  104. package/dist/components/input.mjs +3 -2
  105. package/dist/components/kbd.js +36 -7
  106. package/dist/components/kbd.mjs +2 -1
  107. package/dist/components/link.d.ts +20 -28
  108. package/dist/components/link.js +32 -8
  109. package/dist/components/link.mjs +3 -2
  110. package/dist/components/modal.d.ts +0 -96
  111. package/dist/components/modal.js +36 -27
  112. package/dist/components/modal.mjs +3 -2
  113. package/dist/components/navbar.d.ts +12 -4
  114. package/dist/components/navbar.js +34 -8
  115. package/dist/components/navbar.mjs +3 -2
  116. package/dist/components/pagination.d.ts +0 -16
  117. package/dist/components/pagination.js +49 -38
  118. package/dist/components/pagination.mjs +3 -2
  119. package/dist/components/popover.d.ts +0 -96
  120. package/dist/components/popover.js +42 -33
  121. package/dist/components/popover.mjs +3 -2
  122. package/dist/components/progress.d.ts +0 -36
  123. package/dist/components/progress.js +45 -35
  124. package/dist/components/progress.mjs +2 -1
  125. package/dist/components/radio.d.ts +0 -176
  126. package/dist/components/radio.js +40 -57
  127. package/dist/components/radio.mjs +3 -2
  128. package/dist/components/skeleton.js +29 -1
  129. package/dist/components/skeleton.mjs +2 -1
  130. package/dist/components/snippet.d.ts +4 -64
  131. package/dist/components/snippet.js +37 -27
  132. package/dist/components/snippet.mjs +3 -2
  133. package/dist/components/spacer.js +29 -1
  134. package/dist/components/spacer.mjs +2 -1
  135. package/dist/components/spinner.d.ts +0 -48
  136. package/dist/components/spinner.js +32 -16
  137. package/dist/components/spinner.mjs +2 -1
  138. package/dist/components/table.js +29 -3
  139. package/dist/components/table.mjs +3 -2
  140. package/dist/components/tabs.d.ts +24 -156
  141. package/dist/components/tabs.js +50 -59
  142. package/dist/components/tabs.mjs +3 -2
  143. package/dist/components/toggle.d.ts +0 -56
  144. package/dist/components/toggle.js +41 -39
  145. package/dist/components/toggle.mjs +3 -2
  146. package/dist/components/user.js +30 -4
  147. package/dist/components/user.mjs +3 -2
  148. package/dist/default-layout.d.ts +12 -0
  149. package/dist/default-layout.js +81 -0
  150. package/dist/default-layout.mjs +12 -0
  151. package/dist/index.d.ts +4 -8
  152. package/dist/index.js +605 -1042
  153. package/dist/index.mjs +52 -51
  154. package/dist/plugin.d.ts +4 -41
  155. package/dist/plugin.js +193 -87
  156. package/dist/plugin.mjs +14 -11
  157. package/dist/types.d.ts +126 -0
  158. package/dist/types.js +18 -0
  159. package/dist/types.mjs +0 -0
  160. package/dist/utilities/index.mjs +2 -2
  161. package/dist/utils/index.js +1 -1
  162. package/dist/utils/index.mjs +1 -1
  163. package/dist/utils/object.d.ts +18 -1
  164. package/dist/utils/object.js +21 -2
  165. package/dist/utils/object.mjs +7 -3
  166. package/dist/utils/theme.d.ts +9 -0
  167. package/dist/utils/theme.js +30 -0
  168. package/dist/utils/theme.mjs +6 -0
  169. package/dist/utils/tv.d.ts +5 -0
  170. package/dist/utils/tv.js +54 -0
  171. package/dist/utils/tv.mjs +6 -0
  172. package/dist/utils/variants.js +1 -1
  173. package/dist/utils/variants.mjs +1 -1
  174. package/package.json +4 -10
  175. package/dist/chunk-VQMZCOF7.mjs +0 -178
  176. package/dist/{chunk-OQGOVMIP.mjs → chunk-UNQJ7BRW.mjs} +3 -3
@@ -32,7 +32,7 @@ var flat = {
32
32
  secondary: "bg-secondary/20 text-secondary",
33
33
  success: "bg-success/20 text-success-600 dark:text-success",
34
34
  warning: "bg-warning/20 text-warning-600 dark:text-warning",
35
- danger: "bg-danger/20 text-danger",
35
+ danger: "bg-danger/20 text-danger dark:text-danger-500",
36
36
  foreground: "bg-foreground/10 text-foreground"
37
37
  };
38
38
  var faded = {
@@ -1,20 +1,13 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
1
4
  import {
2
5
  dataFocusVisibleClasses
3
6
  } from "./chunk-G2ZSNGR5.mjs";
4
7
 
5
8
  // src/components/dropdown.ts
6
- import { tv } from "tailwind-variants";
7
9
  var dropdown = tv({
8
- base: [
9
- "w-full",
10
- "p-1",
11
- "min-w-[200px]",
12
- "shadow",
13
- "shadow-lg",
14
- "bg-content1",
15
- "border",
16
- "border-boundary"
17
- ]
10
+ base: ["w-full", "p-1", "min-w-[200px]"]
18
11
  });
19
12
  var dropdownItem = tv({
20
13
  slots: {
@@ -30,18 +23,19 @@ var dropdownItem = tv({
30
23
  "w-full",
31
24
  "h-full",
32
25
  "box-border",
33
- "rounded-lg",
26
+ "rounded-small",
34
27
  "outline-none",
35
28
  "cursor-pointer",
36
29
  "tap-highlight-transparent",
30
+ "data-[pressed=true]:opacity-70",
37
31
  ...dataFocusVisibleClasses,
38
32
  "data-[focus-visible=true]:dark:ring-offset-background-content1"
39
33
  ],
40
34
  wrapper: "w-full flex flex-col items-start justify-center",
41
- title: "flex-1 text-base lg:text-sm font-normal truncate",
35
+ title: "flex-1 text-medium lg:text-small font-normal truncate",
42
36
  description: [
43
- "text-sm lg:text-xs",
44
37
  "w-full",
38
+ "text-small lg:text-tiny",
45
39
  "text-foreground-500",
46
40
  "group-hover:text-current"
47
41
  ],
@@ -52,9 +46,9 @@ var dropdownItem = tv({
52
46
  "rounded",
53
47
  "font-sans",
54
48
  "text-foreground-500",
55
- "text-xs",
56
- "border",
57
- "border-boundary",
49
+ "text-tiny",
50
+ "border-small",
51
+ "border-default-300",
58
52
  "group-hover:border-current"
59
53
  ]
60
54
  },
@@ -64,13 +58,13 @@ var dropdownItem = tv({
64
58
  base: ""
65
59
  },
66
60
  bordered: {
67
- base: "border-1 border-transparent bg-transparent"
61
+ base: "border-medium border-transparent bg-transparent"
68
62
  },
69
63
  light: {
70
64
  base: "bg-transparent"
71
65
  },
72
66
  faded: {
73
- base: "border-1 border-transparent hover:border-default data-[hover=true]:bg-default-100"
67
+ base: "border-small border-transparent hover:border-default data-[hover=true]:bg-default-100"
74
68
  },
75
69
  flat: {
76
70
  base: ""
@@ -89,7 +83,7 @@ var dropdownItem = tv({
89
83
  },
90
84
  isDisabled: {
91
85
  true: {
92
- base: "opacity-50 pointer-events-none"
86
+ base: "opacity-disabled pointer-events-none"
93
87
  }
94
88
  },
95
89
  disableAnimation: {
@@ -360,7 +354,7 @@ var dropdownItem = tv({
360
354
  var dropdownSection = tv({
361
355
  slots: {
362
356
  base: "relative mb-2",
363
- heading: "pl-1 text-xs text-foreground-500",
357
+ heading: "pl-1 text-tiny text-foreground-500",
364
358
  group: "data-[has-title=true]:pt-1",
365
359
  divider: "mt-2"
366
360
  }
@@ -0,0 +1,17 @@
1
+ // src/colors/zinc.ts
2
+ var zinc = {
3
+ "50": "#fafafa",
4
+ "100": "#f4f4f5",
5
+ "200": "#e4e4e7",
6
+ "300": "#d4d4d8",
7
+ "400": "#a1a1aa",
8
+ "500": "#71717a",
9
+ "600": "#52525b",
10
+ "700": "#3f3f46",
11
+ "800": "#27272a",
12
+ "900": "#18181b"
13
+ };
14
+
15
+ export {
16
+ zinc
17
+ };
@@ -1,5 +1,8 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
1
5
  // src/components/progress.ts
2
- import { tv } from "tailwind-variants";
3
6
  var progress = tv(
4
7
  {
5
8
  slots: {
@@ -32,30 +35,20 @@ var progress = tv(
32
35
  }
33
36
  },
34
37
  size: {
35
- xs: {
36
- label: "text-xs",
37
- value: "text-xs",
38
- track: "h-1"
39
- },
40
38
  sm: {
41
- label: "text-sm",
42
- value: "text-sm",
43
- track: "h-2"
39
+ label: "text-small",
40
+ value: "text-small",
41
+ track: "h-1"
44
42
  },
45
43
  md: {
46
- label: "text-base",
47
- value: "text-base",
48
- track: "h-4"
44
+ label: "text-medium",
45
+ value: "text-medium",
46
+ track: "h-3"
49
47
  },
50
48
  lg: {
51
- label: "text-lg",
52
- value: "text-lg",
53
- track: "h-6"
54
- },
55
- xl: {
56
- label: "text-lg",
57
- value: "text-lg",
58
- track: "h-7"
49
+ label: "text-large",
50
+ value: "text-large",
51
+ track: "h-5"
59
52
  }
60
53
  },
61
54
  radius: {
@@ -63,25 +56,17 @@ var progress = tv(
63
56
  track: "rounded-none",
64
57
  indicator: "rounded-none"
65
58
  },
66
- base: {
67
- track: "rounded",
68
- indicator: "rounded"
69
- },
70
59
  sm: {
71
- track: "rounded-sm",
72
- indicator: "rounded-sm"
60
+ track: "rounded-small",
61
+ indicator: "rounded-small"
73
62
  },
74
63
  md: {
75
- track: "rounded-md",
76
- indicator: "rounded-md"
64
+ track: "rounded-medium",
65
+ indicator: "rounded-medium"
77
66
  },
78
67
  lg: {
79
- track: "rounded-lg",
80
- indicator: "rounded-lg"
81
- },
82
- xl: {
83
- track: "rounded-xl",
84
- indicator: "rounded-xl"
68
+ track: "rounded-large",
69
+ indicator: "rounded-large"
85
70
  },
86
71
  full: {
87
72
  track: "rounded-full",
@@ -100,7 +85,7 @@ var progress = tv(
100
85
  },
101
86
  isDisabled: {
102
87
  true: {
103
- base: "opacity-50 cursor-not-allowed"
88
+ base: "opacity-disabled cursor-not-allowed"
104
89
  }
105
90
  },
106
91
  disableAnimation: {
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-CEW7YOHH.mjs";
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
4
7
  import {
5
8
  ringClasses
6
9
  } from "./chunk-G2ZSNGR5.mjs";
7
10
 
8
11
  // src/components/chip.ts
9
- import { tv } from "tailwind-variants";
10
12
  var chip = tv({
11
13
  slots: {
12
14
  base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"],
@@ -22,7 +24,7 @@ var chip = tv({
22
24
  "opacity-70",
23
25
  "hover:opacity-100",
24
26
  "cursor-pointer",
25
- "active:opacity-50",
27
+ "active:opacity-disabled",
26
28
  "tap-highlight-transparent"
27
29
  ]
28
30
  },
@@ -30,18 +32,18 @@ var chip = tv({
30
32
  variant: {
31
33
  solid: {},
32
34
  bordered: {
33
- base: "border-1 bg-transparent"
35
+ base: "border-medium bg-transparent"
34
36
  },
35
37
  light: {
36
38
  base: "bg-transparent"
37
39
  },
38
40
  flat: {},
39
41
  faded: {
40
- base: "border-1"
42
+ base: "border-medium"
41
43
  },
42
44
  shadow: {},
43
45
  dot: {
44
- base: "border-1 border-default text-foreground bg-transparent"
46
+ base: "border-medium border-default text-foreground bg-transparent"
45
47
  }
46
48
  },
47
49
  color: {
@@ -65,47 +67,41 @@ var chip = tv({
65
67
  }
66
68
  },
67
69
  size: {
68
- xs: {
69
- base: "px-0.5 h-5 text-xs",
70
- content: "px-1",
71
- closeButton: "text-sm",
72
- avatar: "w-3.5 h-3.5"
73
- },
74
70
  sm: {
75
- base: "px-1 h-6 text-sm",
71
+ base: "px-1 h-6 text-small",
76
72
  content: "px-1",
77
- closeButton: "text-base",
73
+ closeButton: "text-medium",
78
74
  avatar: "w-4 h-4"
79
75
  },
80
76
  md: {
81
- base: "px-1 h-7 text-sm",
77
+ base: "px-1 h-7 text-small",
82
78
  content: "px-2",
83
- closeButton: "text-lg",
79
+ closeButton: "text-large",
84
80
  avatar: "w-5 h-5"
85
81
  },
86
82
  lg: {
87
- base: "px-2 h-8 text-base",
83
+ base: "px-2 h-8 text-medium",
88
84
  content: "px-2",
89
85
  closeButton: "text-xl",
90
86
  avatar: "w-6 h-6"
91
- },
92
- xl: {
93
- base: "px-2 h-9 text-lg",
94
- content: "px-2",
95
- closeButton: "text-2xl",
96
- avatar: "w-7 h-7"
97
87
  }
98
88
  },
99
89
  radius: {
100
- none: { base: "rounded-none" },
101
- base: { base: "rounded" },
102
- sm: { base: "rounded-sm" },
103
- md: { base: "rounded-md" },
104
- lg: { base: "rounded-lg" },
105
- xl: { base: "rounded-xl" },
106
- "2xl": { base: "rounded-2xl" },
107
- "3xl": { base: "rounded-3xl" },
108
- full: { base: "rounded-full" }
90
+ none: {
91
+ base: "rounded-none"
92
+ },
93
+ sm: {
94
+ base: "rounded-small"
95
+ },
96
+ md: {
97
+ base: "rounded-medium"
98
+ },
99
+ lg: {
100
+ base: "rounded-large"
101
+ },
102
+ full: {
103
+ base: "rounded-full"
104
+ }
109
105
  },
110
106
  hasStartContent: {
111
107
  true: {}
@@ -120,7 +116,7 @@ var chip = tv({
120
116
  }
121
117
  },
122
118
  isDisabled: {
123
- true: { base: "opacity-50 pointer-events-none" }
119
+ true: { base: "opacity-disabled pointer-events-none" }
124
120
  },
125
121
  isCloseButtonFocusVisible: {
126
122
  true: {
@@ -388,13 +384,6 @@ var chip = tv({
388
384
  base: colorVariants.light.danger
389
385
  }
390
386
  },
391
- {
392
- isOneChar: true,
393
- size: "xs",
394
- class: {
395
- base: "w-4 h-4 min-w-4 min-h-4"
396
- }
397
- },
398
387
  {
399
388
  isOneChar: true,
400
389
  size: "sm",
@@ -416,37 +405,30 @@ var chip = tv({
416
405
  base: "w-7 h-7 min-w-7 min-h-7"
417
406
  }
418
407
  },
419
- {
420
- isOneChar: true,
421
- size: "xl",
422
- class: {
423
- base: "w-8 h-8 min-w-8 min-h-8"
424
- }
425
- },
426
408
  {
427
409
  hasStartContent: true,
428
- size: ["xs", "sm"],
410
+ size: "sm",
429
411
  class: {
430
412
  content: "pl-0.5"
431
413
  }
432
414
  },
433
415
  {
434
416
  hasStartContent: true,
435
- size: ["md", "lg", "xl"],
417
+ size: ["md", "lg"],
436
418
  class: {
437
419
  content: "pl-1"
438
420
  }
439
421
  },
440
422
  {
441
423
  hasEndContent: true,
442
- size: ["xs", "sm"],
424
+ size: "sm",
443
425
  class: {
444
426
  content: "pr-0.5"
445
427
  }
446
428
  },
447
429
  {
448
430
  hasEndContent: true,
449
- size: ["md", "lg", "xl"],
431
+ size: ["md", "lg"],
450
432
  class: {
451
433
  content: "pr-1"
452
434
  }
@@ -1,13 +1,15 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-CEW7YOHH.mjs";
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
4
7
  import {
5
8
  dataFocusVisibleClasses,
6
9
  translateCenterClasses
7
10
  } from "./chunk-G2ZSNGR5.mjs";
8
11
 
9
12
  // src/components/avatar.ts
10
- import { tv } from "tailwind-variants";
11
13
  var avatar = tv({
12
14
  slots: {
13
15
  base: [
@@ -46,20 +48,14 @@ var avatar = tv({
46
48
  },
47
49
  variants: {
48
50
  size: {
49
- xs: {
50
- base: "w-7 h-7 text-[0.625rem]"
51
- },
52
51
  sm: {
53
- base: "w-8 h-8 text-xs"
52
+ base: "w-8 h-8 text-tiny"
54
53
  },
55
54
  md: {
56
- base: "w-10 h-10 text-xs"
55
+ base: "w-10 h-10 text-tiny"
57
56
  },
58
57
  lg: {
59
- base: "w-12 h-12 text-sm"
60
- },
61
- xl: {
62
- base: "w-16 h-16 text-base"
58
+ base: "w-12 h-12 text-small"
63
59
  }
64
60
  },
65
61
  color: {
@@ -86,26 +82,14 @@ var avatar = tv({
86
82
  none: {
87
83
  base: "rounded-none"
88
84
  },
89
- base: {
90
- base: "rounded"
91
- },
92
85
  sm: {
93
- base: "rounded-sm"
86
+ base: "rounded-small"
94
87
  },
95
88
  md: {
96
- base: "rounded-md"
89
+ base: "rounded-medium"
97
90
  },
98
91
  lg: {
99
- base: "rounded-lg"
100
- },
101
- xl: {
102
- base: "rounded-xl"
103
- },
104
- "2xl": {
105
- base: "rounded-2xl"
106
- },
107
- "3xl": {
108
- base: "rounded-3xl"
92
+ base: "rounded-large"
109
93
  },
110
94
  full: {
111
95
  base: "rounded-full"
@@ -118,7 +102,7 @@ var avatar = tv({
118
102
  },
119
103
  isDisabled: {
120
104
  true: {
121
- base: "opacity-50"
105
+ base: "opacity-disabled"
122
106
  }
123
107
  },
124
108
  isInGroup: {
@@ -182,13 +166,6 @@ var avatar = tv({
182
166
  class: {
183
167
  base: "ring-danger"
184
168
  }
185
- },
186
- {
187
- isBordered: true,
188
- size: "xl",
189
- class: {
190
- base: "ring"
191
- }
192
169
  }
193
170
  ]
194
171
  });
@@ -1,5 +1,8 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-GMMETTYU.mjs";
4
+
1
5
  // src/components/drip.ts
2
- import { tv } from "tailwind-variants";
3
6
  var drip = tv({
4
7
  base: ["absolute", "will-change-transform", "bg-current", "rounded-full", "animate-drip-expand"]
5
8
  });
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-CEW7YOHH.mjs";
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
4
7
 
5
8
  // src/components/snippet.ts
6
- import { tv } from "tailwind-variants";
7
9
  var snippet = tv({
8
10
  slots: {
9
- base: "inline-flex items-center justify-between h-fit rounded-md gap-2",
11
+ base: "inline-flex items-center justify-between h-fit rounded-large gap-2",
10
12
  pre: "bg-transparent text-inherit font-mono font-normal inline-block whitespace-nowrap",
11
13
  content: "flex flex-col",
12
14
  symbol: "select-none",
@@ -14,7 +16,7 @@ var snippet = tv({
14
16
  "group",
15
17
  "relative",
16
18
  "z-10",
17
- "text-lg",
19
+ "text-large",
18
20
  "text-inherit",
19
21
  "data-[hover=true]:bg-transparent"
20
22
  ],
@@ -29,7 +31,7 @@ var snippet = tv({
29
31
  variant: {
30
32
  flat: "",
31
33
  solid: "",
32
- bordered: "border-2 bg-transparent",
34
+ bordered: "border-medium bg-transparent",
33
35
  shadow: ""
34
36
  },
35
37
  color: {
@@ -41,43 +43,28 @@ var snippet = tv({
41
43
  danger: {}
42
44
  },
43
45
  size: {
44
- xs: {
45
- base: "px-2 py-1 text-xs"
46
- },
47
46
  sm: {
48
- base: "px-2 py-1 text-sm"
47
+ base: "px-1.5 py-0.5 text-tiny rounded-small"
49
48
  },
50
49
  md: {
51
- base: "px-3 py-1.5 text-sm"
50
+ base: "px-3 py-1.5 text-small rounded-medium"
52
51
  },
53
52
  lg: {
54
- base: "px-4 py-2 text-base"
55
- },
56
- xl: {
57
- base: "px-4 py-2 text-lg"
53
+ base: "px-4 py-2 text-medium rounded-large"
58
54
  }
59
55
  },
60
56
  radius: {
61
57
  none: {
62
58
  base: "rounded-none"
63
59
  },
64
- base: {
65
- base: "rounded-base"
66
- },
67
60
  sm: {
68
- base: "rounded-sm"
61
+ base: "rounded-small"
69
62
  },
70
63
  md: {
71
- base: "rounded-md"
64
+ base: "rounded-medium"
72
65
  },
73
66
  lg: {
74
- base: "rounded-lg"
75
- },
76
- xl: {
77
- base: "rounded-xl"
78
- },
79
- full: {
80
- base: "rounded-full"
67
+ base: "rounded-large"
81
68
  }
82
69
  },
83
70
  fullWidth: {
@@ -97,7 +84,6 @@ var snippet = tv({
97
84
  color: "default",
98
85
  variant: "flat",
99
86
  size: "md",
100
- radius: "lg",
101
87
  fullWidth: false,
102
88
  disableAnimation: false
103
89
  },
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-CEW7YOHH.mjs";
3
+ } from "./chunk-2PIR7DFM.mjs";
4
+ import {
5
+ tv
6
+ } from "./chunk-GMMETTYU.mjs";
4
7
  import {
5
8
  dataFocusVisibleClasses
6
9
  } from "./chunk-G2ZSNGR5.mjs";
7
10
 
8
11
  // src/components/popover.ts
9
- import { tv } from "tailwind-variants";
10
12
  var popover = tv({
11
13
  slots: {
12
14
  base: [
@@ -19,7 +21,6 @@ var popover = tv({
19
21
  "subpixel-antialiased",
20
22
  "px-4",
21
23
  "py-1",
22
- "text-base",
23
24
  "outline-none",
24
25
  "box-border",
25
26
  ...dataFocusVisibleClasses
@@ -62,16 +63,14 @@ var popover = tv({
62
63
  },
63
64
  variants: {
64
65
  size: {
65
- xs: { base: "text-xs" },
66
- sm: { base: "text-sm" },
67
- md: { base: "text-sm" },
68
- lg: { base: "text-base" },
69
- xl: { base: "text-lg" }
66
+ sm: { base: "text-tiny" },
67
+ md: { base: "text-small" },
68
+ lg: { base: "text-medium" }
70
69
  },
71
70
  color: {
72
71
  default: {
73
- base: "bg-content1 border border-boundary",
74
- arrow: "border border-boundary"
72
+ base: "bg-content1",
73
+ arrow: "shadow-small"
75
74
  },
76
75
  foreground: {
77
76
  base: colorVariants.solid.foreground
@@ -94,40 +93,26 @@ var popover = tv({
94
93
  },
95
94
  radius: {
96
95
  none: { base: "rounded-none" },
97
- base: { base: "rounded" },
98
- sm: { base: "rounded-sm" },
99
- md: { base: "rounded-md" },
100
- lg: { base: "rounded-lg" },
101
- xl: { base: "rounded-xl" },
96
+ sm: { base: "rounded-small" },
97
+ md: { base: "rounded-medium" },
98
+ lg: { base: "rounded-large" },
102
99
  full: { base: "rounded-full" }
103
100
  },
104
101
  shadow: {
105
- none: {
106
- base: "shadow-none"
107
- },
108
102
  sm: {
109
- base: "shadow-sm"
103
+ base: "shadow-small"
110
104
  },
111
105
  md: {
112
- base: "shadow-md"
106
+ base: "shadow-medium"
113
107
  },
114
108
  lg: {
115
- base: "shadow-lg"
116
- },
117
- xl: {
118
- base: "shadow-xl"
119
- },
120
- "2xl": {
121
- base: "shadow-2xl"
122
- },
123
- inner: {
124
- base: "shadow-inner"
109
+ base: "shadow-large"
125
110
  }
126
111
  },
127
112
  backdrop: {
128
113
  transparent: {},
129
114
  opaque: {
130
- backdrop: "bg-overlay/50 backdrop-opacity-50"
115
+ backdrop: "bg-overlay/50 backdrop-opacity-disabled"
131
116
  },
132
117
  blur: {
133
118
  backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"
@@ -147,9 +132,9 @@ var popover = tv({
147
132
  },
148
133
  defaultVariants: {
149
134
  color: "default",
150
- radius: "xl",
135
+ radius: "lg",
151
136
  size: "md",
152
- shadow: "lg",
137
+ shadow: "md",
153
138
  backdrop: "transparent",
154
139
  disableAnimation: false,
155
140
  triggerScaleOnOpen: true