gbs-add-block 0.0.82 → 0.0.83
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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# GBS Building Blocks 2.0 (v0.0.
|
|
1
|
+
# GBS Building Blocks 2.0 (v0.0.83)
|
|
2
2
|
|
|
3
3
|
Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ Latest and upgraded version of GBS building blocks with headless UI and removed
|
|
|
6
6
|
|
|
7
7
|
For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://blackmax-designs.gitbook.io/building-block-v2.0)
|
|
8
8
|
|
|
9
|
-
## What's New 🎉 (Ver 0.0.
|
|
9
|
+
## What's New 🎉 (Ver 0.0.83)
|
|
10
10
|
|
|
11
11
|
- Updated for bug fixes.
|
|
12
12
|
- New Component Card & SideBar Added
|
package/package.json
CHANGED
|
@@ -30,6 +30,7 @@ export const DatePicker = ({
|
|
|
30
30
|
error,
|
|
31
31
|
placeholder = "Select a date",
|
|
32
32
|
disabled = false,
|
|
33
|
+
...props
|
|
33
34
|
}: DatePickerProps) => {
|
|
34
35
|
applyScrollbarStyles();
|
|
35
36
|
|
|
@@ -122,7 +123,7 @@ export const DatePicker = ({
|
|
|
122
123
|
|
|
123
124
|
const clearSelectedHandler = () => {
|
|
124
125
|
clearSelected();
|
|
125
|
-
if(
|
|
126
|
+
if (onDateChange) onDateChange(null);
|
|
126
127
|
};
|
|
127
128
|
|
|
128
129
|
return (
|
|
@@ -166,6 +167,7 @@ export const DatePicker = ({
|
|
|
166
167
|
name={name}
|
|
167
168
|
value={selectedDate?.toDateString() || ""}
|
|
168
169
|
readOnly
|
|
170
|
+
{...props}
|
|
169
171
|
/>
|
|
170
172
|
|
|
171
173
|
{showDatepicker && !disabled && (
|