@ballistix.digital/react-components 0.4.80 → 0.4.82
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 +8 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2672,7 +2672,10 @@ var SelectMenuForm = function (props) {
|
|
|
2672
2672
|
//
|
|
2673
2673
|
classNames: {
|
|
2674
2674
|
menuButton: function () {
|
|
2675
|
-
return toClassName(styles$1.input, state === null &&
|
|
2675
|
+
return toClassName(styles$1.input, state === null && '[&>*]:!text-gray-300 ', state === null &&
|
|
2676
|
+
!isValid &&
|
|
2677
|
+
isTouched &&
|
|
2678
|
+
'[&>*]:!text-red-300');
|
|
2676
2679
|
},
|
|
2677
2680
|
menu: styles$1.menu,
|
|
2678
2681
|
tagItem: function () { return styles$1.tagItem; },
|
|
@@ -2687,7 +2690,7 @@ var SelectMenuForm = function (props) {
|
|
|
2687
2690
|
searchBox: styles$1.searchBox,
|
|
2688
2691
|
searchIcon: styles$1.searchIcon,
|
|
2689
2692
|
closeIcon: styles$1.closeIcon,
|
|
2690
|
-
} }), !isSolo && (jsxRuntime.jsxs("div", __assign({ className: styles$1.foot }, { children: [description && !(error && isTouched) && (jsxRuntime.jsx("p", __assign({ className: styles$1.description }, { children: description }))), error && isTouched && (jsxRuntime.jsx("p", __assign({ className: styles$1.error }, { children: JSON.stringify(error) })))] })))] }))] })));
|
|
2693
|
+
} }), !isSolo && (jsxRuntime.jsxs("div", __assign({ className: styles$1.foot }, { children: [description && !(error && isTouched) && (jsxRuntime.jsx("p", __assign({ className: styles$1.description }, { children: description }))), error && isTouched && (jsxRuntime.jsx("p", __assign({ className: styles$1.error }, { children: JSON.stringify(error).replaceAll('"', '') })))] })))] }))] })));
|
|
2691
2694
|
};
|
|
2692
2695
|
|
|
2693
2696
|
var base = {
|
|
@@ -2701,9 +2704,9 @@ var base = {
|
|
|
2701
2704
|
input: 'block w-full flex border',
|
|
2702
2705
|
menuButton: '',
|
|
2703
2706
|
menu: '!px-0 !py-0 !w-full rounded-md overflow-hidden border !mt-1 absolute bg-white',
|
|
2704
|
-
tagItem: '',
|
|
2705
|
-
tagItemText: '',
|
|
2706
|
-
tagItemIconContainer: '',
|
|
2707
|
+
tagItem: 'bg-gray-200 px-2 py-1 flex flex-row gap-x-1 items-center justify-between rounded-sm',
|
|
2708
|
+
tagItemText: 'text-xs',
|
|
2709
|
+
tagItemIconContainer: '!p-0 rounded-full hover:bg-gray-400 text-sm hover:text-white aspect-square w-4 flex items-center justify-center cursor-pointer',
|
|
2707
2710
|
tagItemIcon: '',
|
|
2708
2711
|
list: '!px-0 !w-full [&>*]:px-0 max-h-56 overflow-scroll !py-1',
|
|
2709
2712
|
listGroupLabel: '',
|