@nextui-org/theme 0.0.0-dev-v2-20230326012034

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 (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +24 -0
  3. package/colors.d.ts +1 -0
  4. package/colors.js +1 -0
  5. package/dist/animations/index.d.ts +57 -0
  6. package/dist/animations/index.js +84 -0
  7. package/dist/animations/index.mjs +6 -0
  8. package/dist/chunk-37PIXVP4.mjs +33 -0
  9. package/dist/chunk-45FXWIO6.mjs +70 -0
  10. package/dist/chunk-5OE5CWK6.mjs +84 -0
  11. package/dist/chunk-5SJ7B53O.mjs +0 -0
  12. package/dist/chunk-5Z3NCB7W.mjs +391 -0
  13. package/dist/chunk-7BYRB2YS.mjs +386 -0
  14. package/dist/chunk-7MQD7UA2.mjs +16 -0
  15. package/dist/chunk-B5S7HT6N.mjs +44 -0
  16. package/dist/chunk-CMYR6AOY.mjs +0 -0
  17. package/dist/chunk-CO6ANWRA.mjs +125 -0
  18. package/dist/chunk-CRCBVLUP.mjs +38 -0
  19. package/dist/chunk-D4TJV7NY.mjs +206 -0
  20. package/dist/chunk-DCEG5LGX.mjs +17 -0
  21. package/dist/chunk-FS36US4S.mjs +25 -0
  22. package/dist/chunk-HHWXPWYN.mjs +13 -0
  23. package/dist/chunk-IJCHUO4J.mjs +38 -0
  24. package/dist/chunk-K7LK7NCE.mjs +0 -0
  25. package/dist/chunk-KZJBCC2H.mjs +17 -0
  26. package/dist/chunk-L2OL7R23.mjs +17 -0
  27. package/dist/chunk-LGGZKBOO.mjs +77 -0
  28. package/dist/chunk-M63AFAHO.mjs +0 -0
  29. package/dist/chunk-MLH3XSY7.mjs +14 -0
  30. package/dist/chunk-NJQP2VWT.mjs +160 -0
  31. package/dist/chunk-OIVGIOVG.mjs +9 -0
  32. package/dist/chunk-OR5PUD24.mjs +17 -0
  33. package/dist/chunk-OSARGUKT.mjs +326 -0
  34. package/dist/chunk-QIC7EALL.mjs +277 -0
  35. package/dist/chunk-QMP2FDFR.mjs +240 -0
  36. package/dist/chunk-QPN3H4E3.mjs +60 -0
  37. package/dist/chunk-RD42SVXB.mjs +90 -0
  38. package/dist/chunk-T3GWIVAM.mjs +17 -0
  39. package/dist/chunk-TV7EJNXI.mjs +457 -0
  40. package/dist/chunk-U77YMEWM.mjs +13 -0
  41. package/dist/chunk-VB4T62HR.mjs +159 -0
  42. package/dist/chunk-VKFQ7EZN.mjs +17 -0
  43. package/dist/chunk-WQEDQHKX.mjs +0 -0
  44. package/dist/chunk-Y37XC5QN.mjs +169 -0
  45. package/dist/chunk-Y4YW5MKL.mjs +17 -0
  46. package/dist/chunk-Y52EXP4A.mjs +142 -0
  47. package/dist/chunk-YYBLBQIV.mjs +16 -0
  48. package/dist/chunk-YZYGFPNK.mjs +17 -0
  49. package/dist/chunk-Z5OKZPNV.mjs +190 -0
  50. package/dist/colors/blue.d.ts +14 -0
  51. package/dist/colors/blue.js +41 -0
  52. package/dist/colors/blue.mjs +6 -0
  53. package/dist/colors/common.d.ts +91 -0
  54. package/dist/colors/common.js +140 -0
  55. package/dist/colors/common.mjs +13 -0
  56. package/dist/colors/cyan.d.ts +14 -0
  57. package/dist/colors/cyan.js +41 -0
  58. package/dist/colors/cyan.mjs +6 -0
  59. package/dist/colors/green.d.ts +14 -0
  60. package/dist/colors/green.js +41 -0
  61. package/dist/colors/green.mjs +6 -0
  62. package/dist/colors/index.d.ts +97 -0
  63. package/dist/colors/index.js +306 -0
  64. package/dist/colors/index.mjs +23 -0
  65. package/dist/colors/pink.d.ts +14 -0
  66. package/dist/colors/pink.js +41 -0
  67. package/dist/colors/pink.mjs +6 -0
  68. package/dist/colors/purple.d.ts +14 -0
  69. package/dist/colors/purple.js +41 -0
  70. package/dist/colors/purple.mjs +6 -0
  71. package/dist/colors/red.d.ts +14 -0
  72. package/dist/colors/red.js +41 -0
  73. package/dist/colors/red.mjs +6 -0
  74. package/dist/colors/semantic.d.ts +10 -0
  75. package/dist/colors/semantic.js +298 -0
  76. package/dist/colors/semantic.mjs +19 -0
  77. package/dist/colors/types.d.ts +37 -0
  78. package/dist/colors/types.js +18 -0
  79. package/dist/colors/types.mjs +1 -0
  80. package/dist/colors/yellow.d.ts +14 -0
  81. package/dist/colors/yellow.js +41 -0
  82. package/dist/colors/yellow.mjs +6 -0
  83. package/dist/colors.d.ts +4 -0
  84. package/dist/colors.js +306 -0
  85. package/dist/colors.mjs +24 -0
  86. package/dist/components/accordion-item.d.ts +135 -0
  87. package/dist/components/accordion-item.js +122 -0
  88. package/dist/components/accordion-item.mjs +10 -0
  89. package/dist/components/accordion.d.ts +30 -0
  90. package/dist/components/accordion.js +40 -0
  91. package/dist/components/accordion.mjs +6 -0
  92. package/dist/components/avatar-group.d.ts +26 -0
  93. package/dist/components/avatar-group.js +38 -0
  94. package/dist/components/avatar-group.mjs +6 -0
  95. package/dist/components/avatar.d.ts +211 -0
  96. package/dist/components/avatar.js +315 -0
  97. package/dist/components/avatar.mjs +10 -0
  98. package/dist/components/badge.d.ts +235 -0
  99. package/dist/components/badge.js +487 -0
  100. package/dist/components/badge.mjs +10 -0
  101. package/dist/components/button-group.d.ts +26 -0
  102. package/dist/components/button-group.js +41 -0
  103. package/dist/components/button-group.mjs +6 -0
  104. package/dist/components/button.d.ts +122 -0
  105. package/dist/components/button.js +429 -0
  106. package/dist/components/button.mjs +10 -0
  107. package/dist/components/card.d.ts +239 -0
  108. package/dist/components/card.js +222 -0
  109. package/dist/components/card.mjs +10 -0
  110. package/dist/components/checkbox-group.d.ts +32 -0
  111. package/dist/components/checkbox-group.js +37 -0
  112. package/dist/components/checkbox-group.mjs +6 -0
  113. package/dist/components/checkbox.d.ts +226 -0
  114. package/dist/components/checkbox.js +192 -0
  115. package/dist/components/checkbox.mjs +10 -0
  116. package/dist/components/chip.d.ts +274 -0
  117. package/dist/components/chip.js +560 -0
  118. package/dist/components/chip.mjs +10 -0
  119. package/dist/components/code.d.ts +68 -0
  120. package/dist/components/code.js +140 -0
  121. package/dist/components/code.mjs +10 -0
  122. package/dist/components/drip.d.ts +14 -0
  123. package/dist/components/drip.js +33 -0
  124. package/dist/components/drip.mjs +6 -0
  125. package/dist/components/index.d.ts +24 -0
  126. package/dist/components/index.js +3442 -0
  127. package/dist/components/index.mjs +95 -0
  128. package/dist/components/link.d.ts +74 -0
  129. package/dist/components/link.js +117 -0
  130. package/dist/components/link.mjs +10 -0
  131. package/dist/components/pagination.d.ts +201 -0
  132. package/dist/components/pagination.js +489 -0
  133. package/dist/components/pagination.mjs +10 -0
  134. package/dist/components/radio-group.d.ts +32 -0
  135. package/dist/components/radio-group.js +37 -0
  136. package/dist/components/radio-group.mjs +6 -0
  137. package/dist/components/radio.d.ts +271 -0
  138. package/dist/components/radio.js +201 -0
  139. package/dist/components/radio.mjs +10 -0
  140. package/dist/components/snippet.d.ts +184 -0
  141. package/dist/components/snippet.js +343 -0
  142. package/dist/components/snippet.mjs +10 -0
  143. package/dist/components/spinner.d.ts +192 -0
  144. package/dist/components/spinner.js +149 -0
  145. package/dist/components/spinner.mjs +6 -0
  146. package/dist/components/toggle.d.ts +197 -0
  147. package/dist/components/toggle.js +191 -0
  148. package/dist/components/toggle.mjs +10 -0
  149. package/dist/components/tooltip.d.ts +176 -0
  150. package/dist/components/tooltip.js +373 -0
  151. package/dist/components/tooltip.mjs +10 -0
  152. package/dist/components/user.d.ts +40 -0
  153. package/dist/components/user.js +57 -0
  154. package/dist/components/user.mjs +10 -0
  155. package/dist/index.d.ts +35 -0
  156. package/dist/index.js +3747 -0
  157. package/dist/index.mjs +138 -0
  158. package/dist/plugin.d.ts +38 -0
  159. package/dist/plugin.js +564 -0
  160. package/dist/plugin.mjs +151 -0
  161. package/dist/utilities/index.d.ts +72 -0
  162. package/dist/utilities/index.js +94 -0
  163. package/dist/utilities/index.mjs +6 -0
  164. package/dist/utils/index.d.ts +4 -0
  165. package/dist/utils/index.js +144 -0
  166. package/dist/utils/index.mjs +20 -0
  167. package/dist/utils/object.d.ts +4 -0
  168. package/dist/utils/object.js +58 -0
  169. package/dist/utils/object.mjs +8 -0
  170. package/dist/utils/styles.d.ts +20 -0
  171. package/dist/utils/styles.js +66 -0
  172. package/dist/utils/styles.mjs +14 -0
  173. package/dist/utils/types.d.ts +10 -0
  174. package/dist/utils/types.js +18 -0
  175. package/dist/utils/types.mjs +1 -0
  176. package/dist/utils/variants.d.ts +67 -0
  177. package/dist/utils/variants.js +101 -0
  178. package/dist/utils/variants.mjs +6 -0
  179. package/package.json +85 -0
  180. package/plugin.d.ts +1 -0
  181. package/plugin.js +1 -0
@@ -0,0 +1,235 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
+
5
+ /**
6
+ * Badge wrapper **Tailwind Variants** component
7
+ *
8
+ * const {base, badge} = badge({...})
9
+ *
10
+ * @example
11
+ * <div className={base())}>
12
+ * // children
13
+ * <span className={badge()}>5+</span>
14
+ * </div>
15
+ */
16
+ declare const badge: tailwind_variants.TVReturnType<{
17
+ variant: {
18
+ solid: {};
19
+ flat: {};
20
+ faded: {
21
+ badge: string;
22
+ };
23
+ shadow: {};
24
+ };
25
+ color: {
26
+ neutral: {
27
+ badge: string;
28
+ };
29
+ primary: {
30
+ badge: string;
31
+ };
32
+ secondary: {
33
+ badge: string;
34
+ };
35
+ success: {
36
+ badge: string;
37
+ };
38
+ warning: {
39
+ badge: string;
40
+ };
41
+ danger: {
42
+ badge: string;
43
+ };
44
+ };
45
+ size: {
46
+ xs: {
47
+ badge: string;
48
+ };
49
+ sm: {
50
+ badge: string;
51
+ };
52
+ md: {
53
+ badge: string;
54
+ };
55
+ lg: {
56
+ badge: string;
57
+ };
58
+ xl: {
59
+ badge: string;
60
+ };
61
+ };
62
+ placement: {
63
+ "top-right": {};
64
+ "top-left": {};
65
+ "bottom-right": {};
66
+ "bottom-left": {};
67
+ };
68
+ radius: {
69
+ none: {
70
+ badge: string;
71
+ };
72
+ base: {
73
+ badge: string;
74
+ };
75
+ sm: {
76
+ badge: string;
77
+ };
78
+ md: {
79
+ badge: string;
80
+ };
81
+ lg: {
82
+ badge: string;
83
+ };
84
+ xl: {
85
+ badge: string;
86
+ };
87
+ full: {
88
+ badge: string;
89
+ };
90
+ };
91
+ shape: {
92
+ circle: {};
93
+ rectangle: {};
94
+ };
95
+ isInvisible: {
96
+ true: {};
97
+ };
98
+ isOneChar: {
99
+ true: {
100
+ badge: string;
101
+ };
102
+ };
103
+ isDot: {
104
+ true: {};
105
+ };
106
+ disableAnimation: {
107
+ true: {
108
+ badge: string;
109
+ };
110
+ false: {
111
+ badge: string;
112
+ };
113
+ };
114
+ disableOutline: {
115
+ true: {
116
+ badge: string;
117
+ };
118
+ false: {
119
+ badge: string;
120
+ };
121
+ };
122
+ }, unknown, {
123
+ base: string[];
124
+ badge: string[];
125
+ }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
126
+ variant: {
127
+ solid: {};
128
+ flat: {};
129
+ faded: {
130
+ badge: string;
131
+ };
132
+ shadow: {};
133
+ };
134
+ color: {
135
+ neutral: {
136
+ badge: string;
137
+ };
138
+ primary: {
139
+ badge: string;
140
+ };
141
+ secondary: {
142
+ badge: string;
143
+ };
144
+ success: {
145
+ badge: string;
146
+ };
147
+ warning: {
148
+ badge: string;
149
+ };
150
+ danger: {
151
+ badge: string;
152
+ };
153
+ };
154
+ size: {
155
+ xs: {
156
+ badge: string;
157
+ };
158
+ sm: {
159
+ badge: string;
160
+ };
161
+ md: {
162
+ badge: string;
163
+ };
164
+ lg: {
165
+ badge: string;
166
+ };
167
+ xl: {
168
+ badge: string;
169
+ };
170
+ };
171
+ placement: {
172
+ "top-right": {};
173
+ "top-left": {};
174
+ "bottom-right": {};
175
+ "bottom-left": {};
176
+ };
177
+ radius: {
178
+ none: {
179
+ badge: string;
180
+ };
181
+ base: {
182
+ badge: string;
183
+ };
184
+ sm: {
185
+ badge: string;
186
+ };
187
+ md: {
188
+ badge: string;
189
+ };
190
+ lg: {
191
+ badge: string;
192
+ };
193
+ xl: {
194
+ badge: string;
195
+ };
196
+ full: {
197
+ badge: string;
198
+ };
199
+ };
200
+ shape: {
201
+ circle: {};
202
+ rectangle: {};
203
+ };
204
+ isInvisible: {
205
+ true: {};
206
+ };
207
+ isOneChar: {
208
+ true: {
209
+ badge: string;
210
+ };
211
+ };
212
+ isDot: {
213
+ true: {};
214
+ };
215
+ disableAnimation: {
216
+ true: {
217
+ badge: string;
218
+ };
219
+ false: {
220
+ badge: string;
221
+ };
222
+ };
223
+ disableOutline: {
224
+ true: {
225
+ badge: string;
226
+ };
227
+ false: {
228
+ badge: string;
229
+ };
230
+ };
231
+ }, unknown>>;
232
+ type BadgeVariantProps = VariantProps<typeof badge>;
233
+ type BadgeSlots = keyof ReturnType<typeof badge>;
234
+
235
+ export { BadgeSlots, BadgeVariantProps, badge };
@@ -0,0 +1,487 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/badge.ts
21
+ var badge_exports = {};
22
+ __export(badge_exports, {
23
+ badge: () => badge
24
+ });
25
+ module.exports = __toCommonJS(badge_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+
28
+ // src/utils/variants.ts
29
+ var solid = {
30
+ neutral: "bg-neutral text-neutral-contrastText",
31
+ primary: "bg-primary text-primary-contrastText",
32
+ secondary: "bg-secondary text-secondary-contrastText",
33
+ success: "bg-success text-success-contrastText",
34
+ warning: "bg-warning text-warning-contrastText",
35
+ danger: "bg-danger text-danger-contrastText",
36
+ foreground: "bg-foreground text-background"
37
+ };
38
+ var shadow = {
39
+ neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-contrastText",
40
+ primary: "shadow-lg shadow-primary/40 bg-primary text-primary-contrastText",
41
+ secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-contrastText",
42
+ success: "shadow-lg shadow-success/40 bg-success text-success-contrastText",
43
+ warning: "shadow-lg shadow-warning/40 bg-warning text-warning-contrastText",
44
+ danger: "shadow-lg shadow-danger/40 bg-danger text-danger-contrastText",
45
+ foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
46
+ };
47
+ var bordered = {
48
+ neutral: "bg-transparent border-neutral text-foreground",
49
+ primary: "bg-transparent border-primary text-primary",
50
+ secondary: "bg-transparent border-secondary text-secondary",
51
+ success: "bg-transparent border-success text-success",
52
+ warning: "bg-transparent border-warning text-warning",
53
+ danger: "bg-transparent border-danger text-danger",
54
+ foreground: "bg-transparent border-foreground text-foreground"
55
+ };
56
+ var flat = {
57
+ neutral: "bg-neutral-100 text-neutral-contrastText",
58
+ primary: "bg-primary-50 text-primary",
59
+ secondary: "bg-secondary-100 text-secondary",
60
+ success: "bg-success-50 text-success",
61
+ warning: "bg-warning-50 text-warning",
62
+ danger: "bg-danger-50 text-danger",
63
+ foreground: "bg-foreground/10 text-foreground"
64
+ };
65
+ var faded = {
66
+ neutral: "border-neutral bg-neutral-100 text-neutral-contrastText",
67
+ primary: "border-neutral bg-neutral-100 text-primary",
68
+ secondary: "border-neutral bg-neutral-100 text-secondary",
69
+ success: "border-neutral bg-neutral-100 text-success",
70
+ warning: "border-neutral bg-neutral-100 text-warning",
71
+ danger: "border-neutral bg-neutral-100 text-danger",
72
+ foreground: "border-neutral bg-neutral-100 text-foreground"
73
+ };
74
+ var light = {
75
+ neutral: "bg-transparent text-neutral-contrastText",
76
+ primary: "bg-transparent text-primary",
77
+ secondary: "bg-transparent text-secondary",
78
+ success: "bg-transparent text-success",
79
+ warning: "bg-transparent text-warning",
80
+ danger: "bg-transparent text-danger",
81
+ foreground: "bg-transparent text-foreground"
82
+ };
83
+ var ghost = {
84
+ neutral: "border-neutral text-neutral-contrastText hover:!bg-neutral",
85
+ primary: "border-primary text-primary hover:!text-primary-contrastText hover:!bg-primary",
86
+ secondary: "border-secondary text-secondary hover:text-secondary-contrastText hover:!bg-secondary",
87
+ success: "border-success text-success hover:!text-success-contrastText hover:!bg-success",
88
+ warning: "border-warning text-warning hover:!text-warning-contrastText hover:!bg-warning",
89
+ danger: "border-danger text-danger hover:!text-danger-contrastText hover:!bg-danger",
90
+ foreground: "border-foreground text-foreground hover:!bg-foreground"
91
+ };
92
+ var colorVariants = {
93
+ solid,
94
+ shadow,
95
+ bordered,
96
+ flat,
97
+ faded,
98
+ light,
99
+ ghost
100
+ };
101
+
102
+ // src/components/badge.ts
103
+ var badge = (0, import_tailwind_variants.tv)({
104
+ slots: {
105
+ base: ["relative", "inline-flex", "shrink-0", "overflow-visible", "align-middle"],
106
+ badge: [
107
+ "flex",
108
+ "z-10",
109
+ "flex-wrap",
110
+ "absolute",
111
+ "box-border",
112
+ "whitespace-nowrap",
113
+ "place-content-center",
114
+ "origin-center",
115
+ "items-center",
116
+ "text-inherit",
117
+ "select-none",
118
+ "font-regular",
119
+ "scale-100",
120
+ "opacity-100",
121
+ "data-[invisible=true]:scale-0",
122
+ "data-[invisible=true]:opacity-0"
123
+ ]
124
+ },
125
+ variants: {
126
+ variant: {
127
+ solid: {},
128
+ flat: {},
129
+ faded: {
130
+ badge: "border-1.5"
131
+ },
132
+ shadow: {}
133
+ },
134
+ color: {
135
+ neutral: {
136
+ badge: colorVariants.solid.neutral
137
+ },
138
+ primary: {
139
+ badge: colorVariants.solid.primary
140
+ },
141
+ secondary: {
142
+ badge: colorVariants.solid.secondary
143
+ },
144
+ success: {
145
+ badge: colorVariants.solid.success
146
+ },
147
+ warning: {
148
+ badge: colorVariants.solid.warning
149
+ },
150
+ danger: {
151
+ badge: colorVariants.solid.danger
152
+ }
153
+ },
154
+ size: {
155
+ xs: {
156
+ badge: "px-0.5 text-[0.625rem]"
157
+ },
158
+ sm: {
159
+ badge: "px-1 text-xs"
160
+ },
161
+ md: {
162
+ badge: "px-1 text-sm"
163
+ },
164
+ lg: {
165
+ badge: "px-1 text-sm"
166
+ },
167
+ xl: {
168
+ badge: "px-1 text-md"
169
+ }
170
+ },
171
+ placement: {
172
+ "top-right": {},
173
+ "top-left": {},
174
+ "bottom-right": {},
175
+ "bottom-left": {}
176
+ },
177
+ radius: {
178
+ none: { badge: "rounded-none" },
179
+ base: { badge: "rounded" },
180
+ sm: { badge: "rounded-sm" },
181
+ md: { badge: "rounded-md" },
182
+ lg: { badge: "rounded-lg" },
183
+ xl: { badge: "rounded-xl" },
184
+ full: { badge: "rounded-full" }
185
+ },
186
+ shape: {
187
+ circle: {},
188
+ rectangle: {}
189
+ },
190
+ isInvisible: {
191
+ true: {}
192
+ },
193
+ isOneChar: {
194
+ true: {
195
+ badge: "px-0"
196
+ }
197
+ },
198
+ isDot: {
199
+ true: {}
200
+ },
201
+ disableAnimation: {
202
+ true: {
203
+ badge: "transition-none"
204
+ },
205
+ false: {
206
+ badge: "transition-transform-opacity"
207
+ }
208
+ },
209
+ disableOutline: {
210
+ true: {
211
+ badge: "border-transparent border-0"
212
+ },
213
+ false: {
214
+ badge: "border-2 border-background"
215
+ }
216
+ }
217
+ },
218
+ defaultVariants: {
219
+ variant: "solid",
220
+ color: "neutral",
221
+ size: "md",
222
+ radius: "full",
223
+ shape: "rectangle",
224
+ placement: "top-right",
225
+ disableOutline: false,
226
+ disableAnimation: false,
227
+ isInvisible: false
228
+ },
229
+ compoundVariants: [
230
+ {
231
+ variant: "shadow",
232
+ color: "neutral",
233
+ class: {
234
+ badge: colorVariants.shadow.neutral
235
+ }
236
+ },
237
+ {
238
+ variant: "shadow",
239
+ color: "primary",
240
+ class: {
241
+ badge: colorVariants.shadow.primary
242
+ }
243
+ },
244
+ {
245
+ variant: "shadow",
246
+ color: "secondary",
247
+ class: {
248
+ badge: colorVariants.shadow.secondary
249
+ }
250
+ },
251
+ {
252
+ variant: "shadow",
253
+ color: "success",
254
+ class: {
255
+ badge: colorVariants.shadow.success
256
+ }
257
+ },
258
+ {
259
+ variant: "shadow",
260
+ color: "warning",
261
+ class: {
262
+ badge: colorVariants.shadow.warning
263
+ }
264
+ },
265
+ {
266
+ variant: "shadow",
267
+ color: "danger",
268
+ class: {
269
+ badge: colorVariants.shadow.danger
270
+ }
271
+ },
272
+ {
273
+ variant: "flat",
274
+ color: "neutral",
275
+ class: {
276
+ badge: colorVariants.flat.neutral
277
+ }
278
+ },
279
+ {
280
+ variant: "flat",
281
+ color: "primary",
282
+ class: {
283
+ badge: colorVariants.flat.primary
284
+ }
285
+ },
286
+ {
287
+ variant: "flat",
288
+ color: "secondary",
289
+ class: {
290
+ badge: colorVariants.flat.secondary
291
+ }
292
+ },
293
+ {
294
+ variant: "flat",
295
+ color: "success",
296
+ class: {
297
+ badge: colorVariants.flat.success
298
+ }
299
+ },
300
+ {
301
+ variant: "flat",
302
+ color: "warning",
303
+ class: {
304
+ badge: colorVariants.flat.warning
305
+ }
306
+ },
307
+ {
308
+ variant: "flat",
309
+ color: "danger",
310
+ class: {
311
+ badge: colorVariants.flat.danger
312
+ }
313
+ },
314
+ {
315
+ variant: "faded",
316
+ color: "neutral",
317
+ class: {
318
+ badge: colorVariants.faded.neutral
319
+ }
320
+ },
321
+ {
322
+ variant: "faded",
323
+ color: "primary",
324
+ class: {
325
+ badge: colorVariants.faded.primary
326
+ }
327
+ },
328
+ {
329
+ variant: "faded",
330
+ color: "secondary",
331
+ class: {
332
+ badge: colorVariants.faded.secondary
333
+ }
334
+ },
335
+ {
336
+ variant: "faded",
337
+ color: "success",
338
+ class: {
339
+ badge: colorVariants.faded.success
340
+ }
341
+ },
342
+ {
343
+ variant: "faded",
344
+ color: "warning",
345
+ class: {
346
+ badge: colorVariants.faded.warning
347
+ }
348
+ },
349
+ {
350
+ variant: "faded",
351
+ color: "danger",
352
+ class: {
353
+ badge: colorVariants.faded.danger
354
+ }
355
+ },
356
+ {
357
+ isOneChar: true,
358
+ size: "xs",
359
+ class: {
360
+ badge: "w-3.5 h-3.5"
361
+ }
362
+ },
363
+ {
364
+ isOneChar: true,
365
+ size: "sm",
366
+ class: {
367
+ badge: "w-4 h-4"
368
+ }
369
+ },
370
+ {
371
+ isOneChar: true,
372
+ size: "md",
373
+ class: {
374
+ badge: "w-5 h-5"
375
+ }
376
+ },
377
+ {
378
+ isOneChar: true,
379
+ size: "lg",
380
+ class: {
381
+ badge: "w-6 h-6"
382
+ }
383
+ },
384
+ {
385
+ isOneChar: true,
386
+ size: "xl",
387
+ class: {
388
+ badge: "w-7 h-7"
389
+ }
390
+ },
391
+ {
392
+ isDot: true,
393
+ size: "xs",
394
+ class: {
395
+ badge: "w-2 h-2"
396
+ }
397
+ },
398
+ {
399
+ isDot: true,
400
+ size: "sm",
401
+ class: {
402
+ badge: "w-3 h-3"
403
+ }
404
+ },
405
+ {
406
+ isDot: true,
407
+ size: "md",
408
+ class: {
409
+ badge: "w-3.5 h-3.5"
410
+ }
411
+ },
412
+ {
413
+ isDot: true,
414
+ size: "lg",
415
+ class: {
416
+ badge: "w-4 h-4"
417
+ }
418
+ },
419
+ {
420
+ isDot: true,
421
+ size: "xl",
422
+ class: {
423
+ badge: "w-5 h-5"
424
+ }
425
+ },
426
+ {
427
+ placement: "top-right",
428
+ shape: "rectangle",
429
+ class: {
430
+ badge: "top-[5%] right-[5%] translate-x-1/2 -translate-y-1/2"
431
+ }
432
+ },
433
+ {
434
+ placement: "top-left",
435
+ shape: "rectangle",
436
+ class: {
437
+ badge: "top-[5%] left-[5%] -translate-x-1/2 -translate-y-1/2"
438
+ }
439
+ },
440
+ {
441
+ placement: "bottom-right",
442
+ shape: "rectangle",
443
+ class: {
444
+ badge: "bottom-[5%] right-[5%] translate-x-1/2 translate-y-1/2"
445
+ }
446
+ },
447
+ {
448
+ placement: "bottom-left",
449
+ shape: "rectangle",
450
+ class: {
451
+ badge: "bottom-[5%] left-[5%] -translate-x-1/2 translate-y-1/2"
452
+ }
453
+ },
454
+ {
455
+ placement: "top-right",
456
+ shape: "circle",
457
+ class: {
458
+ badge: "top-[15%] right-[15%] translate-x-1/2 -translate-y-1/2"
459
+ }
460
+ },
461
+ {
462
+ placement: "top-left",
463
+ shape: "circle",
464
+ class: {
465
+ badge: "top-[15%] left-[15%] -translate-x-1/2 -translate-y-1/2"
466
+ }
467
+ },
468
+ {
469
+ placement: "bottom-right",
470
+ shape: "circle",
471
+ class: {
472
+ badge: "bottom-[15%] right-[15%] translate-x-1/2 translate-y-1/2"
473
+ }
474
+ },
475
+ {
476
+ placement: "bottom-left",
477
+ shape: "circle",
478
+ class: {
479
+ badge: "bottom-[15%] left-[15%] -translate-x-1/2 translate-y-1/2"
480
+ }
481
+ }
482
+ ]
483
+ });
484
+ // Annotate the CommonJS export names for ESM import in node:
485
+ 0 && (module.exports = {
486
+ badge
487
+ });
@@ -0,0 +1,10 @@
1
+ import {
2
+ badge
3
+ } from "../chunk-5Z3NCB7W.mjs";
4
+ import "../chunk-CMYR6AOY.mjs";
5
+ import "../chunk-K7LK7NCE.mjs";
6
+ import "../chunk-LGGZKBOO.mjs";
7
+ import "../chunk-IJCHUO4J.mjs";
8
+ export {
9
+ badge
10
+ };