@codefast/ui 0.3.11-canary.1 → 0.3.11
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/CHANGELOG.md +36 -0
- package/README.md +34 -14
- package/dist/components/accordion.d.ts +29 -10
- package/dist/components/accordion.js +38 -37
- package/dist/components/alert-dialog.d.ts +60 -24
- package/dist/components/alert-dialog.js +69 -72
- package/dist/components/alert.d.ts +27 -15
- package/dist/components/alert.js +29 -31
- package/dist/components/aspect-ratio.d.ts +8 -4
- package/dist/components/aspect-ratio.js +7 -5
- package/dist/components/avatar.d.ts +17 -6
- package/dist/components/avatar.js +19 -17
- package/dist/components/badge.d.ts +21 -14
- package/dist/components/badge.js +19 -22
- package/dist/components/breadcrumb.d.ts +35 -12
- package/dist/components/breadcrumb.js +48 -54
- package/dist/components/button-group.d.ts +29 -14
- package/dist/components/button-group.js +27 -32
- package/dist/components/button.d.ts +35 -25
- package/dist/components/button.js +50 -48
- package/dist/components/calendar.d.ts +24 -9
- package/dist/components/calendar.js +92 -98
- package/dist/components/card.d.ts +34 -10
- package/dist/components/card.js +39 -37
- package/dist/components/carousel.d.ts +55 -24
- package/dist/components/carousel.js +113 -130
- package/dist/components/chart.d.ts +72 -36
- package/dist/components/chart.js +154 -166
- package/dist/components/checkbox-cards.d.ts +15 -8
- package/dist/components/checkbox-cards.js +22 -25
- package/dist/components/checkbox-group.d.ts +16 -8
- package/dist/components/checkbox-group.js +19 -19
- package/dist/components/checkbox.d.ts +9 -4
- package/dist/components/checkbox.js +14 -14
- package/dist/components/collapsible.d.ts +14 -6
- package/dist/components/collapsible.js +18 -16
- package/dist/components/command.d.ts +55 -23
- package/dist/components/command.js +70 -85
- package/dist/components/context-menu.d.ts +72 -22
- package/dist/components/context-menu.js +88 -109
- package/dist/components/dialog.d.ts +53 -22
- package/dist/components/dialog.js +71 -85
- package/dist/components/drawer.d.ts +60 -28
- package/dist/components/drawer.js +59 -67
- package/dist/components/dropdown-menu.d.ts +73 -22
- package/dist/components/dropdown-menu.js +95 -112
- package/dist/components/empty.d.ts +37 -15
- package/dist/components/empty.js +43 -45
- package/dist/components/field.d.ts +63 -25
- package/dist/components/field.js +88 -104
- package/dist/components/form.d.ts +37 -15
- package/dist/components/form.js +65 -70
- package/dist/components/hover-card.d.ts +21 -7
- package/dist/components/hover-card.js +24 -24
- package/dist/components/input-group.d.ts +53 -28
- package/dist/components/input-group.js +63 -77
- package/dist/components/input-number.d.ts +28 -7
- package/dist/components/input-number.js +55 -59
- package/dist/components/input-otp.d.ts +24 -10
- package/dist/components/input-otp.js +33 -37
- package/dist/components/input-password.d.ts +12 -5
- package/dist/components/input-password.js +31 -32
- package/dist/components/input-search.d.ts +18 -8
- package/dist/components/input-search.js +43 -41
- package/dist/components/input.d.ts +10 -4
- package/dist/components/input.js +9 -7
- package/dist/components/item.d.ts +69 -32
- package/dist/components/item.js +89 -92
- package/dist/components/kbd.d.ts +13 -5
- package/dist/components/kbd.js +13 -11
- package/dist/components/label.d.ts +9 -4
- package/dist/components/label.js +9 -7
- package/dist/components/menubar.d.ts +80 -23
- package/dist/components/menubar.js +97 -118
- package/dist/components/native-select.d.ts +16 -6
- package/dist/components/native-select.js +25 -26
- package/dist/components/navigation-menu.d.ts +36 -12
- package/dist/components/navigation-menu.js +60 -75
- package/dist/components/pagination.d.ts +35 -14
- package/dist/components/pagination.js +54 -69
- package/dist/components/popover.d.ts +24 -8
- package/dist/components/popover.js +28 -28
- package/dist/components/progress-circle.d.ts +106 -88
- package/dist/components/progress-circle.js +106 -138
- package/dist/components/progress.d.ts +10 -4
- package/dist/components/progress.js +14 -14
- package/dist/components/radio-cards.d.ts +10 -4
- package/dist/components/radio-cards.js +22 -23
- package/dist/components/radio-group.d.ts +13 -5
- package/dist/components/radio-group.js +18 -16
- package/dist/components/radio.d.ts +12 -5
- package/dist/components/radio.js +10 -8
- package/dist/components/resizable.d.ts +18 -7
- package/dist/components/resizable.js +22 -22
- package/dist/components/scroll-area.d.ts +33 -20
- package/dist/components/scroll-area.js +84 -88
- package/dist/components/select.d.ts +50 -16
- package/dist/components/select.js +77 -96
- package/dist/components/separator.d.ts +29 -19
- package/dist/components/separator.js +36 -34
- package/dist/components/sheet.d.ts +62 -29
- package/dist/components/sheet.js +79 -100
- package/dist/components/sidebar.d.ts +160 -66
- package/dist/components/sidebar.js +294 -336
- package/dist/components/skeleton.d.ts +9 -4
- package/dist/components/skeleton.js +8 -6
- package/dist/components/slider.d.ts +13 -4
- package/dist/components/slider.js +34 -40
- package/dist/components/sonner.d.ts +10 -7
- package/dist/components/sonner.js +16 -14
- package/dist/components/spinner.d.ts +12 -5
- package/dist/components/spinner.js +33 -35
- package/dist/components/switch.d.ts +9 -4
- package/dist/components/switch.js +13 -11
- package/dist/components/table.d.ts +37 -11
- package/dist/components/table.js +47 -45
- package/dist/components/tabs.d.ts +21 -7
- package/dist/components/tabs.js +24 -22
- package/dist/components/textarea.d.ts +9 -4
- package/dist/components/textarea.js +8 -6
- package/dist/components/toggle-group.d.ts +24 -9
- package/dist/components/toggle-group.js +41 -42
- package/dist/components/toggle.d.ts +25 -17
- package/dist/components/toggle.js +30 -28
- package/dist/components/tooltip.d.ts +24 -8
- package/dist/components/tooltip.js +29 -32
- package/dist/hooks/use-animated-value.d.ts +4 -1
- package/dist/hooks/use-animated-value.js +57 -36
- package/dist/hooks/use-copy-to-clipboard.d.ts +11 -5
- package/dist/hooks/use-copy-to-clipboard.js +39 -20
- package/dist/hooks/use-is-mobile.d.ts +4 -1
- package/dist/hooks/use-is-mobile.js +21 -1
- package/dist/hooks/use-media-query.d.ts +4 -1
- package/dist/hooks/use-media-query.js +45 -18
- package/dist/hooks/use-mutation-observer.d.ts +6 -2
- package/dist/hooks/use-mutation-observer.js +34 -16
- package/dist/hooks/use-pagination.d.ts +22 -14
- package/dist/hooks/use-pagination.js +100 -49
- package/dist/index.d.ts +69 -130
- package/dist/index.js +11 -11
- package/dist/primitives/checkbox-group.d.ts +105 -83
- package/dist/primitives/checkbox-group.js +111 -84
- package/dist/primitives/input-number.d.ts +51 -40
- package/dist/primitives/input-number.js +483 -350
- package/dist/primitives/input.d.ts +48 -42
- package/dist/primitives/input.js +65 -43
- package/dist/primitives/progress-circle.d.ts +79 -48
- package/dist/primitives/progress-circle.js +154 -105
- package/package.json +6 -7
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, JSX, PropsWithChildren, ReactNode } from "react";
|
|
2
|
+
import * as _$_radix_ui_react_context0 from "@radix-ui/react-context";
|
|
3
|
+
import { Scope } from "@radix-ui/react-context";
|
|
4
|
+
|
|
5
|
+
//#region src/primitives/input.d.ts
|
|
3
6
|
/**
|
|
4
7
|
* Type for adding scope to component props
|
|
5
8
|
*/
|
|
6
9
|
type ScopedProps<P> = P & {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Scope for the Input component context
|
|
12
|
+
*/
|
|
13
|
+
__scopeInput?: Scope;
|
|
11
14
|
};
|
|
12
|
-
declare const createInputScope:
|
|
15
|
+
declare const createInputScope: _$_radix_ui_react_context0.CreateScope;
|
|
13
16
|
/**
|
|
14
17
|
* Props for styling and appearance of the Input component
|
|
15
18
|
*/
|
|
16
19
|
interface InputVisualProps {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
/**
|
|
21
|
+
* CSS class name for the input container
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Element to display before the input
|
|
26
|
+
*/
|
|
27
|
+
prefix?: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Custom spinner element for loading state
|
|
30
|
+
*/
|
|
31
|
+
spinner?: ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Element to display after the input
|
|
34
|
+
*/
|
|
35
|
+
suffix?: ReactNode;
|
|
33
36
|
}
|
|
34
37
|
/**
|
|
35
38
|
* Props for the behavior and state of the Input component
|
|
36
39
|
*/
|
|
37
40
|
interface InputBehaviorProps {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Whether the input is disabled
|
|
43
|
+
*/
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Position of the loading spinner - either before or after the input
|
|
47
|
+
*/
|
|
48
|
+
loaderPosition?: "prefix" | "suffix";
|
|
49
|
+
/**
|
|
50
|
+
* Whether the input is in the loading state
|
|
51
|
+
*/
|
|
52
|
+
loading?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the input is in read-only mode
|
|
55
|
+
*/
|
|
56
|
+
readOnly?: boolean;
|
|
54
57
|
}
|
|
55
58
|
/**
|
|
56
59
|
* Combined props for the Input component
|
|
@@ -61,6 +64,9 @@ declare function Input(inputProps: ScopedProps<InputProps>): JSX.Element;
|
|
|
61
64
|
* Props for the InputField component
|
|
62
65
|
*/
|
|
63
66
|
type InputFieldProps = ComponentProps<"input">;
|
|
64
|
-
declare function InputField({
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
declare function InputField({
|
|
68
|
+
__scopeInput,
|
|
69
|
+
...props
|
|
70
|
+
}: ScopedProps<InputFieldProps>): JSX.Element;
|
|
71
|
+
//#endregion
|
|
72
|
+
export { InputField as Field, InputField, Input, Input as Root, type InputFieldProps, type InputProps, createInputScope };
|
package/dist/primitives/input.js
CHANGED
|
@@ -1,53 +1,75 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
3
|
-
import { createContextScope } from "@radix-ui/react-context";
|
|
4
2
|
import { useRef } from "react";
|
|
3
|
+
import { createContextScope } from "@radix-ui/react-context";
|
|
4
|
+
import { useComposedRefs } from "@radix-ui/react-compose-refs";
|
|
5
|
+
//#region src/primitives/input.tsx
|
|
5
6
|
const INPUT_NAME = "Input";
|
|
6
7
|
const [createInputContext, createInputScope] = createContextScope(INPUT_NAME);
|
|
7
8
|
const [InputContextProvider, useInputContext] = createInputContext(INPUT_NAME);
|
|
8
9
|
function Input(inputProps) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
10
|
+
const { __scopeInput, children, disabled, loaderPosition = "prefix", loading, prefix, readOnly, spinner, suffix, ...props } = inputProps;
|
|
11
|
+
/**
|
|
12
|
+
* Reference to the input element
|
|
13
|
+
*/
|
|
14
|
+
const inputRef = useRef(null);
|
|
15
|
+
/**
|
|
16
|
+
* Handles pointer down events on the input container
|
|
17
|
+
* Focuses the input element when clicking on the container
|
|
18
|
+
*
|
|
19
|
+
* @param event - The pointer event object
|
|
20
|
+
*/
|
|
21
|
+
const handlePointerDown = (event) => {
|
|
22
|
+
const target = event.target;
|
|
23
|
+
if (target.tagName.toLowerCase() === "input" || target.closest("input, a, button")) {
|
|
24
|
+
event.stopPropagation();
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const inputElement = inputRef.current;
|
|
28
|
+
if (!inputElement) return;
|
|
29
|
+
if (document.activeElement === inputElement) {
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
requestAnimationFrame(() => {
|
|
34
|
+
if (inputElement.type === "file") {
|
|
35
|
+
inputElement.click();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (document.activeElement !== inputElement) inputElement.focus();
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
return /* @__PURE__ */ jsx(InputContextProvider, {
|
|
42
|
+
disabled,
|
|
43
|
+
inputRef,
|
|
44
|
+
readOnly,
|
|
45
|
+
scope: __scopeInput,
|
|
46
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
47
|
+
"data-disabled": disabled,
|
|
48
|
+
"data-readonly": readOnly,
|
|
49
|
+
role: "presentation",
|
|
50
|
+
onPointerDown: handlePointerDown,
|
|
51
|
+
...props,
|
|
52
|
+
children: [
|
|
53
|
+
loading && loaderPosition === "prefix" ? spinner : prefix,
|
|
54
|
+
children,
|
|
55
|
+
loading && loaderPosition === "suffix" ? spinner : suffix
|
|
56
|
+
]
|
|
57
|
+
})
|
|
58
|
+
});
|
|
40
59
|
}
|
|
41
60
|
const INPUT_FIELD_NAME = "InputField";
|
|
42
61
|
function InputField({ __scopeInput, ...props }) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Context values from parent Input component
|
|
64
|
+
*/
|
|
65
|
+
const { disabled, inputRef, readOnly } = useInputContext(INPUT_FIELD_NAME, __scopeInput);
|
|
66
|
+
return /* @__PURE__ */ jsx("input", {
|
|
67
|
+
ref: useComposedRefs(inputRef),
|
|
68
|
+
disabled,
|
|
69
|
+
readOnly,
|
|
70
|
+
type: "text",
|
|
71
|
+
...props
|
|
72
|
+
});
|
|
52
73
|
}
|
|
53
|
-
|
|
74
|
+
//#endregion
|
|
75
|
+
export { InputField as Field, InputField, Input, Input as Root, createInputScope };
|
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import * as _$_radix_ui_react_context0 from "@radix-ui/react-context";
|
|
3
|
+
import { Scope } from "@radix-ui/react-context";
|
|
4
|
+
|
|
5
|
+
//#region src/primitives/progress-circle.d.ts
|
|
3
6
|
type ScopedProps<P> = P & {
|
|
4
|
-
|
|
7
|
+
__scopeProgressCircle?: Scope;
|
|
5
8
|
};
|
|
6
9
|
/**
|
|
7
10
|
* Defines color thresholds based on progress values
|
|
8
11
|
*/
|
|
9
12
|
interface Threshold {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Background color to be applied
|
|
15
|
+
*/
|
|
16
|
+
background: string;
|
|
17
|
+
/**
|
|
18
|
+
* Foreground color to be applied
|
|
19
|
+
*/
|
|
20
|
+
color: string;
|
|
21
|
+
/**
|
|
22
|
+
* The value at which this threshold becomes active
|
|
23
|
+
*/
|
|
24
|
+
value: number;
|
|
22
25
|
}
|
|
23
|
-
declare const createProgressCircleScope:
|
|
26
|
+
declare const createProgressCircleScope: _$_radix_ui_react_context0.CreateScope;
|
|
24
27
|
interface ProgressCircleProviderProps {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
28
|
+
/** React children to be rendered inside the progress circle */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
/** Custom function to format the numeric value for display */
|
|
31
|
+
formatValue?: (value: number) => string;
|
|
32
|
+
/** Unique identifier for the progress circle component */
|
|
33
|
+
id?: string;
|
|
34
|
+
/** Maximum value of the progress (defaults to 100) */
|
|
35
|
+
max?: number;
|
|
36
|
+
/** Minimum value of the progress (defaults to 0) */
|
|
37
|
+
min?: number;
|
|
38
|
+
/** Size of the progress circle in pixels */
|
|
39
|
+
size?: number;
|
|
40
|
+
/** Starting angle of the progress circle in degrees (0 = top) */
|
|
41
|
+
startAngle?: number;
|
|
42
|
+
/** Width of the progress circle's stroke in pixels */
|
|
43
|
+
strokeWidth?: number;
|
|
44
|
+
/** Array of threshold configurations for different value ranges */
|
|
45
|
+
thresholds?: Threshold[];
|
|
46
|
+
/** Current progress value (null for indeterminate state) */
|
|
47
|
+
value?: null | number;
|
|
45
48
|
}
|
|
46
49
|
/**
|
|
47
50
|
* Provides context for the ProgressCircle component
|
|
@@ -70,46 +73,74 @@ interface ProgressCircleProviderProps {
|
|
|
70
73
|
* </ProgressCircleProvider>
|
|
71
74
|
* ```
|
|
72
75
|
*/
|
|
73
|
-
declare function ProgressCircleProvider({
|
|
76
|
+
declare function ProgressCircleProvider({
|
|
77
|
+
__scopeProgressCircle,
|
|
78
|
+
children,
|
|
79
|
+
formatValue,
|
|
80
|
+
id: propertyId,
|
|
81
|
+
max,
|
|
82
|
+
min,
|
|
83
|
+
size,
|
|
84
|
+
startAngle,
|
|
85
|
+
strokeWidth,
|
|
86
|
+
thresholds,
|
|
87
|
+
value
|
|
88
|
+
}: ScopedProps<ProgressCircleProviderProps>): ReactNode;
|
|
74
89
|
type ProgressCircleProps = ComponentProps<"div">;
|
|
75
90
|
/**
|
|
76
91
|
* Root component for the progress circle
|
|
77
92
|
*
|
|
78
93
|
* Serves as a wrapper for other progress circle components.
|
|
79
94
|
*/
|
|
80
|
-
declare function ProgressCircle({
|
|
95
|
+
declare function ProgressCircle({
|
|
96
|
+
__scopeProgressCircle,
|
|
97
|
+
...props
|
|
98
|
+
}: ScopedProps<ProgressCircleProps>): ReactNode;
|
|
81
99
|
type ProgressCircleSVGProps = ComponentProps<"svg">;
|
|
82
100
|
/**
|
|
83
101
|
* SVG container for the progress circle
|
|
84
102
|
*
|
|
85
103
|
* Renders the SVG with accessibility attributes and supports indeterminate state.
|
|
86
104
|
*/
|
|
87
|
-
declare function ProgressCircleSVG({
|
|
105
|
+
declare function ProgressCircleSVG({
|
|
106
|
+
__scopeProgressCircle,
|
|
107
|
+
...props
|
|
108
|
+
}: ScopedProps<ProgressCircleSVGProps>): ReactNode;
|
|
88
109
|
type ProgressCircleTrackProps = ComponentProps<"circle">;
|
|
89
110
|
/**
|
|
90
111
|
* Background circle for the progress indicator
|
|
91
112
|
*
|
|
92
113
|
* Renders the static track of the progress circle.
|
|
93
114
|
*/
|
|
94
|
-
declare function ProgressCircleTrack({
|
|
115
|
+
declare function ProgressCircleTrack({
|
|
116
|
+
__scopeProgressCircle,
|
|
117
|
+
...props
|
|
118
|
+
}: ScopedProps<ProgressCircleTrackProps>): ReactNode;
|
|
95
119
|
type ProgressCircleIndicatorProps = ComponentProps<"circle">;
|
|
96
120
|
/**
|
|
97
121
|
* Foreground circle showing progress
|
|
98
122
|
*
|
|
99
123
|
* Renders the dynamic progress indicator with stroke dash properties.
|
|
100
124
|
*/
|
|
101
|
-
declare function ProgressCircleIndicator({
|
|
125
|
+
declare function ProgressCircleIndicator({
|
|
126
|
+
__scopeProgressCircle,
|
|
127
|
+
...props
|
|
128
|
+
}: ScopedProps<ProgressCircleIndicatorProps>): ReactNode;
|
|
102
129
|
interface ProgressCircleValueProps extends Omit<ComponentProps<"div">, "children"> {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
130
|
+
children?: ((context: {
|
|
131
|
+
value: number | undefined;
|
|
132
|
+
valueText: string;
|
|
133
|
+
}) => ReactNode) | ReactNode;
|
|
107
134
|
}
|
|
108
135
|
/**
|
|
109
136
|
* Displays the current progress value
|
|
110
137
|
*
|
|
111
138
|
* Supports custom content or default value text rendering.
|
|
112
139
|
*/
|
|
113
|
-
declare function ProgressCircleValue({
|
|
114
|
-
|
|
115
|
-
|
|
140
|
+
declare function ProgressCircleValue({
|
|
141
|
+
__scopeProgressCircle,
|
|
142
|
+
children,
|
|
143
|
+
...props
|
|
144
|
+
}: ScopedProps<ProgressCircleValueProps>): ReactNode;
|
|
145
|
+
//#endregion
|
|
146
|
+
export { ProgressCircleIndicator as Indicator, ProgressCircleIndicator, ProgressCircle, ProgressCircle as Root, type ProgressCircleIndicatorProps, type ProgressCircleProps, ProgressCircleProvider, ProgressCircleProvider as Provider, type ProgressCircleProviderProps, ProgressCircleSVG, ProgressCircleSVG as SVG, type ProgressCircleSVGProps, ProgressCircleTrack, ProgressCircleTrack as Track, type ProgressCircleTrackProps, ProgressCircleValue, ProgressCircleValue as Value, type ProgressCircleValueProps, createProgressCircleScope };
|