@dloizides/ui-forms 1.44.0 → 1.44.1
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/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1812,7 +1812,10 @@ var ACTIVATION_KEYS = ["Enter", " ", "Spacebar"];
|
|
|
1812
1812
|
var HINT_FONT_SIZE2 = 12;
|
|
1813
1813
|
var BOX_SIZE = 20;
|
|
1814
1814
|
var BOX_RADIUS = 5;
|
|
1815
|
-
var
|
|
1815
|
+
var TICK_WIDTH = 6;
|
|
1816
|
+
var TICK_HEIGHT = 10;
|
|
1817
|
+
var TICK_STROKE = 2;
|
|
1818
|
+
var TICK_LIFT = -2;
|
|
1816
1819
|
var DISABLED_OPACITY = 0.5;
|
|
1817
1820
|
var FOCUS_RING_WIDTH = 2;
|
|
1818
1821
|
var WEB_NO_DEFAULT_OUTLINE = { outlineStyle: "none" };
|
|
@@ -1850,10 +1853,13 @@ var styles15 = reactNative.StyleSheet.create({
|
|
|
1850
1853
|
borderWidth: FOCUS_RING_WIDTH,
|
|
1851
1854
|
borderRadius: BOX_RADIUS - FOCUS_RING_INSET
|
|
1852
1855
|
},
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1856
|
+
tick: {
|
|
1857
|
+
width: TICK_WIDTH,
|
|
1858
|
+
height: TICK_HEIGHT,
|
|
1859
|
+
marginTop: TICK_LIFT,
|
|
1860
|
+
borderRightWidth: TICK_STROKE,
|
|
1861
|
+
borderBottomWidth: TICK_STROKE,
|
|
1862
|
+
transform: [{ rotate: "45deg" }]
|
|
1857
1863
|
},
|
|
1858
1864
|
textColumn: {
|
|
1859
1865
|
flex: 1
|
|
@@ -1933,7 +1939,7 @@ var FormCheckbox = ({
|
|
|
1933
1939
|
children: [
|
|
1934
1940
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles15.box, value ? themeStyles.boxOn : themeStyles.boxOff], testID: `${testID}-box`, children: [
|
|
1935
1941
|
focused ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: [styles15.focusRing, themeStyles.ring], testID: `${testID}-focus-ring` }) : null,
|
|
1936
|
-
value ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.
|
|
1942
|
+
value ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityElementsHidden: true, pointerEvents: "none", style: [styles15.tick, { borderColor: colors.surface }], testID: `${testID}-tick` }) : null
|
|
1937
1943
|
] }),
|
|
1938
1944
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.textColumn, children: [
|
|
1939
1945
|
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.label, themeStyles.label], children: label }),
|