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", null, /*#__PURE__*/React__default["default"].createElement("span", {
26848
- className: "rounded-md shadow-sm"
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-60 py-2.5 text-left px-4 bg-neutral20 border-neutral50 font-normal text-sm text-neutral300 rounded-md border focus:outline-none",
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-60 rounded-md shadow-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.138",
4
+ "version": "0.1.140",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -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 py-2.5 text-left px-4 bg-neutral20 border-neutral50 font-normal text-sm text-neutral300 rounded-md border focus:outline-none"
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-60 rounded-md shadow-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none'
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'