sprint-asia-custom-component 0.1.116 → 0.1.118

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
@@ -352,7 +352,7 @@
352
352
  }) => {
353
353
  return /*#__PURE__*/React__default["default"].createElement("a", {
354
354
  className: `
355
- ${type == "white" && "text-neutral300 border-black bg-white"}
355
+ ${type == "white" && "text-black border-black bg-white"}
356
356
  ${type == "neutral" && "text-neutral300 border-neutral300 bg-neutral30"}
357
357
  ${type == "success" && "text-success600 border-success600 bg-success50"}
358
358
  ${type == "primary" && "text-primary500 border-primary500 bg-primary50"}
@@ -23846,6 +23846,7 @@
23846
23846
  onChange: onChange,
23847
23847
  startDate: startDate,
23848
23848
  endDate: endDate,
23849
+ placeholderText: "Select Period",
23849
23850
  selectsRange: true,
23850
23851
  utcOffset: 0,
23851
23852
  dateFormat: "d MMM yyyy",
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.116",
4
+ "version": "0.1.118",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -4,7 +4,7 @@ const Chip = ({ title = "Approve", type = "success", onClick }) => {
4
4
  return (
5
5
  <a
6
6
  className={`
7
- ${type == "white" && "text-neutral300 border-black bg-white"}
7
+ ${type == "white" && "text-black border-black bg-white"}
8
8
  ${type == "neutral" && "text-neutral300 border-neutral300 bg-neutral30"}
9
9
  ${type == "success" && "text-success600 border-success600 bg-success50"}
10
10
  ${type == "primary" && "text-primary500 border-primary500 bg-primary50"}
@@ -23,12 +23,12 @@ const CustomDatePicker = ({ startDate, onChangeStartDate, endDate, onChangeEndDa
23
23
  <div className="p-2">
24
24
  <PiCalendarBlankDuotone size={16} className="text-neutral300" />
25
25
  </div>
26
-
27
26
  <DatePicker
28
27
  selected={startDate}
29
28
  onChange={onChange}
30
29
  startDate={startDate}
31
30
  endDate={endDate}
31
+ placeholderText="Select Period"
32
32
  selectsRange
33
33
  utcOffset={0}
34
34
  dateFormat="d MMM yyyy"