@rokkit/core 1.4.1 → 1.4.2
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 +4 -3
- package/src/theme.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Contains core utility functions and classes that can be used in various components.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"prepublishOnly": "cp ../../LICENSE . && bunx tsc --project tsconfig.build.json",
|
|
17
17
|
"postpublish": "rm -f LICENSE",
|
|
18
18
|
"clean": "rm -rf dist",
|
|
19
|
-
"build": "bun clean && bun prepublishOnly"
|
|
19
|
+
"build": "bun clean && bun prepublishOnly",
|
|
20
|
+
"check:build": "bun run clean && tsc --project tsconfig.build.json"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"src/**/*.js",
|
|
@@ -46,6 +47,6 @@
|
|
|
46
47
|
"ramda": "^0.32.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@rokkit/icons": "1.4.
|
|
50
|
+
"@rokkit/icons": "1.4.2"
|
|
50
51
|
}
|
|
51
52
|
}
|
package/src/theme.ts
CHANGED
|
@@ -287,8 +287,11 @@ export class Theme {
|
|
|
287
287
|
if (name === 'on-primary') {
|
|
288
288
|
return this.#adapter.wrap(this.#onColorHex('primary', colors))
|
|
289
289
|
}
|
|
290
|
-
/* v8 ignore
|
|
290
|
+
/* v8 ignore start -- on-primary is the only 'derived' token, so this default is
|
|
291
|
+
unreachable. `ignore next` does NOT fire here under vitest 4's AST-aware
|
|
292
|
+
remapping; the start/stop region does. */
|
|
291
293
|
return undefined
|
|
294
|
+
/* v8 ignore stop */
|
|
292
295
|
}
|
|
293
296
|
|
|
294
297
|
/**
|