@syscore/ui-library 1.2.0 → 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.
Files changed (31) hide show
  1. package/package.json +8 -11
  2. package/tailwind.preset.ts +0 -151
  3. /package/dist/{ui/favicon.ico → favicon.ico} +0 -0
  4. /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.otf +0 -0
  5. /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.ttf +0 -0
  6. /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.woff +0 -0
  7. /package/dist/{ui/fonts → fonts}/FT-Made/FTMade-Regular.woff2 +0 -0
  8. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-black.otf +0 -0
  9. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-blackitalic.otf +0 -0
  10. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-bold.otf +0 -0
  11. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-bolditalic.otf +0 -0
  12. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extrabold.otf +0 -0
  13. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extrabolditalic.otf +0 -0
  14. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extralight.otf +0 -0
  15. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-extralightitalic.otf +0 -0
  16. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-italic.otf +0 -0
  17. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-light.otf +0 -0
  18. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-lightitalic.otf +0 -0
  19. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-medium.otf +0 -0
  20. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-mediumitalic.otf +0 -0
  21. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-regular.otf +0 -0
  22. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-semibold.otf +0 -0
  23. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-semibolditalic.otf +0 -0
  24. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-thin.otf +0 -0
  25. /package/dist/{ui/fonts → fonts}/Mazzard-M/mazzardsoftm-thinitalic.otf +0 -0
  26. /package/dist/{ui/index.cjs.js → index.cjs.js} +0 -0
  27. /package/dist/{ui/index.d.ts → index.d.ts} +0 -0
  28. /package/dist/{ui/index.es.js → index.es.js} +0 -0
  29. /package/dist/{ui/placeholder.svg → placeholder.svg} +0 -0
  30. /package/dist/{ui/robots.txt → robots.txt} +0 -0
  31. /package/dist/{ui/ui-library.css → ui-library.css} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",
@@ -16,28 +16,25 @@
16
16
  "ui-components",
17
17
  "design-system",
18
18
  "radix-ui",
19
- "tailwind",
20
19
  "typescript"
21
20
  ],
22
- "main": "./dist/ui/index.cjs.js",
23
- "module": "./dist/ui/index.es.js",
24
- "types": "./dist/ui/index.d.ts",
21
+ "main": "./dist/index.cjs.js",
22
+ "module": "./dist/index.es.js",
23
+ "types": "./dist/index.d.ts",
25
24
  "files": [
26
25
  "dist",
27
26
  "client/components/ui",
28
27
  "client/*",
29
28
  "client/lib",
30
- "tailwind.preset.ts",
31
29
  "client/global.css"
32
30
  ],
33
31
  "exports": {
34
32
  ".": {
35
- "types": "./dist/ui/index.d.ts",
36
- "import": "./dist/ui/index.es.js",
37
- "require": "./dist/ui/index.cjs.js"
33
+ "types": "./dist/index.d.ts",
34
+ "import": "./dist/index.es.js",
35
+ "require": "./dist/index.cjs.js"
38
36
  },
39
- "./global.css": "./client/global.css",
40
- "./tailwind.preset": "./tailwind.preset.ts"
37
+ "./global.css": "./client/global.css"
41
38
  },
42
39
  "peerDependencies": {
43
40
  "react": "^19.0.0",
@@ -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