@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
|
Binary file
|
|
Binary file
|
|
@@ -731,8 +731,8 @@ function borderValue(theme, parsed) {
|
|
|
731
731
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
732
732
|
return [decl("border-style", value)];
|
|
733
733
|
}
|
|
734
|
-
const
|
|
735
|
-
return
|
|
734
|
+
const color = colorValue(theme, parsed);
|
|
735
|
+
return color === null ? null : [decl("border-color", color)];
|
|
736
736
|
}
|
|
737
737
|
function borderSideValue(theme, parsed, sideProperty) {
|
|
738
738
|
const value = parsed.value;
|
|
@@ -745,8 +745,8 @@ function borderSideValue(theme, parsed, sideProperty) {
|
|
|
745
745
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
746
746
|
return [decl(`${sideProperty}-style`, value)];
|
|
747
747
|
}
|
|
748
|
-
const
|
|
749
|
-
return
|
|
748
|
+
const color = colorValue(theme, parsed);
|
|
749
|
+
return color === null ? null : [decl(`${sideProperty}-color`, color)];
|
|
750
750
|
}
|
|
751
751
|
function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
752
752
|
const value = parsed.value;
|
|
@@ -759,8 +759,8 @@ function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
|
759
759
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
760
760
|
return [decl(`${sideA}-style`, value), decl(`${sideB}-style`, value)];
|
|
761
761
|
}
|
|
762
|
-
const
|
|
763
|
-
return
|
|
762
|
+
const color = colorValue(theme, parsed);
|
|
763
|
+
return color === null ? null : [decl(`${sideA}-color`, color), decl(`${sideB}-color`, color)];
|
|
764
764
|
}
|
|
765
765
|
function radiusProperties(side) {
|
|
766
766
|
switch (side) {
|
|
@@ -822,8 +822,8 @@ function outlineValue(theme, parsed) {
|
|
|
822
822
|
const w = outlineWidthValue(value);
|
|
823
823
|
if (w !== null) return [decl("outline-width", w)];
|
|
824
824
|
if (OUTLINE_STYLES.includes(value)) return [decl("outline-style", value)];
|
|
825
|
-
const
|
|
826
|
-
return
|
|
825
|
+
const color = colorValue(theme, parsed);
|
|
826
|
+
return color === null ? null : [decl("outline-color", color)];
|
|
827
827
|
}
|
|
828
828
|
function outlineOffsetValue(parsed) {
|
|
829
829
|
const value = parsed.value;
|
|
@@ -859,7 +859,7 @@ function ringValue(theme, parsed) {
|
|
|
859
859
|
const w = ringWidth(value);
|
|
860
860
|
if (w !== null) return [decl("--kb-ring-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
861
861
|
}
|
|
862
|
-
const color =
|
|
862
|
+
const color = colorValue(theme, parsed);
|
|
863
863
|
if (color === null) return null;
|
|
864
864
|
return [decl("--kb-ring-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
865
865
|
}
|
|
@@ -870,7 +870,7 @@ function ringOffsetValue(theme, parsed) {
|
|
|
870
870
|
const w = ringWidth(value);
|
|
871
871
|
if (w !== null) return [decl("--kb-ring-offset-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
872
872
|
}
|
|
873
|
-
const color =
|
|
873
|
+
const color = colorValue(theme, parsed);
|
|
874
874
|
if (color === null) return null;
|
|
875
875
|
return [decl("--kb-ring-offset-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
876
876
|
}
|