@pie-element/shared-theming 0.2.5-next.20261026212738 → 0.2.5-next.20261110055344
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.js +2 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/constants.ts
|
|
2
2
|
var e = {
|
|
3
3
|
TEXT: "black",
|
|
4
4
|
DISABLED: "grey",
|
|
@@ -462,8 +462,7 @@ function a(e) {
|
|
|
462
462
|
return e === "dark" ? i : r;
|
|
463
463
|
}
|
|
464
464
|
var o = ["light", "dark"];
|
|
465
|
-
|
|
466
|
-
//#region src/css-variables.ts
|
|
465
|
+
// src/css-variables.ts
|
|
467
466
|
function s(e, n) {
|
|
468
467
|
let r = {}, i = n?.mappings || t;
|
|
469
468
|
for (let t of i) {
|
|
@@ -488,5 +487,4 @@ function d(e, t = typeof document < "u" ? document.documentElement : null) {
|
|
|
488
487
|
t.style.removeProperty(e);
|
|
489
488
|
});
|
|
490
489
|
}
|
|
491
|
-
//#endregion
|
|
492
490
|
export { t as DEFAULT_CSS_MAPPINGS, e as PIE_COLOR_DEFAULTS, i as PIE_DARK_THEME, r as PIE_LIGHT_THEME, n as PIE_ORANGE, o as PIE_THEME_NAMES, l as cssVariablesToReactStyle, c as cssVariablesToStyleString, s as generateCssVariables, a as getPieTheme, u as injectCssVariables, d as removeCssVariables };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/shared-theming",
|
|
3
|
-
"version": "0.2.5-next.
|
|
3
|
+
"version": "0.2.5-next.20261110055344",
|
|
4
4
|
"description": "Core theming system for PIE elements",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"clean": "rm -rf dist"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@pie-element/shared-types": "0.2.4-next.
|
|
24
|
+
"@pie-element/shared-types": "0.2.4-next.20261109184540"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|