@usefidel/design-system 0.19.0 → 0.20.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 CHANGED
@@ -48,9 +48,14 @@
48
48
  --color-info: #1d4ed8;
49
49
  --color-info-strong: #2563eb;
50
50
  --color-info-surface: #eff6ff;
51
+ --color-info-border: #bfdbfe;
51
52
  --color-text-on-neutral: #404040;
52
53
  --color-surface-subtle: #fafafa;
53
54
  --color-accent-pressed: #9a3412;
55
+ --color-primary-pressed: #000000;
56
+ --color-error-pressed: #7f1d1d;
57
+ --color-error-border-hover: #fca5a5;
58
+ --color-error-bg-pressed: #fee2e2;
54
59
  --font-display: 'Rethink Sans', system-ui, -apple-system, sans-serif;
55
60
  --font-body: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
56
61
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
@@ -75,6 +80,11 @@
75
80
  --spacing-10: 40px;
76
81
  --spacing-12: 48px;
77
82
  --spacing-16: 64px;
83
+ --size-control-xs: 28px;
84
+ --size-control-sm: 32px;
85
+ --size-control-md: 36px;
86
+ --size-control-lg: 44px;
87
+ --size-nav: 56px;
78
88
  --font-size-body: 14px;
79
89
  --font-size-display-2xl: 70px;
80
90
  --font-size-display-xl: 60px;
@@ -86,7 +96,9 @@
86
96
  --font-size-text-lg: 18px;
87
97
  --font-size-text-md: 16px;
88
98
  --font-size-text-sm: 14px;
99
+ --font-size-text-compact: 13px;
89
100
  --font-size-text-xs: 12px;
101
+ --font-size-text-2xs: 11px;
90
102
  --font-size-label-sm: 14px;
91
103
  --font-size-label-xs: 12px;
92
104
  --line-height-body: 1.6;
@@ -100,7 +112,9 @@
100
112
  --line-height-text-lg: 26px;
101
113
  --line-height-text-md: 24px;
102
114
  --line-height-text-sm: 22px;
115
+ --line-height-text-compact: 20px;
103
116
  --line-height-text-xs: 18px;
117
+ --line-height-text-2xs: 16px;
104
118
  --line-height-label-sm: 22px;
105
119
  --line-height-label-xs: 18px;
106
120
  --duration-instant: 80ms;
@@ -48,9 +48,14 @@
48
48
  --color-info: #1d4ed8;
49
49
  --color-info-strong: #2563eb;
50
50
  --color-info-surface: #eff6ff;
51
+ --color-info-border: #bfdbfe;
51
52
  --color-text-on-neutral: #404040;
52
53
  --color-surface-subtle: #fafafa;
53
54
  --color-accent-pressed: #9a3412;
55
+ --color-primary-pressed: #000000;
56
+ --color-error-pressed: #7f1d1d;
57
+ --color-error-border-hover: #fca5a5;
58
+ --color-error-bg-pressed: #fee2e2;
54
59
  --font-display: 'Rethink Sans', system-ui, -apple-system, sans-serif;
55
60
  --font-body: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
56
61
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
@@ -75,6 +80,11 @@
75
80
  --spacing-10: 40px;
76
81
  --spacing-12: 48px;
77
82
  --spacing-16: 64px;
83
+ --size-control-xs: 28px;
84
+ --size-control-sm: 32px;
85
+ --size-control-md: 36px;
86
+ --size-control-lg: 44px;
87
+ --size-nav: 56px;
78
88
  --font-size-body: 13px;
79
89
  --font-size-display-2xl: 70px;
80
90
  --font-size-display-xl: 60px;
@@ -86,7 +96,9 @@
86
96
  --font-size-text-lg: 18px;
87
97
  --font-size-text-md: 16px;
88
98
  --font-size-text-sm: 14px;
99
+ --font-size-text-compact: 13px;
89
100
  --font-size-text-xs: 12px;
101
+ --font-size-text-2xs: 11px;
90
102
  --font-size-label-sm: 14px;
91
103
  --font-size-label-xs: 12px;
92
104
  --line-height-body: 1.5;
@@ -100,7 +112,9 @@
100
112
  --line-height-text-lg: 26px;
101
113
  --line-height-text-md: 24px;
102
114
  --line-height-text-sm: 22px;
115
+ --line-height-text-compact: 20px;
103
116
  --line-height-text-xs: 18px;
117
+ --line-height-text-2xs: 16px;
104
118
  --line-height-label-sm: 22px;
105
119
  --line-height-label-xs: 18px;
106
120
  --duration-instant: 80ms;
@@ -10,6 +10,6 @@
10
10
  "webapp.css"
11
11
  ],
12
12
  "storybookUrl": null,
13
- "packageVersion": "0.19.0",
14
- "resolvedSha": "a669cb40e0897705f76eb226329ad565ddf2fe3c"
13
+ "packageVersion": "0.20.0",
14
+ "resolvedSha": "03e0eb5580241d65f5ba3e517571a81ccb6f792d"
15
15
  }
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: "20", height: "20", fill: "none", "aria-hidden": "true", children: [
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
  ] }),