@usefidel/design-system 0.19.0 → 0.21.0
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/admin.css +29 -0
- package/dist/extension.css +29 -0
- package/dist/fidel.manifest.json +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.css +260 -252
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/landing.css +29 -0
- package/dist/theme.css +29 -0
- package/dist/webapp.css +29 -0
- package/package.json +1 -1
- package/tokens/tokens.json +120 -0
package/dist/admin.css
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
--color-success: #059669;
|
|
33
33
|
--color-success-bg: #f0fdf4;
|
|
34
34
|
--color-success-text: #15803d;
|
|
35
|
+
--color-success-border: #bbf7d0;
|
|
35
36
|
--color-warning: #ca8a04;
|
|
36
37
|
--color-warning-bg: #fffbeb;
|
|
37
38
|
--color-warning-text: #92400e;
|
|
@@ -48,9 +49,25 @@
|
|
|
48
49
|
--color-info: #1d4ed8;
|
|
49
50
|
--color-info-strong: #2563eb;
|
|
50
51
|
--color-info-surface: #eff6ff;
|
|
52
|
+
--color-info-border: #bfdbfe;
|
|
51
53
|
--color-text-on-neutral: #404040;
|
|
52
54
|
--color-surface-subtle: #fafafa;
|
|
53
55
|
--color-accent-pressed: #9a3412;
|
|
56
|
+
--color-primary-pressed: #000000;
|
|
57
|
+
--color-error-pressed: #7f1d1d;
|
|
58
|
+
--color-error-border-hover: #fca5a5;
|
|
59
|
+
--color-error-bg-pressed: #fee2e2;
|
|
60
|
+
--color-white-alpha-6: rgba(255, 255, 255, 0.06);
|
|
61
|
+
--color-white-alpha-8: rgba(255, 255, 255, 0.08);
|
|
62
|
+
--color-white-alpha-10: rgba(255, 255, 255, 0.1);
|
|
63
|
+
--color-white-alpha-12: rgba(255, 255, 255, 0.12);
|
|
64
|
+
--color-white-alpha-35: rgba(255, 255, 255, 0.35);
|
|
65
|
+
--color-white-alpha-55: rgba(255, 255, 255, 0.55);
|
|
66
|
+
--color-white-alpha-60: rgba(255, 255, 255, 0.6);
|
|
67
|
+
--color-white-alpha-92: rgba(255, 255, 255, 0.92);
|
|
68
|
+
--color-black-alpha-4: rgba(0, 0, 0, 0.04);
|
|
69
|
+
--color-black-alpha-8: rgba(0, 0, 0, 0.08);
|
|
70
|
+
--color-black-alpha-60: rgba(0, 0, 0, 0.6);
|
|
54
71
|
--font-display: 'Rethink Sans', system-ui, -apple-system, sans-serif;
|
|
55
72
|
--font-body: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
|
56
73
|
--font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
@@ -75,6 +92,11 @@
|
|
|
75
92
|
--spacing-10: 40px;
|
|
76
93
|
--spacing-12: 48px;
|
|
77
94
|
--spacing-16: 64px;
|
|
95
|
+
--size-control-xs: 28px;
|
|
96
|
+
--size-control-sm: 32px;
|
|
97
|
+
--size-control-md: 36px;
|
|
98
|
+
--size-control-lg: 44px;
|
|
99
|
+
--size-nav: 56px;
|
|
78
100
|
--font-size-body: 14px;
|
|
79
101
|
--font-size-display-2xl: 70px;
|
|
80
102
|
--font-size-display-xl: 60px;
|
|
@@ -86,7 +108,9 @@
|
|
|
86
108
|
--font-size-text-lg: 18px;
|
|
87
109
|
--font-size-text-md: 16px;
|
|
88
110
|
--font-size-text-sm: 14px;
|
|
111
|
+
--font-size-text-compact: 13px;
|
|
89
112
|
--font-size-text-xs: 12px;
|
|
113
|
+
--font-size-text-2xs: 11px;
|
|
90
114
|
--font-size-label-sm: 14px;
|
|
91
115
|
--font-size-label-xs: 12px;
|
|
92
116
|
--line-height-body: 1.6;
|
|
@@ -100,7 +124,9 @@
|
|
|
100
124
|
--line-height-text-lg: 26px;
|
|
101
125
|
--line-height-text-md: 24px;
|
|
102
126
|
--line-height-text-sm: 22px;
|
|
127
|
+
--line-height-text-compact: 20px;
|
|
103
128
|
--line-height-text-xs: 18px;
|
|
129
|
+
--line-height-text-2xs: 16px;
|
|
104
130
|
--line-height-label-sm: 22px;
|
|
105
131
|
--line-height-label-xs: 18px;
|
|
106
132
|
--duration-instant: 80ms;
|
|
@@ -116,9 +142,12 @@
|
|
|
116
142
|
--shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.1);
|
|
117
143
|
--shadow-pill: 0 1px 2px rgba(15, 23, 42, 0.08);
|
|
118
144
|
--shadow-cta: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
|
|
145
|
+
--shadow-popover: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.14);
|
|
146
|
+
--shadow-focus-error: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
119
147
|
--font-weight-regular: 400;
|
|
120
148
|
--font-weight-medium: 500;
|
|
121
149
|
--font-weight-semibold: 600;
|
|
122
150
|
--font-weight-bold: 700;
|
|
123
151
|
--font-weight-extrabold: 800;
|
|
152
|
+
--gradient-brand-warm: linear-gradient(160deg, #fbfbfb 34%, #f29c6f 90%);
|
|
124
153
|
}
|
package/dist/extension.css
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
--color-success: #059669;
|
|
33
33
|
--color-success-bg: #f0fdf4;
|
|
34
34
|
--color-success-text: #15803d;
|
|
35
|
+
--color-success-border: #bbf7d0;
|
|
35
36
|
--color-warning: #ca8a04;
|
|
36
37
|
--color-warning-bg: #fffbeb;
|
|
37
38
|
--color-warning-text: #92400e;
|
|
@@ -48,9 +49,25 @@
|
|
|
48
49
|
--color-info: #1d4ed8;
|
|
49
50
|
--color-info-strong: #2563eb;
|
|
50
51
|
--color-info-surface: #eff6ff;
|
|
52
|
+
--color-info-border: #bfdbfe;
|
|
51
53
|
--color-text-on-neutral: #404040;
|
|
52
54
|
--color-surface-subtle: #fafafa;
|
|
53
55
|
--color-accent-pressed: #9a3412;
|
|
56
|
+
--color-primary-pressed: #000000;
|
|
57
|
+
--color-error-pressed: #7f1d1d;
|
|
58
|
+
--color-error-border-hover: #fca5a5;
|
|
59
|
+
--color-error-bg-pressed: #fee2e2;
|
|
60
|
+
--color-white-alpha-6: rgba(255, 255, 255, 0.06);
|
|
61
|
+
--color-white-alpha-8: rgba(255, 255, 255, 0.08);
|
|
62
|
+
--color-white-alpha-10: rgba(255, 255, 255, 0.1);
|
|
63
|
+
--color-white-alpha-12: rgba(255, 255, 255, 0.12);
|
|
64
|
+
--color-white-alpha-35: rgba(255, 255, 255, 0.35);
|
|
65
|
+
--color-white-alpha-55: rgba(255, 255, 255, 0.55);
|
|
66
|
+
--color-white-alpha-60: rgba(255, 255, 255, 0.6);
|
|
67
|
+
--color-white-alpha-92: rgba(255, 255, 255, 0.92);
|
|
68
|
+
--color-black-alpha-4: rgba(0, 0, 0, 0.04);
|
|
69
|
+
--color-black-alpha-8: rgba(0, 0, 0, 0.08);
|
|
70
|
+
--color-black-alpha-60: rgba(0, 0, 0, 0.6);
|
|
54
71
|
--font-display: 'Rethink Sans', system-ui, -apple-system, sans-serif;
|
|
55
72
|
--font-body: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
|
56
73
|
--font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
@@ -75,6 +92,11 @@
|
|
|
75
92
|
--spacing-10: 40px;
|
|
76
93
|
--spacing-12: 48px;
|
|
77
94
|
--spacing-16: 64px;
|
|
95
|
+
--size-control-xs: 28px;
|
|
96
|
+
--size-control-sm: 32px;
|
|
97
|
+
--size-control-md: 36px;
|
|
98
|
+
--size-control-lg: 44px;
|
|
99
|
+
--size-nav: 56px;
|
|
78
100
|
--font-size-body: 13px;
|
|
79
101
|
--font-size-display-2xl: 70px;
|
|
80
102
|
--font-size-display-xl: 60px;
|
|
@@ -86,7 +108,9 @@
|
|
|
86
108
|
--font-size-text-lg: 18px;
|
|
87
109
|
--font-size-text-md: 16px;
|
|
88
110
|
--font-size-text-sm: 14px;
|
|
111
|
+
--font-size-text-compact: 13px;
|
|
89
112
|
--font-size-text-xs: 12px;
|
|
113
|
+
--font-size-text-2xs: 11px;
|
|
90
114
|
--font-size-label-sm: 14px;
|
|
91
115
|
--font-size-label-xs: 12px;
|
|
92
116
|
--line-height-body: 1.5;
|
|
@@ -100,7 +124,9 @@
|
|
|
100
124
|
--line-height-text-lg: 26px;
|
|
101
125
|
--line-height-text-md: 24px;
|
|
102
126
|
--line-height-text-sm: 22px;
|
|
127
|
+
--line-height-text-compact: 20px;
|
|
103
128
|
--line-height-text-xs: 18px;
|
|
129
|
+
--line-height-text-2xs: 16px;
|
|
104
130
|
--line-height-label-sm: 22px;
|
|
105
131
|
--line-height-label-xs: 18px;
|
|
106
132
|
--duration-instant: 80ms;
|
|
@@ -116,9 +142,12 @@
|
|
|
116
142
|
--shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.1);
|
|
117
143
|
--shadow-pill: 0 1px 2px rgba(15, 23, 42, 0.08);
|
|
118
144
|
--shadow-cta: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
|
|
145
|
+
--shadow-popover: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.14);
|
|
146
|
+
--shadow-focus-error: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
119
147
|
--font-weight-regular: 400;
|
|
120
148
|
--font-weight-medium: 500;
|
|
121
149
|
--font-weight-semibold: 600;
|
|
122
150
|
--font-weight-bold: 700;
|
|
123
151
|
--font-weight-extrabold: 800;
|
|
152
|
+
--gradient-brand-warm: linear-gradient(160deg, #fbfbfb 34%, #f29c6f 90%);
|
|
124
153
|
}
|
package/dist/fidel.manifest.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1232,7 +1232,7 @@ var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
|
1232
1232
|
var SearchInput = (0, import_react11.forwardRef)(function SearchInput2({ shortcut, containerClassName, className, value, ...rest }, ref) {
|
|
1233
1233
|
const empty = value === void 0 || value === "";
|
|
1234
1234
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: ["fds-search", containerClassName].filter(Boolean).join(" "), children: [
|
|
1235
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { className: "fds-search__icon", viewBox: "0 0 24 24", width: "
|
|
1235
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { className: "fds-search__icon", viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", "aria-hidden": "true", children: [
|
|
1236
1236
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "11", cy: "11", r: "8", stroke: "currentColor", strokeWidth: "2" }),
|
|
1237
1237
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "m21 21-4.3-4.3", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
|
|
1238
1238
|
] }),
|