@webority/ui-react 0.0.9 → 0.0.10
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/ui-react.js +2 -2
- package/package.json +3 -3
package/dist/ui-react.js
CHANGED
|
@@ -259,7 +259,7 @@ var re = class extends HTMLElement {
|
|
|
259
259
|
}
|
|
260
260
|
_syncInput() {
|
|
261
261
|
let { input: e, clear: t } = this._refs();
|
|
262
|
-
e && document.activeElement !== e && (e.value = this._label), t && (t.hidden = !this._value && !
|
|
262
|
+
e && document.activeElement !== e && (e.value = this._label), t && (t.hidden = !this._value && !e?.value);
|
|
263
263
|
}
|
|
264
264
|
_renderLoading() {
|
|
265
265
|
let { spinner: e } = this._refs();
|
|
@@ -537,7 +537,7 @@ var re = class extends HTMLElement {
|
|
|
537
537
|
}
|
|
538
538
|
_wire() {
|
|
539
539
|
let e = this.querySelector(".search-select-control"), t = this.querySelector(".search-select-menu"), n = this.querySelector(".search-select-input"), r = this.querySelector(".search-select-clear"), i = this.querySelector(".search-select-options");
|
|
540
|
-
if (
|
|
540
|
+
if (!e || !t) return;
|
|
541
541
|
let a = () => this.hasAttribute("disabled"), o = () => {
|
|
542
542
|
let n = e.getBoundingClientRect();
|
|
543
543
|
t.style.position = "fixed", t.style.top = `${n.bottom + 4}px`, t.style.left = `${n.left}px`, t.style.width = `${n.width}px`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"iconsax-react": "^0.0.8",
|
|
29
29
|
"react-phone-number-input": "^3.4.17",
|
|
30
30
|
"react-toastify": "^11.1.0",
|
|
31
|
-
"@webority/theme": "^0.0.
|
|
32
|
-
"@webority/ui-elements": "^0.0.
|
|
31
|
+
"@webority/theme": "^0.0.10",
|
|
32
|
+
"@webority/ui-elements": "^0.0.10"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"bootstrap": "5.3.3",
|