@kbach/react 0.3.12 → 0.3.13
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/{chunk-BAI72FG4.mjs → chunk-BBWDCPU6.mjs} +1 -1
- package/dist/{chunk-UGBTZ7VN.mjs → chunk-XL3F5GRY.mjs} +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-dev-runtime.js +2 -1
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/jsx-runtime.js +2 -1
- package/dist/jsx-runtime.mjs +2 -2
- package/package.json +1 -1
|
@@ -2024,7 +2024,8 @@ function styleValueToCSS(styles) {
|
|
|
2024
2024
|
} else {
|
|
2025
2025
|
cssVal = String(val);
|
|
2026
2026
|
}
|
|
2027
|
-
|
|
2027
|
+
const important = prop === "display" && (cssVal === "grid" || cssVal === "inline-grid") ? " !important" : "";
|
|
2028
|
+
return `${cssProp}: ${cssVal}${important}`;
|
|
2028
2029
|
}).join("; ");
|
|
2029
2030
|
}
|
|
2030
2031
|
function camelToKebab(str) {
|
package/dist/index.js
CHANGED
|
@@ -2154,7 +2154,8 @@ function styleValueToCSS(styles) {
|
|
|
2154
2154
|
} else {
|
|
2155
2155
|
cssVal = String(val);
|
|
2156
2156
|
}
|
|
2157
|
-
|
|
2157
|
+
const important = prop === "display" && (cssVal === "grid" || cssVal === "inline-grid") ? " !important" : "";
|
|
2158
|
+
return `${cssProp}: ${cssVal}${important}`;
|
|
2158
2159
|
}).join("; ");
|
|
2159
2160
|
}
|
|
2160
2161
|
function camelToKebab(str) {
|
package/dist/index.mjs
CHANGED
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -2045,7 +2045,8 @@ function styleValueToCSS(styles) {
|
|
|
2045
2045
|
} else {
|
|
2046
2046
|
cssVal = String(val);
|
|
2047
2047
|
}
|
|
2048
|
-
|
|
2048
|
+
const important = prop === "display" && (cssVal === "grid" || cssVal === "inline-grid") ? " !important" : "";
|
|
2049
|
+
return `${cssProp}: ${cssVal}${important}`;
|
|
2049
2050
|
}).join("; ");
|
|
2050
2051
|
}
|
|
2051
2052
|
function camelToKebab(str) {
|
package/dist/jsx-dev-runtime.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
Fragment,
|
|
3
3
|
jsx,
|
|
4
4
|
jsxs
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-BBWDCPU6.mjs";
|
|
6
|
+
import "./chunk-XL3F5GRY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/jsx-dev-runtime.tsx
|
|
9
9
|
function jsxDEV(type, props, key, isStaticChildren, _source, _self) {
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -2044,7 +2044,8 @@ function styleValueToCSS(styles) {
|
|
|
2044
2044
|
} else {
|
|
2045
2045
|
cssVal = String(val);
|
|
2046
2046
|
}
|
|
2047
|
-
|
|
2047
|
+
const important = prop === "display" && (cssVal === "grid" || cssVal === "inline-grid") ? " !important" : "";
|
|
2048
|
+
return `${cssProp}: ${cssVal}${important}`;
|
|
2048
2049
|
}).join("; ");
|
|
2049
2050
|
}
|
|
2050
2051
|
function camelToKebab(str) {
|
package/dist/jsx-runtime.mjs
CHANGED