sprint-asia-custom-component 0.1.139 → 0.1.141
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.js
CHANGED
|
@@ -26842,10 +26842,12 @@
|
|
|
26842
26842
|
}
|
|
26843
26843
|
};
|
|
26844
26844
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26845
|
-
className: "relative inline-block text-left",
|
|
26845
|
+
className: "relative inline-block text-left w-full",
|
|
26846
26846
|
ref: dropdownRef
|
|
26847
|
-
}, /*#__PURE__*/React__default["default"].createElement("div",
|
|
26848
|
-
className: "
|
|
26847
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26848
|
+
className: "w-full"
|
|
26849
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26850
|
+
className: "rounded-md shadow-sm w-full"
|
|
26849
26851
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
26850
26852
|
type: "button",
|
|
26851
26853
|
className: "flex items-center w-full py-2.5 text-left px-4 bg-neutral20 border-neutral50 font-normal text-sm text-neutral300 rounded-md border focus:outline-none",
|
|
@@ -26868,7 +26870,7 @@
|
|
|
26868
26870
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26869
26871
|
className: "px-1 py-2"
|
|
26870
26872
|
}, options.length === 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26871
|
-
className: "bg-neutral20 py-2.5 px-4 my-0.5 rounded-md text-sm text-neutral500 text-center"
|
|
26873
|
+
className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md text-sm text-neutral500 text-center"
|
|
26872
26874
|
}, "No Data") : options.map(val => /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26873
26875
|
key: val.value,
|
|
26874
26876
|
className: `hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer ${selectedOptions.some(option => option.value === val.value) ? 'bg-primary500' : ''}`,
|
package/package.json
CHANGED
|
@@ -52,9 +52,9 @@ const FilterCheckboxDropdown = ({
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
return (
|
|
55
|
-
<div className='relative inline-block text-left' ref={dropdownRef}>
|
|
56
|
-
<div>
|
|
57
|
-
<span className='rounded-md shadow-sm'>
|
|
55
|
+
<div className='relative inline-block text-left w-full' ref={dropdownRef}>
|
|
56
|
+
<div className='w-full'>
|
|
57
|
+
<span className='rounded-md shadow-sm w-full'>
|
|
58
58
|
<button
|
|
59
59
|
type='button'
|
|
60
60
|
className="flex items-center w-full py-2.5 text-left px-4 bg-neutral20 border-neutral50 font-normal text-sm text-neutral300 rounded-md border focus:outline-none"
|
|
@@ -77,7 +77,7 @@ const FilterCheckboxDropdown = ({
|
|
|
77
77
|
>
|
|
78
78
|
<div className='px-1 py-2'>
|
|
79
79
|
{options.length === 0 ? (
|
|
80
|
-
<div className='bg-neutral20 py-2.5 px-4 my-0.5 rounded-md text-sm text-neutral500 text-center'>
|
|
80
|
+
<div className='hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md text-sm text-neutral500 text-center'>
|
|
81
81
|
No Data
|
|
82
82
|
</div>
|
|
83
83
|
) : (
|