@kbach/react-native 1.0.0-beta.12 → 1.0.0-beta.14
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-4DQXTAM3.mjs → chunk-H57O3BJO.mjs} +26 -5
- package/dist/{chunk-MGXMALPC.mjs → chunk-JMNJCPGK.mjs} +10 -10
- package/dist/{chunk-7AIH5MXY.mjs → chunk-WT6WH54F.mjs} +2 -2
- 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 +37 -13
- package/dist/jsx-dev-runtime.mjs +3 -3
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +3 -3
- package/dist/jsx-runtime.js +37 -13
- package/dist/jsx-runtime.mjs +3 -3
- 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/index.js
CHANGED
|
@@ -1184,8 +1184,8 @@ function borderValue(theme, parsed) {
|
|
|
1184
1184
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1185
1185
|
return [decl("border-style", value)];
|
|
1186
1186
|
}
|
|
1187
|
-
const
|
|
1188
|
-
return
|
|
1187
|
+
const color = colorValue(theme, parsed);
|
|
1188
|
+
return color === null ? null : [decl("border-color", color)];
|
|
1189
1189
|
}
|
|
1190
1190
|
function borderSideValue(theme, parsed, sideProperty) {
|
|
1191
1191
|
const value = parsed.value;
|
|
@@ -1198,8 +1198,8 @@ function borderSideValue(theme, parsed, sideProperty) {
|
|
|
1198
1198
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1199
1199
|
return [decl(`${sideProperty}-style`, value)];
|
|
1200
1200
|
}
|
|
1201
|
-
const
|
|
1202
|
-
return
|
|
1201
|
+
const color = colorValue(theme, parsed);
|
|
1202
|
+
return color === null ? null : [decl(`${sideProperty}-color`, color)];
|
|
1203
1203
|
}
|
|
1204
1204
|
function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
1205
1205
|
const value = parsed.value;
|
|
@@ -1212,8 +1212,8 @@ function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
|
1212
1212
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1213
1213
|
return [decl(`${sideA}-style`, value), decl(`${sideB}-style`, value)];
|
|
1214
1214
|
}
|
|
1215
|
-
const
|
|
1216
|
-
return
|
|
1215
|
+
const color = colorValue(theme, parsed);
|
|
1216
|
+
return color === null ? null : [decl(`${sideA}-color`, color), decl(`${sideB}-color`, color)];
|
|
1217
1217
|
}
|
|
1218
1218
|
function radiusProperties(side) {
|
|
1219
1219
|
switch (side) {
|
|
@@ -1275,8 +1275,8 @@ function outlineValue(theme, parsed) {
|
|
|
1275
1275
|
const w = outlineWidthValue(value);
|
|
1276
1276
|
if (w !== null) return [decl("outline-width", w)];
|
|
1277
1277
|
if (OUTLINE_STYLES.includes(value)) return [decl("outline-style", value)];
|
|
1278
|
-
const
|
|
1279
|
-
return
|
|
1278
|
+
const color = colorValue(theme, parsed);
|
|
1279
|
+
return color === null ? null : [decl("outline-color", color)];
|
|
1280
1280
|
}
|
|
1281
1281
|
function outlineOffsetValue(parsed) {
|
|
1282
1282
|
const value = parsed.value;
|
|
@@ -1312,7 +1312,7 @@ function ringValue(theme, parsed) {
|
|
|
1312
1312
|
const w = ringWidth(value);
|
|
1313
1313
|
if (w !== null) return [decl("--kb-ring-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1314
1314
|
}
|
|
1315
|
-
const color =
|
|
1315
|
+
const color = colorValue(theme, parsed);
|
|
1316
1316
|
if (color === null) return null;
|
|
1317
1317
|
return [decl("--kb-ring-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1318
1318
|
}
|
|
@@ -1323,7 +1323,7 @@ function ringOffsetValue(theme, parsed) {
|
|
|
1323
1323
|
const w = ringWidth(value);
|
|
1324
1324
|
if (w !== null) return [decl("--kb-ring-offset-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1325
1325
|
}
|
|
1326
|
-
const color =
|
|
1326
|
+
const color = colorValue(theme, parsed);
|
|
1327
1327
|
if (color === null) return null;
|
|
1328
1328
|
return [decl("--kb-ring-offset-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1329
1329
|
}
|