@mailstep/design-system 0.5.0-beta.4 → 0.5.0-beta.6
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/package.json +1 -1
- package/ui/Elements/DatePicker/Datetime/DateTime.js +3 -3
- package/ui/Elements/DatePicker/Datetime/components/ViewNavigation.js +0 -1
- package/ui/Elements/DatePicker/Datetime/views/DaysView.d.ts +2 -4
- package/ui/Elements/DatePicker/Datetime/views/DaysView.js +1 -1
- package/ui/Elements/DatePicker/Datetime/views/MonthsView.d.ts +2 -4
- package/ui/Elements/DatePicker/Datetime/views/MonthsView.js +1 -1
- package/ui/Elements/DatePicker/Datetime/views/YearsView.d.ts +2 -4
- package/ui/Elements/DatePicker/Datetime/views/YearsView.js +1 -1
- package/ui/index.es.js +2854 -2857
- package/ui/index.umd.js +152 -152
package/package.json
CHANGED
|
@@ -28,9 +28,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
28
28
|
/* eslint-disable */
|
|
29
29
|
import moment from 'moment';
|
|
30
30
|
import React from 'react';
|
|
31
|
-
import DaysView from './views/DaysView';
|
|
32
|
-
import MonthsView from './views/MonthsView';
|
|
33
|
-
import YearsView from './views/YearsView';
|
|
31
|
+
import DaysView from './views/DaysView.jsx';
|
|
32
|
+
import MonthsView from './views/MonthsView.jsx';
|
|
33
|
+
import YearsView from './views/YearsView.jsx';
|
|
34
34
|
import onClickOutside from 'react-onclickoutside';
|
|
35
35
|
var viewModes = {
|
|
36
36
|
YEARS: 'years',
|
|
@@ -10,7 +10,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import React from 'react';
|
|
14
13
|
export default function ViewNavigation(_a) {
|
|
15
14
|
var onClickPrev = _a.onClickPrev, onClickSwitch = _a.onClickSwitch, onClickNext = _a.onClickNext, switchContent = _a.switchContent, switchColSpan = _a.switchColSpan, switchProps = _a.switchProps, label = _a.label;
|
|
16
15
|
return (_jsxs("tr", { children: [_jsx("th", { className: "rdtPrev", onClick: onClickPrev, children: _jsx("span", { children: "\u2039" }) }), _jsx("th", __assign({ className: "rdtSwitch", colSpan: switchColSpan, onClick: onClickSwitch }, switchProps, { children: switchContent })), _jsx("th", { className: "rdtNext", onClick: onClickNext, children: _jsx("span", { children: "\u203A" }) }), _jsx("th", { colSpan: 2, className: "rdtLabel", children: label && label })] }));
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default class DaysView extends React.Component {
|
|
2
3
|
static defaultProps: {
|
|
3
4
|
isValidDate: () => boolean;
|
|
4
5
|
renderDay: (props: any, date: any) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
};
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
constructor(props: any, context: any);
|
|
8
7
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
renderNavigation(): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
renderDayHeaders(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,4 +12,3 @@ export default class DaysView extends React.Component<any, any, any> {
|
|
|
13
12
|
renderFooter(): import("react/jsx-runtime").JSX.Element | undefined;
|
|
14
13
|
_setDate: (e: any) => void;
|
|
15
14
|
}
|
|
16
|
-
import React from 'react';
|
|
@@ -25,7 +25,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
25
25
|
return __assign.apply(this, arguments);
|
|
26
26
|
};
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
-
|
|
28
|
+
// @ts-nocheck
|
|
29
29
|
import React from 'react';
|
|
30
30
|
import { Timepicker } from '../components/Timepicker';
|
|
31
31
|
import ViewNavigation from '../components/ViewNavigation';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
constructor(props: any, context: any);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default class MonthsView extends React.Component {
|
|
4
3
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
renderNavigation(): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
renderMonths(): import("react/jsx-runtime").JSX.Element[];
|
|
@@ -9,4 +8,3 @@ export default class MonthsView extends React.Component<any, any, any> {
|
|
|
9
8
|
getMonthText(month: any): any;
|
|
10
9
|
_updateSelectedMonth: (event: any) => void;
|
|
11
10
|
}
|
|
12
|
-
import React from 'react';
|
|
@@ -25,7 +25,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
25
25
|
return __assign.apply(this, arguments);
|
|
26
26
|
};
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
-
|
|
28
|
+
// @ts-nocheck
|
|
29
29
|
import React from 'react';
|
|
30
30
|
import ViewNavigation from '../components/ViewNavigation';
|
|
31
31
|
var MonthsView = /** @class */ (function (_super) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default class YearsView extends React.Component {
|
|
2
3
|
static defaultProps: {
|
|
3
4
|
renderYear: (props: any, year: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
};
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
constructor(props: any, context: any);
|
|
7
6
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
renderNavigation(): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
renderYears(): import("react/jsx-runtime").JSX.Element[];
|
|
@@ -14,4 +13,3 @@ export default class YearsView extends React.Component<any, any, any> {
|
|
|
14
13
|
isDisabledYear(year: any): any;
|
|
15
14
|
_updateSelectedYear: (event: any) => void;
|
|
16
15
|
}
|
|
17
|
-
import React from 'react';
|
|
@@ -25,7 +25,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
25
25
|
return __assign.apply(this, arguments);
|
|
26
26
|
};
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
-
|
|
28
|
+
// @ts-nocheck
|
|
29
29
|
import React from 'react';
|
|
30
30
|
import ViewNavigation from '../components/ViewNavigation';
|
|
31
31
|
var YearsView = /** @class */ (function (_super) {
|