@imfusion/web-ui 0.8.1-dev.21.gf14e57d1 → 0.8.1-dev.25.g85d685b9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imfusion/web-ui",
|
|
3
|
-
"version": "0.8.1-dev.
|
|
3
|
+
"version": "0.8.1-dev.25.g85d685b9",
|
|
4
4
|
"description": "The official Web UI component library for ImFusion web apps",
|
|
5
5
|
"author": "ImFusion GmbH",
|
|
6
6
|
"homepage": "https://imfusion.com",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"test:stories": "vitest run --project storybook",
|
|
92
92
|
"test:watch": "vitest",
|
|
93
93
|
"skills:eval": "tsx src/llms/evals/runner/run.ts",
|
|
94
|
-
"skills:eval:dev": "WEB_UI_SKILL_EVAL_ROOT=/private/tmp/web-ui-dev-skill-evals WEB_UI_SKILL_EVAL_RESULTS_DIR=.agents/evals/results WEB_UI_SKILL_EVAL_REPORT_PATH=.agents/evals/REPORT.md WEB_UI_SKILL_EVAL_SKILL_FAMILY=web-ui-dev WEB_UI_SKILL_EVAL_WORKSPACE_LABEL='development repository' tsx src/llms/evals/runner/run.ts --scenarios-dir .agents/evals/scenarios --setup .agents/evals/setup-env.sh",
|
|
94
|
+
"skills:eval:dev": "WEB_UI_SKILL_EVAL_SCENARIOS_DIR=.agents/evals/scenarios WEB_UI_SKILL_EVAL_SKILLS_DIR=.agents/skills WEB_UI_SKILL_EVAL_ROOT=/private/tmp/web-ui-dev-skill-evals WEB_UI_SKILL_EVAL_RESULTS_DIR=.agents/evals/results WEB_UI_SKILL_EVAL_REPORT_PATH=.agents/evals/REPORT.md WEB_UI_SKILL_EVAL_SKILL_FAMILY=web-ui-dev WEB_UI_SKILL_EVAL_WORKSPACE_LABEL='development repository' tsx src/llms/evals/runner/run.ts --scenarios-dir .agents/evals/scenarios --setup .agents/evals/setup-env.sh",
|
|
95
95
|
"skills:eval:compare": "tsx src/llms/evals/runner/compare.ts",
|
|
96
96
|
"skills:eval:affected": "tsx src/llms/evals/runner/affected.ts",
|
|
97
97
|
"skills:eval:report": "tsx src/llms/evals/runner/report.ts",
|
|
@@ -7,6 +7,8 @@ Use native CSS and Web UI's public seams. The library's CSS Modules and token na
|
|
|
7
7
|
- Use CSS Modules with native nesting. Do not add Sass, CSS-in-JS, or a utility-class framework for ordinary component
|
|
8
8
|
styles.
|
|
9
9
|
- Nest states, pseudo-elements, and child selectors under the root.
|
|
10
|
+
- Write declarations before nested rules; browsers before Chrome 130, Firefox 132, and Safari 18 move later ones above them.
|
|
11
|
+
- Do not nest under a selector list whose selectors differ in specificity. The nested rule takes the highest one.
|
|
10
12
|
- Lift repeated values into custom properties, especially when a state or variant changes several descendants.
|
|
11
13
|
- Keep structurally different rules explicit; not every repeated value needs an abstraction.
|
|
12
14
|
|
|
@@ -85,8 +87,8 @@ Foreground roles are for text, icons, borders, and focus rings. Background roles
|
|
|
85
87
|
|
|
86
88
|
## Browser floor
|
|
87
89
|
|
|
88
|
-
The library targets Safari
|
|
89
|
-
guarded fallback for older Safari:
|
|
90
|
+
The library targets Safari 17.5, Chrome 123, and Firefox 120 or newer, the first versions with native `light-dark()`.
|
|
91
|
+
`color-mix(in oklch, …)` is available at that floor. Relative color syntax needs a guarded fallback for older Safari:
|
|
90
92
|
|
|
91
93
|
```css
|
|
92
94
|
.subtle {
|
package/src/llms/tokens.gen.json
CHANGED
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
717
|
"name": "--imf-ui-inner-shadow-highlight",
|
|
718
|
-
"value": "inset calc(-0.5px * var(--imf-ui-shadow-x)) calc(-0.5px * var(--imf-ui-shadow-y)) 0 0 #fff, inset calc( 0.5px * var(--imf-ui-shadow-x)) calc( 0.5px * var(--imf-ui-shadow-y)) 0 0 #0001"
|
|
718
|
+
"value": "inset calc(-0.5px * var(--imf-ui-shadow-x)) calc(-0.5px * var(--imf-ui-shadow-y)) 0 0 light-dark(#fff, #fff1), inset calc( 0.5px * var(--imf-ui-shadow-x)) calc( 0.5px * var(--imf-ui-shadow-y)) 0 0 light-dark(#0001, #0007)"
|
|
719
719
|
},
|
|
720
720
|
{
|
|
721
721
|
"name": "--imf-ui-inner-shadow-tint",
|