@syscore/ui-library 1.1.13 → 1.2.1
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/client/components/ui/accordion.tsx +6 -9
- package/client/components/ui/alert-dialog.tsx +6 -19
- package/client/components/ui/alert.tsx +5 -6
- package/client/components/ui/avatar.tsx +3 -9
- package/client/components/ui/badge.tsx +5 -8
- package/client/components/ui/breadcrumb.tsx +7 -16
- package/client/components/ui/button.tsx +17 -45
- package/client/components/ui/calendar.tsx +24 -28
- package/client/components/ui/card.tsx +6 -9
- package/client/components/ui/carousel.tsx +14 -14
- package/client/components/ui/chart.tsx +25 -28
- package/client/components/ui/checkbox.tsx +3 -8
- package/client/components/ui/code-badge.tsx +1 -4
- package/client/components/ui/command.tsx +12 -48
- package/client/components/ui/context-menu.tsx +17 -32
- package/client/components/ui/dialog.tsx +9 -18
- package/client/components/ui/drawer.tsx +7 -13
- package/client/components/ui/dropdown-menu.tsx +17 -29
- package/client/components/ui/form.tsx +4 -4
- package/client/components/ui/hover-card.tsx +1 -4
- package/client/components/ui/input-otp.tsx +7 -10
- package/client/components/ui/input.tsx +4 -23
- package/client/components/ui/label.tsx +1 -3
- package/client/components/ui/menubar.tsx +19 -40
- package/client/components/ui/navigation-menu.tsx +10 -27
- package/client/components/ui/navigation.tsx +193 -331
- package/client/components/ui/pagination.tsx +8 -8
- package/client/components/ui/popover.tsx +1 -4
- package/client/components/ui/progress.tsx +2 -5
- package/client/components/ui/radio-group.tsx +4 -7
- package/client/components/ui/resizable.tsx +4 -10
- package/client/components/ui/scroll-area.tsx +5 -8
- package/client/components/ui/search.tsx +7 -10
- package/client/components/ui/select.tsx +11 -36
- package/client/components/ui/separator.tsx +2 -2
- package/client/components/ui/sheet.tsx +12 -23
- package/client/components/ui/sidebar.tsx +55 -82
- package/client/components/ui/skeleton.tsx +1 -1
- package/client/components/ui/slider.tsx +4 -7
- package/client/components/ui/sonner.tsx +5 -8
- package/client/components/ui/switch.tsx +2 -9
- package/client/components/ui/table.tsx +9 -18
- package/client/components/ui/tabs.tsx +19 -28
- package/client/components/ui/tag.tsx +6 -66
- package/client/components/ui/textarea.tsx +1 -4
- package/client/components/ui/toast.tsx +9 -19
- package/client/components/ui/toaster.tsx +1 -1
- package/client/components/ui/toggle-group.tsx +4 -4
- package/client/components/ui/toggle.tsx +13 -13
- package/client/components/ui/tooltip.tsx +12 -15
- package/client/global.css +5419 -1054
- package/client/storybook.css +1164 -0
- package/dist/index.cjs.js +1 -0
- package/dist/{ui/index.d.ts → index.d.ts} +0 -1
- package/dist/index.es.js +4552 -0
- package/dist/ui-library.css +1 -0
- package/package.json +9 -12
- package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +0 -115
- package/client/ui/WELLDashboard/index.tsx +0 -317
- package/dist/ui/index.cjs.js +0 -1
- package/dist/ui/index.es.js +0 -5502
- package/tailwind.preset.ts +0 -151
- /package/dist/{ui/favicon.ico → favicon.ico} +0 -0
- /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.otf +0 -0
- /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.ttf +0 -0
- /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.woff +0 -0
- /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.woff2 +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-black.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-blackitalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-bold.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-bolditalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extrabold.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extrabolditalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extralight.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extralightitalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-italic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-light.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-lightitalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-medium.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-mediumitalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-regular.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-semibold.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-semibolditalic.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-thin.otf +0 -0
- /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-thinitalic.otf +0 -0
- /package/dist/{ui/placeholder.svg → placeholder.svg} +0 -0
- /package/dist/{ui/robots.txt → robots.txt} +0 -0
package/tailwind.preset.ts
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import type { Config } from "tailwindcss";
|
|
2
|
-
import colors from "tailwindcss/colors";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Tailwind preset for @syscore/ui-library
|
|
6
|
-
*
|
|
7
|
-
* This preset ensures all default Tailwind colors are available
|
|
8
|
-
* even when parent projects override colors in their config.
|
|
9
|
-
*
|
|
10
|
-
* Usage in parent project's tailwind.config.ts:
|
|
11
|
-
* import uiPreset from "@syscore/ui-library/tailwind.preset";
|
|
12
|
-
* export default { presets: [uiPreset], ... } satisfies Config;
|
|
13
|
-
*/
|
|
14
|
-
export default {
|
|
15
|
-
theme: {
|
|
16
|
-
extend: {
|
|
17
|
-
colors: {
|
|
18
|
-
// Include all default Tailwind colors to ensure they're available
|
|
19
|
-
// even when parent projects override colors
|
|
20
|
-
...colors,
|
|
21
|
-
// Custom themeable colors for the design system
|
|
22
|
-
border: "hsl(var(--border))",
|
|
23
|
-
input: "hsl(var(--input))",
|
|
24
|
-
ring: "hsl(var(--ring))",
|
|
25
|
-
background: "hsl(var(--background))",
|
|
26
|
-
foreground: "hsl(var(--foreground))",
|
|
27
|
-
primary: {
|
|
28
|
-
DEFAULT: "hsl(var(--primary))",
|
|
29
|
-
foreground: "hsl(var(--primary-foreground))",
|
|
30
|
-
},
|
|
31
|
-
secondary: {
|
|
32
|
-
DEFAULT: "hsl(var(--secondary))",
|
|
33
|
-
foreground: "hsl(var(--secondary-foreground))",
|
|
34
|
-
},
|
|
35
|
-
destructive: {
|
|
36
|
-
DEFAULT: "hsl(var(--destructive))",
|
|
37
|
-
foreground: "hsl(var(--destructive-foreground))",
|
|
38
|
-
},
|
|
39
|
-
muted: {
|
|
40
|
-
DEFAULT: "hsl(var(--muted))",
|
|
41
|
-
foreground: "hsl(var(--muted-foreground))",
|
|
42
|
-
},
|
|
43
|
-
accent: {
|
|
44
|
-
DEFAULT: "hsl(var(--accent))",
|
|
45
|
-
foreground: "hsl(var(--accent-foreground))",
|
|
46
|
-
},
|
|
47
|
-
popover: {
|
|
48
|
-
DEFAULT: "hsl(var(--popover))",
|
|
49
|
-
foreground: "hsl(var(--popover-foreground))",
|
|
50
|
-
},
|
|
51
|
-
card: {
|
|
52
|
-
DEFAULT: "hsl(var(--card))",
|
|
53
|
-
foreground: "hsl(var(--card-foreground))",
|
|
54
|
-
},
|
|
55
|
-
sidebar: {
|
|
56
|
-
DEFAULT: "hsl(var(--sidebar-background))",
|
|
57
|
-
foreground: "hsl(var(--sidebar-foreground))",
|
|
58
|
-
primary: "hsl(var(--sidebar-primary))",
|
|
59
|
-
"primary-foreground": "hsl(var(--sidebar-primary-foreground))",
|
|
60
|
-
accent: "hsl(var(--sidebar-accent))",
|
|
61
|
-
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
|
|
62
|
-
border: "hsl(var(--sidebar-border))",
|
|
63
|
-
ring: "hsl(var(--sidebar-ring))",
|
|
64
|
-
},
|
|
65
|
-
// Cyan colors - themeable via CSS variables
|
|
66
|
-
cyan: {
|
|
67
|
-
50: "hsl(var(--cyan-50))",
|
|
68
|
-
100: "hsl(var(--cyan-100))",
|
|
69
|
-
200: "hsl(var(--cyan-200))",
|
|
70
|
-
300: "hsl(var(--cyan-300))",
|
|
71
|
-
400: "hsl(var(--cyan-400))",
|
|
72
|
-
500: "hsl(var(--cyan-500))",
|
|
73
|
-
600: "hsl(var(--cyan-600))",
|
|
74
|
-
700: "hsl(var(--cyan-700))",
|
|
75
|
-
800: "hsl(var(--cyan-800))",
|
|
76
|
-
dark: "hsl(var(--cyan-dark))",
|
|
77
|
-
"gradient-from": "hsl(var(--cyan-gradient-from))",
|
|
78
|
-
"gradient-via": "hsl(var(--cyan-gradient-via))",
|
|
79
|
-
"gradient-to": "hsl(var(--cyan-gradient-to))",
|
|
80
|
-
},
|
|
81
|
-
// Blue colors - themeable via CSS variables
|
|
82
|
-
blue: {
|
|
83
|
-
50: "hsl(var(--blue-50))",
|
|
84
|
-
100: "hsl(var(--blue-100))",
|
|
85
|
-
200: "hsl(var(--blue-200))",
|
|
86
|
-
300: "hsl(var(--blue-300))",
|
|
87
|
-
400: "hsl(var(--blue-400))",
|
|
88
|
-
500: "hsl(var(--blue-500))",
|
|
89
|
-
600: "hsl(var(--blue-600))",
|
|
90
|
-
},
|
|
91
|
-
// Gray colors - themeable via CSS variables
|
|
92
|
-
gray: {
|
|
93
|
-
50: "hsl(var(--gray-50))",
|
|
94
|
-
100: "hsl(var(--gray-100))",
|
|
95
|
-
200: "hsl(var(--gray-200))",
|
|
96
|
-
300: "hsl(var(--gray-300))",
|
|
97
|
-
400: "hsl(var(--gray-400))",
|
|
98
|
-
500: "hsl(var(--gray-500))",
|
|
99
|
-
600: "hsl(var(--gray-600))",
|
|
100
|
-
700: "hsl(var(--gray-700))",
|
|
101
|
-
800: "hsl(var(--gray-800))",
|
|
102
|
-
900: "hsl(var(--gray-900))",
|
|
103
|
-
},
|
|
104
|
-
// Slate colors - themeable via CSS variables
|
|
105
|
-
slate: {
|
|
106
|
-
50: "hsl(var(--slate-50))",
|
|
107
|
-
100: "hsl(var(--slate-100))",
|
|
108
|
-
200: "hsl(var(--slate-200))",
|
|
109
|
-
300: "hsl(var(--slate-300))",
|
|
110
|
-
400: "hsl(var(--slate-400))",
|
|
111
|
-
500: "hsl(var(--slate-500))",
|
|
112
|
-
600: "hsl(var(--slate-600))",
|
|
113
|
-
700: "hsl(var(--slate-700))",
|
|
114
|
-
800: "hsl(var(--slate-800))",
|
|
115
|
-
900: "hsl(var(--slate-900))",
|
|
116
|
-
},
|
|
117
|
-
// Violet colors - themeable via CSS variables
|
|
118
|
-
violet: {
|
|
119
|
-
100: "hsl(var(--violet-100))",
|
|
120
|
-
200: "hsl(var(--violet-200))",
|
|
121
|
-
500: "hsl(var(--violet-500))",
|
|
122
|
-
600: "hsl(var(--violet-600))",
|
|
123
|
-
700: "hsl(var(--violet-700))",
|
|
124
|
-
},
|
|
125
|
-
// Utility colors - themeable via CSS variables
|
|
126
|
-
white: "hsl(var(--white))",
|
|
127
|
-
black: "hsl(var(--black))",
|
|
128
|
-
},
|
|
129
|
-
borderRadius: {
|
|
130
|
-
lg: "var(--radius)",
|
|
131
|
-
md: "calc(var(--radius) - 2px)",
|
|
132
|
-
sm: "calc(var(--radius) - 4px)",
|
|
133
|
-
},
|
|
134
|
-
keyframes: {
|
|
135
|
-
"accordion-down": {
|
|
136
|
-
from: { height: "0" },
|
|
137
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
138
|
-
},
|
|
139
|
-
"accordion-up": {
|
|
140
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
141
|
-
to: { height: "0" },
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
animation: {
|
|
145
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
146
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
plugins: [require("tailwindcss-animate")],
|
|
151
|
-
} as Partial<Config>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|