@dloizides/ui-forms 1.39.0 → 1.39.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 +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4022,13 +4022,15 @@ var LINE_HEIGHT = 20;
|
|
|
4022
4022
|
var COUNTER_FONT = 12;
|
|
4023
4023
|
var BRANCH_OPACITY = 0.5;
|
|
4024
4024
|
var GAP2 = 8;
|
|
4025
|
+
var INPUT_PAD_V2 = 13;
|
|
4025
4026
|
var ghostStyles = StyleSheet.create({
|
|
4026
4027
|
field: { flex: 1, justifyContent: "center", minHeight: LINE_HEIGHT },
|
|
4027
4028
|
mono: { fontFamily: "monospace", fontSize: FONT_SIZE, lineHeight: LINE_HEIGHT },
|
|
4028
|
-
layer: { position: "absolute", left: 0, top:
|
|
4029
|
+
layer: { position: "absolute", left: 0, top: INPUT_PAD_V2, bottom: INPUT_PAD_V2 },
|
|
4029
4030
|
hidden: { opacity: 0 },
|
|
4030
4031
|
branch: { opacity: BRANCH_OPACITY },
|
|
4031
|
-
input: { padding: 0, borderWidth: 0, minHeight: LINE_HEIGHT },
|
|
4032
|
+
input: { padding: 0, paddingVertical: INPUT_PAD_V2, borderWidth: 0, minHeight: LINE_HEIGHT },
|
|
4033
|
+
trigger: { paddingVertical: 0 },
|
|
4032
4034
|
counter: { fontSize: COUNTER_FONT, marginLeft: GAP2 }
|
|
4033
4035
|
});
|
|
4034
4036
|
|
|
@@ -4132,7 +4134,7 @@ function IbanInput({ value, onChange, onVerdict, accessibilityLabel, accessibili
|
|
|
4132
4134
|
onLeft?.();
|
|
4133
4135
|
}, [onLeave, onVerdict, value, onLeft]);
|
|
4134
4136
|
return /* @__PURE__ */ jsxs(View, { children: [
|
|
4135
|
-
/* @__PURE__ */ jsxs(View, { style: [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], children: [
|
|
4137
|
+
/* @__PURE__ */ jsxs(View, { style: [controlStyles.selectTrigger, ghostStyles.trigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], children: [
|
|
4136
4138
|
/* @__PURE__ */ jsxs(View, { style: ghostStyles.field, children: [
|
|
4137
4139
|
/* @__PURE__ */ jsxs(Text, { "aria-hidden": true, style: [ghostStyles.mono, ghostStyles.layer], children: [
|
|
4138
4140
|
/* @__PURE__ */ jsx(Text, { style: ghostStyles.hidden, children: draft.display }),
|
|
@@ -4216,7 +4218,7 @@ function BicInput({ value, onChange, onVerdict, accessibilityLabel, accessibilit
|
|
|
4216
4218
|
onLeft?.();
|
|
4217
4219
|
}, [onLeave, onVerdict, value, onLeft]);
|
|
4218
4220
|
return /* @__PURE__ */ jsxs(View, { children: [
|
|
4219
|
-
/* @__PURE__ */ jsx(View, { style: [controlStyles.selectTrigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], children: /* @__PURE__ */ jsxs(View, { style: ghostStyles.field, children: [
|
|
4221
|
+
/* @__PURE__ */ jsx(View, { style: [controlStyles.selectTrigger, ghostStyles.trigger, { borderColor: colors.border, backgroundColor: colors.surfaceElevated }], children: /* @__PURE__ */ jsxs(View, { style: ghostStyles.field, children: [
|
|
4220
4222
|
/* @__PURE__ */ jsxs(Text, { "aria-hidden": true, style: [ghostStyles.mono, ghostStyles.layer], children: [
|
|
4221
4223
|
/* @__PURE__ */ jsx(Text, { style: ghostStyles.hidden, children: draft.value }),
|
|
4222
4224
|
/* @__PURE__ */ jsx(Text, { style: { color: colors.textSecondary }, children: draft.ghost }),
|