@luanthnh/cntt-ui 0.1.5
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/.storybook/globals.d.ts +1 -0
- package/.storybook/main.ts +29 -0
- package/.storybook/preview.ts +32 -0
- package/README.md +86 -0
- package/assets/fonts/Montserrat-Black.eot +0 -0
- package/assets/fonts/Montserrat-Black.ttf +0 -0
- package/assets/fonts/Montserrat-Black.woff +0 -0
- package/assets/fonts/Montserrat-Black.woff2 +0 -0
- package/assets/fonts/Montserrat-BlackItalic.eot +0 -0
- package/assets/fonts/Montserrat-BlackItalic.ttf +0 -0
- package/assets/fonts/Montserrat-BlackItalic.woff +0 -0
- package/assets/fonts/Montserrat-BlackItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Bold.eot +0 -0
- package/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/assets/fonts/Montserrat-Bold.woff +0 -0
- package/assets/fonts/Montserrat-Bold.woff2 +0 -0
- package/assets/fonts/Montserrat-BoldItalic.eot +0 -0
- package/assets/fonts/Montserrat-BoldItalic.ttf +0 -0
- package/assets/fonts/Montserrat-BoldItalic.woff +0 -0
- package/assets/fonts/Montserrat-BoldItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-ExtraBold.eot +0 -0
- package/assets/fonts/Montserrat-ExtraBold.ttf +0 -0
- package/assets/fonts/Montserrat-ExtraBold.woff +0 -0
- package/assets/fonts/Montserrat-ExtraBold.woff2 +0 -0
- package/assets/fonts/Montserrat-ExtraBoldItalic.eot +0 -0
- package/assets/fonts/Montserrat-ExtraBoldItalic.ttf +0 -0
- package/assets/fonts/Montserrat-ExtraBoldItalic.woff +0 -0
- package/assets/fonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-ExtraLight.eot +0 -0
- package/assets/fonts/Montserrat-ExtraLight.ttf +0 -0
- package/assets/fonts/Montserrat-ExtraLight.woff +0 -0
- package/assets/fonts/Montserrat-ExtraLight.woff2 +0 -0
- package/assets/fonts/Montserrat-ExtraLightItalic.eot +0 -0
- package/assets/fonts/Montserrat-ExtraLightItalic.ttf +0 -0
- package/assets/fonts/Montserrat-ExtraLightItalic.woff +0 -0
- package/assets/fonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Italic.eot +0 -0
- package/assets/fonts/Montserrat-Italic.ttf +0 -0
- package/assets/fonts/Montserrat-Italic.woff +0 -0
- package/assets/fonts/Montserrat-Italic.woff2 +0 -0
- package/assets/fonts/Montserrat-Light.eot +0 -0
- package/assets/fonts/Montserrat-Light.ttf +0 -0
- package/assets/fonts/Montserrat-Light.woff +0 -0
- package/assets/fonts/Montserrat-Light.woff2 +0 -0
- package/assets/fonts/Montserrat-LightItalic.eot +0 -0
- package/assets/fonts/Montserrat-LightItalic.ttf +0 -0
- package/assets/fonts/Montserrat-LightItalic.woff +0 -0
- package/assets/fonts/Montserrat-LightItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Medium.eot +0 -0
- package/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/assets/fonts/Montserrat-Medium.woff +0 -0
- package/assets/fonts/Montserrat-Medium.woff2 +0 -0
- package/assets/fonts/Montserrat-MediumItalic.eot +0 -0
- package/assets/fonts/Montserrat-MediumItalic.ttf +0 -0
- package/assets/fonts/Montserrat-MediumItalic.woff +0 -0
- package/assets/fonts/Montserrat-MediumItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Regular.eot +0 -0
- package/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/assets/fonts/Montserrat-Regular.woff +0 -0
- package/assets/fonts/Montserrat-Regular.woff2 +0 -0
- package/assets/fonts/Montserrat-SemiBold.eot +0 -0
- package/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/assets/fonts/Montserrat-SemiBold.woff +0 -0
- package/assets/fonts/Montserrat-SemiBold.woff2 +0 -0
- package/assets/fonts/Montserrat-SemiBoldItalic.eot +0 -0
- package/assets/fonts/Montserrat-SemiBoldItalic.ttf +0 -0
- package/assets/fonts/Montserrat-SemiBoldItalic.woff +0 -0
- package/assets/fonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Thin.eot +0 -0
- package/assets/fonts/Montserrat-Thin.ttf +0 -0
- package/assets/fonts/Montserrat-Thin.woff +0 -0
- package/assets/fonts/Montserrat-Thin.woff2 +0 -0
- package/assets/fonts/Montserrat-ThinItalic.eot +0 -0
- package/assets/fonts/Montserrat-ThinItalic.ttf +0 -0
- package/assets/fonts/Montserrat-ThinItalic.woff +0 -0
- package/assets/fonts/Montserrat-ThinItalic.woff2 +0 -0
- package/assets/fonts/Montserrat-Variable.eot +0 -0
- package/assets/fonts/Montserrat-Variable.ttf +0 -0
- package/assets/fonts/Montserrat-Variable.woff +0 -0
- package/assets/fonts/Montserrat-Variable.woff2 +0 -0
- package/assets/fonts/Montserrat-VariableItalic.eot +0 -0
- package/assets/fonts/Montserrat-VariableItalic.ttf +0 -0
- package/assets/fonts/Montserrat-VariableItalic.woff +0 -0
- package/assets/fonts/Montserrat-VariableItalic.woff2 +0 -0
- package/assets/icons/arrow-left.svg +1 -0
- package/assets/icons/file.svg +1 -0
- package/assets/icons/globe.svg +1 -0
- package/assets/icons/logo-line.svg +1 -0
- package/assets/icons/next.svg +1 -0
- package/assets/icons/panel-left-expand.svg +1 -0
- package/assets/icons/placeholder.svg +57 -0
- package/assets/icons/vercel.svg +1 -0
- package/assets/icons/window.svg +1 -0
- package/assets/lotties/error-404.json +19642 -0
- package/assets/lotties/error.json +2414 -0
- package/assets/lotties/loader.json +305 -0
- package/components/Welcome.mdx +74 -0
- package/components/lenis/index.tsx +48 -0
- package/components/motion/auto-height.tsx +56 -0
- package/components/motion/cursor.tsx +108 -0
- package/components/motion/highlight.tsx +605 -0
- package/components/motion/number-ticker.tsx +55 -0
- package/components/motion/slot.tsx +106 -0
- package/components/motion/waves.tsx +417 -0
- package/components/primitives/tabs.tsx +174 -0
- package/components/ui/Accordion/index.stories.tsx +39 -0
- package/components/ui/Accordion/index.tsx +170 -0
- package/components/ui/Alert/index.stories.tsx +39 -0
- package/components/ui/Alert/index.tsx +60 -0
- package/components/ui/AlertDialog/index.stories.tsx +47 -0
- package/components/ui/AlertDialog/index.tsx +172 -0
- package/components/ui/AspectRatio/index.stories.tsx +40 -0
- package/components/ui/AspectRatio/index.tsx +9 -0
- package/components/ui/Avatar/index.stories.tsx +39 -0
- package/components/ui/Avatar/index.tsx +44 -0
- package/components/ui/Badge/index.stories.tsx +64 -0
- package/components/ui/Badge/index.tsx +46 -0
- package/components/ui/Breadcrumb/index.stories.tsx +64 -0
- package/components/ui/Breadcrumb/index.tsx +102 -0
- package/components/ui/Button/index.stories.tsx +232 -0
- package/components/ui/Button/index.tsx +114 -0
- package/components/ui/Calendar/index.stories.tsx +20 -0
- package/components/ui/Calendar/index.tsx +149 -0
- package/components/ui/Card/index.stories.tsx +39 -0
- package/components/ui/Card/index.tsx +65 -0
- package/components/ui/Carousel/index.stories.tsx +37 -0
- package/components/ui/Carousel/index.tsx +242 -0
- package/components/ui/Chart/index.stories.tsx +53 -0
- package/components/ui/Chart/index.tsx +322 -0
- package/components/ui/Checkbox/index.stories.tsx +56 -0
- package/components/ui/Checkbox/index.tsx +167 -0
- package/components/ui/CircleProcess/index.stories.tsx +29 -0
- package/components/ui/CircleProcess/index.tsx +50 -0
- package/components/ui/Collapsible/index.stories.tsx +33 -0
- package/components/ui/Collapsible/index.tsx +124 -0
- package/components/ui/Command/index.stories.tsx +65 -0
- package/components/ui/Command/index.tsx +161 -0
- package/components/ui/Container/index.stories.tsx +22 -0
- package/components/ui/Container/index.tsx +30 -0
- package/components/ui/ContextMenu/index.stories.tsx +51 -0
- package/components/ui/ContextMenu/index.tsx +224 -0
- package/components/ui/Dialog/index.stories.tsx +44 -0
- package/components/ui/Dialog/index.tsx +156 -0
- package/components/ui/Drawer/index.stories.tsx +54 -0
- package/components/ui/Drawer/index.tsx +124 -0
- package/components/ui/DropdownMenu/index.stories.tsx +83 -0
- package/components/ui/DropdownMenu/index.tsx +231 -0
- package/components/ui/Dropzone/index.stories.tsx +18 -0
- package/components/ui/Dropzone/index.tsx +47 -0
- package/components/ui/Form/date-field.tsx +77 -0
- package/components/ui/Form/index.stories.tsx +67 -0
- package/components/ui/Form/index.tsx +188 -0
- package/components/ui/Form/select-field.tsx +55 -0
- package/components/ui/Form/text-area-field.tsx +37 -0
- package/components/ui/Form/text-field.tsx +72 -0
- package/components/ui/HStack/index.stories.tsx +48 -0
- package/components/ui/HStack/index.tsx +73 -0
- package/components/ui/HoverCard/index.stories.tsx +38 -0
- package/components/ui/HoverCard/index.tsx +38 -0
- package/components/ui/Icons/index.stories.tsx +27 -0
- package/components/ui/Icons/index.tsx +33 -0
- package/components/ui/ImageWithFallback/index.stories.tsx +32 -0
- package/components/ui/ImageWithFallback/index.tsx +34 -0
- package/components/ui/Input/index.stories.tsx +47 -0
- package/components/ui/Input/index.tsx +21 -0
- package/components/ui/InputOtp/index.stories.tsx +35 -0
- package/components/ui/InputOtp/index.tsx +70 -0
- package/components/ui/Label/index.stories.tsx +18 -0
- package/components/ui/Label/index.tsx +21 -0
- package/components/ui/Marquee/index.stories.tsx +71 -0
- package/components/ui/Marquee/index.tsx +65 -0
- package/components/ui/Menubar/index.stories.tsx +116 -0
- package/components/ui/Menubar/index.tsx +252 -0
- package/components/ui/NavigationMenu/index.stories.tsx +112 -0
- package/components/ui/NavigationMenu/index.tsx +185 -0
- package/components/ui/NoData/index.stories.tsx +24 -0
- package/components/ui/NoData/index.tsx +19 -0
- package/components/ui/Pagination/index.stories.tsx +53 -0
- package/components/ui/Pagination/index.tsx +114 -0
- package/components/ui/Popover/index.stories.tsx +31 -0
- package/components/ui/Popover/index.tsx +42 -0
- package/components/ui/Progress/index.stories.tsx +35 -0
- package/components/ui/Progress/index.tsx +28 -0
- package/components/ui/RadioGroup/index.stories.tsx +28 -0
- package/components/ui/RadioGroup/index.tsx +45 -0
- package/components/ui/Resizable/index.stories.tsx +44 -0
- package/components/ui/Resizable/index.tsx +54 -0
- package/components/ui/ScrollArea/index.stories.tsx +31 -0
- package/components/ui/ScrollArea/index.tsx +56 -0
- package/components/ui/Select/index.stories.tsx +64 -0
- package/components/ui/Select/index.tsx +170 -0
- package/components/ui/Separator/index.stories.tsx +31 -0
- package/components/ui/Separator/index.tsx +28 -0
- package/components/ui/Sheet/index.stories.tsx +45 -0
- package/components/ui/Sheet/index.tsx +130 -0
- package/components/ui/Sidebar/index.stories.tsx +82 -0
- package/components/ui/Sidebar/index.tsx +676 -0
- package/components/ui/Skeleton/index.stories.tsx +36 -0
- package/components/ui/Skeleton/index.tsx +13 -0
- package/components/ui/Slider/index.stories.tsx +48 -0
- package/components/ui/Slider/index.tsx +82 -0
- package/components/ui/Slot/index.stories.tsx +29 -0
- package/components/ui/Slot/index.tsx +106 -0
- package/components/ui/Sonner/index.stories.tsx +36 -0
- package/components/ui/Sonner/index.tsx +31 -0
- package/components/ui/Switch/index.stories.tsx +33 -0
- package/components/ui/Switch/index.tsx +28 -0
- package/components/ui/Table/index.stories.tsx +74 -0
- package/components/ui/Table/index.tsx +95 -0
- package/components/ui/Tabs/index.stories.tsx +38 -0
- package/components/ui/Tabs/index.tsx +78 -0
- package/components/ui/Text/index.stories.tsx +53 -0
- package/components/ui/Text/index.tsx +138 -0
- package/components/ui/Textarea/index.stories.tsx +25 -0
- package/components/ui/Textarea/index.tsx +18 -0
- package/components/ui/Toggle/index.stories.tsx +52 -0
- package/components/ui/Toggle/index.tsx +46 -0
- package/components/ui/ToggleGroup/index.stories.tsx +52 -0
- package/components/ui/ToggleGroup/index.tsx +69 -0
- package/components/ui/Tooltip/index.stories.tsx +29 -0
- package/components/ui/Tooltip/index.tsx +35 -0
- package/components/ui/VStack/index.stories.tsx +45 -0
- package/components/ui/VStack/index.tsx +69 -0
- package/components/ui/colors.stories.tsx +148 -0
- package/dist/arrow-left-46B4CAEY.svg +1 -0
- package/dist/file-4IXBJF4J.svg +1 -0
- package/dist/globe-KVAXBN2U.svg +1 -0
- package/dist/index.cjs +6001 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +693 -0
- package/dist/index.d.ts +693 -0
- package/dist/index.js +5714 -0
- package/dist/index.js.map +1 -0
- package/dist/logo-line-QLUD5DAV.svg +1 -0
- package/dist/next-HOXZBJQP.svg +1 -0
- package/dist/panel-left-expand-SIPFBG4J.svg +1 -0
- package/dist/placeholder-H3V4XYVI.svg +57 -0
- package/dist/vercel-KFYFHF3A.svg +1 -0
- package/dist/window-JNUL4Q2E.svg +1 -0
- package/eslint.config.js +10 -0
- package/globals.css +994 -0
- package/hooks/index.ts +3 -0
- package/hooks/use-auto-height.tsx +99 -0
- package/hooks/use-controlled-state.tsx +32 -0
- package/hooks/use-mobile.ts +19 -0
- package/index.ts +58 -0
- package/lib/get-strict-context.ts +15 -0
- package/lib/utils.ts +10 -0
- package/package.json +107 -0
- package/scripts/generate-exports.ts +32 -0
- package/tsconfig.json +12 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsup.config.ts +11 -0
- package/types/svg.d.ts +10 -0
- package/vercel.json +5 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { motion, type HTMLMotionProps } from 'motion/react';
|
|
6
|
+
|
|
7
|
+
import { cn } from '@/lib/utils';
|
|
8
|
+
|
|
9
|
+
/* ---------- VStack ---------- */
|
|
10
|
+
const vStackVariants = cva('flex flex-col', {
|
|
11
|
+
variants: {
|
|
12
|
+
justify: {
|
|
13
|
+
top: 'justify-start',
|
|
14
|
+
bottom: 'justify-end',
|
|
15
|
+
center: 'justify-center',
|
|
16
|
+
apart: 'justify-between',
|
|
17
|
+
around: 'justify-around',
|
|
18
|
+
evenly: 'justify-evenly',
|
|
19
|
+
},
|
|
20
|
+
align: {
|
|
21
|
+
default: 'items-stretch',
|
|
22
|
+
center: 'items-center',
|
|
23
|
+
start: 'items-start',
|
|
24
|
+
end: 'items-end',
|
|
25
|
+
baseline: 'items-baseline',
|
|
26
|
+
},
|
|
27
|
+
spacing: {
|
|
28
|
+
0: 'gap-0',
|
|
29
|
+
2: 'gap-0.5',
|
|
30
|
+
4: 'gap-1',
|
|
31
|
+
6: 'gap-1.5',
|
|
32
|
+
8: 'gap-2',
|
|
33
|
+
12: 'gap-3',
|
|
34
|
+
16: 'gap-4',
|
|
35
|
+
20: 'gap-5',
|
|
36
|
+
24: 'gap-6',
|
|
37
|
+
32: 'gap-8',
|
|
38
|
+
40: 'gap-10',
|
|
39
|
+
48: 'gap-12',
|
|
40
|
+
64: 'gap-16',
|
|
41
|
+
none: 'gap-0',
|
|
42
|
+
},
|
|
43
|
+
noWrap: {
|
|
44
|
+
true: 'flex-nowrap',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
defaultVariants: {
|
|
48
|
+
spacing: 16,
|
|
49
|
+
justify: 'top',
|
|
50
|
+
align: 'default',
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export interface VStackProps extends VariantProps<typeof vStackVariants>, HTMLMotionProps<'div'> {}
|
|
55
|
+
|
|
56
|
+
const VStack = React.forwardRef<HTMLDivElement, VStackProps>(
|
|
57
|
+
({ className, noWrap, justify, align, spacing, children, ...motionProps }, ref) => (
|
|
58
|
+
<motion.div
|
|
59
|
+
ref={ref}
|
|
60
|
+
className={cn(vStackVariants({ spacing, align, justify, noWrap }), className)}
|
|
61
|
+
{...motionProps}
|
|
62
|
+
>
|
|
63
|
+
{children}
|
|
64
|
+
</motion.div>
|
|
65
|
+
),
|
|
66
|
+
);
|
|
67
|
+
VStack.displayName = 'VStack';
|
|
68
|
+
|
|
69
|
+
export { VStack, vStackVariants };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Display existing color palettes from `globals.css`.
|
|
5
|
+
* Colors are defined as CSS variables with Dark Mode support.
|
|
6
|
+
*/
|
|
7
|
+
const meta: Meta = {
|
|
8
|
+
title: 'Theme/Colors',
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'fullscreen',
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
const ColorGroup = ({ title, colors }: { title: string; colors: Record<string, string> }) => (
|
|
17
|
+
<div className="mb-10">
|
|
18
|
+
<h3 className="text-foreground mb-4 text-lg font-bold">{title}</h3>
|
|
19
|
+
<div className="grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6">
|
|
20
|
+
{Object.entries(colors).map(([name, variable]) => (
|
|
21
|
+
<div key={name} className="flex flex-col gap-2">
|
|
22
|
+
<div
|
|
23
|
+
className="border-border h-20 w-full rounded-lg border shadow-sm transition-transform hover:scale-105"
|
|
24
|
+
style={{ backgroundColor: variable }}
|
|
25
|
+
/>
|
|
26
|
+
<div className="flex flex-col">
|
|
27
|
+
<span className="text-foreground text-sm font-medium">{name}</span>
|
|
28
|
+
<span className="text-muted-foreground text-xs uppercase">
|
|
29
|
+
{variable.replace('var(', '').replace(')', '')}
|
|
30
|
+
</span>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
))}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
export const Palettes = {
|
|
39
|
+
render: () => (
|
|
40
|
+
<div className="bg-background min-h-screen p-8">
|
|
41
|
+
<div className="border-border mb-8 border-b pb-4">
|
|
42
|
+
<h1 className="text-foreground text-3xl font-bold">Color Palette</h1>
|
|
43
|
+
<p className="text-muted-foreground mt-2">
|
|
44
|
+
The color system used in the application, defined in <code>globals.css</code>.
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<ColorGroup
|
|
49
|
+
title="Primary (Blue)"
|
|
50
|
+
colors={{
|
|
51
|
+
'Primary 50': 'var(--primary-50)',
|
|
52
|
+
'Primary 100': 'var(--primary-100)',
|
|
53
|
+
'Primary 200': 'var(--primary-200)',
|
|
54
|
+
'Primary 300': 'var(--primary-300)',
|
|
55
|
+
'Primary 400': 'var(--primary-400)',
|
|
56
|
+
'Primary 500': 'var(--primary-500)',
|
|
57
|
+
'Primary 600': 'var(--primary-600)',
|
|
58
|
+
'Primary 700': 'var(--primary-700)',
|
|
59
|
+
'Primary 800': 'var(--primary-800)',
|
|
60
|
+
'Primary 900': 'var(--primary-900)',
|
|
61
|
+
'Primary 950': 'var(--primary-950)',
|
|
62
|
+
Default: 'var(--primary)',
|
|
63
|
+
}}
|
|
64
|
+
/>
|
|
65
|
+
|
|
66
|
+
<ColorGroup
|
|
67
|
+
title="Secondary & Muted"
|
|
68
|
+
colors={{
|
|
69
|
+
'Secondary 50': 'var(--secondary-50)',
|
|
70
|
+
'Secondary 100': 'var(--secondary-100)',
|
|
71
|
+
'Secondary 200': 'var(--secondary-200)',
|
|
72
|
+
Secondary: 'var(--secondary)',
|
|
73
|
+
Muted: 'var(--muted)',
|
|
74
|
+
'Muted Foreground': 'var(--muted-foreground)',
|
|
75
|
+
}}
|
|
76
|
+
/>
|
|
77
|
+
|
|
78
|
+
<ColorGroup
|
|
79
|
+
title="Accent & Status"
|
|
80
|
+
colors={{
|
|
81
|
+
Accent: 'var(--accent)',
|
|
82
|
+
'Accent Foreground': 'var(--accent-foreground)',
|
|
83
|
+
Success: 'var(--success)',
|
|
84
|
+
Warning: 'var(--warning)',
|
|
85
|
+
Destructive: 'var(--destructive)',
|
|
86
|
+
}}
|
|
87
|
+
/>
|
|
88
|
+
|
|
89
|
+
<ColorGroup
|
|
90
|
+
title="Base UI Colors"
|
|
91
|
+
colors={{
|
|
92
|
+
Background: 'var(--background)',
|
|
93
|
+
Foreground: 'var(--foreground)',
|
|
94
|
+
Card: 'var(--card)',
|
|
95
|
+
Popover: 'var(--popover)',
|
|
96
|
+
Border: 'var(--border)',
|
|
97
|
+
Input: 'var(--input)',
|
|
98
|
+
Ring: 'var(--ring)',
|
|
99
|
+
}}
|
|
100
|
+
/>
|
|
101
|
+
|
|
102
|
+
<ColorGroup
|
|
103
|
+
title="Chart Colors"
|
|
104
|
+
colors={{
|
|
105
|
+
'Chart 1': 'var(--chart-1)',
|
|
106
|
+
'Chart 2': 'var(--chart-2)',
|
|
107
|
+
'Chart 3': 'var(--chart-3)',
|
|
108
|
+
'Chart 4': 'var(--chart-4)',
|
|
109
|
+
'Chart 5': 'var(--chart-5)',
|
|
110
|
+
}}
|
|
111
|
+
/>
|
|
112
|
+
|
|
113
|
+
<ColorGroup
|
|
114
|
+
title="Sidebar Colors"
|
|
115
|
+
colors={{
|
|
116
|
+
'Sidebar BG': 'var(--sidebar)',
|
|
117
|
+
'Sidebar FG': 'var(--sidebar-foreground)',
|
|
118
|
+
'Sidebar Primary': 'var(--sidebar-primary)',
|
|
119
|
+
'Sidebar Accent': 'var(--sidebar-accent)',
|
|
120
|
+
'Sidebar Border': 'var(--sidebar-border)',
|
|
121
|
+
'Sidebar Ring': 'var(--sidebar-ring)',
|
|
122
|
+
}}
|
|
123
|
+
/>
|
|
124
|
+
|
|
125
|
+
<ColorGroup
|
|
126
|
+
title="Solid Colors"
|
|
127
|
+
colors={{
|
|
128
|
+
'Primary Solid': 'var(--color-primary-solid)',
|
|
129
|
+
'Secondary Solid': 'var(--color-secondary-solid)',
|
|
130
|
+
'Success Solid': 'var(--color-success-solid)',
|
|
131
|
+
'Warning Solid': 'var(--color-warning-solid)',
|
|
132
|
+
'Danger Solid': 'var(--color-danger-solid)',
|
|
133
|
+
'Surface Solid': 'var(--color-surface-solid)',
|
|
134
|
+
}}
|
|
135
|
+
/>
|
|
136
|
+
|
|
137
|
+
<ColorGroup
|
|
138
|
+
title="Glass & Shadows"
|
|
139
|
+
colors={{
|
|
140
|
+
'Glass BG': 'var(--glass-bg)',
|
|
141
|
+
'Glass Border': 'var(--glass-border)',
|
|
142
|
+
'Shadow Glow': 'var(--shadow-glow)',
|
|
143
|
+
'Shadow Glow LG': 'var(--shadow-glow-lg)',
|
|
144
|
+
}}
|
|
145
|
+
/>
|
|
146
|
+
</div>
|
|
147
|
+
),
|
|
148
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m14 7l-5 5l5 5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|