@sybilion/uilib 1.4.24 → 1.4.26
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/assets/globals.css
CHANGED
|
@@ -100,10 +100,6 @@
|
|
|
100
100
|
--stroke-linejoin: miter;
|
|
101
101
|
--stroke-absolute: true;
|
|
102
102
|
--header-height: 3.5rem;
|
|
103
|
-
--color-status-positive: var(--status-positive);
|
|
104
|
-
--color-status-positive-bg: var(--status-positive-bg);
|
|
105
|
-
--color-status-negative: var(--status-negative);
|
|
106
|
-
--color-status-negative-bg: var(--status-negative-bg);
|
|
107
103
|
--radius-0: var(--radius-0);
|
|
108
104
|
--radius-1: var(--radius-1);
|
|
109
105
|
--radius-2: var(--radius-2);
|
|
@@ -296,12 +292,6 @@
|
|
|
296
292
|
--tracking-body: 0em;
|
|
297
293
|
--tracking-label: 0.04em;
|
|
298
294
|
|
|
299
|
-
/* design-system status colors (mapped onto --sb-* ramps) */
|
|
300
|
-
--status-positive: var(--sb-green-700);
|
|
301
|
-
--status-positive-bg: var(--sb-green-100);
|
|
302
|
-
--status-negative: var(--sb-red-600);
|
|
303
|
-
--status-negative-bg: var(--sb-red-100);
|
|
304
|
-
|
|
305
295
|
--font-family-heading: 'KMR Apparat', sans-serif;
|
|
306
296
|
--font-family-body: 'Manrope', sans-serif;
|
|
307
297
|
|
|
@@ -418,10 +408,6 @@
|
|
|
418
408
|
--sidebar-accent-foreground: oklch(0.95 0 0);
|
|
419
409
|
--sidebar-border: oklch(0.3 0 0);
|
|
420
410
|
--sidebar-ring: oklch(0.5 0 0);
|
|
421
|
-
--status-positive: var(--sb-green-400);
|
|
422
|
-
--status-positive-bg: var(--sb-green-900);
|
|
423
|
-
--status-negative: var(--sb-red-400);
|
|
424
|
-
--status-negative-bg: var(--sb-red-900);
|
|
425
411
|
}
|
|
426
412
|
|
|
427
413
|
@layer base {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".Chip_root__ypULj{align-items:center;border-radius:var(--radius-pill);display:inline-flex;flex-shrink:0;font-family:var(--font-family-body);font-size:11px;font-weight:400;gap:6px;letter-spacing:var(--tracking-body);line-height:1rem;padding:
|
|
3
|
+
var css_248z = ".Chip_root__ypULj{align-items:center;border-radius:var(--radius-pill);display:inline-flex;flex-shrink:0;font-family:var(--font-family-body);font-size:11px;font-weight:400;gap:6px;letter-spacing:var(--tracking-body);line-height:1rem;padding:var(--p-1) var(--p-2);transition:background-color var(--dur-base) var(--ease-standard),color var(--dur-base) var(--ease-standard),border-color var(--dur-base) var(--ease-standard);white-space:nowrap;width:-moz-fit-content;width:fit-content;--status-positive:var(--sb-green-700);--status-positive-bg:var(--sb-green-50);--status-negative:var(--sb-red-600);--status-negative-bg:var(--sb-red-50)}.dark .Chip_root__ypULj{--status-positive:var(--sb-green-400);--status-positive-bg:var(--sb-green-900);--status-negative:var(--sb-red-400);--status-negative-bg:var(--sb-red-900)}.Chip_root__ypULj.Chip_squared__5OY6c{border-radius:var(--p-1)}.Chip_root__ypULj>svg{height:.75rem;pointer-events:none;width:.75rem}.Chip_root__ypULj .Chip_dot__sz4XM{background:var(--sb-cyan-400);border-radius:50%;flex:none;height:6px;width:6px}.Chip_root__ypULj .Chip_arrow__hgcsB{flex:none;height:10px;pointer-events:none;width:10px}.Chip_root__ypULj.Chip_variant-neutral__9MWgc{background:var(--sb-slate-100);color:var(--sb-slate-800)}.dark .Chip_root__ypULj.Chip_variant-neutral__9MWgc{background:var(--sb-slate-800);color:var(--sb-slate-200)}.Chip_root__ypULj.Chip_variant-line__CsrUc{background:var(--background);border:1px solid var(--border);color:var(--sb-slate-900)}.dark .Chip_root__ypULj.Chip_variant-line__CsrUc{color:var(--sb-slate-100)}.Chip_root__ypULj.Chip_variant-active__qV9nv{background:transparent;border:1px solid var(--sb-cyan-400);color:var(--sb-slate-900)}.dark .Chip_root__ypULj.Chip_variant-active__qV9nv{color:var(--sb-slate-100)}.Chip_root__ypULj.Chip_variant-filled__z1jP9{background:var(--sb-slate-900);color:var(--sb-slate-50)}.dark .Chip_root__ypULj.Chip_variant-filled__z1jP9{background:var(--sb-slate-100);color:var(--sb-slate-900)}.Chip_root__ypULj.Chip_variant-accent__0e6P6{background:var(--sb-cyan-100);color:var(--sb-slate-900)}.Chip_root__ypULj.Chip_variant-positive__bH2ls{background:var(--status-positive-bg);color:var(--status-positive)}.Chip_root__ypULj.Chip_variant-negative__4mhBO{background:var(--status-negative-bg);color:var(--status-negative)}.Chip_root__ypULj.Chip_variant-yellow__zzDna{background-color:var(--sb-yellow-50);color:var(--sb-yellow-600)}.dark .Chip_root__ypULj.Chip_variant-yellow__zzDna{background-color:var(--sb-yellow-900);color:var(--sb-yellow-400)}";
|
|
4
4
|
var S = {"root":"Chip_root__ypULj","squared":"Chip_squared__5OY6c","dot":"Chip_dot__sz4XM","arrow":"Chip_arrow__hgcsB","variant-neutral":"Chip_variant-neutral__9MWgc","variant-line":"Chip_variant-line__CsrUc","variant-active":"Chip_variant-active__qV9nv","variant-filled":"Chip_variant-filled__z1jP9","variant-accent":"Chip_variant-accent__0e6P6","variant-positive":"Chip_variant-positive__bH2ls","variant-negative":"Chip_variant-negative__4mhBO","variant-yellow":"Chip_variant-yellow__zzDna"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sybilion/uilib",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.26",
|
|
4
4
|
"description": "Sybilion Design System — React UI components (Webpack + Stylus)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"main": "./dist/esm/index.js",
|
|
11
|
-
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/esm/src/index.js",
|
|
11
|
+
"module": "./dist/esm/src/index.js",
|
|
12
12
|
"types": "./dist/esm/types/index.d.ts",
|
|
13
13
|
"sideEffects": [
|
|
14
14
|
"**/*.styl",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
23
|
"types": "./dist/esm/types/index.d.ts",
|
|
24
|
-
"import": "./dist/esm/index.js",
|
|
25
|
-
"default": "./dist/esm/index.js"
|
|
24
|
+
"import": "./dist/esm/src/index.js",
|
|
25
|
+
"default": "./dist/esm/src/index.js"
|
|
26
26
|
},
|
|
27
27
|
"./src": {
|
|
28
28
|
"types": "./src/index.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"./hooks": {
|
|
33
33
|
"types": "./dist/esm/types/src/hooks/index.d.ts",
|
|
34
|
-
"import": "./dist/esm/hooks/index.js",
|
|
35
|
-
"default": "./dist/esm/hooks/index.js"
|
|
34
|
+
"import": "./dist/esm/src/hooks/index.js",
|
|
35
|
+
"default": "./dist/esm/src/hooks/index.js"
|
|
36
36
|
},
|
|
37
37
|
"./src/*": "./src/*",
|
|
38
38
|
"./logo.svg": "./src/components/ui/Logo/logo.svg"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
flex-shrink 0
|
|
6
6
|
white-space nowrap
|
|
7
7
|
gap 6px
|
|
8
|
-
padding
|
|
8
|
+
padding var(--p-1) var(--p-2)
|
|
9
9
|
border-radius var(--radius-pill)
|
|
10
10
|
font-family var(--font-family-body)
|
|
11
11
|
font-size 11px
|
|
@@ -13,6 +13,16 @@
|
|
|
13
13
|
font-weight 400
|
|
14
14
|
letter-spacing var(--tracking-body)
|
|
15
15
|
transition background-color var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard)
|
|
16
|
+
--status-positive var(--sb-green-700)
|
|
17
|
+
--status-positive-bg var(--sb-green-50)
|
|
18
|
+
--status-negative var(--sb-red-600)
|
|
19
|
+
--status-negative-bg var(--sb-red-50)
|
|
20
|
+
|
|
21
|
+
:global(.dark) &
|
|
22
|
+
--status-positive var(--sb-green-400)
|
|
23
|
+
--status-positive-bg var(--sb-green-900)
|
|
24
|
+
--status-negative var(--sb-red-400)
|
|
25
|
+
--status-negative-bg var(--sb-red-900)
|
|
16
26
|
|
|
17
27
|
&.squared
|
|
18
28
|
border-radius var(--p-1)
|
|
@@ -22,14 +22,14 @@ const SENTIMENT: DonutChartDatum[] = [
|
|
|
22
22
|
key: 'positive',
|
|
23
23
|
label: 'Positive',
|
|
24
24
|
value: 58,
|
|
25
|
-
color: 'var(--
|
|
25
|
+
color: 'var(--sb-green-600)',
|
|
26
26
|
},
|
|
27
27
|
{ key: 'neutral', label: 'Neutral', value: 27, color: 'var(--sb-slate-400)' },
|
|
28
28
|
{
|
|
29
29
|
key: 'negative',
|
|
30
30
|
label: 'Negative',
|
|
31
31
|
value: 15,
|
|
32
|
-
color: 'var(--
|
|
32
|
+
color: 'var(--sb-red-600)',
|
|
33
33
|
},
|
|
34
34
|
];
|
|
35
35
|
|