@appquality/unguess-design-system 4.0.43 → 4.0.44
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 +14 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +24 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# v4.0.44 (Fri Jul 11 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Update placeholder [#536](https://github.com/AppQuality/unguess-design-system/pull/536) ([@sinatragianpaolo](https://github.com/sinatragianpaolo) [@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
- Add placeholder to select [#535](https://github.com/AppQuality/unguess-design-system/pull/535) ([@sinatragianpaolo](https://github.com/sinatragianpaolo) [@cannarocks](https://github.com/cannarocks))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- Gianpaolo Sinatra ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
|
|
11
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# v4.0.43 (Mon Jul 07 2025)
|
|
2
16
|
|
|
3
17
|
#### 🐛 Bug Fix
|
package/build/index.d.ts
CHANGED
|
@@ -8427,6 +8427,11 @@ declare interface SelectArgs extends Omit<IComboboxProps, "onSelect"> {
|
|
|
8427
8427
|
onSelect?: (value: string) => Promise<void> | void;
|
|
8428
8428
|
isDisabled?: boolean;
|
|
8429
8429
|
fullWidthOption?: boolean;
|
|
8430
|
+
/**
|
|
8431
|
+
* By default, if both `inputValue` and `selectionValue` are empty, any `renderValue` will not be displayed.
|
|
8432
|
+
* Set this to true if you want `renderValue` to always be shown, regardless of `inputValue` or `selectionValue`.
|
|
8433
|
+
*/
|
|
8434
|
+
preventEmpty?: boolean;
|
|
8430
8435
|
}
|
|
8431
8436
|
|
|
8432
8437
|
declare type SentenceType = {
|
package/build/index.js
CHANGED
|
@@ -75665,22 +75665,30 @@ const got = Y(Fee)``, vot = Y(ef)``, QZe = Y(wf)`
|
|
|
75665
75665
|
children: n,
|
|
75666
75666
|
onSelect: r,
|
|
75667
75667
|
...i
|
|
75668
|
-
}) =>
|
|
75669
|
-
|
|
75670
|
-
|
|
75671
|
-
|
|
75672
|
-
|
|
75673
|
-
|
|
75674
|
-
|
|
75675
|
-
|
|
75676
|
-
|
|
75677
|
-
|
|
75678
|
-
|
|
75679
|
-
|
|
75680
|
-
|
|
75681
|
-
|
|
75682
|
-
|
|
75683
|
-
]
|
|
75668
|
+
}) => {
|
|
75669
|
+
const o = ({
|
|
75670
|
+
inputValue: a,
|
|
75671
|
+
selectionValue: s,
|
|
75672
|
+
preventEmpty: l
|
|
75673
|
+
}) => !a && !s && !l ? { renderValue: void 0 } : {};
|
|
75674
|
+
return /* @__PURE__ */ M.jsx("div", { className: t, children: /* @__PURE__ */ M.jsxs(ef, { children: [
|
|
75675
|
+
e ? /* @__PURE__ */ M.jsx(Wp, { children: e }) : null,
|
|
75676
|
+
/* @__PURE__ */ M.jsx(
|
|
75677
|
+
oet,
|
|
75678
|
+
{
|
|
75679
|
+
...i,
|
|
75680
|
+
...o(i),
|
|
75681
|
+
isEditable: !1,
|
|
75682
|
+
onChange: (a) => {
|
|
75683
|
+
["input:keyDown:Enter", "option:click"].includes(
|
|
75684
|
+
a.type
|
|
75685
|
+
) && a.selectionValue && r && r(a.selectionValue.toString());
|
|
75686
|
+
},
|
|
75687
|
+
children: n
|
|
75688
|
+
}
|
|
75689
|
+
)
|
|
75690
|
+
] }) });
|
|
75691
|
+
};
|
|
75684
75692
|
kx.Option = ho;
|
|
75685
75693
|
const aet = Y(ho)`
|
|
75686
75694
|
padding-left: ${({ theme: e }) => e.space.sm};
|