@kbach/react 0.6.45 → 0.6.46
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-ERIVGK24.mjs → chunk-4Y44K364.mjs} +1 -1
- package/dist/{chunk-VB6KOAZZ.mjs → chunk-FYVFEEFX.mjs} +2 -1
- package/dist/core/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/jsx-runtime.mjs +2 -2
- package/dist/vite-plugin.js +2 -1
- package/dist/vite-plugin.mjs +2 -1
- package/package.json +1 -1
|
@@ -3442,7 +3442,8 @@ function buildConfig(userConfig) {
|
|
|
3442
3442
|
}
|
|
3443
3443
|
const rawSans = theme.fontFamily?.sans;
|
|
3444
3444
|
const sansFontValue = Array.isArray(rawSans) ? rawSans[0] : rawSans;
|
|
3445
|
-
|
|
3445
|
+
const nativeSansFont = sansFontValue?.split(",")[0]?.trim().replace(/^['"]|['"]$/g, "");
|
|
3446
|
+
setDefaultFontFamily(nativeSansFont && nativeSansFont !== "System" ? nativeSansFont : void 0);
|
|
3446
3447
|
injectGlobalStyles(resolved.theme);
|
|
3447
3448
|
return resolved;
|
|
3448
3449
|
}
|
package/dist/core/index.js
CHANGED
|
@@ -3540,7 +3540,8 @@ function buildConfig(userConfig) {
|
|
|
3540
3540
|
}
|
|
3541
3541
|
const rawSans = theme.fontFamily?.sans;
|
|
3542
3542
|
const sansFontValue = Array.isArray(rawSans) ? rawSans[0] : rawSans;
|
|
3543
|
-
|
|
3543
|
+
const nativeSansFont = sansFontValue?.split(",")[0]?.trim().replace(/^['"]|['"]$/g, "");
|
|
3544
|
+
setDefaultFontFamily(nativeSansFont && nativeSansFont !== "System" ? nativeSansFont : void 0);
|
|
3544
3545
|
injectGlobalStyles(resolved.theme);
|
|
3545
3546
|
return resolved;
|
|
3546
3547
|
}
|
package/dist/index.mjs
CHANGED
package/dist/jsx-dev-runtime.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
Fragment,
|
|
4
4
|
jsx,
|
|
5
5
|
jsxs
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4Y44K364.mjs";
|
|
7
|
+
import "./chunk-FYVFEEFX.mjs";
|
|
8
8
|
|
|
9
9
|
// src/jsx-dev-runtime.tsx
|
|
10
10
|
function jsxDEV(type, props, key, isStaticChildren, source, self) {
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
_invalidateDefaultFontCache,
|
|
5
5
|
jsx,
|
|
6
6
|
jsxs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4Y44K364.mjs";
|
|
8
8
|
import {
|
|
9
9
|
registerWebElement
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FYVFEEFX.mjs";
|
|
11
11
|
export {
|
|
12
12
|
Fragment,
|
|
13
13
|
_invalidateDefaultFontCache,
|
package/dist/vite-plugin.js
CHANGED
|
@@ -3212,7 +3212,8 @@ function buildConfig(userConfig) {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
const rawSans = theme.fontFamily?.sans;
|
|
3214
3214
|
const sansFontValue = Array.isArray(rawSans) ? rawSans[0] : rawSans;
|
|
3215
|
-
|
|
3215
|
+
const nativeSansFont = sansFontValue?.split(",")[0]?.trim().replace(/^['"]|['"]$/g, "");
|
|
3216
|
+
setDefaultFontFamily(nativeSansFont && nativeSansFont !== "System" ? nativeSansFont : void 0);
|
|
3216
3217
|
injectGlobalStyles(resolved.theme);
|
|
3217
3218
|
return resolved;
|
|
3218
3219
|
}
|
package/dist/vite-plugin.mjs
CHANGED
|
@@ -3177,7 +3177,8 @@ function buildConfig(userConfig) {
|
|
|
3177
3177
|
}
|
|
3178
3178
|
const rawSans = theme.fontFamily?.sans;
|
|
3179
3179
|
const sansFontValue = Array.isArray(rawSans) ? rawSans[0] : rawSans;
|
|
3180
|
-
|
|
3180
|
+
const nativeSansFont = sansFontValue?.split(",")[0]?.trim().replace(/^['"]|['"]$/g, "");
|
|
3181
|
+
setDefaultFontFamily(nativeSansFont && nativeSansFont !== "System" ? nativeSansFont : void 0);
|
|
3181
3182
|
injectGlobalStyles(resolved.theme);
|
|
3182
3183
|
return resolved;
|
|
3183
3184
|
}
|