@mirror-physics/fractal-ui 0.2.0-next.77 → 0.2.0-next.78
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 +31 -0
- package/dist/chunk-QZX655IA.js +344 -0
- package/dist/chunk-QZX655IA.js.map +1 -0
- package/dist/column-editor.cjs +382 -0
- package/dist/column-editor.cjs.map +1 -0
- package/dist/column-editor.css +36 -0
- package/dist/column-editor.css.map +1 -0
- package/dist/column-editor.d.cts +20 -0
- package/dist/column-editor.d.ts +20 -0
- package/dist/column-editor.js +7 -0
- package/dist/column-editor.js.map +1 -0
- package/dist/index.cjs +814 -285
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +427 -35
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +51 -8
- package/dist/index.d.ts +51 -8
- package/dist/index.js +701 -507
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +34 -0
- package/package.json +10 -3
package/dist/tokens.css
CHANGED
|
@@ -208,6 +208,18 @@
|
|
|
208
208
|
--warning-text: var(--yellow-900);
|
|
209
209
|
--warning-bg: var(--yellow-0);
|
|
210
210
|
|
|
211
|
+
/* Filled status and metadata tags — borderless containment. */
|
|
212
|
+
--tag-info-bg: var(--blue-100);
|
|
213
|
+
--tag-info-fg: var(--blue-600);
|
|
214
|
+
--tag-success-bg: var(--green-100);
|
|
215
|
+
--tag-success-fg: var(--green-600);
|
|
216
|
+
--tag-warning-bg: var(--yellow-100);
|
|
217
|
+
--tag-warning-fg: var(--yellow-600);
|
|
218
|
+
--tag-error-bg: var(--red-100);
|
|
219
|
+
--tag-error-fg: var(--red-600);
|
|
220
|
+
--tag-neutral-bg: var(--bg-surface-2);
|
|
221
|
+
--tag-neutral-fg: var(--fg-secondary);
|
|
222
|
+
|
|
211
223
|
/* ---- Pink ---- */
|
|
212
224
|
--pink-default: var(--pink-500);
|
|
213
225
|
--pink-hover: var(--pink-400);
|
|
@@ -404,6 +416,18 @@
|
|
|
404
416
|
--warning-text: var(--yellow-100);
|
|
405
417
|
--warning-bg: var(--yellow-900);
|
|
406
418
|
|
|
419
|
+
/* Filled status and metadata tags — borderless containment. */
|
|
420
|
+
--tag-info-bg: var(--blue-700);
|
|
421
|
+
--tag-info-fg: var(--blue-200);
|
|
422
|
+
--tag-success-bg: var(--green-700);
|
|
423
|
+
--tag-success-fg: var(--green-200);
|
|
424
|
+
--tag-warning-bg: var(--yellow-700);
|
|
425
|
+
--tag-warning-fg: var(--yellow-200);
|
|
426
|
+
--tag-error-bg: var(--red-700);
|
|
427
|
+
--tag-error-fg: var(--red-200);
|
|
428
|
+
--tag-neutral-bg: var(--bg-surface-2);
|
|
429
|
+
--tag-neutral-fg: var(--fg-secondary);
|
|
430
|
+
|
|
407
431
|
/* ---- Pink ---- */
|
|
408
432
|
--pink-default: var(--pink-400);
|
|
409
433
|
--pink-hover: var(--pink-300);
|
|
@@ -655,6 +679,9 @@ body {
|
|
|
655
679
|
--shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
|
|
656
680
|
|
|
657
681
|
/* ---- Layout Constants ---- */
|
|
682
|
+
--shell-header-height: 3.5rem; /* 56px at the default root, including the divider */
|
|
683
|
+
--chart-axis-tick-gap: var(--space-1);
|
|
684
|
+
--chart-axis-title-gap: var(--space-2);
|
|
658
685
|
--panel-width: 256px;
|
|
659
686
|
}
|
|
660
687
|
|
|
@@ -690,6 +717,13 @@ body {
|
|
|
690
717
|
--control-xl-icon-size: 1.25rem;
|
|
691
718
|
}
|
|
692
719
|
|
|
720
|
+
/* Table content caps; selected by the table container's available width. */
|
|
721
|
+
:root {
|
|
722
|
+
--table-column-max-compact: 16rem;
|
|
723
|
+
--table-column-max-medium: 20rem;
|
|
724
|
+
--table-column-max-wide: 24rem;
|
|
725
|
+
}
|
|
726
|
+
|
|
693
727
|
/* =========================================
|
|
694
728
|
Design System Motion Tokens
|
|
695
729
|
=========================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirror-physics/fractal-ui",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.78",
|
|
4
4
|
"description": "Fractal UI \u2014 React components and CSS tokens for Mirror Physics products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./css": "./dist/index.css",
|
|
16
|
-
"./tokens.css": "./dist/tokens.css"
|
|
16
|
+
"./tokens.css": "./dist/tokens.css",
|
|
17
|
+
"./column-editor": {
|
|
18
|
+
"types": "./dist/column-editor.d.ts",
|
|
19
|
+
"import": "./dist/column-editor.js",
|
|
20
|
+
"require": "./dist/column-editor.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./column-editor.css": "./dist/column-editor.css"
|
|
17
23
|
},
|
|
18
24
|
"files": [
|
|
19
25
|
"dist"
|
|
@@ -24,6 +30,7 @@
|
|
|
24
30
|
"scripts": {
|
|
25
31
|
"build": "tsup",
|
|
26
32
|
"typecheck": "tsc --noEmit",
|
|
33
|
+
"test:dropdown": "node --test tests/dropdown-position.test.mjs",
|
|
27
34
|
"storybook": "storybook dev -p 6006",
|
|
28
35
|
"build-storybook": "storybook build",
|
|
29
36
|
"publish:next": "set -a && . ./.env.local && set +a && npm publish --tag next",
|
|
@@ -38,7 +45,7 @@
|
|
|
38
45
|
"@codemirror/language": "^6.12.4",
|
|
39
46
|
"@codemirror/view": "^6.43.7",
|
|
40
47
|
"@lezer/highlight": "^1.2.3",
|
|
41
|
-
"@mirror-physics/fractal-icons": "^0.4.
|
|
48
|
+
"@mirror-physics/fractal-icons": "^0.4.3",
|
|
42
49
|
"@uiw/react-codemirror": "^4.25.11",
|
|
43
50
|
"clsx": "^2.1.1"
|
|
44
51
|
},
|