@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.esm.js
CHANGED
|
@@ -2662,7 +2662,10 @@ var SelectMenuForm = function (props) {
|
|
|
2662
2662
|
//
|
|
2663
2663
|
classNames: {
|
|
2664
2664
|
menuButton: function () {
|
|
2665
|
-
return toClassName(styles$1.input, state === null &&
|
|
2665
|
+
return toClassName(styles$1.input, state === null && '[&>*]:!text-gray-300 ', state === null &&
|
|
2666
|
+
!isValid &&
|
|
2667
|
+
isTouched &&
|
|
2668
|
+
'[&>*]:!text-red-300');
|
|
2666
2669
|
},
|
|
2667
2670
|
menu: styles$1.menu,
|
|
2668
2671
|
tagItem: function () { return styles$1.tagItem; },
|
|
@@ -2677,7 +2680,7 @@ var SelectMenuForm = function (props) {
|
|
|
2677
2680
|
searchBox: styles$1.searchBox,
|
|
2678
2681
|
searchIcon: styles$1.searchIcon,
|
|
2679
2682
|
closeIcon: styles$1.closeIcon,
|
|
2680
|
-
} }), !isSolo && (jsxs("div", __assign({ className: styles$1.foot }, { children: [description && !(error && isTouched) && (jsx("p", __assign({ className: styles$1.description }, { children: description }))), error && isTouched && (jsx("p", __assign({ className: styles$1.error }, { children: JSON.stringify(error) })))] })))] }))] })));
|
|
2683
|
+
} }), !isSolo && (jsxs("div", __assign({ className: styles$1.foot }, { children: [description && !(error && isTouched) && (jsx("p", __assign({ className: styles$1.description }, { children: description }))), error && isTouched && (jsx("p", __assign({ className: styles$1.error }, { children: JSON.stringify(error).replaceAll('"', '') })))] })))] }))] })));
|
|
2681
2684
|
};
|
|
2682
2685
|
|
|
2683
2686
|
var base = {
|
|
@@ -2691,9 +2694,9 @@ var base = {
|
|
|
2691
2694
|
input: 'block w-full flex border',
|
|
2692
2695
|
menuButton: '',
|
|
2693
2696
|
menu: '!px-0 !py-0 !w-full rounded-md overflow-hidden border !mt-1 absolute bg-white',
|
|
2694
|
-
tagItem: '',
|
|
2695
|
-
tagItemText: '',
|
|
2696
|
-
tagItemIconContainer: '',
|
|
2697
|
+
tagItem: 'bg-gray-200 px-2 py-1 flex flex-row gap-x-1 items-center justify-between rounded-sm',
|
|
2698
|
+
tagItemText: 'text-xs',
|
|
2699
|
+
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',
|
|
2697
2700
|
tagItemIcon: '',
|
|
2698
2701
|
list: '!px-0 !w-full [&>*]:px-0 max-h-56 overflow-scroll !py-1',
|
|
2699
2702
|
listGroupLabel: '',
|