@fuf-stack/pixels 0.40.0 → 0.41.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.
Files changed (66) hide show
  1. package/dist/Avatar/index.d.cts +2 -2
  2. package/dist/Avatar/index.d.ts +2 -2
  3. package/dist/AvatarGroup/index.d.cts +3 -3
  4. package/dist/AvatarGroup/index.d.ts +3 -3
  5. package/dist/{AvatarGroup-BMKOfE_a.d.ts → AvatarGroup-BfOtqfJy.d.ts} +1 -1
  6. package/dist/{AvatarGroup-2Lmu_V2d.d.cts → AvatarGroup-CUyQwK3t.d.cts} +1 -1
  7. package/dist/Button/index.cjs +2 -2
  8. package/dist/Button/index.js +1 -1
  9. package/dist/Drawer/index.d.cts +2 -2
  10. package/dist/Drawer/index.d.ts +2 -2
  11. package/dist/Json/index.cjs +3 -3
  12. package/dist/Json/index.js +2 -2
  13. package/dist/Progress/index.cjs +5 -82
  14. package/dist/Progress/index.cjs.map +1 -1
  15. package/dist/Progress/index.d.cts +9 -222
  16. package/dist/Progress/index.d.ts +9 -222
  17. package/dist/Progress/index.js +5 -82
  18. package/dist/Progress/index.js.map +1 -1
  19. package/dist/Progress-7yXUVioO.d.cts +228 -0
  20. package/dist/Progress-7yXUVioO.d.ts +228 -0
  21. package/dist/ProgressCircular/index.cjs +12 -0
  22. package/dist/ProgressCircular/index.cjs.map +1 -0
  23. package/dist/ProgressCircular/index.d.cts +11 -0
  24. package/dist/ProgressCircular/index.d.ts +11 -0
  25. package/dist/ProgressCircular/index.js +12 -0
  26. package/dist/ProgressCircular-U4kPZ1T1.d.cts +414 -0
  27. package/dist/ProgressCircular-U4kPZ1T1.d.ts +414 -0
  28. package/dist/{chunk-HHCDSQ6N.cjs → chunk-FLPLJTAC.cjs} +2 -2
  29. package/dist/{chunk-HHCDSQ6N.cjs.map → chunk-FLPLJTAC.cjs.map} +1 -1
  30. package/dist/chunk-GJQTAEHH.js +113 -0
  31. package/dist/chunk-GJQTAEHH.js.map +1 -0
  32. package/dist/{chunk-374SO74F.cjs → chunk-J63YGHTG.cjs} +3 -3
  33. package/dist/{chunk-374SO74F.cjs.map → chunk-J63YGHTG.cjs.map} +1 -1
  34. package/dist/{chunk-Q5DUSUCZ.js → chunk-MAKWBTTW.js} +2 -2
  35. package/dist/{chunk-Q5DUSUCZ.js.map → chunk-MAKWBTTW.js.map} +1 -1
  36. package/dist/chunk-RV7YPQXI.js +95 -0
  37. package/dist/chunk-RV7YPQXI.js.map +1 -0
  38. package/dist/chunk-VGXW3PSF.cjs +95 -0
  39. package/dist/chunk-VGXW3PSF.cjs.map +1 -0
  40. package/dist/{chunk-L3DEBOPG.js → chunk-VRPX6QUG.js} +2 -2
  41. package/dist/chunk-WCRVH4DS.cjs +113 -0
  42. package/dist/chunk-WCRVH4DS.cjs.map +1 -0
  43. package/dist/index.cjs +15 -13
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +5 -4
  46. package/dist/index.d.ts +5 -4
  47. package/dist/index.js +18 -16
  48. package/dist/index.js.map +1 -1
  49. package/package.json +29 -29
  50. package/dist/CircularProgress/index.cjs +0 -14
  51. package/dist/CircularProgress/index.cjs.map +0 -1
  52. package/dist/CircularProgress/index.d.cts +0 -11
  53. package/dist/CircularProgress/index.d.ts +0 -11
  54. package/dist/CircularProgress/index.js +0 -14
  55. package/dist/CircularProgress-DHrnT6wz.d.cts +0 -182
  56. package/dist/CircularProgress-DHrnT6wz.d.ts +0 -182
  57. package/dist/chunk-37WQ3CBA.cjs +0 -98
  58. package/dist/chunk-37WQ3CBA.cjs.map +0 -1
  59. package/dist/chunk-M3PL6G7W.js +0 -98
  60. package/dist/chunk-M3PL6G7W.js.map +0 -1
  61. package/dist/{Avatar-B8lVnLpp.d.cts → Avatar-ylNJ_-dY.d.cts} +5 -5
  62. package/dist/{Avatar-B8lVnLpp.d.ts → Avatar-ylNJ_-dY.d.ts} +5 -5
  63. package/dist/{Drawer-DmwcvuKe.d.cts → Drawer-BnV9qxPA.d.cts} +5 -5
  64. package/dist/{Drawer-DmwcvuKe.d.ts → Drawer-BnV9qxPA.d.ts} +5 -5
  65. /package/dist/{CircularProgress → ProgressCircular}/index.js.map +0 -0
  66. /package/dist/{chunk-L3DEBOPG.js.map → chunk-VRPX6QUG.js.map} +0 -0
