@fast-food/design-system 1.10.1 → 1.10.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/README.md +10 -0
- package/dist/fast-food-design-system-1.10.2.tgz +0 -0
- package/dist/styles/colors.css +80 -0
- package/dist/styles/index.ts +1 -0
- package/dist/styles/scrollbar.css +14 -0
- package/dist/styles/spacing.css +16 -0
- package/dist/styles/tailwind.css +8 -0
- package/dist/styles/tokens-typography.css +21 -0
- package/package.json +14 -4
- package/dist/fast-food-design-system-1.10.1.tgz +0 -0
package/README.md
CHANGED
|
@@ -215,4 +215,14 @@ Para mais detalhes sobre o projeto, consulte nossa documentação completa:
|
|
|
215
215
|
- **🚀 Processo de Release**: [`docs/RELEASE.md`](docs/RELEASE.md)
|
|
216
216
|
- **📝 Histórico de Mudanças**: [`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
217
217
|
|
|
218
|
+
## ✅ Checklist de Release
|
|
219
|
+
|
|
220
|
+
1. Rode `npm run sync-version` antes de qualquer commit
|
|
221
|
+
2. Faça commit usando Conventional Commits (`npm run commit`)
|
|
222
|
+
3. Dê push para a branch `main`
|
|
223
|
+
4. Aguarde o workflow do GitHub Actions rodar e publicar
|
|
224
|
+
5. Após o release, rode `npm run sync-version` novamente
|
|
225
|
+
|
|
226
|
+
Veja detalhes em [`docs/RELEASE.md`](./docs/RELEASE.md)
|
|
227
|
+
|
|
218
228
|
# Teste de nova versão
|
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--gray-50: #f8fafc;
|
|
3
|
+
--gray-100: #f1f5f9;
|
|
4
|
+
--gray-200: #e2e8f0;
|
|
5
|
+
--gray-300: #cbd5e1;
|
|
6
|
+
--gray-400: #94a3b8;
|
|
7
|
+
--gray-500: #64748b;
|
|
8
|
+
--gray-600: #475569;
|
|
9
|
+
--gray-700: #334155;
|
|
10
|
+
--gray-800: #1e293b;
|
|
11
|
+
--gray-900: #0f172a;
|
|
12
|
+
|
|
13
|
+
--primary: #006ae0;
|
|
14
|
+
--primary-hover: #0054b3;
|
|
15
|
+
|
|
16
|
+
--secondary: var(--gray-500);
|
|
17
|
+
--secondary-hover: var(--gray-600);
|
|
18
|
+
|
|
19
|
+
--success: #0caf60;
|
|
20
|
+
--success-hover: #09924f;
|
|
21
|
+
|
|
22
|
+
--error: #e03137;
|
|
23
|
+
--error-hover: #c6282d;
|
|
24
|
+
|
|
25
|
+
--warning: #f59e0b;
|
|
26
|
+
--warning-hover: #d97706;
|
|
27
|
+
|
|
28
|
+
--info: #97c3e3;
|
|
29
|
+
--info-hover: #7fb3dc;
|
|
30
|
+
|
|
31
|
+
--background: var(--gray-100);
|
|
32
|
+
--foreground: #ffffff;
|
|
33
|
+
|
|
34
|
+
--border: var(--gray-100);
|
|
35
|
+
--input: #cbd5e0;
|
|
36
|
+
|
|
37
|
+
--scrollbar-track: #cbd5e0;
|
|
38
|
+
--scrollbar-thumb: #94a3bb;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dark {
|
|
42
|
+
--gray-50: #f8fafc;
|
|
43
|
+
--gray-100: #f1f5f9;
|
|
44
|
+
--gray-200: #e2e8f0;
|
|
45
|
+
--gray-300: #cbd5e1;
|
|
46
|
+
--gray-400: #94a3b8;
|
|
47
|
+
--gray-500: #64748b;
|
|
48
|
+
--gray-600: #475569;
|
|
49
|
+
--gray-700: #334155;
|
|
50
|
+
--gray-800: #253043;
|
|
51
|
+
--gray-900: #1d283a;
|
|
52
|
+
--gray-1000: #0f1729;
|
|
53
|
+
|
|
54
|
+
--primary: #006ae0;
|
|
55
|
+
--primary-hover: #3388e9;
|
|
56
|
+
|
|
57
|
+
--secondary: var(--gray-500);
|
|
58
|
+
--secondary-hover: var(--gray-400);
|
|
59
|
+
|
|
60
|
+
--success: #0caf60;
|
|
61
|
+
--success-hover: #3dcf7e;
|
|
62
|
+
|
|
63
|
+
--error: #e03137;
|
|
64
|
+
--error-hover: #f1545a;
|
|
65
|
+
|
|
66
|
+
--warning: #f59e0b;
|
|
67
|
+
--warning-hover: #fbbf24;
|
|
68
|
+
|
|
69
|
+
--info: #97c3e3;
|
|
70
|
+
--info-hover: #b0d3ee;
|
|
71
|
+
|
|
72
|
+
--background: var(--gray-900);
|
|
73
|
+
--foreground: var(--gray-1000);
|
|
74
|
+
|
|
75
|
+
--border: #767676;
|
|
76
|
+
--input: #767676;
|
|
77
|
+
|
|
78
|
+
--scrollbar-track: #475569;
|
|
79
|
+
--scrollbar-thumb: #94a3b8;
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './tailwind.css';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
*::-webkit-scrollbar {
|
|
2
|
+
width: 6px;
|
|
3
|
+
height: 6px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
*::-webkit-scrollbar-track {
|
|
7
|
+
background: var(--scrollbar-track);
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
*::-webkit-scrollbar-thumb {
|
|
12
|
+
background: var(--scrollbar-thumb);
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--space-0: 0px;
|
|
3
|
+
--space-1: 4px;
|
|
4
|
+
--space-2: 8px;
|
|
5
|
+
--space-3: 12px;
|
|
6
|
+
--space-4: 16px;
|
|
7
|
+
--space-5: 20px;
|
|
8
|
+
--space-6: 24px;
|
|
9
|
+
--space-8: 32px;
|
|
10
|
+
--space-10: 40px;
|
|
11
|
+
--space-12: 48px;
|
|
12
|
+
--space-16: 64px;
|
|
13
|
+
--space-20: 80px;
|
|
14
|
+
--space-24: 96px;
|
|
15
|
+
--space-32: 128px;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-family-sans: 'Inter', 'Roboto', Arial, sans-serif;
|
|
3
|
+
--font-family-mono: 'Fira Mono', 'Menlo', 'Monaco', monospace;
|
|
4
|
+
|
|
5
|
+
--font-size-xs: 12px;
|
|
6
|
+
--font-size-sm: 14px;
|
|
7
|
+
--font-size-md: 16px;
|
|
8
|
+
--font-size-lg: 20px;
|
|
9
|
+
--font-size-xl: 24px;
|
|
10
|
+
--font-size-2xl: 32px;
|
|
11
|
+
--font-size-3xl: 40px;
|
|
12
|
+
|
|
13
|
+
--font-weight-regular: 400;
|
|
14
|
+
--font-weight-medium: 500;
|
|
15
|
+
--font-weight-bold: 700;
|
|
16
|
+
|
|
17
|
+
--line-height-xs: 1.1;
|
|
18
|
+
--line-height-sm: 1.25;
|
|
19
|
+
--line-height-md: 1.5;
|
|
20
|
+
--line-height-lg: 1.75;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fast-food/design-system",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"main": "dist/
|
|
8
|
+
"main": "dist/fast-food-design-system.cjs.js",
|
|
9
|
+
"module": "dist/fast-food-design-system.cjs.js",
|
|
9
10
|
"types": "dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/fast-food-design-system.cjs.js",
|
|
14
|
+
"require": "./dist/fast-food-design-system.cjs.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles/colors.css": "./dist/styles/colors.css"
|
|
17
|
+
},
|
|
10
18
|
"files": [
|
|
11
|
-
"dist"
|
|
19
|
+
"dist",
|
|
20
|
+
"dist/styles"
|
|
12
21
|
],
|
|
13
22
|
"type": "module",
|
|
14
23
|
"scripts": {
|
|
15
24
|
"start": "storybook dev -p 6006",
|
|
16
|
-
"build": "tsc -b && vite build",
|
|
25
|
+
"build": "tsc -b && vite build && npm run copy:styles",
|
|
26
|
+
"copy:styles": "cp -r src/styles dist/",
|
|
17
27
|
"build-storybook": "storybook build",
|
|
18
28
|
"publish": "npm run build && npm publish --access public",
|
|
19
29
|
"test": "vitest run",
|
|
Binary file
|