@dloizides/ui-forms 1.18.3 → 1.18.6
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/CHANGELOG.md +6 -0
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.18.5
|
|
4
|
+
|
|
5
|
+
**ChipSelector: a short chip (e.g. "All") is at least 44 px wide, not only 44 px tall (KEFI-FIT-1 "kefi-web fit and hit-box fixes").**
|
|
6
|
+
|
|
7
|
+
`chip` and `chipOutline` get `minWidth: 44` next to the existing `minHeight: 44`; measured 42x44 on kefi-web approvals at 360.
|
|
8
|
+
|
|
3
9
|
## 1.18.3
|
|
4
10
|
|
|
5
11
|
**FormCheckbox: the hint/description is now announced by screen readers.**
|
package/dist/index.js
CHANGED
|
@@ -871,8 +871,11 @@ function RecentInputField({
|
|
|
871
871
|
);
|
|
872
872
|
const handleBlur = React2.useCallback(
|
|
873
873
|
(event) => {
|
|
874
|
-
|
|
875
|
-
setTimeout(() =>
|
|
874
|
+
const blurredText = latestText.current;
|
|
875
|
+
setTimeout(() => {
|
|
876
|
+
setIsOpen(false);
|
|
877
|
+
if (blurredText.trim() !== "") remember(blurredText);
|
|
878
|
+
}, CLOSE_DELAY_MS);
|
|
876
879
|
onBlur?.(event);
|
|
877
880
|
},
|
|
878
881
|
[remember, onBlur]
|
|
@@ -976,6 +979,7 @@ var chipStyles = reactNative.StyleSheet.create({
|
|
|
976
979
|
paddingHorizontal: 12,
|
|
977
980
|
paddingVertical: 6,
|
|
978
981
|
minHeight: MIN_TARGET_PX,
|
|
982
|
+
minWidth: MIN_TARGET_PX,
|
|
979
983
|
justifyContent: "center",
|
|
980
984
|
borderRadius: SOLID_RADIUS,
|
|
981
985
|
backgroundColor: TRANSPARENT_COLOR,
|
|
@@ -985,6 +989,7 @@ var chipStyles = reactNative.StyleSheet.create({
|
|
|
985
989
|
paddingHorizontal: OUTLINE_PAD_H,
|
|
986
990
|
paddingVertical: OUTLINE_PAD_V,
|
|
987
991
|
minHeight: MIN_TARGET_PX,
|
|
992
|
+
minWidth: MIN_TARGET_PX,
|
|
988
993
|
justifyContent: "center",
|
|
989
994
|
borderRadius: OUTLINE_RADIUS,
|
|
990
995
|
borderWidth: 1
|