@framingui/ui 0.6.0 → 0.6.2
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/LICENSE +21 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +15 -13
- package/dist/src/components/alert-dialog.stories.d.ts.map +1 -1
- package/dist/src/components/alert-dialog.stories.js.map +1 -1
- package/dist/src/components/avatar.stories.d.ts.map +1 -1
- package/dist/src/components/avatar.stories.js.map +1 -1
- package/dist/src/components/badge.stories.d.ts.map +1 -1
- package/dist/src/components/badge.stories.js.map +1 -1
- package/dist/src/components/breadcrumb.stories.d.ts.map +1 -1
- package/dist/src/components/breadcrumb.stories.js.map +1 -1
- package/dist/src/components/button.js +3 -3
- package/dist/src/components/button.stories.d.ts.map +1 -1
- package/dist/src/components/button.stories.js.map +1 -1
- package/dist/src/components/calendar.d.ts.map +1 -1
- package/dist/src/components/calendar.js +21 -21
- package/dist/src/components/calendar.js.map +1 -1
- package/dist/src/components/calendar.stories.d.ts.map +1 -1
- package/dist/src/components/calendar.stories.js.map +1 -1
- package/dist/src/components/card.stories.d.ts.map +1 -1
- package/dist/src/components/card.stories.js.map +1 -1
- package/dist/src/components/checkbox.stories.d.ts.map +1 -1
- package/dist/src/components/checkbox.stories.js.map +1 -1
- package/dist/src/components/command.d.ts +7 -7
- package/dist/src/components/command.stories.d.ts.map +1 -1
- package/dist/src/components/command.stories.js +1 -1
- package/dist/src/components/command.stories.js.map +1 -1
- package/dist/src/components/dialog.stories.d.ts.map +1 -1
- package/dist/src/components/dialog.stories.js.map +1 -1
- package/dist/src/components/dropdown-menu.stories.d.ts.map +1 -1
- package/dist/src/components/dropdown-menu.stories.js.map +1 -1
- package/dist/src/components/dropdown.d.ts +15 -0
- package/dist/src/components/dropdown.d.ts.map +1 -0
- package/dist/src/components/dropdown.js +18 -0
- package/dist/src/components/dropdown.js.map +1 -0
- package/dist/src/components/form.stories.d.ts.map +1 -1
- package/dist/src/components/form.stories.js.map +1 -1
- package/dist/src/components/input.stories.d.ts.map +1 -1
- package/dist/src/components/input.stories.js.map +1 -1
- package/dist/src/components/label.stories.d.ts.map +1 -1
- package/dist/src/components/label.stories.js.map +1 -1
- package/dist/src/components/modal.d.ts +20 -0
- package/dist/src/components/modal.d.ts.map +1 -0
- package/dist/src/components/modal.js +22 -0
- package/dist/src/components/modal.js.map +1 -0
- package/dist/src/components/navigation-menu.stories.d.ts.map +1 -1
- package/dist/src/components/navigation-menu.stories.js.map +1 -1
- package/dist/src/components/popover.stories.d.ts.map +1 -1
- package/dist/src/components/popover.stories.js.map +1 -1
- package/dist/src/components/progress.stories.d.ts.map +1 -1
- package/dist/src/components/progress.stories.js.map +1 -1
- package/dist/src/components/radio-group.stories.d.ts.map +1 -1
- package/dist/src/components/radio-group.stories.js.map +1 -1
- package/dist/src/components/scroll-area.stories.d.ts.map +1 -1
- package/dist/src/components/scroll-area.stories.js.map +1 -1
- package/dist/src/components/select.js +1 -1
- package/dist/src/components/select.js.map +1 -1
- package/dist/src/components/select.stories.d.ts.map +1 -1
- package/dist/src/components/select.stories.js.map +1 -1
- package/dist/src/components/separator.stories.d.ts.map +1 -1
- package/dist/src/components/separator.stories.js.map +1 -1
- package/dist/src/components/sheet.d.ts +1 -1
- package/dist/src/components/sheet.stories.d.ts.map +1 -1
- package/dist/src/components/sheet.stories.js.map +1 -1
- package/dist/src/components/sidebar.stories.d.ts.map +1 -1
- package/dist/src/components/sidebar.stories.js.map +1 -1
- package/dist/src/components/skeleton.stories.d.ts.map +1 -1
- package/dist/src/components/skeleton.stories.js.map +1 -1
- package/dist/src/components/switch.js +1 -1
- package/dist/src/components/switch.js.map +1 -1
- package/dist/src/components/switch.stories.d.ts.map +1 -1
- package/dist/src/components/switch.stories.js.map +1 -1
- package/dist/src/components/table.stories.d.ts.map +1 -1
- package/dist/src/components/table.stories.js.map +1 -1
- package/dist/src/components/tabs.js +2 -2
- package/dist/src/components/tabs.js.map +1 -1
- package/dist/src/components/tabs.stories.d.ts.map +1 -1
- package/dist/src/components/tabs.stories.js.map +1 -1
- package/dist/src/components/textarea.stories.d.ts.map +1 -1
- package/dist/src/components/textarea.stories.js.map +1 -1
- package/dist/src/components/toast.stories.d.ts.map +1 -1
- package/dist/src/components/toast.stories.js.map +1 -1
- package/dist/src/components/tooltip.stories.d.ts.map +1 -1
- package/dist/src/components/tooltip.stories.js.map +1 -1
- package/dist/src/lib/theme-loader.d.ts +4 -3
- package/dist/src/lib/theme-loader.d.ts.map +1 -1
- package/dist/src/lib/theme-loader.js +50 -16
- package/dist/src/lib/theme-loader.js.map +1 -1
- package/dist/src/lib/tokens.d.ts +2 -1
- package/dist/src/lib/tokens.d.ts.map +1 -1
- package/dist/src/lib/tokens.js +1 -0
- package/dist/src/lib/tokens.js.map +1 -1
- package/dist/src/primitives/avatar.d.ts +7 -0
- package/dist/src/primitives/avatar.d.ts.map +1 -0
- package/dist/src/primitives/avatar.js +12 -0
- package/dist/src/primitives/avatar.js.map +1 -0
- package/dist/src/primitives/badge.d.ts +10 -0
- package/dist/src/primitives/badge.d.ts.map +1 -0
- package/dist/src/primitives/badge.js +21 -0
- package/dist/src/primitives/badge.js.map +1 -0
- package/dist/src/primitives/button.d.ts +13 -0
- package/dist/src/primitives/button.d.ts.map +1 -0
- package/dist/src/primitives/button.js +48 -0
- package/dist/src/primitives/button.js.map +1 -0
- package/dist/src/primitives/checkbox.d.ts +5 -0
- package/dist/src/primitives/checkbox.d.ts.map +1 -0
- package/dist/src/primitives/checkbox.js +8 -0
- package/dist/src/primitives/checkbox.js.map +1 -0
- package/dist/src/primitives/heading.d.ts +11 -0
- package/dist/src/primitives/heading.d.ts.map +1 -0
- package/dist/src/primitives/heading.js +26 -0
- package/dist/src/primitives/heading.js.map +1 -0
- package/dist/src/primitives/image.d.ts +7 -0
- package/dist/src/primitives/image.d.ts.map +1 -0
- package/dist/src/primitives/image.js +9 -0
- package/dist/src/primitives/image.js.map +1 -0
- package/dist/src/primitives/input.d.ts +7 -0
- package/dist/src/primitives/input.d.ts.map +1 -0
- package/dist/src/primitives/input.js +11 -0
- package/dist/src/primitives/input.js.map +1 -0
- package/dist/src/primitives/link.d.ts +10 -0
- package/dist/src/primitives/link.d.ts.map +1 -0
- package/dist/src/primitives/link.js +22 -0
- package/dist/src/primitives/link.js.map +1 -0
- package/dist/src/primitives/list.d.ts +7 -0
- package/dist/src/primitives/list.d.ts.map +1 -0
- package/dist/src/primitives/list.js +14 -0
- package/dist/src/primitives/list.js.map +1 -0
- package/dist/src/primitives/progress.d.ts +5 -0
- package/dist/src/primitives/progress.d.ts.map +1 -0
- package/dist/src/primitives/progress.js +8 -0
- package/dist/src/primitives/progress.js.map +1 -0
- package/dist/src/primitives/radio.d.ts +6 -0
- package/dist/src/primitives/radio.d.ts.map +1 -0
- package/dist/src/primitives/radio.js +14 -0
- package/dist/src/primitives/radio.js.map +1 -0
- package/dist/src/primitives/slider.d.ts +5 -0
- package/dist/src/primitives/slider.d.ts.map +1 -0
- package/dist/src/primitives/slider.js +8 -0
- package/dist/src/primitives/slider.js.map +1 -0
- package/dist/src/primitives/switch.d.ts +5 -0
- package/dist/src/primitives/switch.d.ts.map +1 -0
- package/dist/src/primitives/switch.js +8 -0
- package/dist/src/primitives/switch.js.map +1 -0
- package/dist/src/primitives/text.d.ts +12 -0
- package/dist/src/primitives/text.d.ts.map +1 -0
- package/dist/src/primitives/text.js +29 -0
- package/dist/src/primitives/text.js.map +1 -0
- package/dist/src/templates/auth/login.stories.js.map +1 -1
- package/dist/src/templates/auth/signup.stories.js.map +1 -1
- package/dist/src/templates/dashboard/overview.stories.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -16
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
|
+
import { cn } from '../lib/utils';
|
|
6
|
+
const buttonVariants = cva('inline-flex items-center justify-center whitespace-nowrap font-medium ' +
|
|
7
|
+
'transition-colors focus-visible:outline-none focus-visible:ring-2 ' +
|
|
8
|
+
'focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', {
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: 'bg-[var(--button-default-background)] ' +
|
|
12
|
+
'text-[var(--button-default-foreground)] ' +
|
|
13
|
+
'border border-[var(--button-default-border)] ' +
|
|
14
|
+
'hover:bg-[var(--button-default-hover-background)]',
|
|
15
|
+
secondary: 'bg-[var(--button-secondary-background)] ' +
|
|
16
|
+
'text-[var(--button-secondary-foreground)] ' +
|
|
17
|
+
'hover:bg-[var(--button-secondary-hover-background)]',
|
|
18
|
+
ghost: 'hover:bg-[var(--button-ghost-hover-background)] ' +
|
|
19
|
+
'hover:text-[var(--button-ghost-hover-foreground)]',
|
|
20
|
+
destructive: 'bg-[var(--button-destructive-background)] ' +
|
|
21
|
+
'text-[var(--button-destructive-foreground)] ' +
|
|
22
|
+
'hover:bg-[var(--button-destructive-hover-background)]',
|
|
23
|
+
outline: 'border border-[var(--button-outline-border)] ' +
|
|
24
|
+
'bg-transparent ' +
|
|
25
|
+
'hover:bg-[var(--button-outline-hover-background)] ' +
|
|
26
|
+
'hover:text-[var(--button-outline-hover-foreground)]',
|
|
27
|
+
link: 'text-[var(--button-link-foreground)] ' + 'underline-offset-4 hover:underline',
|
|
28
|
+
},
|
|
29
|
+
size: {
|
|
30
|
+
default: 'h-10 px-4 py-2 rounded-[var(--radius-md)]',
|
|
31
|
+
sm: 'h-9 px-3 rounded-[var(--radius-sm)] text-sm',
|
|
32
|
+
lg: 'h-11 px-8 rounded-[var(--radius-md)]',
|
|
33
|
+
icon: 'h-10 w-10 rounded-[var(--radius-md)]',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
variant: 'default',
|
|
38
|
+
size: 'default',
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
const Button = React.forwardRef(({ className, variant, size, asChild = false, loading = false, children, disabled, ...props }, ref) => {
|
|
42
|
+
const Comp = asChild ? Slot : 'button';
|
|
43
|
+
const content = loading ? (_jsxs(_Fragment, { children: [_jsx("span", { className: "mr-2 h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent", "aria-hidden": "true" }), children] })) : (children);
|
|
44
|
+
return (_jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref: ref, disabled: disabled || loading, "aria-busy": loading, "aria-disabled": disabled || loading, ...props, children: content }));
|
|
45
|
+
});
|
|
46
|
+
Button.displayName = 'Button';
|
|
47
|
+
export { Button, buttonVariants };
|
|
48
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/primitives/button.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAMlC,MAAM,cAAc,GAAG,GAAG,CAExB,wEAAwE;IACtE,oEAAoE;IACpE,8EAA8E,EAChF;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YAEP,OAAO,EACL,wCAAwC;gBACxC,0CAA0C;gBAC1C,+CAA+C;gBAC/C,mDAAmD;YACrD,SAAS,EACP,0CAA0C;gBAC1C,4CAA4C;gBAC5C,qDAAqD;YACvD,KAAK,EACH,kDAAkD;gBAClD,mDAAmD;YACrD,WAAW,EACT,4CAA4C;gBAC5C,8CAA8C;gBAC9C,uDAAuD;YACzD,OAAO,EACL,+CAA+C;gBAC/C,iBAAiB;gBACjB,oDAAoD;gBACpD,qDAAqD;YACvD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: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Checkbox };
|
|
5
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/primitives/checkbox.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAG9D,QAAA,MAAM,QAAQ,iKAkCZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const Checkbox = React.forwardRef(({ className, ...props }, ref) => (_jsx(CheckboxPrimitive.Root, { ref: ref, className: cn('peer h-4 w-4 shrink-0 rounded-[var(--radius-sm)]', 'border border-[var(--checkbox-border)]', 'bg-[var(--checkbox-background)]', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', 'focus-visible:ring-[var(--checkbox-focus-ring)]', 'disabled:cursor-not-allowed disabled:opacity-50', 'data-[state=checked]:bg-[var(--checkbox-checked-background)]', 'data-[state=checked]:text-[var(--checkbox-checked-foreground)]', className), ...props, children: _jsx(CheckboxPrimitive.Indicator, { className: cn('flex items-center justify-center text-current'), children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", className: "h-3 w-3", children: _jsx("polyline", { points: "20 6 9 17 4 12" }) }) }) })));
|
|
6
|
+
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
7
|
+
export { Checkbox };
|
|
8
|
+
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../src/primitives/checkbox.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,kDAAkD,EAClD,wCAAwC,EACxC,iCAAiC,EACjC,6EAA6E,EAC7E,iDAAiD,EACjD,iDAAiD,EACjD,8DAA8D,EAC9D,gEAAgE,EAChE,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAAC,SAAS,EAAE,EAAE,CAAC,+CAA+C,CAAC,YACzF,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,SAAS,EAAC,SAAS,YAEnB,mBAAU,MAAM,EAAC,gBAAgB,GAAG,GAChC,GACsB,GACP,CAC1B,CAAC,CAAC;AACH,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const headingVariants: (props?: ({
|
|
4
|
+
level?: 1 | 2 | 4 | 3 | 5 | 6 | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
7
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
|
+
}
|
|
9
|
+
declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
|
+
export { Heading, headingVariants };
|
|
11
|
+
//# sourceMappingURL=heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/primitives/heading.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,eAAe;;8EAcnB,CAAC;AAEH,MAAM,WAAW,YACf,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC,OAAO,eAAe,CAAC;IACtF,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC/B;AAED,QAAA,MAAM,OAAO,yFAYZ,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const headingVariants = cva('font-semibold tracking-tight', {
|
|
6
|
+
variants: {
|
|
7
|
+
level: {
|
|
8
|
+
1: 'text-4xl lg:text-5xl',
|
|
9
|
+
2: 'text-3xl lg:text-4xl',
|
|
10
|
+
3: 'text-2xl lg:text-3xl',
|
|
11
|
+
4: 'text-xl lg:text-2xl',
|
|
12
|
+
5: 'text-lg lg:text-xl',
|
|
13
|
+
6: 'text-base lg:text-lg',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
level: 1,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
const Heading = React.forwardRef(({ className, level = 1, ...props }, ref) => {
|
|
21
|
+
const Comp = `h${level}`;
|
|
22
|
+
return (_jsx(Comp, { className: cn(headingVariants({ level, className }), 'text-[var(--heading-foreground)]'), ref: ref, ...props }));
|
|
23
|
+
});
|
|
24
|
+
Heading.displayName = 'Heading';
|
|
25
|
+
export { Heading, headingVariants };
|
|
26
|
+
//# sourceMappingURL=heading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.js","sourceRoot":"","sources":["../../../src/primitives/heading.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,eAAe,GAAG,GAAG,CAAC,8BAA8B,EAAE;IAC1D,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,sBAAsB;SAC1B;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,CAAC;KACT;CACF,CAAC,CAAC;AAOH,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAC9B,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC1C,MAAM,IAAI,GAAG,IAAI,KAAK,EAA6C,CAAC;IAEpE,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,kCAAkC,CAAC,EACxF,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
3
|
+
loading?: 'lazy' | 'eager';
|
|
4
|
+
}
|
|
5
|
+
declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
6
|
+
export { Image };
|
|
7
|
+
//# sourceMappingURL=image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/primitives/image.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IAI3E,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,KAAK,qFAgBV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cn } from '../lib/utils';
|
|
4
|
+
const Image = React.forwardRef(({ className, alt, loading = 'lazy', ...props }, ref) => {
|
|
5
|
+
return (_jsx("img", { ref: ref, alt: alt, loading: loading, className: cn('rounded-[var(--radius-md)]', 'bg-[var(--image-placeholder-background)]', className), ...props }));
|
|
6
|
+
});
|
|
7
|
+
Image.displayName = 'Image';
|
|
8
|
+
export { Image };
|
|
9
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/primitives/image.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AASlC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,GAAG,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACtD,OAAO,CACL,cACE,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACX,4BAA4B,EAC5B,0CAA0C,EAC1C,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
error?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export { Input };
|
|
7
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/primitives/input.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAI7E,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAQD,QAAA,MAAM,KAAK,qFA6BV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cn } from '../lib/utils';
|
|
4
|
+
const Input = React.forwardRef(({ className, type = 'text', error = false, ...props }, ref) => {
|
|
5
|
+
return (_jsx("input", { type: type, className: cn('flex h-10 w-full rounded-[var(--radius-md)] px-3 py-2 text-sm', 'transition-colors', 'file:border-0 file:bg-transparent file:text-sm file:font-medium', 'placeholder:text-[var(--input-placeholder)]', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', 'disabled:cursor-not-allowed disabled:opacity-50', 'bg-[var(--input-background)]', 'text-[var(--input-foreground)]', 'border border-[var(--input-border)]', error
|
|
6
|
+
? 'border-[var(--input-error-border)] focus-visible:ring-[var(--input-error-ring)]'
|
|
7
|
+
: 'focus-visible:ring-[var(--input-focus-ring)]', className), ref: ref, "aria-invalid": error, ...props }));
|
|
8
|
+
});
|
|
9
|
+
Input.displayName = 'Input';
|
|
10
|
+
export { Input };
|
|
11
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/primitives/input.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAelC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC7D,OAAO,CACL,gBACE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,EAAE,CAEX,+DAA+D,EAC/D,mBAAmB,EACnB,iEAAiE,EACjE,6CAA6C,EAC7C,6EAA6E,EAC7E,iDAAiD,EAEjD,8BAA8B,EAC9B,gCAAgC,EAChC,qCAAqC,EAErC,KAAK;YACH,CAAC,CAAC,iFAAiF;YACnF,CAAC,CAAC,8CAA8C,EAClD,SAAS,CACV,EACD,GAAG,EAAE,GAAG,kBACM,KAAK,KACf,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const linkVariants: (props?: ({
|
|
4
|
+
variant?: "muted" | "default" | "subtle" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
9
|
+
export { Link, linkVariants };
|
|
10
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/primitives/link.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,YAAY;;8EAiBjB,CAAC;AAEF,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAE7F,QAAA,MAAM,IAAI,qFAIT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const linkVariants = cva('transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
default: 'text-[var(--link-foreground)] hover:text-[var(--link-hover-foreground)] underline-offset-4 hover:underline',
|
|
9
|
+
muted: 'text-[var(--link-muted-foreground)] hover:text-[var(--link-muted-hover-foreground)] underline-offset-4 hover:underline',
|
|
10
|
+
subtle: 'text-[var(--link-subtle-foreground)] hover:text-[var(--link-subtle-hover-foreground)]',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
defaultVariants: {
|
|
14
|
+
variant: 'default',
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
const Link = React.forwardRef(({ className, variant, ...props }, ref) => {
|
|
18
|
+
return _jsx("a", { className: cn(linkVariants({ variant, className })), ref: ref, ...props });
|
|
19
|
+
});
|
|
20
|
+
Link.displayName = 'Link';
|
|
21
|
+
export { Link, linkVariants };
|
|
22
|
+
//# sourceMappingURL=link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../src/primitives/link.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,YAAY,GAAG,GAAG,CACtB,+FAA+F,EAC/F;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,4GAA4G;YAC9G,KAAK,EACH,wHAAwH;YAC1H,MAAM,EACJ,uFAAuF;SAC1F;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAKF,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAC3B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACxC,OAAO,YAAG,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAAC;AACzF,CAAC,CACF,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const List: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & {
|
|
3
|
+
ordered?: boolean;
|
|
4
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
5
|
+
declare const ListItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
6
|
+
export { List, ListItem };
|
|
7
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/primitives/list.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,IAAI;cAE6C,OAAO;0CAkB5D,CAAC;AAGH,QAAA,MAAM,QAAQ,2GAMb,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cn } from '../lib/utils';
|
|
4
|
+
const List = React.forwardRef(({ className, ordered = false, ...props }, ref) => {
|
|
5
|
+
const Comp = ordered ? 'ol' : 'ul';
|
|
6
|
+
return (_jsx(Comp, { ref: ref, className: cn('space-y-2', ordered ? 'list-decimal' : 'list-disc', 'pl-6', 'text-[var(--list-foreground)]', className), ...props }));
|
|
7
|
+
});
|
|
8
|
+
List.displayName = 'List';
|
|
9
|
+
const ListItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
10
|
+
return (_jsx("li", { ref: ref, className: cn('text-[var(--list-item-foreground)]', className), ...props }));
|
|
11
|
+
});
|
|
12
|
+
ListItem.displayName = 'ListItem';
|
|
13
|
+
export { List, ListItem };
|
|
14
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/primitives/list.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAG3B,CAAC,EAAE,SAAS,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAClD,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAEnC,OAAO,CACL,KAAC,IAAI,IAEH,GAAG,EAAE,GAAU,EACf,SAAS,EAAE,EAAE,CACX,WAAW,EACX,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,WAAW,EACtC,MAAM,EACN,+BAA+B,EAC/B,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC/B,OAAO,CACL,aAAI,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,oCAAoC,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CAC5F,CAAC;AACJ,CAAC,CACF,CAAC;AACF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
+
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { Progress };
|
|
5
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/primitives/progress.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAG9D,QAAA,MAAM,QAAQ,2JAqBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const Progress = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(ProgressPrimitive.Root, { ref: ref, className: cn('relative h-4 w-full overflow-hidden rounded-full', 'bg-[var(--progress-background)]', className), ...props, children: _jsx(ProgressPrimitive.Indicator, { className: cn('h-full w-full flex-1 transition-all', 'bg-[var(--progress-indicator-background)]'), style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
|
|
6
|
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
7
|
+
export { Progress };
|
|
8
|
+
//# sourceMappingURL=progress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../src/primitives/progress.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,kDAAkD,EAClD,iCAAiC,EACjC,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAC1B,SAAS,EAAE,EAAE,CACX,qCAAqC,EACrC,2CAA2C,CAC5C,EACD,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAC3D,GACqB,CAC1B,CAAC,CAAC;AACH,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { RadioGroup, RadioGroupItem };
|
|
6
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/primitives/radio.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAGnE,QAAA,MAAM,UAAU,+JAKd,CAAC;AAGH,QAAA,MAAM,cAAc,yKAwBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
6
|
+
return _jsx(RadioGroupPrimitive.Root, { className: cn('grid gap-2', className), ...props, ref: ref });
|
|
7
|
+
});
|
|
8
|
+
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
9
|
+
const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
10
|
+
return (_jsx(RadioGroupPrimitive.Item, { ref: ref, className: cn('aspect-square h-4 w-4 rounded-full', 'border border-[var(--radio-border)]', 'bg-[var(--radio-background)]', 'text-[var(--radio-checked-foreground)]', 'focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', 'focus-visible:ring-[var(--radio-focus-ring)]', 'disabled:cursor-not-allowed disabled:opacity-50', className), ...props, children: _jsx(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: _jsx("circle", { className: "h-2.5 w-2.5 fill-current text-current" }) }) }));
|
|
11
|
+
});
|
|
12
|
+
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
13
|
+
export { RadioGroup, RadioGroupItem };
|
|
14
|
+
//# sourceMappingURL=radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.js","sourceRoot":"","sources":["../../../src/primitives/radio.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjC,OAAO,KAAC,mBAAmB,CAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACnG,CAAC,CAAC,CAAC;AACH,UAAU,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE9D,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjC,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,IACvB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,oCAAoC,EACpC,qCAAqC,EACrC,8BAA8B,EAC9B,wCAAwC,EACxC,qEAAqE,EACrE,8CAA8C,EAC9C,iDAAiD,EACjD,SAAS,CACV,KACG,KAAK,YAET,KAAC,mBAAmB,CAAC,SAAS,IAAC,SAAS,EAAC,kCAAkC,YACzE,iBAAQ,SAAS,EAAC,uCAAuC,GAAG,GAC9B,GACP,CAC5B,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,cAAc,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC;AAElE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
3
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
export { Slider };
|
|
5
|
+
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/primitives/slider.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,QAAA,MAAM,MAAM,yJAgCV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const Slider = React.forwardRef(({ className, ...props }, ref) => (_jsxs(SliderPrimitive.Root, { ref: ref, className: cn('relative flex w-full touch-none select-none items-center', className), ...props, children: [_jsx(SliderPrimitive.Track, { className: cn('relative h-2 w-full grow overflow-hidden rounded-full', 'bg-[var(--slider-track-background)]'), children: _jsx(SliderPrimitive.Range, { className: cn('absolute h-full', 'bg-[var(--slider-range-background)]') }) }), _jsx(SliderPrimitive.Thumb, { className: cn('block h-5 w-5 rounded-full', 'border-2 border-[var(--slider-thumb-border)]', 'bg-[var(--slider-thumb-background)]', 'ring-offset-[var(--slider-thumb-ring-offset)]', 'transition-colors', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', 'focus-visible:ring-[var(--slider-focus-ring)]', 'disabled:pointer-events-none disabled:opacity-50') })] })));
|
|
6
|
+
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
7
|
+
export { Slider };
|
|
8
|
+
//# sourceMappingURL=slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.js","sourceRoot":"","sources":["../../../src/primitives/slider.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAG7B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,MAAC,eAAe,CAAC,IAAI,IACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,0DAA0D,EAAE,SAAS,CAAC,KAChF,KAAK,aAET,KAAC,eAAe,CAAC,KAAK,IACpB,SAAS,EAAE,EAAE,CACX,uDAAuD,EACvD,qCAAqC,CACtC,YAED,KAAC,eAAe,CAAC,KAAK,IACpB,SAAS,EAAE,EAAE,CAAC,iBAAiB,EAAE,qCAAqC,CAAC,GACvE,GACoB,EACxB,KAAC,eAAe,CAAC,KAAK,IACpB,SAAS,EAAE,EAAE,CACX,4BAA4B,EAC5B,8CAA8C,EAC9C,qCAAqC,EACrC,+CAA+C,EAC/C,mBAAmB,EACnB,6EAA6E,EAC7E,+CAA+C,EAC/C,kDAAkD,CACnD,GACD,IACmB,CACxB,CAAC,CAAC;AACH,MAAM,CAAC,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAEtD,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
3
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Switch };
|
|
5
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/primitives/switch.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAG3D,QAAA,MAAM,MAAM,8JA2BV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const Switch = React.forwardRef(({ className, ...props }, ref) => (_jsx(SwitchPrimitives.Root, { className: cn('peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full', 'border-2 border-transparent transition-colors', 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2', 'focus-visible:ring-[var(--switch-focus-ring)]', 'disabled:cursor-not-allowed disabled:opacity-50', 'bg-[var(--switch-background)]', 'data-[state=checked]:bg-[var(--switch-checked-background)]', className), ...props, ref: ref, children: _jsx(SwitchPrimitives.Thumb, { className: cn('pointer-events-none block h-5 w-5 rounded-full', 'bg-[var(--switch-thumb-background)]', 'shadow-lg ring-0 transition-transform', 'data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0') }) })));
|
|
6
|
+
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
7
|
+
export { Switch };
|
|
8
|
+
//# sourceMappingURL=switch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../src/primitives/switch.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAG7B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,KAAC,gBAAgB,CAAC,IAAI,IACpB,SAAS,EAAE,EAAE,CACX,6EAA6E,EAC7E,+CAA+C,EAC/C,6EAA6E,EAC7E,+CAA+C,EAC/C,iDAAiD,EACjD,+BAA+B,EAC/B,4DAA4D,EAC5D,SAAS,CACV,KACG,KAAK,EACT,GAAG,EAAE,GAAG,YAER,KAAC,gBAAgB,CAAC,KAAK,IACrB,SAAS,EAAE,EAAE,CACX,gDAAgD,EAChD,qCAAqC,EACrC,uCAAuC,EACvC,yEAAyE,CAC1E,GACD,GACoB,CACzB,CAAC,CAAC;AACH,MAAM,CAAC,WAAW,GAAG,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const textVariants: (props?: ({
|
|
4
|
+
variant?: "caption" | "label" | "body" | "code" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface TextProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof textVariants> {
|
|
8
|
+
as?: 'span' | 'p' | 'div';
|
|
9
|
+
}
|
|
10
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
|
|
11
|
+
export { Text, textVariants };
|
|
12
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/primitives/text.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,YAAY;;;8EAkBhB,CAAC;AAEH,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAChF,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC;CAC3B;AAED,QAAA,MAAM,IAAI,+EAWT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
|
+
const textVariants = cva('', {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
body: 'text-[var(--text-body-color)]',
|
|
9
|
+
caption: 'text-[var(--text-caption-color)]',
|
|
10
|
+
label: 'text-[var(--text-label-color)]',
|
|
11
|
+
code: 'font-mono text-[var(--text-code-color)]',
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
sm: 'text-sm',
|
|
15
|
+
default: 'text-base',
|
|
16
|
+
lg: 'text-lg',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
variant: 'body',
|
|
21
|
+
size: 'default',
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
const Text = React.forwardRef(({ className, variant, size, as: Comp = 'span', ...props }, ref) => {
|
|
25
|
+
return (_jsx(Comp, { className: cn(textVariants({ variant, size, className })), ref: ref, ...props }));
|
|
26
|
+
});
|
|
27
|
+
Text.displayName = 'Text';
|
|
28
|
+
export { Text, textVariants };
|
|
29
|
+
//# sourceMappingURL=text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../src/primitives/text.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,MAAM,YAAY,GAAG,GAAG,CAAC,EAAE,EAAE;IAC3B,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,+BAA+B;YACrC,OAAO,EAAE,kCAAkC;YAC3C,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,yCAAyC;SAChD;QACD,IAAI,EAAE;YACJ,EAAE,EAAE,SAAS;YACb,OAAO,EAAE,WAAW;YACpB,EAAE,EAAE,SAAS;SACd;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,SAAS;KAChB;CACF,CAAC,CAAC;AAOH,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAC3B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjE,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,EAEzD,GAAG,EAAE,GAAU,KACX,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/login.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,MAAM,IAAI,GAAG;
|
|
1
|
+
{"version":3,"file":"login.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/login.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,sBAAsB;IACjC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,EAAE;CACT,CAAC;AAIF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,KAAK,EAAE,mBAAmB;YAC1B,QAAQ,EAAE,qBAAqB;YAC/B,YAAY,EAAE,UAAU;SACzB;QACD,KAAK,EAAE;YACL,IAAI,EAAE,CACJ,cAAK,SAAS,EAAC,qBAAqB,YAClC,cAAK,SAAS,EAAC,oDAAoD,kBAAQ,GACvE,CACP;SACF;KACF;CACF,CAAC;AAIF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,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yDAAyD,wBAE3E,CACL;YACD,UAAU,EAAE,CACV,8BACE,KAAC,QAAQ,IAAC,EAAE,EAAC,mBAAmB,GAAG,EACnC,KAAC,KAAK,IAAC,OAAO,EAAC,mBAAmB,EAAC,SAAS,EAAC,wBAAwB,kCAE7D,IACP,CACJ;YACD,WAAW,EAAE,CACX,8BACE,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,QAAQ,aAC1C,eAAM,SAAS,EAAC,MAAM,6BAAU,cAEzB,EACT,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,QAAQ,aAC1C,eAAM,SAAS,EAAC,MAAM,6BAAU,cAEzB,IACR,CACJ;YACD,MAAM,EAAE,CACN,eAAK,SAAS,EAAC,sCAAsC,aACnD,aAAG,SAAS,EAAC,0CAA0C,uCACzB,GAAG,EAC/B,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iDAAiD,iCAEnE,IACF,EACJ,aAAG,SAAS,EAAC,kDAAkD,gDAC7B,GAAG,EACnC,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iBAAiB,sBAEnC,EAAC,GAAG,SACJ,GAAG,EACP,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iBAAiB,+BAEnC,IACF,IACA,CACP;SACF;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/signup.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,MAAM,IAAI,GAAG;
|
|
1
|
+
{"version":3,"file":"signup.stories.js","sourceRoot":"","sources":["../../../../src/templates/auth/signup.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,uBAAuB;IAClC,UAAU,EAAE;QACV,MAAM,EAAE,YAAY;KACrB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC;AACF,eAAe,IAAI,CAAC;AAKpB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,aAAa,EAAE,CACb,8BACE,KAAC,QAAQ,IAAC,EAAE,EAAC,OAAO,GAAG,EACvB,MAAC,KAAK,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,wBAAwB,+BACxC,GAAG,EAClB,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,iCAErE,EAAC,GAAG,SACJ,GAAG,EACP,YAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,mDAAmD,+BAErE,IACE,IACP,CACJ;SACF;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overview.stories.js","sourceRoot":"","sources":["../../../../src/templates/dashboard/overview.stories.jsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,MAAM,IAAI,GAAG;
|
|
1
|
+
{"version":3,"file":"overview.stories.js","sourceRoot":"","sources":["../../../../src/templates/dashboard/overview.stories.jsx"],"names":[],"mappings":";AAM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