@lincros-ui/components 0.2.9 → 0.2.11
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/index.cjs +11982 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/styles/index.cjs +219 -0
- package/dist/styles/index.cjs.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/styles/design-tokens/colors.ts
|
|
4
|
+
var acordeColors = {
|
|
5
|
+
primary: {
|
|
6
|
+
50: "#ecfdf5",
|
|
7
|
+
100: "#d1fae5",
|
|
8
|
+
200: "#a7f3d0",
|
|
9
|
+
300: "#6ee7b7",
|
|
10
|
+
400: "#34d399",
|
|
11
|
+
500: "#10b981",
|
|
12
|
+
600: "#059669",
|
|
13
|
+
700: "#047857",
|
|
14
|
+
800: "#065f46",
|
|
15
|
+
900: "#064e3b",
|
|
16
|
+
DEFAULT: "var(--primary)",
|
|
17
|
+
foreground: "var(--primary-foreground)"
|
|
18
|
+
},
|
|
19
|
+
secondary: {
|
|
20
|
+
50: "#eff6ff",
|
|
21
|
+
100: "#dbeafe",
|
|
22
|
+
200: "#bfdbfe",
|
|
23
|
+
300: "#93c5fd",
|
|
24
|
+
400: "#60a5fa",
|
|
25
|
+
500: "#3b82f6",
|
|
26
|
+
600: "#1e40af",
|
|
27
|
+
700: "#1d4ed8",
|
|
28
|
+
800: "#1e3a8a",
|
|
29
|
+
900: "#1e293b",
|
|
30
|
+
DEFAULT: "var(--secondary)",
|
|
31
|
+
foreground: "var(--secondary-foreground)"
|
|
32
|
+
},
|
|
33
|
+
success: "#22c55e",
|
|
34
|
+
warning: "#f59e0b",
|
|
35
|
+
error: "#ef4444",
|
|
36
|
+
info: "#3b82f6",
|
|
37
|
+
gray: {
|
|
38
|
+
50: "#f9fafb",
|
|
39
|
+
100: "#f3f4f6",
|
|
40
|
+
200: "#e5e7eb",
|
|
41
|
+
300: "#d1d5db",
|
|
42
|
+
400: "#9ca3af",
|
|
43
|
+
500: "#6b7280",
|
|
44
|
+
600: "#4b5563",
|
|
45
|
+
700: "#374151",
|
|
46
|
+
800: "#1f2937",
|
|
47
|
+
900: "#111827"
|
|
48
|
+
},
|
|
49
|
+
"acorde-primary": "var(--acorde-primary)",
|
|
50
|
+
"acorde-secondary": "var(--acorde-secondary)",
|
|
51
|
+
"acorde-success": "var(--acorde-success)",
|
|
52
|
+
"acorde-warning": "var(--acorde-warning)",
|
|
53
|
+
"acorde-error": "var(--acorde-error)",
|
|
54
|
+
"acorde-info": "var(--acorde-info)",
|
|
55
|
+
border: "var(--border)",
|
|
56
|
+
input: "var(--input)",
|
|
57
|
+
ring: "var(--ring)",
|
|
58
|
+
background: "var(--background)",
|
|
59
|
+
foreground: "var(--foreground)",
|
|
60
|
+
destructive: {
|
|
61
|
+
DEFAULT: "var(--destructive)",
|
|
62
|
+
foreground: "var(--destructive-foreground)"
|
|
63
|
+
},
|
|
64
|
+
muted: {
|
|
65
|
+
DEFAULT: "var(--muted)",
|
|
66
|
+
foreground: "var(--muted-foreground)"
|
|
67
|
+
},
|
|
68
|
+
accent: {
|
|
69
|
+
DEFAULT: "var(--accent)",
|
|
70
|
+
foreground: "var(--accent-foreground)"
|
|
71
|
+
},
|
|
72
|
+
popover: {
|
|
73
|
+
DEFAULT: "var(--popover)",
|
|
74
|
+
foreground: "var(--popover-foreground)"
|
|
75
|
+
},
|
|
76
|
+
card: {
|
|
77
|
+
DEFAULT: "var(--card)",
|
|
78
|
+
foreground: "var(--card-foreground)"
|
|
79
|
+
},
|
|
80
|
+
sidebar: {
|
|
81
|
+
DEFAULT: "var(--sidebar-background)",
|
|
82
|
+
foreground: "var(--sidebar-foreground)",
|
|
83
|
+
primary: "var(--sidebar-primary)",
|
|
84
|
+
"primary-foreground": "var(--sidebar-primary-foreground)",
|
|
85
|
+
accent: "var(--sidebar-accent)",
|
|
86
|
+
"accent-foreground": "var(--sidebar-accent-foreground)",
|
|
87
|
+
border: "var(--sidebar-border)",
|
|
88
|
+
ring: "var(--sidebar-ring)"
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
// src/styles/design-tokens/typography.ts
|
|
93
|
+
var acordeTypography = {
|
|
94
|
+
fontFamily: {
|
|
95
|
+
sans: ["Inter", "system-ui", "sans-serif"],
|
|
96
|
+
mono: ["Roboto Mono", "monospace"]
|
|
97
|
+
},
|
|
98
|
+
fontSize: {
|
|
99
|
+
xs: "10px",
|
|
100
|
+
sm: "12px",
|
|
101
|
+
base: "14px",
|
|
102
|
+
md: "16px",
|
|
103
|
+
lg: "18px",
|
|
104
|
+
xl: "20px",
|
|
105
|
+
"2xl": "24px",
|
|
106
|
+
"3xl": "28px",
|
|
107
|
+
"4xl": "36px",
|
|
108
|
+
"5xl": "48px"
|
|
109
|
+
},
|
|
110
|
+
fontWeight: {
|
|
111
|
+
light: "300",
|
|
112
|
+
normal: "400",
|
|
113
|
+
medium: "500",
|
|
114
|
+
semibold: "600",
|
|
115
|
+
bold: "700"
|
|
116
|
+
},
|
|
117
|
+
lineHeight: {
|
|
118
|
+
tight: "1.2",
|
|
119
|
+
normal: "1.5",
|
|
120
|
+
relaxed: "1.75"
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
// src/styles/design-tokens/spacing.ts
|
|
125
|
+
var acordeSpacing = {
|
|
126
|
+
px: "1px",
|
|
127
|
+
0: "0px",
|
|
128
|
+
0.5: "2px",
|
|
129
|
+
1: "4px",
|
|
130
|
+
2: "8px",
|
|
131
|
+
3: "12px",
|
|
132
|
+
4: "16px",
|
|
133
|
+
5: "20px",
|
|
134
|
+
6: "24px",
|
|
135
|
+
8: "32px",
|
|
136
|
+
10: "40px",
|
|
137
|
+
12: "48px",
|
|
138
|
+
16: "64px",
|
|
139
|
+
20: "80px",
|
|
140
|
+
24: "96px",
|
|
141
|
+
32: "128px"
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
// src/styles/design-tokens/shadows.ts
|
|
145
|
+
var acordeShadows = {
|
|
146
|
+
none: "none",
|
|
147
|
+
sm: "0 1px 2px rgba(0, 0, 0, 0.05)",
|
|
148
|
+
md: "0 4px 6px rgba(0, 0, 0, 0.07)",
|
|
149
|
+
lg: "0 10px 15px rgba(0, 0, 0, 0.1)",
|
|
150
|
+
xl: "0 20px 25px rgba(0, 0, 0, 0.1)",
|
|
151
|
+
"2xl": "0 25px 50px rgba(0, 0, 0, 0.25)",
|
|
152
|
+
inner: "inset 0 2px 4px rgba(0, 0, 0, 0.1)"
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
// src/styles/design-tokens/borders.ts
|
|
156
|
+
var acordeBorders = {
|
|
157
|
+
width: {
|
|
158
|
+
0: "0px",
|
|
159
|
+
1: "1px",
|
|
160
|
+
2: "2px",
|
|
161
|
+
4: "4px"
|
|
162
|
+
},
|
|
163
|
+
radius: {
|
|
164
|
+
none: "0px",
|
|
165
|
+
sm: "2px",
|
|
166
|
+
md: "4px",
|
|
167
|
+
lg: "8px",
|
|
168
|
+
xl: "12px",
|
|
169
|
+
"2xl": "16px",
|
|
170
|
+
"3xl": "24px",
|
|
171
|
+
full: "9999px"
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
// src/styles/design-tokens/breakpoints.ts
|
|
176
|
+
var acordeBreakpoints = {
|
|
177
|
+
sm: "640px",
|
|
178
|
+
md: "768px",
|
|
179
|
+
lg: "1024px",
|
|
180
|
+
xl: "1280px",
|
|
181
|
+
"2xl": "1536px"
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
// src/styles/design-tokens/animations.ts
|
|
185
|
+
var acordeAnimations = {
|
|
186
|
+
duration: {
|
|
187
|
+
fast: "150ms",
|
|
188
|
+
normal: "300ms",
|
|
189
|
+
slow: "500ms"
|
|
190
|
+
},
|
|
191
|
+
easing: {
|
|
192
|
+
linear: "linear",
|
|
193
|
+
in: "cubic-bezier(0.4, 0, 1, 1)",
|
|
194
|
+
out: "cubic-bezier(0, 0, 0.2, 1)",
|
|
195
|
+
inOut: "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
// src/styles/design-tokens/index.ts
|
|
200
|
+
var acordeDesignTokens = {
|
|
201
|
+
colors: acordeColors,
|
|
202
|
+
typography: acordeTypography,
|
|
203
|
+
spacing: acordeSpacing,
|
|
204
|
+
shadows: acordeShadows,
|
|
205
|
+
borders: acordeBorders,
|
|
206
|
+
breakpoints: acordeBreakpoints,
|
|
207
|
+
animations: acordeAnimations
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
exports.acordeAnimations = acordeAnimations;
|
|
211
|
+
exports.acordeBorders = acordeBorders;
|
|
212
|
+
exports.acordeBreakpoints = acordeBreakpoints;
|
|
213
|
+
exports.acordeColors = acordeColors;
|
|
214
|
+
exports.acordeDesignTokens = acordeDesignTokens;
|
|
215
|
+
exports.acordeShadows = acordeShadows;
|
|
216
|
+
exports.acordeSpacing = acordeSpacing;
|
|
217
|
+
exports.acordeTypography = acordeTypography;
|
|
218
|
+
//# sourceMappingURL=index.cjs.map
|
|
219
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/styles/design-tokens/colors.ts","../../src/styles/design-tokens/typography.ts","../../src/styles/design-tokens/spacing.ts","../../src/styles/design-tokens/shadows.ts","../../src/styles/design-tokens/borders.ts","../../src/styles/design-tokens/breakpoints.ts","../../src/styles/design-tokens/animations.ts","../../src/styles/design-tokens/index.ts"],"names":[],"mappings":";;;AAAO,IAAM,YAAA,GAAe;AAAA,EAC1B,OAAA,EAAS;AAAA,IACP,EAAA,EAAI,SAAA;AAAA,IACJ,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SA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981',\n 600: '#059669',\n 700: '#047857',\n 800: '#065f46',\n 900: '#064e3b',\n DEFAULT: 'var(--primary)',\n foreground: 'var(--primary-foreground)',\n },\n secondary: {\n 50: '#eff6ff',\n 100: '#dbeafe',\n 200: '#bfdbfe',\n 300: '#93c5fd',\n 400: '#60a5fa',\n 500: '#3b82f6',\n 600: '#1e40af',\n 700: '#1d4ed8',\n 800: '#1e3a8a',\n 900: '#1e293b',\n DEFAULT: 'var(--secondary)',\n foreground: 'var(--secondary-foreground)',\n },\n success: '#22c55e',\n warning: '#f59e0b',\n error: '#ef4444',\n info: '#3b82f6',\n gray: {\n 50: '#f9fafb',\n 100: '#f3f4f6',\n 200: '#e5e7eb',\n 300: '#d1d5db',\n 400: '#9ca3af',\n 500: '#6b7280',\n 600: '#4b5563',\n 700: '#374151',\n 800: '#1f2937',\n 900: '#111827',\n },\n 'acorde-primary': 'var(--acorde-primary)',\n 'acorde-secondary': 'var(--acorde-secondary)',\n 'acorde-success': 'var(--acorde-success)',\n 'acorde-warning': 'var(--acorde-warning)',\n 'acorde-error': 'var(--acorde-error)',\n 'acorde-info': 'var(--acorde-info)',\n border: 'var(--border)',\n input: 'var(--input)',\n ring: 'var(--ring)',\n background: 'var(--background)',\n foreground: 'var(--foreground)',\n destructive: {\n DEFAULT: 'var(--destructive)',\n foreground: 'var(--destructive-foreground)',\n },\n muted: {\n DEFAULT: 'var(--muted)',\n foreground: 'var(--muted-foreground)',\n },\n accent: {\n DEFAULT: 'var(--accent)',\n foreground: 'var(--accent-foreground)',\n },\n popover: {\n DEFAULT: 'var(--popover)',\n foreground: 'var(--popover-foreground)',\n },\n card: {\n DEFAULT: 'var(--card)',\n foreground: 'var(--card-foreground)',\n },\n sidebar: {\n DEFAULT: 'var(--sidebar-background)',\n foreground: 'var(--sidebar-foreground)',\n primary: 'var(--sidebar-primary)',\n 'primary-foreground': 'var(--sidebar-primary-foreground)',\n accent: 'var(--sidebar-accent)',\n 'accent-foreground': 'var(--sidebar-accent-foreground)',\n border: 'var(--sidebar-border)',\n ring: 'var(--sidebar-ring)',\n },\n} as const;","export const acordeTypography = {\n fontFamily: {\n sans: ['Inter', 'system-ui', 'sans-serif'],\n mono: ['Roboto Mono', 'monospace'],\n },\n fontSize: {\n xs: '10px',\n sm: '12px',\n base: '14px',\n md: '16px',\n lg: '18px',\n xl: '20px',\n '2xl': '24px',\n '3xl': '28px',\n '4xl': '36px',\n '5xl': '48px',\n },\n fontWeight: {\n light: '300',\n normal: '400',\n medium: '500',\n semibold: '600',\n bold: '700',\n },\n lineHeight: {\n tight: '1.2',\n normal: '1.5',\n relaxed: '1.75',\n }\n} as const;","export const acordeSpacing = {\n px: '1px',\n 0: '0px',\n 0.5: '2px',\n 1: '4px',\n 2: '8px',\n 3: '12px',\n 4: '16px',\n 5: '20px',\n 6: '24px',\n 8: '32px',\n 10: '40px',\n 12: '48px',\n 16: '64px',\n 20: '80px',\n 24: '96px',\n 32: '128px',\n} as const;","export const acordeShadows = {\n none: 'none',\n sm: '0 1px 2px rgba(0, 0, 0, 0.05)',\n md: '0 4px 6px rgba(0, 0, 0, 0.07)',\n lg: '0 10px 15px rgba(0, 0, 0, 0.1)',\n xl: '0 20px 25px rgba(0, 0, 0, 0.1)',\n '2xl': '0 25px 50px rgba(0, 0, 0, 0.25)',\n inner: 'inset 0 2px 4px rgba(0, 0, 0, 0.1)',\n} as const;","export const acordeBorders = {\n width: {\n 0: '0px',\n 1: '1px',\n 2: '2px',\n 4: '4px',\n },\n radius: {\n none: '0px',\n sm: '2px',\n md: '4px',\n lg: '8px',\n xl: '12px',\n '2xl': '16px',\n '3xl': '24px',\n full: '9999px',\n }\n} as const;","export const acordeBreakpoints = {\n sm: '640px',\n md: '768px',\n lg: '1024px',\n xl: '1280px',\n '2xl': '1536px',\n} as const;","export const acordeAnimations = {\n duration: {\n fast: '150ms',\n normal: '300ms',\n slow: '500ms',\n },\n easing: {\n linear: 'linear',\n in: 'cubic-bezier(0.4, 0, 1, 1)',\n out: 'cubic-bezier(0, 0, 0.2, 1)',\n inOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n }\n} as const;","export { acordeColors } from './colors';\nexport { acordeTypography } from './typography';\nexport { acordeSpacing } from './spacing';\nexport { acordeShadows } from './shadows';\nexport { acordeBorders } from './borders';\nexport { acordeBreakpoints } from './breakpoints';\nexport { acordeAnimations } from './animations';\n\nimport { acordeColors } from './colors';\nimport { acordeTypography } from './typography';\nimport { acordeSpacing } from './spacing';\nimport { acordeShadows } from './shadows';\nimport { acordeBorders } from './borders';\nimport { acordeBreakpoints } from './breakpoints';\nimport { acordeAnimations } from './animations';\n\nexport const acordeDesignTokens = {\n colors: acordeColors,\n typography: acordeTypography,\n spacing: acordeSpacing,\n shadows: acordeShadows,\n borders: acordeBorders,\n breakpoints: acordeBreakpoints,\n animations: acordeAnimations,\n} as const;\n\nexport type AcordeColors = typeof acordeColors;\nexport type AcordeTypography = typeof acordeTypography;\nexport type AcordeSpacing = typeof acordeSpacing;\nexport type AcordeShadows = typeof acordeShadows;\nexport type AcordeBorders = typeof acordeBorders;\nexport type AcordeBreakpoints = typeof acordeBreakpoints;\nexport type AcordeAnimations = typeof acordeAnimations;"]}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincros-ui/components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "React component library based on shadcn/ui compatible with Lincros React UI",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
|
-
"require": "./dist/index.
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
12
|
},
|
|
13
13
|
"./styles": {
|
|
14
14
|
"import": "./dist/styles/index.js",
|
|
15
|
-
"require": "./dist/styles/index.
|
|
15
|
+
"require": "./dist/styles/index.cjs"
|
|
16
16
|
},
|
|
17
17
|
"./styles/*.css": "./dist/styles/*.css"
|
|
18
18
|
},
|