@@ -1,224 +1,11 @@
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 { ReactNode } from 'react';
1
+ import { P as Progress } from '../Progress-7yXUVioO.js';
2
+ export { a as ProgressProps, p as progressVariants } from '../Progress-7yXUVioO.js';
3
+ import 'react/jsx-runtime';
4
+ import 'tailwind-variants';
5
+ import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
7
+ import 'react';
6
8
 
7
- declare const progressVariants: tailwind_variants.TVReturnType<{
8
- color: {
9
- danger: {
10
- indicator: string;
11
- };
12
- default: {
13
- indicator: string;
14
- };
15
- info: {
16
- indicator: string;
17
- };
18
- primary: {
19
- indicator: string;
20
- };
21
- secondary: {
22
- indicator: string;
23
- };
24
- success: {
25
- indicator: string;
26
- };
27
- warning: {
28
- indicator: string;
29
- };
30
- };
31
- }, {
32
- base: string;
33
- indicator: string;
34
- label: string;
35
- labelWrapper: string;
36
- track: string;
37
- value: string;
38
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
39
- color: {
40
- danger: {
41
- indicator: string;
42
- };
43
- default: {
44
- indicator: string;
45
- };
46
- info: {
47
- indicator: string;
48
- };
49
- primary: {
50
- indicator: string;
51
- };
52
- secondary: {
53
- indicator: string;
54
- };
55
- success: {
56
- indicator: string;
57
- };
58
- warning: {
59
- indicator: string;
60
- };
61
- };
62
- }, {
63
- color: {
64
- danger: {
65
- indicator: string;
66
- };
67
- default: {
68
- indicator: string;
69
- };
70
- info: {
71
- indicator: string;
72
- };
73
- primary: {
74
- indicator: string;
75
- };
76
- secondary: {
77
- indicator: string;
78
- };
79
- success: {
80
- indicator: string;
81
- };
82
- warning: {
83
- indicator: string;
84
- };
85
- };
86
- }>, {
87
- color: {
88
- danger: {
89
- indicator: string;
90
- };
91
- default: {
92
- indicator: string;
93
- };
94
- info: {
95
- indicator: string;
96
- };
97
- primary: {
98
- indicator: string;
99
- };
100
- secondary: {
101
- indicator: string;
102
- };
103
- success: {
104
- indicator: string;
105
- };
106
- warning: {
107
- indicator: string;
108
- };
109
- };
110
- }, {
111
- base: string;
112
- indicator: string;
113
- label: string;
114
- labelWrapper: string;
115
- track: string;
116
- value: string;
117
- }, tailwind_variants.TVReturnType<{
118
- color: {
119
- danger: {
120
- indicator: string;
121
- };
122
- default: {
123
- indicator: string;
124
- };
125
- info: {
126
- indicator: string;
127
- };
128
- primary: {
129
- indicator: string;
130
- };
131
- secondary: {
132
- indicator: string;
133
- };
134
- success: {
135
- indicator: string;
136
- };
137
- warning: {
138
- indicator: string;
139
- };
140
- };
141
- }, {
142
- base: string;
143
- indicator: string;
144
- label: string;
145
- labelWrapper: string;
146
- track: string;
147
- value: string;
148
- }, undefined, tailwind_variants_dist_config_js.TVConfig<{
149
- color: {
150
- danger: {
151
- indicator: string;
152
- };
153
- default: {
154
- indicator: string;
155
- };
156
- info: {
157
- indicator: string;
158
- };
159
- primary: {
160
- indicator: string;
161
- };
162
- secondary: {
163
- indicator: string;
164
- };
165
- success: {
166
- indicator: string;
167
- };
168
- warning: {
169
- indicator: string;
170
- };
171
- };
172
- }, {
173
- color: {
174
- danger: {
175
- indicator: string;
176
- };
177
- default: {
178
- indicator: string;
179
- };
180
- info: {
181
- indicator: string;
182
- };
183
- primary: {
184
- indicator: string;
185
- };
186
- secondary: {
187
- indicator: string;
188
- };
189
- success: {
190
- indicator: string;
191
- };
192
- warning: {
193
- indicator: string;
194
- };
195
- };
196
- }>, unknown, unknown, undefined>>;
197
- type VariantProps = TVProps<typeof progressVariants>;
198
- type ClassName = TVClassName<typeof progressVariants>;
199
- interface ProgressProps extends VariantProps {
200
- /** CSS class name */
201
- className?: ClassName;
202
- /** color of the progress bar */
203
- color?: VariantProps['color'];
204
- /** function to format the progress value */
205
- format?: (percent: number) => ReactNode;
206
- /** label of the progress bar */
207
- label?: ReactNode;
208
- /** percentage/progress of the progress bar */
209
- percent: number;
210
- /** whether to show the value label */
211
- showValueLabel?: boolean;
212
- /** size of the progress bar */
213
- size?: 'sm' | 'md' | 'lg';
214
- /** whether to show success color on complete */
215
- successOnComplete?: boolean;
216
- /** HTML data-testid attribute used in e2e tests */
217
- testId?: string;
218
- }
219
- /**
220
- * Progress component based on [HeroUI Progress](https://www.heroui.com//docs/components/progress)
221
- */
222
- declare const Progress: ({ className, color, format, label, percent, showValueLabel, size, successOnComplete, testId, }: ProgressProps) => react_jsx_runtime.JSX.Element;
223
9
 
