@kbach/react-native 1.0.0-beta.12 → 1.0.0-beta.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/android/src/main/jniLibs/arm64-v8a/libkbach_core_engine.so +0 -0
- package/android/src/main/jniLibs/x86_64/libkbach_core_engine.so +0 -0
- package/dist/{chunk-OJIFXMLD.mjs → chunk-6QFPLRSP.mjs} +1 -1
- package/dist/{chunk-7AIH5MXY.mjs → chunk-GU6DH6UE.mjs} +1 -1
- package/dist/{chunk-MGXMALPC.mjs → chunk-JMNJCPGK.mjs} +10 -10
- package/dist/chunk-ZB2UU6EO.mjs +192 -0
- package/dist/index.js +10 -10
- package/dist/index.mjs +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.mjs +1 -1
- package/dist/jsx-dev-runtime.js +10 -10
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +2 -2
- package/dist/jsx-runtime.js +10 -10
- package/dist/jsx-runtime.mjs +2 -2
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3LNPXJEW.mjs +0 -192
package/dist/jsx-runtime.js
CHANGED
|
@@ -1192,8 +1192,8 @@ function borderValue(theme, parsed) {
|
|
|
1192
1192
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1193
1193
|
return [decl("border-style", value)];
|
|
1194
1194
|
}
|
|
1195
|
-
const
|
|
1196
|
-
return
|
|
1195
|
+
const color = colorValue(theme, parsed);
|
|
1196
|
+
return color === null ? null : [decl("border-color", color)];
|
|
1197
1197
|
}
|
|
1198
1198
|
function borderSideValue(theme, parsed, sideProperty) {
|
|
1199
1199
|
const value = parsed.value;
|
|
@@ -1206,8 +1206,8 @@ function borderSideValue(theme, parsed, sideProperty) {
|
|
|
1206
1206
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1207
1207
|
return [decl(`${sideProperty}-style`, value)];
|
|
1208
1208
|
}
|
|
1209
|
-
const
|
|
1210
|
-
return
|
|
1209
|
+
const color = colorValue(theme, parsed);
|
|
1210
|
+
return color === null ? null : [decl(`${sideProperty}-color`, color)];
|
|
1211
1211
|
}
|
|
1212
1212
|
function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
1213
1213
|
const value = parsed.value;
|
|
@@ -1220,8 +1220,8 @@ function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
|
1220
1220
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1221
1221
|
return [decl(`${sideA}-style`, value), decl(`${sideB}-style`, value)];
|
|
1222
1222
|
}
|
|
1223
|
-
const
|
|
1224
|
-
return
|
|
1223
|
+
const color = colorValue(theme, parsed);
|
|
1224
|
+
return color === null ? null : [decl(`${sideA}-color`, color), decl(`${sideB}-color`, color)];
|
|
1225
1225
|
}
|
|
1226
1226
|
function radiusProperties(side) {
|
|
1227
1227
|
switch (side) {
|
|
@@ -1283,8 +1283,8 @@ function outlineValue(theme, parsed) {
|
|
|
1283
1283
|
const w = outlineWidthValue(value);
|
|
1284
1284
|
if (w !== null) return [decl("outline-width", w)];
|
|
1285
1285
|
if (OUTLINE_STYLES.includes(value)) return [decl("outline-style", value)];
|
|
1286
|
-
const
|
|
1287
|
-
return
|
|
1286
|
+
const color = colorValue(theme, parsed);
|
|
1287
|
+
return color === null ? null : [decl("outline-color", color)];
|
|
1288
1288
|
}
|
|
1289
1289
|
function outlineOffsetValue(parsed) {
|
|
1290
1290
|
const value = parsed.value;
|
|
@@ -1320,7 +1320,7 @@ function ringValue(theme, parsed) {
|
|
|
1320
1320
|
const w = ringWidth(value);
|
|
1321
1321
|
if (w !== null) return [decl("--kb-ring-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1322
1322
|
}
|
|
1323
|
-
const color =
|
|
1323
|
+
const color = colorValue(theme, parsed);
|
|
1324
1324
|
if (color === null) return null;
|
|
1325
1325
|
return [decl("--kb-ring-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1326
1326
|
}
|
|
@@ -1331,7 +1331,7 @@ function ringOffsetValue(theme, parsed) {
|
|
|
1331
1331
|
const w = ringWidth(value);
|
|
1332
1332
|
if (w !== null) return [decl("--kb-ring-offset-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1333
1333
|
}
|
|
1334
|
-
const color =
|
|
1334
|
+
const color = colorValue(theme, parsed);
|
|
1335
1335
|
if (color === null) return null;
|
|
1336
1336
|
return [decl("--kb-ring-offset-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1337
1337
|
}
|