@appquality/unguess-design-system 2.11.13 → 2.11.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/CHANGELOG.md +13 -0
- package/build/index.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v2.11.14 (Mon Sep 12 2022)
|
|
2
|
+
|
|
3
|
+
#### ⚠️ Pushed to `master`
|
|
4
|
+
|
|
5
|
+
- Merge branch 'master' of github.com:AppQuality/unguess-design-system ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
- fix(input-toggle): fix initialFocus props ignored ([@cannarocks](https://github.com/cannarocks))
|
|
7
|
+
|
|
8
|
+
#### Authors: 1
|
|
9
|
+
|
|
10
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v2.11.13 (Mon Sep 12 2022)
|
|
2
15
|
|
|
3
16
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -1571,6 +1571,11 @@ var InputToggle = function (_a) {
|
|
|
1571
1571
|
setIsEditing(true);
|
|
1572
1572
|
(_a = container.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
1573
1573
|
};
|
|
1574
|
+
React.useEffect(function () {
|
|
1575
|
+
if (isFocused) {
|
|
1576
|
+
handleClick();
|
|
1577
|
+
}
|
|
1578
|
+
}, []);
|
|
1574
1579
|
return (jsxRuntime.jsx(ToggleContext.Provider, __assign({ value: context }, { children: jsxRuntime.jsx(Wrapper, __assign({ ref: container, onClick: handleClick, onBlur: function () { return setIsEditing(false); } }, props)) })));
|
|
1575
1580
|
};
|
|
1576
1581
|
var InputItem = function (props) {
|