@efiche/design 0.2.4 → 0.2.6
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 +145 -1582
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -89
- package/dist/index.css.map +1 -1
- package/dist/index.js +145 -1552
- package/dist/index.js.map +1 -1
- package/package.json +4 -9
package/dist/index.css
CHANGED
|
@@ -1,90 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
:root {
|
|
3
|
-
--ds-primary: #3b82f6;
|
|
4
|
-
--ds-secondary: #64748b;
|
|
5
|
-
--ds-danger: #ef4444;
|
|
6
|
-
--ds-warning: #f59e0b;
|
|
7
|
-
--ds-info: #3b82f6;
|
|
8
|
-
--ds-success: #22c55e;
|
|
9
|
-
--ds-primary-50: #eff6ff;
|
|
10
|
-
--ds-primary-100: #dbeafe;
|
|
11
|
-
--ds-primary-500: #3b82f6;
|
|
12
|
-
--ds-success-50: #f0fdf4;
|
|
13
|
-
--ds-success-100: #dcfce7;
|
|
14
|
-
--ds-success-500: #22c55e;
|
|
15
|
-
--ds-warning-50: #fffbeb;
|
|
16
|
-
--ds-warning-100: #fef3c7;
|
|
17
|
-
--ds-warning-500: #f59e0b;
|
|
18
|
-
--ds-danger-50: #fef2f2;
|
|
19
|
-
--ds-danger-100: #fee2e2;
|
|
20
|
-
--ds-danger-500: #ef4444;
|
|
21
|
-
--ds-secondary-50: #f9fafb;
|
|
22
|
-
--ds-secondary-100: #f3f4f6;
|
|
23
|
-
--ds-secondary-500: #64748b;
|
|
24
|
-
--ds-text-primary: #0f172a;
|
|
25
|
-
--ds-text-secondary: #64748b;
|
|
26
|
-
--ds-card: #ffffff;
|
|
27
|
-
--ds-border: #e2e8f0;
|
|
28
|
-
--ds-muted: #f1f5f9;
|
|
29
|
-
--ds-accent: #f1f5f9;
|
|
30
|
-
--ds-page-bg: #ffffff;
|
|
31
|
-
--ds-tooltip-bg: #0f172a;
|
|
32
|
-
--ds-tooltip-text: #ffffff;
|
|
33
|
-
--ds-info-bg: #eff6ff;
|
|
34
|
-
--ds-info-title: #1e3a8a;
|
|
35
|
-
--ds-info-desc: #1e40af;
|
|
36
|
-
--ds-success-bg: #f0fdf4;
|
|
37
|
-
--ds-success-title: #14532d;
|
|
38
|
-
--ds-success-desc: #166534;
|
|
39
|
-
--ds-warning-bg: #fffbeb;
|
|
40
|
-
--ds-warning-title: #78350f;
|
|
41
|
-
--ds-warning-desc: #92400e;
|
|
42
|
-
--ds-danger-bg: #fef2f2;
|
|
43
|
-
--ds-danger-title: #7f1d1d;
|
|
44
|
-
--ds-danger-desc: #991b1b;
|
|
45
|
-
}
|
|
46
|
-
.ds-theme-dark {
|
|
47
|
-
--ds-primary: #60a5fa;
|
|
48
|
-
--ds-secondary: #94a3b8;
|
|
49
|
-
--ds-danger: #f87171;
|
|
50
|
-
--ds-warning: #fbbf24;
|
|
51
|
-
--ds-info: #60a5fa;
|
|
52
|
-
--ds-success: #4ade80;
|
|
53
|
-
--ds-primary-50: #1e3a5f;
|
|
54
|
-
--ds-primary-100: #1e40af;
|
|
55
|
-
--ds-primary-500: #3b82f6;
|
|
56
|
-
--ds-success-50: #14532d;
|
|
57
|
-
--ds-success-100: #166534;
|
|
58
|
-
--ds-success-500: #22c55e;
|
|
59
|
-
--ds-warning-50: #451a03;
|
|
60
|
-
--ds-warning-100: #78350f;
|
|
61
|
-
--ds-warning-500: #f59e0b;
|
|
62
|
-
--ds-danger-50: #450a0a;
|
|
63
|
-
--ds-danger-100: #7f1d1d;
|
|
64
|
-
--ds-danger-500: #ef4444;
|
|
65
|
-
--ds-secondary-50: #1e293b;
|
|
66
|
-
--ds-secondary-100: #334155;
|
|
67
|
-
--ds-secondary-500: #94a3b8;
|
|
68
|
-
--ds-text-primary: #f1f5f9;
|
|
69
|
-
--ds-text-secondary: #94a3b8;
|
|
70
|
-
--ds-card: #1e293b;
|
|
71
|
-
--ds-border: #334155;
|
|
72
|
-
--ds-muted: #1e293b;
|
|
73
|
-
--ds-accent: #334155;
|
|
74
|
-
--ds-page-bg: #0f172a;
|
|
75
|
-
--ds-tooltip-bg: #f1f5f9;
|
|
76
|
-
--ds-tooltip-text: #0f172a;
|
|
77
|
-
--ds-info-bg: #172554;
|
|
78
|
-
--ds-info-title: #bfdbfe;
|
|
79
|
-
--ds-info-desc: #93c5fd;
|
|
80
|
-
--ds-success-bg: #052e16;
|
|
81
|
-
--ds-success-title: #bbf7d0;
|
|
82
|
-
--ds-success-desc: #86efac;
|
|
83
|
-
--ds-warning-bg: #1c0c00;
|
|
84
|
-
--ds-warning-title: #fde68a;
|
|
85
|
-
--ds-warning-desc: #fcd34d;
|
|
86
|
-
--ds-danger-bg: #2d0a0a;
|
|
87
|
-
--ds-danger-title: #fecaca;
|
|
88
|
-
--ds-danger-desc: #fca5a5;
|
|
89
|
-
}
|
|
1
|
+
:root{--ds-primary: #3b82f6;--ds-secondary: #64748b;--ds-danger: #ef4444;--ds-warning: #f59e0b;--ds-info: #3b82f6;--ds-success: #22c55e;--ds-primary-50: #eff6ff;--ds-primary-100: #dbeafe;--ds-primary-500: #3b82f6;--ds-success-50: #f0fdf4;--ds-success-100: #dcfce7;--ds-success-500: #22c55e;--ds-warning-50: #fffbeb;--ds-warning-100: #fef3c7;--ds-warning-500: #f59e0b;--ds-danger-50: #fef2f2;--ds-danger-100: #fee2e2;--ds-danger-500: #ef4444;--ds-secondary-50: #f9fafb;--ds-secondary-100: #f3f4f6;--ds-secondary-500: #64748b;--ds-text-primary: #0f172a;--ds-text-secondary: #64748b;--ds-card: #ffffff;--ds-border: #e2e8f0;--ds-muted: #f1f5f9;--ds-accent: #f1f5f9;--ds-page-bg: #ffffff;--ds-tooltip-bg: #0f172a;--ds-tooltip-text: #ffffff;--ds-info-bg: #eff6ff;--ds-info-title: #1e3a8a;--ds-info-desc: #1e40af;--ds-success-bg: #f0fdf4;--ds-success-title: #14532d;--ds-success-desc: #166534;--ds-warning-bg: #fffbeb;--ds-warning-title: #78350f;--ds-warning-desc: #92400e;--ds-danger-bg: #fef2f2;--ds-danger-title: #7f1d1d;--ds-danger-desc: #991b1b}.ds-theme-dark{--ds-primary: #60a5fa;--ds-secondary: #94a3b8;--ds-danger: #f87171;--ds-warning: #fbbf24;--ds-info: #60a5fa;--ds-success: #4ade80;--ds-primary-50: #1e3a5f;--ds-primary-100: #1e40af;--ds-primary-500: #3b82f6;--ds-success-50: #14532d;--ds-success-100: #166534;--ds-success-500: #22c55e;--ds-warning-50: #451a03;--ds-warning-100: #78350f;--ds-warning-500: #f59e0b;--ds-danger-50: #450a0a;--ds-danger-100: #7f1d1d;--ds-danger-500: #ef4444;--ds-secondary-50: #1e293b;--ds-secondary-100: #334155;--ds-secondary-500: #94a3b8;--ds-text-primary: #f1f5f9;--ds-text-secondary: #94a3b8;--ds-card: #1e293b;--ds-border: #334155;--ds-muted: #1e293b;--ds-accent: #334155;--ds-page-bg: #0f172a;--ds-tooltip-bg: #f1f5f9;--ds-tooltip-text: #0f172a;--ds-info-bg: #172554;--ds-info-title: #bfdbfe;--ds-info-desc: #93c5fd;--ds-success-bg: #052e16;--ds-success-title: #bbf7d0;--ds-success-desc: #86efac;--ds-warning-bg: #1c0c00;--ds-warning-title: #fde68a;--ds-warning-desc: #fcd34d;--ds-danger-bg: #2d0a0a;--ds-danger-title: #fecaca;--ds-danger-desc: #fca5a5}
|
|
90
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/styles/globals.css"],"sourcesContent":["/*\n * @efiche/design — theme variables\n * Light defaults live on :root so no wrapper is needed.\n * Add .ds-theme-dark to any ancestor element to switch to dark mode.\n */\n\n:root {\n\n /* Core colors */\n --ds-primary: #3b82f6;\n --ds-secondary: #64748b;\n --ds-danger: #ef4444;\n --ds-warning: #f59e0b;\n --ds-info: #3b82f6;\n --ds-success: #22c55e;\n\n /* Background shades — Primary (Blue) */\n --ds-primary-50: #eff6ff;\n --ds-primary-100: #dbeafe;\n --ds-primary-500: #3b82f6;\n\n /* Background shades — Success (Green) */\n --ds-success-50: #f0fdf4;\n --ds-success-100: #dcfce7;\n --ds-success-500: #22c55e;\n\n /* Background shades — Warning (Amber) */\n --ds-warning-50: #fffbeb;\n --ds-warning-100: #fef3c7;\n --ds-warning-500: #f59e0b;\n\n /* Background shades — Danger (Red) */\n --ds-danger-50: #fef2f2;\n --ds-danger-100: #fee2e2;\n --ds-danger-500: #ef4444;\n\n /* Background shades — Secondary (Gray) */\n --ds-secondary-50: #f9fafb;\n --ds-secondary-100: #f3f4f6;\n --ds-secondary-500: #64748b;\n\n /* Text */\n --ds-text-primary: #0f172a;\n --ds-text-secondary: #64748b;\n\n /* Surfaces */\n --ds-card: #ffffff;\n --ds-border: #e2e8f0;\n --ds-muted: #f1f5f9;\n --ds-accent: #f1f5f9;\n\n /* Page */\n --ds-page-bg: #ffffff;\n\n /* Tooltip */\n --ds-tooltip-bg: #0f172a;\n --ds-tooltip-text: #ffffff;\n\n /* Alert semantic backgrounds & text */\n --ds-info-bg: #eff6ff;\n --ds-info-title: #1e3a8a;\n --ds-info-desc: #1e40af;\n --ds-success-bg: #f0fdf4;\n --ds-success-title: #14532d;\n --ds-success-desc: #166534;\n --ds-warning-bg: #fffbeb;\n --ds-warning-title: #78350f;\n --ds-warning-desc: #92400e;\n --ds-danger-bg: #fef2f2;\n --ds-danger-title: #7f1d1d;\n --ds-danger-desc: #991b1b;\n}\n\n.ds-theme-dark {\n\n /* Core colors */\n --ds-primary: #60a5fa;\n --ds-secondary: #94a3b8;\n --ds-danger: #f87171;\n --ds-warning: #fbbf24;\n --ds-info: #60a5fa;\n --ds-success: #4ade80;\n\n /* Background shades */\n --ds-primary-50: #1e3a5f;\n --ds-primary-100: #1e40af;\n --ds-primary-500: #3b82f6;\n\n --ds-success-50: #14532d;\n --ds-success-100: #166534;\n --ds-success-500: #22c55e;\n\n --ds-warning-50: #451a03;\n --ds-warning-100: #78350f;\n --ds-warning-500: #f59e0b;\n\n --ds-danger-50: #450a0a;\n --ds-danger-100: #7f1d1d;\n --ds-danger-500: #ef4444;\n\n --ds-secondary-50: #1e293b;\n --ds-secondary-100: #334155;\n --ds-secondary-500: #94a3b8;\n\n /* Text */\n --ds-text-primary: #f1f5f9;\n --ds-text-secondary: #94a3b8;\n\n /* Surfaces */\n --ds-card: #1e293b;\n --ds-border: #334155;\n --ds-muted: #1e293b;\n --ds-accent: #334155;\n\n /* Page */\n --ds-page-bg: #0f172a;\n\n /* Tooltip */\n --ds-tooltip-bg: #f1f5f9;\n --ds-tooltip-text: #0f172a;\n\n /* Alert semantic backgrounds & text */\n --ds-info-bg: #172554;\n --ds-info-title: #bfdbfe;\n --ds-info-desc: #93c5fd;\n --ds-success-bg: #052e16;\n --ds-success-title: #bbf7d0;\n --ds-success-desc: #86efac;\n --ds-warning-bg: #1c0c00;\n --ds-warning-title: #fde68a;\n --ds-warning-desc: #fcd34d;\n --ds-danger-bg: #2d0a0a;\n --ds-danger-title: #fecaca;\n --ds-danger-desc: #fca5a5;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/styles/globals.css"],"sourcesContent":["/*\n * @efiche/design — theme variables\n * Light defaults live on :root so no wrapper is needed.\n * Add .ds-theme-dark to any ancestor element to switch to dark mode.\n */\n\n:root {\n\n /* Core colors */\n --ds-primary: #3b82f6;\n --ds-secondary: #64748b;\n --ds-danger: #ef4444;\n --ds-warning: #f59e0b;\n --ds-info: #3b82f6;\n --ds-success: #22c55e;\n\n /* Background shades — Primary (Blue) */\n --ds-primary-50: #eff6ff;\n --ds-primary-100: #dbeafe;\n --ds-primary-500: #3b82f6;\n\n /* Background shades — Success (Green) */\n --ds-success-50: #f0fdf4;\n --ds-success-100: #dcfce7;\n --ds-success-500: #22c55e;\n\n /* Background shades — Warning (Amber) */\n --ds-warning-50: #fffbeb;\n --ds-warning-100: #fef3c7;\n --ds-warning-500: #f59e0b;\n\n /* Background shades — Danger (Red) */\n --ds-danger-50: #fef2f2;\n --ds-danger-100: #fee2e2;\n --ds-danger-500: #ef4444;\n\n /* Background shades — Secondary (Gray) */\n --ds-secondary-50: #f9fafb;\n --ds-secondary-100: #f3f4f6;\n --ds-secondary-500: #64748b;\n\n /* Text */\n --ds-text-primary: #0f172a;\n --ds-text-secondary: #64748b;\n\n /* Surfaces */\n --ds-card: #ffffff;\n --ds-border: #e2e8f0;\n --ds-muted: #f1f5f9;\n --ds-accent: #f1f5f9;\n\n /* Page */\n --ds-page-bg: #ffffff;\n\n /* Tooltip */\n --ds-tooltip-bg: #0f172a;\n --ds-tooltip-text: #ffffff;\n\n /* Alert semantic backgrounds & text */\n --ds-info-bg: #eff6ff;\n --ds-info-title: #1e3a8a;\n --ds-info-desc: #1e40af;\n --ds-success-bg: #f0fdf4;\n --ds-success-title: #14532d;\n --ds-success-desc: #166534;\n --ds-warning-bg: #fffbeb;\n --ds-warning-title: #78350f;\n --ds-warning-desc: #92400e;\n --ds-danger-bg: #fef2f2;\n --ds-danger-title: #7f1d1d;\n --ds-danger-desc: #991b1b;\n}\n\n.ds-theme-dark {\n\n /* Core colors */\n --ds-primary: #60a5fa;\n --ds-secondary: #94a3b8;\n --ds-danger: #f87171;\n --ds-warning: #fbbf24;\n --ds-info: #60a5fa;\n --ds-success: #4ade80;\n\n /* Background shades */\n --ds-primary-50: #1e3a5f;\n --ds-primary-100: #1e40af;\n --ds-primary-500: #3b82f6;\n\n --ds-success-50: #14532d;\n --ds-success-100: #166534;\n --ds-success-500: #22c55e;\n\n --ds-warning-50: #451a03;\n --ds-warning-100: #78350f;\n --ds-warning-500: #f59e0b;\n\n --ds-danger-50: #450a0a;\n --ds-danger-100: #7f1d1d;\n --ds-danger-500: #ef4444;\n\n --ds-secondary-50: #1e293b;\n --ds-secondary-100: #334155;\n --ds-secondary-500: #94a3b8;\n\n /* Text */\n --ds-text-primary: #f1f5f9;\n --ds-text-secondary: #94a3b8;\n\n /* Surfaces */\n --ds-card: #1e293b;\n --ds-border: #334155;\n --ds-muted: #1e293b;\n --ds-accent: #334155;\n\n /* Page */\n --ds-page-bg: #0f172a;\n\n /* Tooltip */\n --ds-tooltip-bg: #f1f5f9;\n --ds-tooltip-text: #0f172a;\n\n /* Alert semantic backgrounds & text */\n --ds-info-bg: #172554;\n --ds-info-title: #bfdbfe;\n --ds-info-desc: #93c5fd;\n --ds-success-bg: #052e16;\n --ds-success-title: #bbf7d0;\n --ds-success-desc: #86efac;\n --ds-warning-bg: #1c0c00;\n --ds-warning-title: #fde68a;\n --ds-warning-desc: #fcd34d;\n --ds-danger-bg: #2d0a0a;\n --ds-danger-title: #fecaca;\n --ds-danger-desc: #fca5a5;\n}\n"],"mappings":"AAMA,MAGI,cAAgB,QAChB,gBAAgB,QAChB,aAAgB,QAChB,cAAgB,QAChB,WAAgB,QAChB,cAAgB,QAGhB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAGlB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAGlB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAGlB,gBAAiB,QACjB,iBAAiB,QACjB,iBAAiB,QAGjB,mBAAoB,QACpB,oBAAoB,QACpB,oBAAoB,QAGpB,mBAAqB,QACrB,qBAAqB,QAGrB,WAAc,QACd,aAAc,QACd,YAAc,QACd,aAAc,QAGd,cAAc,QAGd,iBAAmB,QACnB,mBAAmB,QAGnB,cAAqB,QACrB,iBAAqB,QACrB,gBAAqB,QACrB,iBAAqB,QACrB,oBAAqB,QACrB,mBAAqB,QACrB,iBAAqB,QACrB,oBAAqB,QACrB,mBAAqB,QACrB,gBAAqB,QACrB,mBAAqB,QACrB,kBAAqB,OACzB,CAEA,CAAC,cAGG,cAAgB,QAChB,gBAAgB,QAChB,aAAgB,QAChB,cAAgB,QAChB,WAAgB,QAChB,cAAgB,QAGhB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAElB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAElB,iBAAkB,QAClB,kBAAkB,QAClB,kBAAkB,QAElB,gBAAiB,QACjB,iBAAiB,QACjB,iBAAiB,QAEjB,mBAAoB,QACpB,oBAAoB,QACpB,oBAAoB,QAGpB,mBAAqB,QACrB,qBAAqB,QAGrB,WAAc,QACd,aAAc,QACd,YAAc,QACd,aAAc,QAGd,cAAc,QAGd,iBAAmB,QACnB,mBAAmB,QAGnB,cAAqB,QACrB,iBAAqB,QACrB,gBAAqB,QACrB,iBAAqB,QACrB,oBAAqB,QACrB,mBAAqB,QACrB,iBAAqB,QACrB,oBAAqB,QACrB,mBAAqB,QACrB,gBAAqB,QACrB,mBAAqB,QACrB,kBAAqB,OACzB","names":[]}
|