@zendeskgarden/react-datepickers 8.48.0 → 8.48.1
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.cjs.js
CHANGED
|
@@ -416,7 +416,7 @@ function getDate(dirtyDate) {
|
|
|
416
416
|
var COMPONENT_ID$b = 'datepickers.menu';
|
|
417
417
|
var StyledMenu = styled__default["default"].div.attrs({
|
|
418
418
|
'data-garden-id': COMPONENT_ID$b,
|
|
419
|
-
'data-garden-version': '8.48.
|
|
419
|
+
'data-garden-version': '8.48.1'
|
|
420
420
|
}).withConfig({
|
|
421
421
|
displayName: "StyledMenu",
|
|
422
422
|
componentId: "sc-1npbkk0-0"
|
|
@@ -3808,6 +3808,7 @@ var Start = function Start(props) {
|
|
|
3808
3808
|
onBlur: containerUtilities.composeEventHandlers(childElement.props.onBlur, onBlurCallback)
|
|
3809
3809
|
});
|
|
3810
3810
|
};
|
|
3811
|
+
Start.displayName = 'DatepickerRange.Start';
|
|
3811
3812
|
|
|
3812
3813
|
var End = function End(props) {
|
|
3813
3814
|
var _useDatepickerRangeCo = useDatepickerContext(),
|
|
@@ -3852,6 +3853,7 @@ var End = function End(props) {
|
|
|
3852
3853
|
onBlur: containerUtilities.composeEventHandlers(childElement.props.onBlur, onBlurCallback)
|
|
3853
3854
|
});
|
|
3854
3855
|
};
|
|
3856
|
+
End.displayName = 'DatepickerRange.End';
|
|
3855
3857
|
|
|
3856
3858
|
function subDays(dirtyDate, dirtyAmount) {
|
|
3857
3859
|
requiredArgs(2, arguments);
|
|
@@ -4050,7 +4052,7 @@ var Calendar = React.forwardRef(function (props, ref) {
|
|
|
4050
4052
|
return React__default["default"].createElement(StyledRangeCalendar, _extends$2({
|
|
4051
4053
|
ref: ref,
|
|
4052
4054
|
"data-garden-id": "datepickers.range",
|
|
4053
|
-
"data-garden-version": '8.48.
|
|
4055
|
+
"data-garden-version": '8.48.1'
|
|
4054
4056
|
}, props), React__default["default"].createElement(Month, {
|
|
4055
4057
|
locale: locale,
|
|
4056
4058
|
displayDate: state.previewDate,
|
|
@@ -4077,7 +4079,7 @@ var Calendar = React.forwardRef(function (props, ref) {
|
|
|
4077
4079
|
hoverDate: state.hoverDate
|
|
4078
4080
|
}));
|
|
4079
4081
|
});
|
|
4080
|
-
Calendar.displayName = 'Calendar';
|
|
4082
|
+
Calendar.displayName = 'DatepickerRange.Calendar';
|
|
4081
4083
|
|
|
4082
4084
|
var DatepickerRangeComponent = function DatepickerRangeComponent(props) {
|
|
4083
4085
|
var startValue = props.startValue,
|
package/dist/index.esm.js
CHANGED
|
@@ -388,7 +388,7 @@ function getDate(dirtyDate) {
|
|
|
388
388
|
var COMPONENT_ID$b = 'datepickers.menu';
|
|
389
389
|
var StyledMenu = styled.div.attrs({
|
|
390
390
|
'data-garden-id': COMPONENT_ID$b,
|
|
391
|
-
'data-garden-version': '8.48.
|
|
391
|
+
'data-garden-version': '8.48.1'
|
|
392
392
|
}).withConfig({
|
|
393
393
|
displayName: "StyledMenu",
|
|
394
394
|
componentId: "sc-1npbkk0-0"
|
|
@@ -3780,6 +3780,7 @@ var Start = function Start(props) {
|
|
|
3780
3780
|
onBlur: composeEventHandlers(childElement.props.onBlur, onBlurCallback)
|
|
3781
3781
|
});
|
|
3782
3782
|
};
|
|
3783
|
+
Start.displayName = 'DatepickerRange.Start';
|
|
3783
3784
|
|
|
3784
3785
|
var End = function End(props) {
|
|
3785
3786
|
var _useDatepickerRangeCo = useDatepickerContext(),
|
|
@@ -3824,6 +3825,7 @@ var End = function End(props) {
|
|
|
3824
3825
|
onBlur: composeEventHandlers(childElement.props.onBlur, onBlurCallback)
|
|
3825
3826
|
});
|
|
3826
3827
|
};
|
|
3828
|
+
End.displayName = 'DatepickerRange.End';
|
|
3827
3829
|
|
|
3828
3830
|
function subDays(dirtyDate, dirtyAmount) {
|
|
3829
3831
|
requiredArgs(2, arguments);
|
|
@@ -4022,7 +4024,7 @@ var Calendar = forwardRef(function (props, ref) {
|
|
|
4022
4024
|
return React__default.createElement(StyledRangeCalendar, _extends$2({
|
|
4023
4025
|
ref: ref,
|
|
4024
4026
|
"data-garden-id": "datepickers.range",
|
|
4025
|
-
"data-garden-version": '8.48.
|
|
4027
|
+
"data-garden-version": '8.48.1'
|
|
4026
4028
|
}, props), React__default.createElement(Month, {
|
|
4027
4029
|
locale: locale,
|
|
4028
4030
|
displayDate: state.previewDate,
|
|
@@ -4049,7 +4051,7 @@ var Calendar = forwardRef(function (props, ref) {
|
|
|
4049
4051
|
hoverDate: state.hoverDate
|
|
4050
4052
|
}));
|
|
4051
4053
|
});
|
|
4052
|
-
Calendar.displayName = 'Calendar';
|
|
4054
|
+
Calendar.displayName = 'DatepickerRange.Calendar';
|
|
4053
4055
|
|
|
4054
4056
|
var DatepickerRangeComponent = function DatepickerRangeComponent(props) {
|
|
4055
4057
|
var startValue = props.startValue,
|
|
@@ -5,4 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
8
|
-
export declare const End:
|
|
8
|
+
export declare const End: {
|
|
9
|
+
(props: PropsWithChildren<HTMLAttributes<HTMLInputElement>>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
@@ -5,4 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
8
|
-
export declare const Start:
|
|
8
|
+
export declare const Start: {
|
|
9
|
+
(props: PropsWithChildren<HTMLAttributes<HTMLInputElement>>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-datepickers",
|
|
3
|
-
"version": "8.48.
|
|
3
|
+
"version": "8.48.1",
|
|
4
4
|
"description": "Components relating to datepickers in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"styled-components": "^4.2.0 || ^5.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@zendeskgarden/react-theming": "^8.48.
|
|
36
|
+
"@zendeskgarden/react-theming": "^8.48.1",
|
|
37
37
|
"@zendeskgarden/svg-icons": "6.30.2"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"zendeskgarden:src": "src/index.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "82c621bfbc943904baa6647a2f5e89d3271d7edf"
|
|
50
50
|
}
|