sprint-asia-custom-component 0.1.140 → 0.1.142

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
@@ -154,7 +154,7 @@
154
154
  isIconVisible = false,
155
155
  icon = null,
156
156
  positionIcon = "left",
157
- //left, right
157
+ //left, right // Position
158
158
  onClick = () => {}
159
159
  }) => {
160
160
  const [isPressed, setIsPressed] = React.useState(false);
@@ -26870,7 +26870,7 @@
26870
26870
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26871
26871
  className: "px-1 py-2"
26872
26872
  }, options.length === 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
26873
- 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"
26874
26874
  }, "No Data") : options.map(val => /*#__PURE__*/React__default["default"].createElement("div", {
26875
26875
  key: val.value,
26876
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.140",
4
+ "version": "0.1.142",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -7,7 +7,7 @@ const PrimaryButton = ({
7
7
  size = "large",
8
8
  isIconVisible = false,
9
9
  icon = null,
10
- positionIcon = "left", //left, right
10
+ positionIcon = "left", //left, right // Position
11
11
  onClick = () => {}
12
12
  }) => {
13
13
  const [isPressed, setIsPressed] = useState(false);
@@ -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
  ) : (