@jamsrui/circular-progress 0.0.7 → 0.0.9
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.
|
@@ -3,11 +3,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
4
|
import '@jamsrui/utils';
|
|
5
5
|
import './styles.mjs';
|
|
6
|
-
import 'tailwind-variants';
|
|
7
6
|
|
|
8
7
|
declare const useCircularProgressConfig: () => CircularProgressConfig.Props;
|
|
9
|
-
declare const CircularProgressConfig: (props: CircularProgressConfig.Props & {
|
|
8
|
+
declare const CircularProgressConfig: (props: Omit<Partial<CircularProgressConfig.Props>, "children"> & {
|
|
10
9
|
merge?: boolean;
|
|
10
|
+
children: React.ReactNode;
|
|
11
11
|
}) => react_jsx_runtime.JSX.Element;
|
|
12
12
|
declare namespace CircularProgressConfig {
|
|
13
13
|
interface Props extends CircularProgress.Props, GlobalConfigProps<CircularProgress.Props> {
|
package/dist/index.d.mts
CHANGED
package/dist/styles.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
2
|
import { VariantProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
declare const circularProgressVariants: tailwind_variants.TVReturnType<{
|
|
4
|
+
declare const circularProgressVariants: _jamsrui_utils.TVReturnType<{
|
|
6
5
|
isIntermediate: {
|
|
7
6
|
true: {
|
|
8
7
|
root: string;
|
|
@@ -70,7 +69,7 @@ declare const circularProgressVariants: tailwind_variants.TVReturnType<{
|
|
|
70
69
|
track: string;
|
|
71
70
|
progress: string;
|
|
72
71
|
label: string;
|
|
73
|
-
},
|
|
72
|
+
}, _jamsrui_utils.TVReturnType<{
|
|
74
73
|
isIntermediate: {
|
|
75
74
|
true: {
|
|
76
75
|
root: string;
|
|
@@ -108,4 +107,4 @@ declare const circularProgressVariants: tailwind_variants.TVReturnType<{
|
|
|
108
107
|
type CircularProgressVariants = VariantProps<typeof circularProgressVariants>;
|
|
109
108
|
type CircularProgressSlots = keyof ReturnType<typeof circularProgressVariants>;
|
|
110
109
|
|
|
111
|
-
export { type CircularProgressSlots, type CircularProgressVariants, circularProgressVariants
|
|
110
|
+
export { type CircularProgressSlots, type CircularProgressVariants, circularProgressVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as r}from"@jamsrui/utils";const e=
|
|
1
|
+
import{tv as r}from"@jamsrui/utils";const e=r({slots:{root:"",track:"stroke-background-secondary",progress:"stroke-success",label:"fill-foreground text-xs"},variants:{isIntermediate:{true:{root:"animate-spin"}},color:{current:{progress:"stroke-current"},default:{progress:"stroke-background-tertiary"},primary:{progress:"stroke-primary"},danger:{progress:"stroke-danger"},success:{progress:"stroke-success"},secondary:{progress:"stroke-secondary"},warning:{progress:"stroke-warning"}}},defaultVariants:{color:"primary",isIntermediate:!0}});export{e as circularProgressVariants};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/circular-progress",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/hooks": "^0.0.9",
|
|
9
|
+
"@jamsrui/core": "^0.0.8",
|
|
10
|
+
"@jamsrui/utils": "^0.0.9"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|