geoiq-frontend-ui-kit 1.1.6 → 1.1.8
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/components/atoms/badge/badge.styles.d.ts +2 -2
- package/dist/components/atoms/button/button.styles.d.ts +3 -3
- package/dist/components/atoms/radio-group/index.d.ts +1 -1
- package/dist/components/atoms/radio-group/index.d.ts.map +1 -1
- package/dist/components/atoms/radio-group/radio-group-components.d.ts.map +1 -1
- package/dist/components/atoms/radio-group/radio-group.d.ts +2 -1
- package/dist/components/atoms/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/atoms/radio-group/radio-group.types.d.ts +2 -0
- package/dist/components/atoms/radio-group/radio-group.types.d.ts.map +1 -1
- package/dist/components/atoms/textarea/textarea.d.ts.map +1 -1
- package/dist/components/atoms/textarea/textarea.types.d.ts +0 -1
- package/dist/components/atoms/textarea/textarea.types.d.ts.map +1 -1
- package/dist/components/atoms/typography/typography.styles.d.ts +1 -1
- package/dist/components/molecules/alert/alert.styles.d.ts +1 -1
- package/dist/components/organisms/sheet/sheet-components.d.ts +1 -1
- package/dist/components/unstyled/command/{command.d.ts → index.d.ts} +2 -2
- package/dist/components/unstyled/command/index.d.ts.map +1 -0
- package/dist/components/unstyled/spinner/spinner.styles.d.ts +1 -1
- package/dist/index.d.ts +36 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +140 -112
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +25 -17
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es11.js +23 -162
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +19 -11
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es13.js +15 -26
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +19 -6
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +42 -56
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +22 -12
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es17.js +16 -95
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es18.js +17 -35
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +56 -15
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es2.js +13 -40
- package/dist/index.es2.js.map +1 -1
- package/dist/index.es20.js +30 -8
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +30 -27
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js +95 -50
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es23.js +107 -48
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +162 -11
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es25.js +56 -50
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js +48 -107
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +16 -101
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +2 -64
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +4 -36
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +39 -76
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +52 -81
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +28 -22
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +83 -15
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +10 -26
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +80 -68
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +34 -2
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +27 -5
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +89 -44
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +62 -16
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +17 -27
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +20 -62
- package/dist/index.es4.js.map +1 -1
- package/dist/index.es40.js +104 -40
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +11 -30
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +18 -29
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +11 -11
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +10 -95
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +35 -26
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +74 -94
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +29 -23
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js +51 -6
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +26 -84
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es5.js +39 -10
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es50.js +9 -18
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +30 -2
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +39 -18
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +94 -18
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +16 -18
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +27 -18
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +2 -22
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +6 -49
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +18 -20
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +110 -8
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +13 -33
- package/dist/index.es6.js.map +1 -1
- package/dist/index.es60.js +23 -9
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +16 -38
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +18 -13
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +17 -132
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +17 -157
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +84 -24
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +46 -82
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +30 -29
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +134 -42
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +15 -9
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js +40 -19
- package/dist/index.es7.js.map +1 -1
- package/dist/index.es70.js +14 -0
- package/dist/index.es70.js.map +1 -0
- package/dist/index.es71.js +17 -0
- package/dist/index.es71.js.map +1 -0
- package/dist/index.es72.js +28 -0
- package/dist/index.es72.js.map +1 -0
- package/dist/index.es73.js +25 -0
- package/dist/index.es73.js.map +1 -0
- package/dist/index.es74.js +91 -0
- package/dist/index.es74.js.map +1 -0
- package/dist/index.es75.js +20 -0
- package/dist/index.es75.js.map +1 -0
- package/dist/index.es76.js +14 -0
- package/dist/index.es76.js.map +1 -0
- package/dist/index.es77.js +43 -0
- package/dist/index.es77.js.map +1 -0
- package/dist/index.es78.js +45 -0
- package/dist/index.es78.js.map +1 -0
- package/dist/index.es79.js +162 -0
- package/dist/index.es79.js.map +1 -0
- package/dist/index.es8.js +32 -17
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es80.js +19 -0
- package/dist/index.es80.js.map +1 -0
- package/dist/index.es9.js +76 -25
- package/dist/index.es9.js.map +1 -1
- package/dist/styles.css +8 -9
- package/package.json +1 -1
- package/dist/components/unstyled/command/command.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const BadgeVariants: (props?: ({
|
|
2
|
-
variant?: "default" | "
|
|
3
|
-
size?: "
|
|
2
|
+
variant?: "default" | "gradient" | "success" | "warning" | "danger" | "neutral" | null | undefined;
|
|
3
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
4
|
showBorder?: boolean | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
6
6
|
//# sourceMappingURL=badge.styles.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const ButtonVariants: (props?: ({
|
|
2
|
-
variant?: "
|
|
3
|
-
size?: "default" | "
|
|
2
|
+
variant?: "link" | "primary" | "secondary" | "teritiary" | null | undefined;
|
|
3
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const TitleVariants: (props?: ({
|
|
6
|
-
size?: "default" | "
|
|
6
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
8
8
|
//# sourceMappingURL=button.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group-components.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group-components.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAGlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACxD,QAAA,MAAM,UAAU,+JAWd,CAAA;AAIF,QAAA,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"radio-group-components.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group-components.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAGlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACxD,QAAA,MAAM,UAAU,+JAWd,CAAA;AAIF,QAAA,MAAM,cAAc,yKAclB,CAAA;AAGF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { RadioGroupItemProps, RadioGroupProps } from '@radix-ui/react-radio-group';
|
|
2
3
|
import { Options } from './radio-group.types';
|
|
3
4
|
|
|
4
5
|
export default function RadioGroup(args: RadioGroupProps & {
|
|
5
|
-
children: RadioGroupItemProps[];
|
|
6
|
+
children: RadioGroupItemProps[] | ReactNode | ReactNode[];
|
|
6
7
|
options: Options[];
|
|
7
8
|
}): import("react/jsx-dev-runtime").JSX.Element;
|
|
8
9
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE7C,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,IAAI,EAAE,eAAe,GAAG;IACtB,QAAQ,EAAE,mBAAmB,EAAE,GAAG,SAAS,GAAG,SAAS,EAAE,CAAA;IACzD,OAAO,EAAE,OAAO,EAAE,CAAA;CACnB,+CAuCF"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { RadioGroupVariants } from './radio-group-style';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
3
4
|
|
|
4
5
|
export interface RadioGroupProps extends React.HTMLAttributes<HTMLInputElement>, VariantProps<typeof RadioGroupVariants> {
|
|
5
6
|
disabled?: boolean;
|
|
7
|
+
children?: ReactNode | ReactNode[];
|
|
6
8
|
}
|
|
7
9
|
export type RadioGroupOptions = {
|
|
8
10
|
options: Options[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"radio-group.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-group/radio-group.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,eACf,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAC5C,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;CACnC;AACD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAE,aAAa,EAAc,MAAM,SAAS,CAAA;AAGnD,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAE,aAAa,EAAc,MAAM,SAAS,CAAA;AAGnD,QAAA,MAAM,QAAQ,2FA+Cb,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -2,7 +2,6 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { TextAreaVariants } from './textarea.styles';
|
|
3
3
|
|
|
4
4
|
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'disabled'>, VariantProps<typeof TextAreaVariants> {
|
|
5
|
-
message?: string;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
inputLabel?: string;
|
|
8
7
|
showTextCount?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/textarea/textarea.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC,EACzE,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,
|
|
1
|
+
{"version":3,"file":"textarea.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/textarea/textarea.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC,EACzE,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const TypographyVariants: (props?: ({
|
|
2
|
-
variant?: "
|
|
2
|
+
variant?: "h2" | "h3" | "h1" | "body1" | "display1" | "display2" | "display3" | "body2" | "body3" | "body4" | "body5" | "body6" | null | undefined;
|
|
3
3
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
4
4
|
//# sourceMappingURL=typography.styles.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const AlertVariants: (props?: ({
|
|
2
|
-
variant?: "default" | "
|
|
2
|
+
variant?: "default" | "success" | "warning" | "error" | "info" | null | undefined;
|
|
3
3
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
4
4
|
export declare const AlertContentVariants: (props?: ({
|
|
5
5
|
shortContent?: boolean | null | undefined;
|
|
@@ -7,7 +7,7 @@ declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogC
|
|
|
7
7
|
declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
|
8
8
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const sheetVariants: (props?: ({
|
|
10
|
-
side?: "
|
|
10
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
12
12
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
13
|
}
|
|
@@ -38,7 +38,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLA
|
|
|
38
38
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
39
39
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
40
40
|
children?: React.ReactNode;
|
|
41
|
-
} & Omit<React.HTMLAttributes<HTMLDivElement>, "
|
|
41
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
42
42
|
disabled?: boolean;
|
|
43
43
|
onSelect?: (value: string) => void;
|
|
44
44
|
value?: string;
|
|
@@ -49,4 +49,4 @@ declare const CommandShortcut: {
|
|
|
49
49
|
displayName: string;
|
|
50
50
|
};
|
|
51
51
|
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
|
52
|
-
//# sourceMappingURL=
|
|
52
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAA;AASlD,QAAA,MAAM,OAAO;;;;;;;;;;;sFAYX,CAAA;AAGF,UAAU,kBAAmB,SAAQ,WAAW;CAAG;AAEnD,QAAA,MAAM,aAAa,2BAA4B,kBAAkB,gDAUhE,CAAA;AAED,UAAU,iBACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AACD,QAAA,MAAM,YAAY,4FAehB,CAAA;AAIF,QAAA,MAAM,WAAW;;6HASf,CAAA;AAIF,QAAA,MAAM,YAAY;;6HAUhB,CAAA;AAIF,QAAA,MAAM,YAAY;;;;;;sFAYhB,CAAA;AAIF,QAAA,MAAM,gBAAgB;;sFASpB,CAAA;AAGF,QAAA,MAAM,WAAW;;;;;;;sFAaf,CAAA;AAIF,QAAA,MAAM,eAAe;8BAGlB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAUvC,CAAA;AAGD,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SpinnerVariants: (props?: ({
|
|
2
2
|
variant?: null | undefined;
|
|
3
|
-
size?: "default" | "
|
|
3
|
+
size?: "default" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
5
5
|
//# sourceMappingURL=spinner.styles.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,47 +1,54 @@
|
|
|
1
|
+
export * from './components/atoms/accordion';
|
|
2
|
+
export * from './components/atoms/avatar';
|
|
3
|
+
export { Badge, BadgeVariants } from './components/atoms/badge';
|
|
4
|
+
export type { BadgeProps } from './components/atoms/badge';
|
|
1
5
|
export { Button, ButtonVariants } from './components/atoms/button';
|
|
2
6
|
export type { ButtonProps } from './components/atoms/button';
|
|
3
|
-
export { Input } from './components/atoms/input';
|
|
4
|
-
export type { InputProps } from './components/atoms/input/input.types';
|
|
5
|
-
export { Calendar } from './components/unstyled/calendar';
|
|
6
|
-
export type { CalendarProps } from './components/unstyled/calendar/calendar.types';
|
|
7
|
-
export { Spinner, SpinnerVariants } from './components/unstyled/spinner';
|
|
8
|
-
export type { SpinnerProps } from './components/unstyled/spinner';
|
|
9
7
|
export { Checkbox, CheckboxVariants } from './components/atoms/checkbox';
|
|
10
8
|
export type { CheckboxProps } from './components/atoms/checkbox';
|
|
9
|
+
export { Input } from './components/atoms/input';
|
|
10
|
+
export type { InputProps } from './components/atoms/input/input.types';
|
|
11
|
+
export { Progress } from './components/atoms/progress';
|
|
12
|
+
export { Radio, RadioGroupItem, RadioGroupVariants, } from './components/atoms/radio-group';
|
|
13
|
+
export * from './components/atoms/skeleton';
|
|
14
|
+
export { Switch, SwitchVariants } from './components/atoms/switch';
|
|
15
|
+
export { Textarea } from './components/atoms/textarea';
|
|
16
|
+
export type { TextareaProps } from './components/atoms/textarea/textarea.types';
|
|
17
|
+
export { default as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TooltipWrapper, } from './components/atoms/tooltip';
|
|
18
|
+
export type { TooltipProps } from './components/atoms/tooltip/tooltip.types';
|
|
11
19
|
export { Typography, TypographyVariants } from './components/atoms/typography';
|
|
12
20
|
export type { TypographyProps } from './components/atoms/typography';
|
|
13
|
-
export {
|
|
14
|
-
export { Progress } from './components/atoms/progress';
|
|
15
|
-
export { Slider } from './components/molecules/slider';
|
|
16
|
-
export { RangeSlider, type RangeSliderProps, } from './components/molecules/range-slider';
|
|
17
|
-
export { Badge, BadgeVariants } from './components/atoms/badge';
|
|
18
|
-
export type { BadgeProps } from './components/atoms/badge';
|
|
19
|
-
export { RadioGroup, RadioGroupItem, RadioGroupVariants, } from './components/atoms/radio-group';
|
|
21
|
+
export { Skeleton } from './components/atoms/skeleton';
|
|
20
22
|
export { Alert } from './components/molecules/alert';
|
|
21
23
|
export type { AlertProps } from './components/molecules/alert';
|
|
22
|
-
export
|
|
24
|
+
export { Breadcrumb } from './components/molecules/breadcrumb';
|
|
23
25
|
export { DropdownMenu } from './components/molecules/dropdown-menu';
|
|
24
26
|
export type { DropdownMenuProps } from './components/molecules/dropdown-menu/dropdown-menu.types';
|
|
25
|
-
export {
|
|
26
|
-
export
|
|
27
|
-
export {
|
|
28
|
-
export type { PopoverProps } from './components/unstyled/popover/popover.types';
|
|
29
|
-
export { Dialog } from './components/organisms/dialog';
|
|
30
|
-
export type { DialogProps } from './components/organisms/dialog/dialog.types';
|
|
27
|
+
export { MultiCombobox } from './components/molecules/multi-combobox';
|
|
28
|
+
export { MultiSelect } from './components/molecules/multi-select';
|
|
29
|
+
export { RangeSlider, type RangeSliderProps, } from './components/molecules/range-slider';
|
|
31
30
|
export { SingleCombobox } from './components/molecules/single-combobox';
|
|
32
31
|
export type { SingleComboboxPropsType } from './components/molecules/single-combobox';
|
|
33
|
-
export { Textarea } from './components/atoms/textarea';
|
|
34
|
-
export type { TextareaProps } from './components/atoms/textarea/textarea.types';
|
|
35
|
-
export { Skeleton } from './components/atoms/skeleton';
|
|
36
32
|
export { SingleSelect } from './components/molecules/single-select';
|
|
37
|
-
export {
|
|
38
|
-
export
|
|
33
|
+
export { Slider } from './components/molecules/slider';
|
|
34
|
+
export * from './components/molecules/stepper';
|
|
39
35
|
export { Tabs } from './components/molecules/tabs';
|
|
40
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './components/unstyled/table';
|
|
41
|
-
export { default as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TooltipWrapper, } from './components/atoms/tooltip';
|
|
42
|
-
export type { TooltipProps } from './components/atoms/tooltip/tooltip.types';
|
|
43
36
|
export { Toast, useToast } from './components/molecules/toast';
|
|
44
37
|
export * from './components/molecules/toast/toast-components';
|
|
45
38
|
export type { ToasterToastProps } from './components/molecules/toast/toast.types';
|
|
46
|
-
export * from './components/
|
|
39
|
+
export * from './components/organisms/alert-dialog';
|
|
40
|
+
export { Dialog } from './components/organisms/dialog';
|
|
41
|
+
export type { DialogProps } from './components/organisms/dialog/dialog.types';
|
|
42
|
+
export * from './components/organisms/sheet';
|
|
43
|
+
export { Calendar } from './components/unstyled/calendar';
|
|
44
|
+
export type { CalendarProps } from './components/unstyled/calendar/calendar.types';
|
|
45
|
+
export { Carousel } from './components/unstyled/carousel';
|
|
46
|
+
export type { CarouselProps } from './components/unstyled/carousel/carousel-components';
|
|
47
|
+
export * from './components/unstyled/command';
|
|
48
|
+
export * from './components/unstyled/hover-card';
|
|
49
|
+
export { Popover } from './components/unstyled/popover';
|
|
50
|
+
export type { PopoverProps } from './components/unstyled/popover/popover.types';
|
|
51
|
+
export { Spinner, SpinnerVariants } from './components/unstyled/spinner';
|
|
52
|
+
export type { SpinnerProps } from './components/unstyled/spinner';
|
|
53
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './components/unstyled/table';
|
|
47
54
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.es.js
CHANGED
|
@@ -1,116 +1,144 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
1
|
+
import { AccordionDemo as p } from "./index.es2.js";
|
|
2
|
+
import * as o from "./index.es3.js";
|
|
3
|
+
import { AvatarDemo as l } from "./index.es4.js";
|
|
4
|
+
import * as r from "./index.es5.js";
|
|
5
|
+
import { Badge as f } from "./index.es6.js";
|
|
6
|
+
import { Button as s } from "./index.es7.js";
|
|
7
|
+
import { Checkbox as T } from "./index.es8.js";
|
|
8
|
+
import { Input as g } from "./index.es9.js";
|
|
9
|
+
import { Progress as c } from "./index.es10.js";
|
|
10
|
+
import { RadioGroupItem as A } from "./index.es11.js";
|
|
11
|
+
import { default as v } from "./index.es12.js";
|
|
12
|
+
import { Skeleton as h } from "./index.es13.js";
|
|
13
|
+
import { Switch as V } from "./index.es14.js";
|
|
14
|
+
import { Textarea as B } from "./index.es15.js";
|
|
15
|
+
import { TooltipContent as H, TooltipProvider as I, TooltipTrigger as R, TooltipWrapper as k } from "./index.es16.js";
|
|
16
|
+
import { default as M } from "./index.es17.js";
|
|
17
|
+
import { Typography as _ } from "./index.es18.js";
|
|
18
|
+
import { Alert as L } from "./index.es19.js";
|
|
19
|
+
import { BreadcrumbDemo as W } from "./index.es20.js";
|
|
20
|
+
import { Dropdown as q } from "./index.es21.js";
|
|
21
|
+
import { MultiCombobox as J } from "./index.es22.js";
|
|
22
|
+
import { MultiSelect as N } from "./index.es23.js";
|
|
23
|
+
import { RangeSlider as U } from "./index.es24.js";
|
|
24
|
+
import { SingleCombobox as Y } from "./index.es25.js";
|
|
25
|
+
import { SingleSelect as $ } from "./index.es26.js";
|
|
26
|
+
import { Slider as ro } from "./index.es27.js";
|
|
27
|
+
import { StepItemStatus as to } from "./index.es28.js";
|
|
28
|
+
import { Stepper as mo } from "./index.es29.js";
|
|
29
|
+
import { Tabs as io } from "./index.es30.js";
|
|
30
|
+
import { Toast as xo } from "./index.es31.js";
|
|
31
|
+
import { ToastAction as no, ToastClose as so, ToastDescription as To, ToastIcon as Co, ToastPrimitive as go, ToastProvider as Do, ToastTitle as co, ToastViewport as uo } from "./index.es32.js";
|
|
32
|
+
import { AlertDialog as So } from "./index.es33.js";
|
|
33
|
+
import { AlertDialogAction as bo, AlertDialogCancel as ho, AlertDialogContent as Po, AlertDialogDescription as Vo, AlertDialogFooter as yo, AlertDialogHeader as Bo, AlertDialogOverlay as wo, AlertDialogPortal as Ho, AlertDialogTitle as Io, AlertDialogTrigger as Ro } from "./index.es34.js";
|
|
34
|
+
import { _Dialog as Go } from "./index.es35.js";
|
|
35
|
+
import { SheetDemo as Fo } from "./index.es36.js";
|
|
36
|
+
import * as e from "./index.es37.js";
|
|
37
|
+
import { Calendar as Eo } from "./index.es38.js";
|
|
38
|
+
import { _Carousel as Oo } from "./index.es39.js";
|
|
39
|
+
import { Command as jo, CommandDialog as qo, CommandEmpty as zo, CommandGroup as Jo, CommandInput as Ko, CommandItem as No, CommandList as Qo, CommandSeparator as Uo, CommandShortcut as Xo } from "./index.es40.js";
|
|
40
|
+
import { HoverCardDemo as Zo } from "./index.es41.js";
|
|
41
|
+
import * as t from "./index.es42.js";
|
|
42
|
+
import { PopoverDemo as or } from "./index.es43.js";
|
|
43
|
+
import { Spinner as er } from "./index.es44.js";
|
|
44
|
+
import { default as ar } from "./index.es45.js";
|
|
45
|
+
import { TableBody as pr, TableCaption as ir, TableCell as lr, TableFooter as xr, TableHead as fr, TableHeader as nr, TableRow as sr } from "./index.es46.js";
|
|
46
|
+
import { BadgeVariants as Tr } from "./index.es47.js";
|
|
47
|
+
import { ButtonVariants as gr } from "./index.es48.js";
|
|
48
|
+
import { CheckboxVariants as cr } from "./index.es49.js";
|
|
49
|
+
import { RadioGroupVariants as Ar } from "./index.es50.js";
|
|
50
|
+
import { SwitchVariants as vr } from "./index.es51.js";
|
|
51
|
+
import { TypographyVariants as hr } from "./index.es52.js";
|
|
52
|
+
import { useToast as Vr } from "./index.es53.js";
|
|
53
|
+
import { SpinnerVariants as Br } from "./index.es54.js";
|
|
54
|
+
import { useStepper as Hr } from "./index.es55.js";
|
|
45
55
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
56
|
+
p as Accordion,
|
|
57
|
+
o as AccordionPrimitive,
|
|
58
|
+
L as Alert,
|
|
59
|
+
So as AlertDialog,
|
|
60
|
+
bo as AlertDialogAction,
|
|
61
|
+
ho as AlertDialogCancel,
|
|
62
|
+
Po as AlertDialogContent,
|
|
63
|
+
Vo as AlertDialogDescription,
|
|
64
|
+
yo as AlertDialogFooter,
|
|
65
|
+
Bo as AlertDialogHeader,
|
|
66
|
+
wo as AlertDialogOverlay,
|
|
67
|
+
Ho as AlertDialogPortal,
|
|
68
|
+
Io as AlertDialogTitle,
|
|
69
|
+
Ro as AlertDialogTrigger,
|
|
70
|
+
l as Avatar,
|
|
71
|
+
r as AvatarPrimitive,
|
|
72
|
+
f as Badge,
|
|
73
|
+
Tr as BadgeVariants,
|
|
74
|
+
W as Breadcrumb,
|
|
75
|
+
s as Button,
|
|
76
|
+
gr as ButtonVariants,
|
|
77
|
+
Eo as Calendar,
|
|
78
|
+
Oo as Carousel,
|
|
79
|
+
T as Checkbox,
|
|
80
|
+
cr as CheckboxVariants,
|
|
81
|
+
jo as Command,
|
|
82
|
+
qo as CommandDialog,
|
|
83
|
+
zo as CommandEmpty,
|
|
84
|
+
Jo as CommandGroup,
|
|
85
|
+
Ko as CommandInput,
|
|
86
|
+
No as CommandItem,
|
|
87
|
+
Qo as CommandList,
|
|
88
|
+
Uo as CommandSeparator,
|
|
89
|
+
Xo as CommandShortcut,
|
|
90
|
+
Go as Dialog,
|
|
91
|
+
q as DropdownMenu,
|
|
92
|
+
Zo as HoverCard,
|
|
93
|
+
t as HoverCardPrimitive,
|
|
94
|
+
g as Input,
|
|
95
|
+
J as MultiCombobox,
|
|
96
|
+
N as MultiSelect,
|
|
97
|
+
or as Popover,
|
|
98
|
+
c as Progress,
|
|
99
|
+
v as Radio,
|
|
100
|
+
A as RadioGroupItem,
|
|
101
|
+
Ar as RadioGroupVariants,
|
|
102
|
+
U as RangeSlider,
|
|
103
|
+
Fo as Sheet,
|
|
104
|
+
e as SheetPrimitive,
|
|
77
105
|
Y as SingleCombobox,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
106
|
+
$ as SingleSelect,
|
|
107
|
+
h as Skeleton,
|
|
108
|
+
ro as Slider,
|
|
109
|
+
er as Spinner,
|
|
110
|
+
Br as SpinnerVariants,
|
|
111
|
+
to as StepItemStatus,
|
|
112
|
+
mo as Stepper,
|
|
113
|
+
V as Switch,
|
|
114
|
+
vr as SwitchVariants,
|
|
115
|
+
ar as Table,
|
|
116
|
+
pr as TableBody,
|
|
117
|
+
ir as TableCaption,
|
|
118
|
+
lr as TableCell,
|
|
119
|
+
xr as TableFooter,
|
|
120
|
+
fr as TableHead,
|
|
121
|
+
nr as TableHeader,
|
|
122
|
+
sr as TableRow,
|
|
123
|
+
io as Tabs,
|
|
124
|
+
B as Textarea,
|
|
125
|
+
xo as Toast,
|
|
126
|
+
no as ToastAction,
|
|
127
|
+
so as ToastClose,
|
|
128
|
+
To as ToastDescription,
|
|
129
|
+
Co as ToastIcon,
|
|
130
|
+
go as ToastPrimitive,
|
|
131
|
+
Do as ToastProvider,
|
|
132
|
+
co as ToastTitle,
|
|
133
|
+
uo as ToastViewport,
|
|
134
|
+
M as Tooltip,
|
|
135
|
+
H as TooltipContent,
|
|
136
|
+
I as TooltipProvider,
|
|
137
|
+
R as TooltipTrigger,
|
|
138
|
+
k as TooltipWrapper,
|
|
139
|
+
_ as Typography,
|
|
140
|
+
hr as TypographyVariants,
|
|
141
|
+
Hr as useStepper,
|
|
142
|
+
Vr as useToast
|
|
115
143
|
};
|
|
116
144
|
//# sourceMappingURL=index.es.js.map
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.es10.js
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import * as a from "@radix-ui/react-progress";
|
|
3
|
+
import { cn as n } from "./index.es57.js";
|
|
4
|
+
import { ProgressVariants as i } from "./index.es70.js";
|
|
5
|
+
const l = r.forwardRef(({ className: t, value: o, ...e }, m) => {
|
|
6
|
+
const s = (o || 0) / (e.max || 100) * 100;
|
|
7
|
+
return /* @__PURE__ */ r.createElement(
|
|
8
|
+
a.Root,
|
|
9
9
|
{
|
|
10
|
-
ref:
|
|
11
|
-
className: i(
|
|
12
|
-
|
|
10
|
+
ref: m,
|
|
11
|
+
className: n(i({ className: t })),
|
|
12
|
+
max: e.max || 100,
|
|
13
|
+
...e
|
|
13
14
|
},
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
/* @__PURE__ */ r.createElement(
|
|
16
|
+
a.Indicator,
|
|
17
|
+
{
|
|
18
|
+
className: "h-full rounded flex-1 bg-hover-p1 transition-all ",
|
|
19
|
+
style: {
|
|
20
|
+
transform: `translateX(-${100 - s}%)`
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
});
|
|
26
|
+
l.displayName = a.Root.displayName;
|
|
19
27
|
export {
|
|
20
|
-
|
|
28
|
+
l as Progress
|
|
21
29
|
};
|
|
22
30
|
//# sourceMappingURL=index.es10.js.map
|
package/dist/index.es10.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es10.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es10.js","sources":["../src/components/atoms/progress/progress.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as ProgressPrimitive from '@radix-ui/react-progress'\n\nimport { cn } from '@/lib/utils'\nimport { ProgressVariants } from './progress.styles'\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>\n>(({ className, value, ...props }, ref) => {\n const completionPercentage = ((value || 0) / (props.max || 100)) * 100\n return (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn(ProgressVariants({ className }))}\n max={props.max || 100}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"h-full rounded flex-1 bg-hover-p1 transition-all \"\n style={{\n transform: `translateX(-${100 - completionPercentage}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n )\n})\n\nProgress.displayName = ProgressPrimitive.Root.displayName\n\nexport { Progress }\n"],"names":["Progress","React","className","value","props","ref","completionPercentage","ProgressPrimitive","cn","ProgressVariants"],"mappings":";;;;AAMM,MAAAA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGC,EAAM,GAAGC,MAAQ;AACzC,QAAMC,KAAyBH,KAAS,MAAMC,EAAM,OAAO,OAAQ;AAEjE,SAAA,gBAAAH,EAAA;AAAA,IAACM,EAAkB;AAAA,IAAlB;AAAA,MACC,KAAAF;AAAA,MACA,WAAWG,EAAGC,EAAiB,EAAE,WAAAP,EAAW,CAAA,CAAC;AAAA,MAC7C,KAAKE,EAAM,OAAO;AAAA,MACjB,GAAGA;AAAA,IAAA;AAAA,IAEJ,gBAAAH,EAAA;AAAA,MAACM,EAAkB;AAAA,MAAlB;AAAA,QACC,WAAU;AAAA,QACV,OAAO;AAAA,UACL,WAAW,eAAe,MAAMD,CAAoB;AAAA,QACtD;AAAA,MAAA;AAAA,IACF;AAAA,EAAA;AAGN,CAAC;AAEDN,EAAS,cAAcO,EAAkB,KAAK;"}
|