@ballistix.digital/react-components 9.5.1-rc-366.0 → 9.5.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.esm.js +22 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +22 -20
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2391,25 +2391,6 @@ const $cb1b9d36d0757897$var$SelectMenu = (props)=>{
|
|
|
2391
2391
|
}, [
|
|
2392
2392
|
error
|
|
2393
2393
|
]);
|
|
2394
|
-
const handleFormatOptionLabel = (data)=>{
|
|
2395
|
-
if (searchInputOptionRenderer && data.value.startsWith($cb1b9d36d0757897$var$searchPrefix)) {
|
|
2396
|
-
const tagItem = (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2397
|
-
className: styles.tagItem,
|
|
2398
|
-
children: (0, $iA2ta$reactjsxruntime.jsx)("p", {
|
|
2399
|
-
className: styles.tagItemText,
|
|
2400
|
-
children: data.label
|
|
2401
|
-
})
|
|
2402
|
-
});
|
|
2403
|
-
return (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2404
|
-
className: styles.listItem,
|
|
2405
|
-
children: searchInputOptionRenderer(tagItem)
|
|
2406
|
-
});
|
|
2407
|
-
}
|
|
2408
|
-
return (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2409
|
-
className: styles.listItem,
|
|
2410
|
-
children: data.label
|
|
2411
|
-
});
|
|
2412
|
-
};
|
|
2413
2394
|
return (0, $iA2ta$reactjsxruntime.jsxs)("div", {
|
|
2414
2395
|
className: styles.container,
|
|
2415
2396
|
"data-testid": selectDataTestId,
|
|
@@ -2454,7 +2435,28 @@ const $cb1b9d36d0757897$var$SelectMenu = (props)=>{
|
|
|
2454
2435
|
onChange: handleChange,
|
|
2455
2436
|
onSearchInputChange: handleSearchInputChange,
|
|
2456
2437
|
//
|
|
2457
|
-
formatOptionLabel:
|
|
2438
|
+
formatOptionLabel: (data)=>{
|
|
2439
|
+
if (searchInputOptionRenderer && data.value.startsWith($cb1b9d36d0757897$var$searchPrefix)) {
|
|
2440
|
+
const tagItem = (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2441
|
+
className: styles.listItem,
|
|
2442
|
+
children: (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2443
|
+
className: styles.tagItem,
|
|
2444
|
+
children: (0, $iA2ta$reactjsxruntime.jsx)("p", {
|
|
2445
|
+
className: styles.tagItemText,
|
|
2446
|
+
children: data.label
|
|
2447
|
+
})
|
|
2448
|
+
})
|
|
2449
|
+
});
|
|
2450
|
+
return (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2451
|
+
className: styles.listItem,
|
|
2452
|
+
children: searchInputOptionRenderer(tagItem)
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
return (0, $iA2ta$reactjsxruntime.jsx)("div", {
|
|
2456
|
+
className: styles.listItem,
|
|
2457
|
+
children: data.label
|
|
2458
|
+
});
|
|
2459
|
+
},
|
|
2458
2460
|
classNames: {
|
|
2459
2461
|
menuButton: ()=>(0, $622cd2936b18c771$export$4370d69198e9314a)(styles.input, `bx-select-menu-${name}`, state === null && '*:text-gray-300! ', state === null && !isValid && isTouched && '*:text-red-300!'),
|
|
2460
2462
|
menu: styles.menu,
|