@fuf-stack/pixels 0.43.10 → 0.44.0
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.
- package/dist/Alert/index.cjs +2 -2
- package/dist/Alert/index.js +1 -1
- package/dist/Button/index.cjs +2 -2
- package/dist/Button/index.d.cts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DykH6Lmz.d.cts → Button-BNrJYJDH.d.cts} +3 -1
- package/dist/{Button-DykH6Lmz.d.ts → Button-BNrJYJDH.d.ts} +3 -1
- package/dist/Json/index.cjs +3 -3
- package/dist/Json/index.js +2 -2
- package/dist/Label/index.cjs +2 -2
- package/dist/Label/index.d.cts +2 -2
- package/dist/Label/index.d.ts +2 -2
- package/dist/Label/index.js +1 -1
- package/dist/Label-B1a1krk8.d.cts +432 -0
- package/dist/Label-B1a1krk8.d.ts +432 -0
- package/dist/Popover/index.d.cts +3 -3
- package/dist/Popover/index.d.ts +3 -3
- package/dist/{Popover-Bxe50qlw.d.cts → Popover-Czc5-4V1.d.cts} +1 -1
- package/dist/{Popover-DhF3bXJE.d.ts → Popover-Dm_Dsjqw.d.ts} +1 -1
- package/dist/{chunk-RELR2OCI.js → chunk-6XNLMOET.js} +7 -5
- package/dist/chunk-6XNLMOET.js.map +1 -0
- package/dist/{chunk-OXXSHHVG.js → chunk-DBVM5SIA.js} +5 -5
- package/dist/{chunk-OXXSHHVG.js.map → chunk-DBVM5SIA.js.map} +1 -1
- package/dist/{chunk-PYXJNORH.cjs → chunk-J44KQ3VW.cjs} +3 -3
- package/dist/{chunk-PYXJNORH.cjs.map → chunk-J44KQ3VW.cjs.map} +1 -1
- package/dist/{chunk-AN7A66NS.cjs → chunk-K6UF4AGX.cjs} +7 -5
- package/dist/chunk-K6UF4AGX.cjs.map +1 -0
- package/dist/{chunk-Q2SVN66A.cjs → chunk-KWSGA623.cjs} +5 -5
- package/dist/chunk-KWSGA623.cjs.map +1 -0
- package/dist/{chunk-PLJWIGRS.cjs → chunk-PHQVYJS2.cjs} +62 -6
- package/dist/chunk-PHQVYJS2.cjs.map +1 -0
- package/dist/{chunk-5BUCFDWR.js → chunk-PUMF3NYY.js} +2 -2
- package/dist/chunk-X6JZFO33.js +127 -0
- package/dist/chunk-X6JZFO33.js.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/package.json +2 -2
- package/dist/Label-Bp9WZiDB.d.cts +0 -152
- package/dist/Label-Bp9WZiDB.d.ts +0 -152
- package/dist/chunk-AN7A66NS.cjs.map +0 -1
- package/dist/chunk-KIRRQFSZ.js +0 -71
- package/dist/chunk-KIRRQFSZ.js.map +0 -1
- package/dist/chunk-PLJWIGRS.cjs.map +0 -1
- package/dist/chunk-Q2SVN66A.cjs.map +0 -1
- package/dist/chunk-RELR2OCI.js.map +0 -1
- /package/dist/{chunk-5BUCFDWR.js.map → chunk-PUMF3NYY.js.map} +0 -0
package/dist/Alert/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKWSGA623cjs = require('../chunk-KWSGA623.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Alert =
|
|
11
|
+
exports.Alert = _chunkKWSGA623cjs.Alert_default; exports.alertVariants = _chunkKWSGA623cjs.alertVariants; exports.default = _chunkKWSGA623cjs.Alert_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Alert/index.js
CHANGED
package/dist/Button/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkK6UF4AGXcjs = require('../chunk-K6UF4AGX.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Button =
|
|
11
|
+
exports.Button = _chunkK6UF4AGXcjs.Button_default; exports.buttonVariants = _chunkK6UF4AGXcjs.buttonVariants; exports.default = _chunkK6UF4AGXcjs.Button_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Button/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps, b as buttonVariants } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-BNrJYJDH.cjs';
|
|
2
|
+
export { a as ButtonProps, b as buttonVariants } from '../Button-BNrJYJDH.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps, b as buttonVariants } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-BNrJYJDH.js';
|
|
2
|
+
export { a as ButtonProps, b as buttonVariants } from '../Button-BNrJYJDH.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.js
CHANGED
|
@@ -196,6 +196,8 @@ interface ButtonProps extends VariantProps {
|
|
|
196
196
|
onClick?: ButtonProps$1['onPress'];
|
|
197
197
|
/** border radius size */
|
|
198
198
|
radius?: ButtonProps$1['radius'];
|
|
199
|
+
/** enable ripple animation effect on click */
|
|
200
|
+
ripple?: boolean;
|
|
199
201
|
/** size options */
|
|
200
202
|
size?: ButtonProps$1['size'];
|
|
201
203
|
/** HTML data-testid attribute used in e2e tests */
|
|
@@ -208,6 +210,6 @@ interface ButtonProps extends VariantProps {
|
|
|
208
210
|
/**
|
|
209
211
|
* Button component based on [HeroUI Button](https://www.heroui.com//docs/components/button)
|
|
210
212
|
*/
|
|
211
|
-
declare const Button: ({ ariaLabel, children, className, color,
|
|
213
|
+
declare const Button: ({ ariaLabel, children, className, color, disableAnimation, disabled, icon, loading, onClick, radius, ripple, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
212
214
|
|
|
213
215
|
export { Button as B, type ButtonProps as a, buttonVariants as b };
|
|
@@ -196,6 +196,8 @@ interface ButtonProps extends VariantProps {
|
|
|
196
196
|
onClick?: ButtonProps$1['onPress'];
|
|
197
197
|
/** border radius size */
|
|
198
198
|
radius?: ButtonProps$1['radius'];
|
|
199
|
+
/** enable ripple animation effect on click */
|
|
200
|
+
ripple?: boolean;
|
|
199
201
|
/** size options */
|
|
200
202
|
size?: ButtonProps$1['size'];
|
|
201
203
|
/** HTML data-testid attribute used in e2e tests */
|
|
@@ -208,6 +210,6 @@ interface ButtonProps extends VariantProps {
|
|
|
208
210
|
/**
|
|
209
211
|
* Button component based on [HeroUI Button](https://www.heroui.com//docs/components/button)
|
|
210
212
|
*/
|
|
211
|
-
declare const Button: ({ ariaLabel, children, className, color,
|
|
213
|
+
declare const Button: ({ ariaLabel, children, className, color, disableAnimation, disabled, icon, loading, onClick, radius, ripple, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
212
214
|
|
|
213
215
|
export { Button as B, type ButtonProps as a, buttonVariants as b };
|
package/dist/Json/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkJ44KQ3VWcjs = require('../chunk-J44KQ3VW.cjs');
|
|
5
|
+
require('../chunk-K6UF4AGX.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Json =
|
|
10
|
+
exports.Json = _chunkJ44KQ3VWcjs.Json_default; exports.default = _chunkJ44KQ3VWcjs.Json_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Json/index.js
CHANGED
package/dist/Label/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPHQVYJS2cjs = require('../chunk-PHQVYJS2.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Label =
|
|
11
|
+
exports.Label = _chunkPHQVYJS2cjs.Label_default; exports.default = _chunkPHQVYJS2cjs.Label_default2; exports.labelVariants = _chunkPHQVYJS2cjs.labelVariants;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Label/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Label } from '../Label-
|
|
2
|
-
export { a as LabelProps, l as labelVariants } from '../Label-
|
|
1
|
+
import { L as Label } from '../Label-B1a1krk8.cjs';
|
|
2
|
+
export { a as LabelProps, l as labelVariants } from '../Label-B1a1krk8.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Label/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Label } from '../Label-
|
|
2
|
-
export { a as LabelProps, l as labelVariants } from '../Label-
|
|
1
|
+
import { L as Label } from '../Label-B1a1krk8.js';
|
|
2
|
+
export { a as LabelProps, l as labelVariants } from '../Label-B1a1krk8.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Label/index.js
CHANGED
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
|
+
import { ChipProps } from '@heroui/chip';
|
|
6
|
+
import { ReactNode } from 'react';
|
|
7
|
+
|
|
8
|
+
declare const labelVariants: tailwind_variants.TVReturnType<{
|
|
9
|
+
color: {
|
|
10
|
+
default: {
|
|
11
|
+
dot: string;
|
|
12
|
+
};
|
|
13
|
+
primary: {
|
|
14
|
+
dot: string;
|
|
15
|
+
};
|
|
16
|
+
secondary: {
|
|
17
|
+
dot: string;
|
|
18
|
+
};
|
|
19
|
+
success: {
|
|
20
|
+
dot: string;
|
|
21
|
+
};
|
|
22
|
+
warning: {
|
|
23
|
+
dot: string;
|
|
24
|
+
};
|
|
25
|
+
danger: {
|
|
26
|
+
dot: string;
|
|
27
|
+
};
|
|
28
|
+
info: {
|
|
29
|
+
dot: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
isIconOnly: {
|
|
33
|
+
true: {
|
|
34
|
+
content: string;
|
|
35
|
+
};
|
|
36
|
+
false: {
|
|
37
|
+
content: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
hasEndContent: {
|
|
41
|
+
true: {
|
|
42
|
+
base: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
variant: {
|
|
46
|
+
solid: {};
|
|
47
|
+
bordered: {
|
|
48
|
+
base: string;
|
|
49
|
+
};
|
|
50
|
+
light: {
|
|
51
|
+
base: string;
|
|
52
|
+
};
|
|
53
|
+
flat: {};
|
|
54
|
+
faded: {
|
|
55
|
+
base: string;
|
|
56
|
+
};
|
|
57
|
+
shadow: {};
|
|
58
|
+
dot: {
|
|
59
|
+
base: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
base: string;
|
|
64
|
+
closeButton: string;
|
|
65
|
+
content: string;
|
|
66
|
+
dot: string;
|
|
67
|
+
icon: string;
|
|
68
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
69
|
+
color: {
|
|
70
|
+
default: {
|
|
71
|
+
dot: string;
|
|
72
|
+
};
|
|
73
|
+
primary: {
|
|
74
|
+
dot: string;
|
|
75
|
+
};
|
|
76
|
+
secondary: {
|
|
77
|
+
dot: string;
|
|
78
|
+
};
|
|
79
|
+
success: {
|
|
80
|
+
dot: string;
|
|
81
|
+
};
|
|
82
|
+
warning: {
|
|
83
|
+
dot: string;
|
|
84
|
+
};
|
|
85
|
+
danger: {
|
|
86
|
+
dot: string;
|
|
87
|
+
};
|
|
88
|
+
info: {
|
|
89
|
+
dot: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
isIconOnly: {
|
|
93
|
+
true: {
|
|
94
|
+
content: string;
|
|
95
|
+
};
|
|
96
|
+
false: {
|
|
97
|
+
content: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
hasEndContent: {
|
|
101
|
+
true: {
|
|
102
|
+
base: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
variant: {
|
|
106
|
+
solid: {};
|
|
107
|
+
bordered: {
|
|
108
|
+
base: string;
|
|
109
|
+
};
|
|
110
|
+
light: {
|
|
111
|
+
base: string;
|
|
112
|
+
};
|
|
113
|
+
flat: {};
|
|
114
|
+
faded: {
|
|
115
|
+
base: string;
|
|
116
|
+
};
|
|
117
|
+
shadow: {};
|
|
118
|
+
dot: {
|
|
119
|
+
base: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}, {
|
|
123
|
+
color: {
|
|
124
|
+
default: {
|
|
125
|
+
dot: string;
|
|
126
|
+
};
|
|
127
|
+
primary: {
|
|
128
|
+
dot: string;
|
|
129
|
+
};
|
|
130
|
+
secondary: {
|
|
131
|
+
dot: string;
|
|
132
|
+
};
|
|
133
|
+
success: {
|
|
134
|
+
dot: string;
|
|
135
|
+
};
|
|
136
|
+
warning: {
|
|
137
|
+
dot: string;
|
|
138
|
+
};
|
|
139
|
+
danger: {
|
|
140
|
+
dot: string;
|
|
141
|
+
};
|
|
142
|
+
info: {
|
|
143
|
+
dot: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
isIconOnly: {
|
|
147
|
+
true: {
|
|
148
|
+
content: string;
|
|
149
|
+
};
|
|
150
|
+
false: {
|
|
151
|
+
content: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
hasEndContent: {
|
|
155
|
+
true: {
|
|
156
|
+
base: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
variant: {
|
|
160
|
+
solid: {};
|
|
161
|
+
bordered: {
|
|
162
|
+
base: string;
|
|
163
|
+
};
|
|
164
|
+
light: {
|
|
165
|
+
base: string;
|
|
166
|
+
};
|
|
167
|
+
flat: {};
|
|
168
|
+
faded: {
|
|
169
|
+
base: string;
|
|
170
|
+
};
|
|
171
|
+
shadow: {};
|
|
172
|
+
dot: {
|
|
173
|
+
base: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
}>, {
|
|
177
|
+
color: {
|
|
178
|
+
default: {
|
|
179
|
+
dot: string;
|
|
180
|
+
};
|
|
181
|
+
primary: {
|
|
182
|
+
dot: string;
|
|
183
|
+
};
|
|
184
|
+
secondary: {
|
|
185
|
+
dot: string;
|
|
186
|
+
};
|
|
187
|
+
success: {
|
|
188
|
+
dot: string;
|
|
189
|
+
};
|
|
190
|
+
warning: {
|
|
191
|
+
dot: string;
|
|
192
|
+
};
|
|
193
|
+
danger: {
|
|
194
|
+
dot: string;
|
|
195
|
+
};
|
|
196
|
+
info: {
|
|
197
|
+
dot: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
isIconOnly: {
|
|
201
|
+
true: {
|
|
202
|
+
content: string;
|
|
203
|
+
};
|
|
204
|
+
false: {
|
|
205
|
+
content: string;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
hasEndContent: {
|
|
209
|
+
true: {
|
|
210
|
+
base: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
variant: {
|
|
214
|
+
solid: {};
|
|
215
|
+
bordered: {
|
|
216
|
+
base: string;
|
|
217
|
+
};
|
|
218
|
+
light: {
|
|
219
|
+
base: string;
|
|
220
|
+
};
|
|
221
|
+
flat: {};
|
|
222
|
+
faded: {
|
|
223
|
+
base: string;
|
|
224
|
+
};
|
|
225
|
+
shadow: {};
|
|
226
|
+
dot: {
|
|
227
|
+
base: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
base: string;
|
|
232
|
+
closeButton: string;
|
|
233
|
+
content: string;
|
|
234
|
+
dot: string;
|
|
235
|
+
icon: string;
|
|
236
|
+
}, tailwind_variants.TVReturnType<{
|
|
237
|
+
color: {
|
|
238
|
+
default: {
|
|
239
|
+
dot: string;
|
|
240
|
+
};
|
|
241
|
+
primary: {
|
|
242
|
+
dot: string;
|
|
243
|
+
};
|
|
244
|
+
secondary: {
|
|
245
|
+
dot: string;
|
|
246
|
+
};
|
|
247
|
+
success: {
|
|
248
|
+
dot: string;
|
|
249
|
+
};
|
|
250
|
+
warning: {
|
|
251
|
+
dot: string;
|
|
252
|
+
};
|
|
253
|
+
danger: {
|
|
254
|
+
dot: string;
|
|
255
|
+
};
|
|
256
|
+
info: {
|
|
257
|
+
dot: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
isIconOnly: {
|
|
261
|
+
true: {
|
|
262
|
+
content: string;
|
|
263
|
+
};
|
|
264
|
+
false: {
|
|
265
|
+
content: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
hasEndContent: {
|
|
269
|
+
true: {
|
|
270
|
+
base: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
variant: {
|
|
274
|
+
solid: {};
|
|
275
|
+
bordered: {
|
|
276
|
+
base: string;
|
|
277
|
+
};
|
|
278
|
+
light: {
|
|
279
|
+
base: string;
|
|
280
|
+
};
|
|
281
|
+
flat: {};
|
|
282
|
+
faded: {
|
|
283
|
+
base: string;
|
|
284
|
+
};
|
|
285
|
+
shadow: {};
|
|
286
|
+
dot: {
|
|
287
|
+
base: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
}, {
|
|
291
|
+
base: string;
|
|
292
|
+
closeButton: string;
|
|
293
|
+
content: string;
|
|
294
|
+
dot: string;
|
|
295
|
+
icon: string;
|
|
296
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
297
|
+
color: {
|
|
298
|
+
default: {
|
|
299
|
+
dot: string;
|
|
300
|
+
};
|
|
301
|
+
primary: {
|
|
302
|
+
dot: string;
|
|
303
|
+
};
|
|
304
|
+
secondary: {
|
|
305
|
+
dot: string;
|
|
306
|
+
};
|
|
307
|
+
success: {
|
|
308
|
+
dot: string;
|
|
309
|
+
};
|
|
310
|
+
warning: {
|
|
311
|
+
dot: string;
|
|
312
|
+
};
|
|
313
|
+
danger: {
|
|
314
|
+
dot: string;
|
|
315
|
+
};
|
|
316
|
+
info: {
|
|
317
|
+
dot: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
isIconOnly: {
|
|
321
|
+
true: {
|
|
322
|
+
content: string;
|
|
323
|
+
};
|
|
324
|
+
false: {
|
|
325
|
+
content: string;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
hasEndContent: {
|
|
329
|
+
true: {
|
|
330
|
+
base: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
variant: {
|
|
334
|
+
solid: {};
|
|
335
|
+
bordered: {
|
|
336
|
+
base: string;
|
|
337
|
+
};
|
|
338
|
+
light: {
|
|
339
|
+
base: string;
|
|
340
|
+
};
|
|
341
|
+
flat: {};
|
|
342
|
+
faded: {
|
|
343
|
+
base: string;
|
|
344
|
+
};
|
|
345
|
+
shadow: {};
|
|
346
|
+
dot: {
|
|
347
|
+
base: string;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
}, {
|
|
351
|
+
color: {
|
|
352
|
+
default: {
|
|
353
|
+
dot: string;
|
|
354
|
+
};
|
|
355
|
+
primary: {
|
|
356
|
+
dot: string;
|
|
357
|
+
};
|
|
358
|
+
secondary: {
|
|
359
|
+
dot: string;
|
|
360
|
+
};
|
|
361
|
+
success: {
|
|
362
|
+
dot: string;
|
|
363
|
+
};
|
|
364
|
+
warning: {
|
|
365
|
+
dot: string;
|
|
366
|
+
};
|
|
367
|
+
danger: {
|
|
368
|
+
dot: string;
|
|
369
|
+
};
|
|
370
|
+
info: {
|
|
371
|
+
dot: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
isIconOnly: {
|
|
375
|
+
true: {
|
|
376
|
+
content: string;
|
|
377
|
+
};
|
|
378
|
+
false: {
|
|
379
|
+
content: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
hasEndContent: {
|
|
383
|
+
true: {
|
|
384
|
+
base: string;
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
variant: {
|
|
388
|
+
solid: {};
|
|
389
|
+
bordered: {
|
|
390
|
+
base: string;
|
|
391
|
+
};
|
|
392
|
+
light: {
|
|
393
|
+
base: string;
|
|
394
|
+
};
|
|
395
|
+
flat: {};
|
|
396
|
+
faded: {
|
|
397
|
+
base: string;
|
|
398
|
+
};
|
|
399
|
+
shadow: {};
|
|
400
|
+
dot: {
|
|
401
|
+
base: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
}>, unknown, unknown, undefined>>;
|
|
405
|
+
type VariantProps = TVProps<typeof labelVariants>;
|
|
406
|
+
type ClassName = TVClassName<typeof labelVariants>;
|
|
407
|
+
interface LabelProps extends VariantProps {
|
|
408
|
+
/** content of the label */
|
|
409
|
+
children?: ReactNode;
|
|
410
|
+
/** CSS class name */
|
|
411
|
+
className?: ClassName;
|
|
412
|
+
/** color of the label */
|
|
413
|
+
color?: VariantProps['color'];
|
|
414
|
+
/** element to be rendered in the right side of the label */
|
|
415
|
+
endContent?: ChipProps['endContent'];
|
|
416
|
+
/** optional label icon, when only icon provided without children and endContent */
|
|
417
|
+
icon?: ReactNode;
|
|
418
|
+
/** add close button to endContent */
|
|
419
|
+
onClose?: ChipProps['onClose'];
|
|
420
|
+
/** radius of the label */
|
|
421
|
+
radius?: ChipProps['radius'];
|
|
422
|
+
/** size of the label */
|
|
423
|
+
size?: ChipProps['size'];
|
|
424
|
+
/** style variant of the label */
|
|
425
|
+
variant?: 'solid' | 'bordered' | 'light' | 'flat' | 'faded' | 'dot';
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Label component based on [HeroUI Chip](https://www.heroui.com//docs/components/chip)
|
|
429
|
+
*/
|
|
430
|
+
declare const Label: ({ children, className: _className, color, endContent, icon, onClose, radius, size, variant, }: LabelProps) => react_jsx_runtime.JSX.Element;
|
|
431
|
+
|
|
432
|
+
export { Label as L, type LabelProps as a, labelVariants as l };
|