@elmethis/core 0.20.0 → 0.22.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/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/tokens.css +17 -1
- package/package.json +12 -12
package/dist/index.d.cts
CHANGED
|
@@ -3832,7 +3832,7 @@ declare const notionBlockCatalogJson: AssembledCatalog;
|
|
|
3832
3832
|
* Each {@link LanguageIcon} is authored once here and rendered by a thin,
|
|
3833
3833
|
* per-framework component that walks the node tree into that framework's JSX.
|
|
3834
3834
|
* The geometry (path data, gradients, brand colors) lives in exactly one place
|
|
3835
|
-
* so the
|
|
3835
|
+
* so the React, Solid, and Vue libraries no longer duplicate it.
|
|
3836
3836
|
*/
|
|
3837
3837
|
/** A single SVG element node: a tag, its literal attributes, and children. */
|
|
3838
3838
|
interface SvgNode {
|
package/dist/index.d.mts
CHANGED
|
@@ -3832,7 +3832,7 @@ declare const notionBlockCatalogJson: AssembledCatalog;
|
|
|
3832
3832
|
* Each {@link LanguageIcon} is authored once here and rendered by a thin,
|
|
3833
3833
|
* per-framework component that walks the node tree into that framework's JSX.
|
|
3834
3834
|
* The geometry (path data, gradients, brand colors) lives in exactly one place
|
|
3835
|
-
* so the
|
|
3835
|
+
* so the React, Solid, and Vue libraries no longer duplicate it.
|
|
3836
3836
|
*/
|
|
3837
3837
|
/** A single SVG element node: a tag, its literal attributes, and children. */
|
|
3838
3838
|
interface SvgNode {
|
package/dist/tokens.css
CHANGED
|
@@ -52,14 +52,22 @@
|
|
|
52
52
|
--elmethis-font-family-monospace: var(
|
|
53
53
|
--elmethis-primitive-font-family-monospace
|
|
54
54
|
);
|
|
55
|
-
--elmethis-box-shadow
|
|
55
|
+
--elmethis-color-box-shadow: light-dark(
|
|
56
56
|
oklch(from #3e434b l c h / 0.25),
|
|
57
57
|
var(--elmethis-primitive-color-slate-900)
|
|
58
58
|
);
|
|
59
|
+
--elmethis-color-accent-link-surface: light-dark(
|
|
60
|
+
var(--elmethis-primitive-color-blue-100),
|
|
61
|
+
var(--elmethis-primitive-color-blue-900)
|
|
62
|
+
);
|
|
59
63
|
--elmethis-color-accent-link: var(--elmethis-primitive-color-blue-500);
|
|
60
64
|
--elmethis-color-accent-link-visited: var(
|
|
61
65
|
--elmethis-primitive-color-purple-500
|
|
62
66
|
);
|
|
67
|
+
--elmethis-color-accent-link-surface-visited: light-dark(
|
|
68
|
+
var(--elmethis-primitive-color-purple-100),
|
|
69
|
+
var(--elmethis-primitive-color-purple-900)
|
|
70
|
+
);
|
|
63
71
|
--elmethis-color-accent-info: var(--elmethis-primitive-color-blue-500);
|
|
64
72
|
--elmethis-color-accent-info-surface: light-dark(
|
|
65
73
|
var(--elmethis-primitive-color-blue-100),
|
|
@@ -85,6 +93,11 @@
|
|
|
85
93
|
var(--elmethis-primitive-color-red-100),
|
|
86
94
|
var(--elmethis-primitive-color-red-900)
|
|
87
95
|
);
|
|
96
|
+
--elmethis-color-divider: light-dark(
|
|
97
|
+
var(--elmethis-primitive-color-gold-300),
|
|
98
|
+
var(--elmethis-primitive-color-slate-800)
|
|
99
|
+
);
|
|
100
|
+
--elmethis-color-modal-backdrop: oklch(from black l c h / 50%);
|
|
88
101
|
--elmethis-color-surface-sunken: light-dark(
|
|
89
102
|
var(--elmethis-primitive-color-gold-300),
|
|
90
103
|
var(--elmethis-primitive-color-slate-800)
|
|
@@ -118,6 +131,9 @@
|
|
|
118
131
|
--elmethis-color-primary-hover: oklch(
|
|
119
132
|
from var(--elmethis-color-primary) l c h / 15%
|
|
120
133
|
);
|
|
134
|
+
--elmethis-color-selection: oklch(
|
|
135
|
+
from var(--elmethis-color-primary) l c h / 25%
|
|
136
|
+
);
|
|
121
137
|
--elmethis-color-display-red: var(--elmethis-primitive-color-red-500);
|
|
122
138
|
--elmethis-color-display-red-surface: light-dark(
|
|
123
139
|
var(--elmethis-primitive-color-red-100),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Ikuma Yamashita",
|
|
6
6
|
"url": "https://www.ikuma.cloud/"
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"zod-to-json-schema": "^3.25.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@a2ui/web_core": "^0.10.
|
|
46
|
+
"@a2ui/web_core": "^0.10.5",
|
|
47
47
|
"@eslint/js": "latest",
|
|
48
|
-
"@types/node": "26.1.
|
|
48
|
+
"@types/node": "26.1.1",
|
|
49
49
|
"@vanilla-extract/css": "^1.21.1",
|
|
50
50
|
"@vanilla-extract/esbuild-plugin": "^2.3.22",
|
|
51
51
|
"@vitest/coverage-v8": "^4.1.10",
|
|
52
52
|
"ajv": "^8.17.1",
|
|
53
53
|
"ajv-formats": "^3.0.1",
|
|
54
|
-
"concurrently": "^10.0.
|
|
54
|
+
"concurrently": "^10.0.4",
|
|
55
55
|
"esbuild": "^0.28.1",
|
|
56
|
-
"eslint": "^10.
|
|
57
|
-
"globals": "^17.
|
|
58
|
-
"prettier": "3.9.
|
|
59
|
-
"tsdown": "^0.22.
|
|
60
|
-
"tsx": "^4.23.
|
|
56
|
+
"eslint": "^10.8.0",
|
|
57
|
+
"globals": "^17.8.0",
|
|
58
|
+
"prettier": "3.9.6",
|
|
59
|
+
"tsdown": "^0.22.14",
|
|
60
|
+
"tsx": "^4.23.1",
|
|
61
61
|
"typescript": "5.9.3",
|
|
62
|
-
"typescript-eslint": "^8.
|
|
63
|
-
"vitest": "^4.1.
|
|
62
|
+
"typescript-eslint": "^8.65.0",
|
|
63
|
+
"vitest": "^4.1.10",
|
|
64
64
|
"zod": "^3"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"test.unit": "vitest --run",
|
|
74
74
|
"test.coverage": "vitest --run --coverage",
|
|
75
75
|
"check": "concurrently -g \"pnpm:fmt.check\" \"pnpm:lint\" \"pnpm:build.types\"",
|
|
76
|
-
"check.ci": "
|
|
76
|
+
"check.ci": "pnpm run check && pnpm run build && pnpm run test.coverage"
|
|
77
77
|
}
|
|
78
78
|
}
|