224
- export { Progress, type ProgressProps, type VariantProps, Progress as default, progressVariants };
10
+
11
+ export { Progress, Progress as default };
@@ -1,86 +1,9 @@
1
+ import {
2
+ Progress_default,
3
+ Progress_default2,
4
+ progressVariants
5
+ } from "../chunk-RV7YPQXI.js";
1
6
  import "../chunk-J7N2552D.js";
2
-
3
- // src/Progress/Progress.tsx
4
- import { Progress as HeroProgress } from "@heroui/progress";
5
- import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
6
- import { jsx } from "react/jsx-runtime";
7
- var progressVariants = tv({
8
- slots: {
9
- base: "",
10
- // wrapper around the whole component
11
- indicator: "",
12
- // indicator of the progress (finished part)
13
- label: "",
14
- // label at the top left of the progress bar
15
- labelWrapper: "",
16
- // wrapper around progress label and label span
17
- track: "",
18
- // track of the progress (not finished part)
19
- value: ""
20
- // span around the progress value
21
- },
22
- variants: {
23
- // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts
24
- color: {
25
- danger: {
26
- indicator: "bg-danger"
27
- },
28
- default: {
29
- indicator: "bg-default-400"
30
- },
31
- info: {
32
- indicator: "bg-info"
33
- },
34
- primary: {
35
- indicator: "bg-primary"
36
- },
37
- secondary: {
38
- indicator: "bg-secondary"
39
- },
40
- success: {
41
- indicator: "bg-success"
42
- },
43
- warning: {
44
- indicator: "bg-warning"
45
- }
46
- }
47
- }
48
- });
49
- var defaultFormat = (percent) => `${percent}%`;
50
- var Progress = ({
51
- className = void 0,
52
- color = "primary",
53
- format = defaultFormat,
54
- label = void 0,
55
- percent,
56
- showValueLabel = true,
57
- size = "md",
58
- successOnComplete = false,
59
- testId = void 0
60
- }) => {
61
- const processedColor = successOnComplete && percent >= 100 ? "success" : color;
62
- const variants = progressVariants({ color: processedColor });
63
- const classNames = variantsToClassNames(variants, className, "base");
64
- const value = format(percent);
65
- return /* @__PURE__ */ jsx(
66
- HeroProgress,
67
- {
68
- "aria-label": "Loading...",
69
- classNames,
70
- "data-testid": testId,
71
- formatOptions: void 0,
72
- label,
73
- showValueLabel,
74
- size,
75
- value: percent || 0,
76
- valueLabel: !!percent && value
77
- }
78
- );
79
- };
80
- var Progress_default = Progress;
81
-
82
- // src/Progress/index.ts
83
- var Progress_default2 = Progress_default;
84
7
  export {
85
8
  Progress_default as Progress,
86
9
  Progress_default2 as default,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Progress/Progress.tsx","../../src/Progress/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport { Progress as HeroProgress } from '@heroui/progress';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// progress styling variants\nexport const progressVariants = tv({\n slots: {\n base: '', // wrapper around the whole component\n indicator: '', // indicator of the progress (finished part)\n label: '', // label at the top left of the progress bar\n labelWrapper: '', // wrapper around progress label and label span\n track: '', // track of the progress (not finished part)\n value: '', // span around the progress value\n },\n variants: {\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts\n color: {\n danger: {\n indicator: 'bg-danger',\n },\n default: {\n indicator: 'bg-default-400',\n },\n info: {\n indicator: 'bg-info',\n },\n primary: {\n indicator: 'bg-primary',\n },\n secondary: {\n indicator: 'bg-secondary',\n },\n success: {\n indicator: 'bg-success',\n },\n warning: {\n indicator: 'bg-warning',\n },\n },\n },\n});\n\nexport type VariantProps = TVProps<typeof progressVariants>;\ntype ClassName = TVClassName<typeof progressVariants>;\n\nexport interface ProgressProps extends VariantProps {\n /** CSS class name */\n className?: ClassName;\n /** color of the progress bar */\n color?: VariantProps['color'];\n /** function to format the progress value */\n format?: (percent: number) => ReactNode;\n /** label of the progress bar */\n label?: ReactNode;\n /** percentage/progress of the progress bar */\n percent: number;\n /** whether to show the value label */\n showValueLabel?: boolean;\n /** size of the progress bar */\n size?: 'sm' | 'md' | 'lg';\n /** whether to show success color on complete */\n successOnComplete?: boolean;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n}\n\nconst defaultFormat = (percent: number) => `${percent}%`;\n\n/**\n * Progress component based on [HeroUI Progress](https://www.heroui.com//docs/components/progress)\n */\nconst Progress = ({\n className = undefined,\n color = 'primary',\n format = defaultFormat,\n label = undefined,\n percent,\n showValueLabel = true,\n size = 'md',\n successOnComplete = false,\n testId = undefined,\n}: ProgressProps) => {\n const processedColor =\n successOnComplete && percent >= 100 ? 'success' : color;\n\n const variants = progressVariants({ color: processedColor });\n const classNames = variantsToClassNames(variants, className, 'base');\n\n const value = format(percent);\n\n return (\n <HeroProgress\n aria-label=\"Loading...\"\n classNames={classNames}\n data-testid={testId}\n formatOptions={undefined}\n label={label}\n showValueLabel={showValueLabel}\n size={size}\n value={percent || 0}\n valueLabel={!!percent && value}\n />\n );\n};\n\nexport default Progress;\n","import Progress, { progressVariants } from './Progress';\n\nexport type { ProgressProps, VariantProps } from './Progress';\n\nexport { Progress, progressVariants };\n\nexport default Progress;\n"],"mappings":";;;AAGA,SAAS,YAAY,oBAAoB;AAEzC,SAAS,IAAI,4BAA4B;AAyFrC;AAtFG,IAAM,mBAAmB,GAAG;AAAA,EACjC,OAAO;AAAA,IACL,MAAM;AAAA;AAAA,IACN,WAAW;AAAA;AAAA,IACX,OAAO;AAAA;AAAA,IACP,cAAc;AAAA;AAAA,IACd,OAAO;AAAA;AAAA,IACP,OAAO;AAAA;AAAA,EACT;AAAA,EACA,UAAU;AAAA;AAAA,IAER,OAAO;AAAA,MACL,QAAQ;AAAA,QACN,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,MAAM;AAAA,QACJ,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,WAAW;AAAA,QACT,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF,CAAC;AA0BD,IAAM,gBAAgB,CAAC,YAAoB,GAAG,OAAO;AAKrD,IAAM,WAAW,CAAC;AAAA,EAChB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR;AAAA,EACA,iBAAiB;AAAA,EACjB,OAAO;AAAA,EACP,oBAAoB;AAAA,EACpB,SAAS;AACX,MAAqB;AACnB,QAAM,iBACJ,qBAAqB,WAAW,MAAM,YAAY;AAEpD,QAAM,WAAW,iBAAiB,EAAE,OAAO,eAAe,CAAC;AAC3D,QAAM,aAAa,qBAAqB,UAAU,WAAW,MAAM;AAEnE,QAAM,QAAQ,OAAO,OAAO;AAE5B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAW;AAAA,MACX;AAAA,MACA,eAAa;AAAA,MACb,eAAe;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA,OAAO,WAAW;AAAA,MAClB,YAAY,CAAC,CAAC,WAAW;AAAA;AAAA,EAC3B;AAEJ;AAEA,IAAO,mBAAQ;;;ACtGf,IAAOA,oBAAQ;","names":["Progress_default"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,228 @@
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 { ReactNode } from 'react';
6
+
7
+ declare const progressVariants: tailwind_variants.TVReturnType<{
8
+ color: {
9
+ danger: {
10
+ indicator: string;
11
+ };
12
+ default: {
13
+ indicator: string;
14
+ };
15
+ info: {
16
+ indicator: string;
17
+ };
18
+ primary: {
19
+ indicator: string;
20
+ };
21
+ secondary: {
22
+ indicator: string;
23
+ };
24
+ success: {
25
+ indicator: string;
26
+ };
27
+ warning: {
28
+ indicator: string;
29
+ };
30
+ };
31
+ }, {
32
+ base: string;
33
+ indicator: string;
34
+ label: string;
35
+ labelWrapper: string;
36
+ track: string;
37
+ value: string;
38
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
39
+ color: {
40
+ danger: {
41
+ indicator: string;
42
+ };
43
+ default: {
44
+ indicator: string;
45
+ };
46
+ info: {
47
+ indicator: string;
48
+ };
49
+ primary: {
50
+ indicator: string;
51
+ };
52
+ secondary: {
53
+ indicator: string;
54
+ };
55
+ success: {
56
+ indicator: string;
57
+ };
58
+ warning: {
59
+ indicator: string;
60
+ };
61
+ };
62
+ }, {
63
+ color: {
64
+ danger: {
65
+ indicator: string;
66
+ };
67
+ default: {
68
+ indicator: string;
69
+ };
70
+ info: {
71
+ indicator: string;
72
+ };
73
+ primary: {
74
+ indicator: string;
75
+ };
76
+ secondary: {
77
+ indicator: string;
78
+ };
79
+ success: {
80
+ indicator: string;
81
+ };
82
+ warning: {
83
+ indicator: string;
84
+ };
85
+ };
86
+ }>, {
87
+ color: {
88
+ danger: {
89
+ indicator: string;
90
+ };
91
+ default: {
92
+ indicator: string;
93
+ };
94
+ info: {
95
+ indicator: string;
96
+ };
97
+ primary: {
98
+ indicator: string;
99
+ };
100
+ secondary: {
101
+ indicator: string;
102
+ };
103
+ success: {
104
+ indicator: string;
105
+ };
106
+ warning: {
107
+ indicator: string;
108
+ };
109
+ };
110
+ }, {
111
+ base: string;
112
+ indicator: string;
113
+ label: string;
114
+ labelWrapper: string;
115
+ track: string;
116
+ value: string;
117
+ }, tailwind_variants.TVReturnType<{
118
+ color: {
119
+ danger: {
120
+ indicator: string;
121
+ };
122
+ default: {
123
+ indicator: string;
124
+ };
125
+ info: {
126
+ indicator: string;
127
+ };
128
+ primary: {
129
+ indicator: string;
130
+ };
131
+ secondary: {
132
+ indicator: string;
133
+ };
134
+ success: {
135
+ indicator: string;
136
+ };
137
+ warning: {
138
+ indicator: string;
139
+ };
140
+ };
141
+ }, {
142
+ base: string;
143
+ indicator: string;
144
+ label: string;
145
+ labelWrapper: string;
146
+ track: string;
147
+ value: string;
148
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
149
+ color: {
150
+ danger: {
151
+ indicator: string;
152
+ };
153
+ default: {
154
+ indicator: string;
155
+ };
156
+ info: {
157
+ indicator: string;
158
+ };
159
+ primary: {
160
+ indicator: string;
161
+ };
162
+ secondary: {
163
+ indicator: string;
164
+ };
165
+ success: {
166
+ indicator: string;
167
+ };
168
+ warning: {
169
+ indicator: string;
170
+ };
171
+ };
172
+ }, {
173
+ color: {
174
+ danger: {
175
+ indicator: string;
176
+ };
177
+ default: {
178
+ indicator: string;
179
+ };
180
+ info: {
181
+ indicator: string;
182
+ };
183
+ primary: {
184
+ indicator: string;
185
+ };
186
+ secondary: {
187
+ indicator: string;
188
+ };
189
+ success: {
190
+ indicator: string;
191
+ };
192
+ warning: {
193
+ indicator: string;
194
+ };
195
+ };
196
+ }>, unknown, unknown, undefined>>;
197
+ type VariantProps = TVProps<typeof progressVariants>;
198
+ type ClassName = TVClassName<typeof progressVariants>;
199
+ interface ProgressProps extends VariantProps {
200
+ /** sets HTML aria-label attribute */
201
+ ariaLabel?: string;
202
+ /** CSS class name */
203
+ className?: ClassName;
204
+ /** color of the progress bar */
205
+ color?: VariantProps['color'];
206
+ /** disables all animations */
207
+ disableAnimation?: boolean;
208
+ /** function to format the progress value */
209
+ format?: (percent: number) => ReactNode;
210
+ /** shows indeterminate progress animation */
211
+ indeterminate?: boolean;
212
+ /** label of the progress bar */
213
+ label?: ReactNode;
214
+ /** percentage / progress of the progress bar */
215
+ percent: number;
216
+ /** whether to show the value label */
217
+ showValueLabel?: boolean;
218
+ /** size of the progress bar */
219
+ size?: 'sm' | 'md' | 'lg';
220
+ /** HTML data-testid attribute used in e2e tests */
221
+ testId?: string;
222
+ }
223
+ /**
224
+ * Progress component based on [HeroUI Progress](https://www.heroui.com//docs/components/progress)
225
+ */
226
+ declare const Progress: ({ ariaLabel, className, color, disableAnimation, format, indeterminate, label, percent, showValueLabel, size, testId, }: ProgressProps) => react_jsx_runtime.JSX.Element;
227
+
228
+ export { Progress as P, type ProgressProps as a, progressVariants as p };