sprint-asia-custom-component 0.1.138 → 0.1.140
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,13 +26842,15 @@
|
|
|
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
|
-
className: "flex items-center w-
|
|
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",
|
|
26852
26854
|
onClick: handleToggleFilterCheckboxDropdown
|
|
26853
26855
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
26854
26856
|
className: "flex-grow"
|
|
@@ -26861,7 +26863,7 @@
|
|
|
26861
26863
|
size: 16,
|
|
26862
26864
|
className: "text-neutral300"
|
|
26863
26865
|
}))))), isOpen && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26864
|
-
className: "z-10 origin-top-right absolute left-0 mt-2 w-
|
|
26866
|
+
className: "z-10 origin-top-right absolute left-0 mt-2 w-full rounded-md shadow-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",
|
|
26865
26867
|
role: "menu",
|
|
26866
26868
|
"aria-orientation": "vertical",
|
|
26867
26869
|
"aria-labelledby": "options-menu"
|
package/package.json
CHANGED
|
@@ -52,12 +52,12 @@ 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
|
-
className="flex items-center w-
|
|
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"
|
|
61
61
|
onClick={handleToggleFilterCheckboxDropdown}
|
|
62
62
|
>
|
|
63
63
|
<span className='flex-grow'>{buttonText}</span>
|
|
@@ -70,7 +70,7 @@ const FilterCheckboxDropdown = ({
|
|
|
70
70
|
|
|
71
71
|
{isOpen && (
|
|
72
72
|
<div
|
|
73
|
-
className='z-10 origin-top-right absolute left-0 mt-2 w-
|
|
73
|
+
className='z-10 origin-top-right absolute left-0 mt-2 w-full rounded-md shadow-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none'
|
|
74
74
|
role='menu'
|
|
75
75
|
aria-orientation='vertical'
|
|
76
76
|
aria-labelledby='options-menu'
|