@dxc-technology/halstack-react 0.0.0-b915415 → 0.0.0-b92e300
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/BackgroundColorContext.js +50 -0
- package/ThemeContext.js +246 -0
- package/{dist/V3Select → V3Select}/V3Select.js +33 -127
- package/{dist/V3Select → V3Select}/index.d.ts +0 -0
- package/{dist/V3Textarea → V3Textarea}/V3Textarea.js +10 -14
- package/{dist/V3Textarea → V3Textarea}/index.d.ts +0 -0
- package/accordion/Accordion.d.ts +4 -0
- package/{dist/accordion → accordion}/Accordion.js +35 -130
- package/accordion/types.d.ts +68 -0
- package/accordion/types.js +5 -0
- package/accordion-group/AccordionGroup.d.ts +7 -0
- package/accordion-group/AccordionGroup.js +170 -0
- package/accordion-group/types.d.ts +72 -0
- package/accordion-group/types.js +5 -0
- package/alert/Alert.d.ts +4 -0
- package/{dist/alert → alert}/Alert.js +38 -151
- package/alert/types.d.ts +49 -0
- package/alert/types.js +5 -0
- package/badge/Badge.js +59 -0
- package/{dist/box → box}/Box.js +9 -13
- package/{dist/box → box}/index.d.ts +0 -0
- package/button/Button.d.ts +4 -0
- package/{dist/button → button}/Button.js +15 -71
- package/button/Button.stories.tsx +293 -0
- package/button/types.d.ts +57 -0
- package/button/types.js +5 -0
- package/card/Card.d.ts +4 -0
- package/{dist/card → card}/Card.js +32 -121
- package/card/types.d.ts +69 -0
- package/card/types.js +5 -0
- package/checkbox/Checkbox.d.ts +4 -0
- package/{dist/checkbox → checkbox}/Checkbox.js +13 -59
- package/checkbox/types.d.ts +60 -0
- package/checkbox/types.js +5 -0
- package/{dist/chip → chip}/Chip.js +17 -61
- package/{dist/chip → chip}/index.d.ts +0 -0
- package/{dist/common → common}/OpenSans.css +0 -0
- package/{dist/common → common}/RequiredComponent.js +3 -11
- package/{dist/common → common}/fonts/OpenSans-Bold.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-Italic.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-Light.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-LightItalic.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-Regular.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-SemiBold.ttf +0 -0
- package/{dist/common → common}/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/{dist/common → common}/utils.js +0 -0
- package/{dist/common → common}/variables.js +40 -45
- package/{dist/date → date}/Date.js +16 -22
- package/{dist/date → date}/index.d.ts +0 -0
- package/date-input/DateInput.d.ts +4 -0
- package/{dist/date-input → date-input}/DateInput.js +22 -61
- package/date-input/types.d.ts +100 -0
- package/date-input/types.js +5 -0
- package/{dist/dialog → dialog}/Dialog.js +16 -50
- package/{dist/dialog → dialog}/index.d.ts +0 -0
- package/{dist/dropdown → dropdown}/Dropdown.js +37 -131
- package/{dist/dropdown → dropdown}/index.d.ts +0 -0
- package/{dist/file-input → file-input}/FileInput.js +49 -161
- package/{dist/file-input → file-input}/FileItem.js +29 -123
- package/{dist/file-input → file-input}/index.d.ts +0 -0
- package/{dist/footer → footer}/Footer.js +34 -158
- package/{dist/footer → footer}/Icons.js +13 -13
- package/{dist/footer → footer}/index.d.ts +0 -0
- package/{dist/header → header}/Header.js +35 -179
- package/{dist/header → header}/Icons.js +11 -11
- package/{dist/header → header}/index.d.ts +0 -0
- package/{dist/heading → heading}/Heading.js +18 -72
- package/{dist/heading → heading}/index.d.ts +0 -0
- package/{dist/input-text → input-text}/Icons.js +2 -2
- package/{dist/input-text → input-text}/InputText.js +36 -130
- package/{dist/input-text → input-text}/index.d.ts +1 -1
- package/{dist/layout → layout}/ApplicationLayout.js +31 -123
- package/{dist/layout → layout}/Icons.js +7 -7
- package/{dist/link → link}/Link.js +18 -72
- package/{dist/link → link}/index.d.ts +0 -0
- package/main.d.ts +44 -0
- package/{dist/main.js → main.js} +91 -87
- package/{dist/number-input → number-input}/NumberInput.js +5 -13
- package/{dist/number-input → number-input}/NumberInputContext.js +1 -1
- package/{dist/number-input → number-input}/index.d.ts +0 -0
- package/package.json +20 -17
- package/{dist/paginator → paginator}/Icons.js +9 -9
- package/paginator/Paginator.d.ts +4 -0
- package/{dist/paginator → paginator}/Paginator.js +24 -131
- package/paginator/types.d.ts +38 -0
- package/paginator/types.js +5 -0
- package/{dist/password-input → password-input}/PasswordInput.js +17 -21
- package/password-input/PasswordInput.stories.jsx +131 -0
- package/{dist/password-input → password-input}/index.d.ts +0 -0
- package/progress-bar/ProgressBar.d.ts +4 -0
- package/{dist/progress-bar → progress-bar}/ProgressBar.js +19 -91
- package/progress-bar/types.d.ts +37 -0
- package/progress-bar/types.js +5 -0
- package/radio/Radio.d.ts +4 -0
- package/{dist/radio → radio}/Radio.js +15 -50
- package/radio/types.d.ts +54 -0
- package/radio/types.js +5 -0
- package/{dist/resultsetTable → resultsetTable}/ResultsetTable.js +35 -119
- package/{dist/resultsetTable → resultsetTable}/index.d.ts +0 -0
- package/{dist/select → select}/Select.js +248 -479
- package/select/index.d.ts +131 -0
- package/{dist/sidenav → sidenav}/Sidenav.js +15 -49
- package/{dist/sidenav → sidenav}/index.d.ts +0 -0
- package/slider/Slider.d.ts +4 -0
- package/{dist/slider → slider}/Slider.js +45 -143
- package/slider/types.d.ts +83 -0
- package/slider/types.js +5 -0
- package/{dist/spinner → spinner}/Spinner.js +38 -152
- package/{dist/spinner → spinner}/index.d.ts +0 -0
- package/switch/Switch.d.ts +4 -0
- package/{dist/switch → switch}/Switch.js +26 -69
- package/switch/types.d.ts +58 -0
- package/switch/types.js +5 -0
- package/{dist/table → table}/Table.js +10 -24
- package/{dist/table → table}/index.d.ts +0 -0
- package/{dist/tabs → tabs}/Tabs.js +26 -110
- package/{dist/tabs → tabs}/index.d.ts +0 -0
- package/{dist/tag → tag}/Tag.js +22 -96
- package/{dist/tag → tag}/index.d.ts +0 -0
- package/{dist/text-input → text-input}/TextInput.js +241 -390
- package/{dist/text-input → text-input}/index.d.ts +0 -0
- package/{dist/textarea → textarea}/Textarea.js +20 -72
- package/textarea/Textarea.stories.jsx +135 -0
- package/{dist/textarea → textarea}/index.d.ts +0 -0
- package/{dist/toggle → toggle}/Toggle.js +15 -49
- package/{dist/toggle → toggle}/index.d.ts +0 -0
- package/{dist/toggle-group → toggle-group}/ToggleGroup.js +23 -107
- package/{dist/toggle-group → toggle-group}/index.d.ts +0 -0
- package/{dist/upload → upload}/Upload.js +11 -15
- package/{dist/upload → upload}/buttons-upload/ButtonsUpload.js +13 -37
- package/{dist/upload → upload}/buttons-upload/Icons.js +7 -7
- package/upload/dragAndDropArea/DragAndDropArea.js +225 -0
- package/{dist/upload → upload}/dragAndDropArea/Icons.js +6 -6
- package/upload/file-upload/FileToUpload.js +115 -0
- package/{dist/upload → upload}/file-upload/Icons.js +13 -13
- package/{dist/upload → upload}/files-upload/FilesToUpload.js +12 -26
- package/{dist/upload → upload}/index.d.ts +0 -0
- package/{dist/upload → upload}/transaction/Icons.js +31 -31
- package/upload/transaction/Transaction.js +104 -0
- package/upload/transactions/Transactions.js +94 -0
- package/{dist/useTheme.js → useTheme.js} +0 -0
- package/{dist/wizard → wizard}/Icons.js +8 -8
- package/{dist/wizard → wizard}/Wizard.js +31 -165
- package/{dist/wizard → wizard}/index.d.ts +0 -0
- package/README.md +0 -66
- package/babel.config.js +0 -7
- package/dist/BackgroundColorContext.js +0 -46
- package/dist/ThemeContext.js +0 -250
- package/dist/accordion/index.d.ts +0 -28
- package/dist/accordion-group/AccordionGroup.js +0 -186
- package/dist/accordion-group/index.d.ts +0 -16
- package/dist/alert/index.d.ts +0 -51
- package/dist/badge/Badge.js +0 -63
- package/dist/button/Button.stories.js +0 -27
- package/dist/button/index.d.ts +0 -24
- package/dist/card/index.d.ts +0 -22
- package/dist/checkbox/index.d.ts +0 -24
- package/dist/date-input/index.d.ts +0 -95
- package/dist/main.d.ts +0 -40
- package/dist/paginator/index.d.ts +0 -20
- package/dist/progress-bar/index.d.ts +0 -18
- package/dist/radio/index.d.ts +0 -23
- package/dist/select/index.d.ts +0 -53
- package/dist/slider/index.d.ts +0 -29
- package/dist/switch/index.d.ts +0 -24
- package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -329
- package/dist/upload/file-upload/FileToUpload.js +0 -189
- package/dist/upload/transaction/Transaction.js +0 -148
- package/dist/upload/transactions/Transactions.js +0 -138
- package/test/Accordion.test.js +0 -33
- package/test/AccordionGroup.test.js +0 -125
- package/test/Alert.test.js +0 -53
- package/test/Box.test.js +0 -10
- package/test/Button.test.js +0 -18
- package/test/Card.test.js +0 -30
- package/test/Checkbox.test.js +0 -45
- package/test/Chip.test.js +0 -25
- package/test/Date.test.js +0 -395
- package/test/DateInput.test.js +0 -242
- package/test/Dialog.test.js +0 -23
- package/test/Dropdown.test.js +0 -145
- package/test/FileInput.test.js +0 -201
- package/test/Footer.test.js +0 -94
- package/test/Header.test.js +0 -34
- package/test/Heading.test.js +0 -83
- package/test/InputText.test.js +0 -239
- package/test/Link.test.js +0 -43
- package/test/NumberInput.test.js +0 -259
- package/test/Paginator.test.js +0 -181
- package/test/PasswordInput.test.js +0 -83
- package/test/ProgressBar.test.js +0 -35
- package/test/Radio.test.js +0 -37
- package/test/ResultsetTable.test.js +0 -330
- package/test/Select.test.js +0 -415
- package/test/Sidenav.test.js +0 -45
- package/test/Slider.test.js +0 -74
- package/test/Spinner.test.js +0 -32
- package/test/Switch.test.js +0 -45
- package/test/Table.test.js +0 -36
- package/test/Tabs.test.js +0 -109
- package/test/Tag.test.js +0 -32
- package/test/TextInput.test.js +0 -732
- package/test/Textarea.test.js +0 -193
- package/test/ToggleGroup.test.js +0 -85
- package/test/Upload.test.js +0 -60
- package/test/V3Select.test.js +0 -212
- package/test/V3TextArea.test.js +0 -51
- package/test/Wizard.test.js +0 -130
- package/test/mocks/pngMock.js +0 -1
- package/test/mocks/svgMock.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof3 = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -27,55 +27,11 @@ var _utils = require("../common/utils.js");
|
|
|
27
27
|
|
|
28
28
|
var _useTheme = _interopRequireDefault(require("../useTheme.js"));
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n ", "\n width: ", ";\n height: ", ";\n overflow: hidden;\n\n img,\n svg {\n height: 100%;\n width: 100%;\n }\n &:focus {\n outline-color: ", ";\n outline-width: 2px;\n ", "\n }\n"]);
|
|
32
|
-
|
|
33
|
-
_templateObject5 = function _templateObject5() {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return data;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function _templateObject4() {
|
|
41
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n margin-right: ", ";\n width: ", ";\n height: ", ";\n"]);
|
|
42
|
-
|
|
43
|
-
_templateObject4 = function _templateObject4() {
|
|
44
|
-
return data;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _templateObject3() {
|
|
51
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n margin-left: ", ";\n width: ", ";\n height: ", ";\n"]);
|
|
52
|
-
|
|
53
|
-
_templateObject3 = function _templateObject3() {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return data;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function _templateObject2() {
|
|
61
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n color: ", ";\n cursor: ", ";\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"]);
|
|
62
|
-
|
|
63
|
-
_templateObject2 = function _templateObject2() {
|
|
64
|
-
return data;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return data;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function _templateObject() {
|
|
71
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n display: inline-flex;\n align-items: center;\n min-height: 40px;\n max-width: ", ";\n background-color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border-style: ", ";\n border-color: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n cursor: ", ";\n"]);
|
|
30
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
72
31
|
|
|
73
|
-
|
|
74
|
-
return data;
|
|
75
|
-
};
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
76
33
|
|
|
77
|
-
|
|
78
|
-
}
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
79
35
|
|
|
80
36
|
var DxcChip = function DxcChip(_ref) {
|
|
81
37
|
var label = _ref.label,
|
|
@@ -90,12 +46,12 @@ var DxcChip = function DxcChip(_ref) {
|
|
|
90
46
|
_ref$tabIndex = _ref.tabIndex,
|
|
91
47
|
tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex;
|
|
92
48
|
var colorsTheme = (0, _useTheme["default"])();
|
|
93
|
-
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
49
|
+
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
94
50
|
theme: colorsTheme.chip
|
|
95
|
-
}, _react["default"].createElement(StyledDxcChip, {
|
|
51
|
+
}, /*#__PURE__*/_react["default"].createElement(StyledDxcChip, {
|
|
96
52
|
disabled: disabled,
|
|
97
53
|
margin: margin
|
|
98
|
-
}, prefixIcon ? _react["default"].createElement(IconContainer, {
|
|
54
|
+
}, prefixIcon ? /*#__PURE__*/_react["default"].createElement(IconContainer, {
|
|
99
55
|
disabled: disabled,
|
|
100
56
|
prefixIcon: true,
|
|
101
57
|
label: label,
|
|
@@ -105,7 +61,7 @@ var DxcChip = function DxcChip(_ref) {
|
|
|
105
61
|
return onClickPrefix && !disabled && onClickPrefix(label);
|
|
106
62
|
},
|
|
107
63
|
interactuable: typeof onClickPrefix === "function" && !disabled
|
|
108
|
-
}, (0, _typeof2["default"])(prefixIcon) === "object" ? prefixIcon : _react["default"].createElement(prefixIcon)) : prefixIconSrc && _react["default"].createElement(PrefixIconContainer, {
|
|
64
|
+
}, (0, _typeof2["default"])(prefixIcon) === "object" ? prefixIcon : /*#__PURE__*/_react["default"].createElement(prefixIcon)) : prefixIconSrc && /*#__PURE__*/_react["default"].createElement(PrefixIconContainer, {
|
|
109
65
|
disabled: disabled,
|
|
110
66
|
src: prefixIconSrc,
|
|
111
67
|
label: label,
|
|
@@ -114,11 +70,11 @@ var DxcChip = function DxcChip(_ref) {
|
|
|
114
70
|
return onClickPrefix && !disabled && onClickPrefix(label);
|
|
115
71
|
},
|
|
116
72
|
interactuable: typeof onClickPrefix === "function" && !disabled
|
|
117
|
-
}), label && _react["default"].createElement(ChipTextContainer, {
|
|
73
|
+
}), label && /*#__PURE__*/_react["default"].createElement(ChipTextContainer, {
|
|
118
74
|
disabled: disabled,
|
|
119
75
|
prefixIconSrc: prefixIconSrc,
|
|
120
76
|
suffixIconSrc: suffixIconSrc
|
|
121
|
-
}, label), suffixIcon ? _react["default"].createElement(IconContainer, {
|
|
77
|
+
}, label), suffixIcon ? /*#__PURE__*/_react["default"].createElement(IconContainer, {
|
|
122
78
|
disabled: disabled,
|
|
123
79
|
suffixIcon: true,
|
|
124
80
|
mode: "suffix",
|
|
@@ -128,7 +84,7 @@ var DxcChip = function DxcChip(_ref) {
|
|
|
128
84
|
return onClickSuffix && !disabled && onClickSuffix(label);
|
|
129
85
|
},
|
|
130
86
|
interactuable: typeof onClickSuffix === "function" && !disabled
|
|
131
|
-
}, (0, _typeof2["default"])(suffixIcon) === "object" ? suffixIcon : _react["default"].createElement(suffixIcon)) : suffixIconSrc && _react["default"].createElement(SuffixIconContainer, {
|
|
87
|
+
}, (0, _typeof2["default"])(suffixIcon) === "object" ? suffixIcon : /*#__PURE__*/_react["default"].createElement(suffixIcon)) : suffixIconSrc && /*#__PURE__*/_react["default"].createElement(SuffixIconContainer, {
|
|
132
88
|
disabled: disabled,
|
|
133
89
|
src: suffixIconSrc,
|
|
134
90
|
label: label,
|
|
@@ -152,7 +108,7 @@ var getCursor = function getCursor(interactuable, disabled) {
|
|
|
152
108
|
return "cursor:default; outline:none;";
|
|
153
109
|
};
|
|
154
110
|
|
|
155
|
-
var StyledDxcChip = _styledComponents["default"].div(_templateObject(), function (_ref2) {
|
|
111
|
+
var StyledDxcChip = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n display: inline-flex;\n align-items: center;\n min-height: 40px;\n max-width: ", ";\n background-color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border-style: ", ";\n border-color: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n cursor: ", ";\n"])), function (_ref2) {
|
|
156
112
|
var margin = _ref2.margin;
|
|
157
113
|
return "calc(100% - 40px - ".concat((0, _utils.getMargin)(margin, "left"), " - ").concat((0, _utils.getMargin)(margin, "right"), ")");
|
|
158
114
|
}, function (props) {
|
|
@@ -188,7 +144,7 @@ var StyledDxcChip = _styledComponents["default"].div(_templateObject(), function
|
|
|
188
144
|
return disabled && "not-allowed";
|
|
189
145
|
});
|
|
190
146
|
|
|
191
|
-
var ChipTextContainer = _styledComponents["default"].span(_templateObject2(), function (props) {
|
|
147
|
+
var ChipTextContainer = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n font-style: ", ";\n color: ", ";\n cursor: ", ";\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"])), function (props) {
|
|
192
148
|
return props.theme.fontSize;
|
|
193
149
|
}, function (props) {
|
|
194
150
|
return props.theme.fontFamily;
|
|
@@ -203,7 +159,7 @@ var ChipTextContainer = _styledComponents["default"].span(_templateObject2(), fu
|
|
|
203
159
|
return disabled && "not-allowed" || "default";
|
|
204
160
|
});
|
|
205
161
|
|
|
206
|
-
var SuffixIconContainer = _styledComponents["default"].img(_templateObject3(), function (props) {
|
|
162
|
+
var SuffixIconContainer = _styledComponents["default"].img(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n margin-left: ", ";\n width: ", ";\n height: ", ";\n"])), function (props) {
|
|
207
163
|
return props.disabled ? props.theme.disabledIconColor : props.theme.iconColor;
|
|
208
164
|
}, function (props) {
|
|
209
165
|
return getCursor(props.interactuable, props.disabled);
|
|
@@ -215,7 +171,7 @@ var SuffixIconContainer = _styledComponents["default"].img(_templateObject3(), f
|
|
|
215
171
|
return props.theme.iconSize;
|
|
216
172
|
});
|
|
217
173
|
|
|
218
|
-
var PrefixIconContainer = _styledComponents["default"].img(_templateObject4(), function (props) {
|
|
174
|
+
var PrefixIconContainer = _styledComponents["default"].img(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n margin-right: ", ";\n width: ", ";\n height: ", ";\n"])), function (props) {
|
|
219
175
|
return props.disabled ? props.theme.disabledIconColor : props.theme.iconColor;
|
|
220
176
|
}, function (props) {
|
|
221
177
|
return getCursor(props.interactuable, props.disabled);
|
|
@@ -227,7 +183,7 @@ var PrefixIconContainer = _styledComponents["default"].img(_templateObject4(), f
|
|
|
227
183
|
return props.theme.iconSize;
|
|
228
184
|
});
|
|
229
185
|
|
|
230
|
-
var IconContainer = _styledComponents["default"].div(_templateObject5(), function (props) {
|
|
186
|
+
var IconContainer = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n ", "\n width: ", ";\n height: ", ";\n overflow: hidden;\n\n img,\n svg {\n height: 100%;\n width: 100%;\n }\n &:focus {\n outline-color: ", ";\n outline-width: 2px;\n ", "\n }\n"])), function (props) {
|
|
231
187
|
return props.disabled ? props.theme.disabledIconColor : props.theme.iconColor;
|
|
232
188
|
}, function (props) {
|
|
233
189
|
return props.prefixIcon ? "margin-right: ".concat((props.label || props.suffixIcon || props.suffixIconSrc) && props.theme.iconSpacing || (props.prefixIcon || props.prefixIconSrc) && "0", ";") : "margin-left: ".concat((props.label || props.prefixIcon || props.prefixIconSrc) && props.theme.iconSpacing || (props.prefixIcon || props.prefixIconSrc) && "0", ";");
|
|
File without changes
|
|
File without changes
|
|
@@ -15,23 +15,15 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
15
15
|
|
|
16
16
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n color: #d0011b;\n margin-right: 1px;\n cursor: default;\n"]);
|
|
20
|
-
|
|
21
|
-
_templateObject = function _templateObject() {
|
|
22
|
-
return data;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
return data;
|
|
26
|
-
}
|
|
18
|
+
var _templateObject;
|
|
27
19
|
|
|
28
20
|
var DxcRequired = function DxcRequired(_ref) {
|
|
29
21
|
var _ref$theme = _ref.theme,
|
|
30
22
|
theme = _ref$theme === void 0 ? "light" : _ref$theme;
|
|
31
|
-
return _react["default"].createElement(RequiredSpan, null, "*");
|
|
23
|
+
return /*#__PURE__*/_react["default"].createElement(RequiredSpan, null, "*");
|
|
32
24
|
};
|
|
33
25
|
|
|
34
|
-
var RequiredSpan = _styledComponents["default"].span(_templateObject());
|
|
26
|
+
var RequiredSpan = _styledComponents["default"].span(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n color: #d0011b;\n margin-right: 1px;\n cursor: default;\n"])));
|
|
35
27
|
|
|
36
28
|
DxcRequired.propTypes = {
|
|
37
29
|
theme: _propTypes["default"].oneOf(["dark", "light"])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.typeface = exports.
|
|
8
|
+
exports.typeface = exports.spaces = exports.responsiveSizes = exports.globalTokens = exports.componentTokens = void 0;
|
|
9
9
|
|
|
10
10
|
var _Icons = require("../header/Icons");
|
|
11
11
|
|
|
@@ -507,7 +507,7 @@ var componentTokens = {
|
|
|
507
507
|
disabledDropLabelFontColor: globalTokens.hal_grey_l_60,
|
|
508
508
|
focusDropBorderColor: globalTokens.hal_blue_l_50,
|
|
509
509
|
disabledDropBorderColor: globalTokens.hal_grey_l_60,
|
|
510
|
-
|
|
510
|
+
dragoverDropBackgroundColor: globalTokens.color_blue_50,
|
|
511
511
|
hoverFileItemIconBackgroundColor: globalTokens.hal_grey_l_95,
|
|
512
512
|
activeFileItemIconBackgrounColor: globalTokens.hal_grey_l_80,
|
|
513
513
|
errorFileItemBorderColor: globalTokens.hal_red_s_41,
|
|
@@ -717,6 +717,8 @@ var componentTokens = {
|
|
|
717
717
|
errorBorderColorOnDark: globalTokens.hal_red_l_60,
|
|
718
718
|
hoverErrorBorderColor: globalTokens.color_red_600,
|
|
719
719
|
hoverErrorBorderColorOnDark: "#fe677b",
|
|
720
|
+
inputMarginTop: globalTokens.spacing_02,
|
|
721
|
+
inputMarginBottom: globalTokens.spacing_02,
|
|
720
722
|
errorMessageColor: globalTokens.hal_red_s_41,
|
|
721
723
|
errorMessageColorOnDark: globalTokens.hal_red_l_60,
|
|
722
724
|
errorIconColor: globalTokens.hal_red_s_41,
|
|
@@ -746,7 +748,7 @@ var componentTokens = {
|
|
|
746
748
|
disabledSuffixColor: globalTokens.hal_grey_l_75,
|
|
747
749
|
disabledPrefixColorOnDark: globalTokens.hal_grey_l_60,
|
|
748
750
|
disabledSuffixColorOnDark: globalTokens.hal_grey_l_60,
|
|
749
|
-
placeholderFontColor: "#
|
|
751
|
+
placeholderFontColor: "#000000b3",
|
|
750
752
|
placeholderFontColorOnDark: globalTokens.hal_grey_l_95,
|
|
751
753
|
disabledPlaceholderFontColor: globalTokens.hal_grey_l_60,
|
|
752
754
|
disabledPlaceholderFontColorOnDark: globalTokens.hal_grey_l_60,
|
|
@@ -777,15 +779,20 @@ var componentTokens = {
|
|
|
777
779
|
focusActionBorderColorOnDark: globalTokens.hal_blue_l_50,
|
|
778
780
|
activeActionBackgroundColor: globalTokens.hal_grey_l_80,
|
|
779
781
|
activeActionBackgroundColorOnDark: globalTokens.hal_grey_l_60,
|
|
782
|
+
listDialogBackgroundColor: globalTokens.hal_white,
|
|
783
|
+
listDialogBorderColor: globalTokens.hal_grey_l_75,
|
|
784
|
+
listOptionDividerColor: globalTokens.hal_grey_l_90,
|
|
780
785
|
listOptionFontColor: globalTokens.hal_black,
|
|
781
|
-
listOptionFontSize: globalTokens.
|
|
786
|
+
listOptionFontSize: globalTokens.type_scale_02,
|
|
782
787
|
listOptionFontStyle: globalTokens.type_normal,
|
|
783
788
|
listOptionFontWeight: globalTokens.type_regular,
|
|
784
789
|
systemMessageFontColor: globalTokens.hal_grey_s_40,
|
|
785
|
-
|
|
786
|
-
|
|
790
|
+
errorListDialogFontColor: globalTokens.hal_black,
|
|
791
|
+
errorListDialogBackgroundColor: globalTokens.color_red_50,
|
|
792
|
+
errorListDialogBorderColor: globalTokens.hal_red_s_41,
|
|
787
793
|
hoverListOptionBackgroundColor: globalTokens.hal_grey_l_95,
|
|
788
|
-
activeListOptionBackgroundColor: globalTokens.hal_grey_l_80
|
|
794
|
+
activeListOptionBackgroundColor: globalTokens.hal_grey_l_80,
|
|
795
|
+
focusListOptionBorderColor: globalTokens.hal_blue_l_50
|
|
789
796
|
},
|
|
790
797
|
link: {
|
|
791
798
|
fontColor: globalTokens.hal_blue_s_35,
|
|
@@ -882,14 +889,17 @@ var componentTokens = {
|
|
|
882
889
|
errorInputBorderColor: globalTokens.hal_red_s_41,
|
|
883
890
|
hoverInputErrorBorderColor: globalTokens.color_red_600,
|
|
884
891
|
disabledInputBorderColor: globalTokens.hal_grey_l_60,
|
|
885
|
-
|
|
892
|
+
disabledInputBackgroundColor: globalTokens.hal_grey_l_95,
|
|
893
|
+
inputMarginTop: globalTokens.spacing_02,
|
|
894
|
+
inputMarginBottom: globalTokens.spacing_02,
|
|
895
|
+
errorMessageColor: globalTokens.hal_red_s_41,
|
|
896
|
+
errorIconColor: globalTokens.hal_red_s_41,
|
|
886
897
|
labelFontColor: globalTokens.hal_black,
|
|
887
898
|
labelFontSize: globalTokens.type_scale_02,
|
|
888
899
|
labelFontStyle: globalTokens.type_normal,
|
|
889
900
|
labelFontWeight: globalTokens.type_semibold,
|
|
890
901
|
labelLineHeight: globalTokens.type_leading_loose_01,
|
|
891
902
|
optionalLabelFontWeight: globalTokens.type_regular,
|
|
892
|
-
// new
|
|
893
903
|
helperTextFontColor: globalTokens.hal_black,
|
|
894
904
|
helperTextFontSize: globalTokens.type_scale_01,
|
|
895
905
|
helperTextFontStyle: globalTokens.type_normal,
|
|
@@ -901,58 +911,41 @@ var componentTokens = {
|
|
|
901
911
|
valueFontStyle: globalTokens.type_normal,
|
|
902
912
|
valueFontWeight: globalTokens.type_regular,
|
|
903
913
|
actionIconColor: globalTokens.hal_black,
|
|
904
|
-
// new
|
|
905
914
|
hoverActionIconColor: globalTokens.hal_black,
|
|
906
915
|
activeActionIconColor: globalTokens.hal_black,
|
|
907
916
|
actionBackgroundColor: globalTokens.transparent,
|
|
908
917
|
hoverActionBackgroundColor: globalTokens.hal_grey_l_95,
|
|
909
918
|
activeActionBackgroundColor: globalTokens.hal_grey_l_80,
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
listItemFontWeight: globalTokens.type_regular,
|
|
919
|
-
listItemIconColor: globalTokens.hal_black,
|
|
920
|
-
listGroupItemFontWeight: globalTokens.type_semibold,
|
|
921
|
-
listItemDividerColor: globalTokens.hal_grey_l_90,
|
|
922
|
-
focusListItemBorderColor: globalTokens.hal_blue_l_50,
|
|
923
|
-
// new
|
|
919
|
+
listOptionFontColor: globalTokens.hal_black,
|
|
920
|
+
listOptionFontSize: globalTokens.type_scale_02,
|
|
921
|
+
listOptionFontStyle: globalTokens.type_normal,
|
|
922
|
+
listOptionFontWeight: globalTokens.type_regular,
|
|
923
|
+
listOptionIconColor: globalTokens.hal_black,
|
|
924
|
+
listOptionDividerColor: globalTokens.hal_grey_l_90,
|
|
925
|
+
listGroupLabelFontWeight: globalTokens.type_semibold,
|
|
926
|
+
focusListOptionBorderColor: globalTokens.hal_blue_l_50,
|
|
924
927
|
systemMessageFontColor: globalTokens.hal_grey_s_40,
|
|
925
|
-
// new
|
|
926
928
|
collapseIndicatorColor: globalTokens.hal_black,
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
unselectedHoverListItemBackgroundColor: globalTokens.hal_grey_l_95,
|
|
936
|
-
unselectedActiveListItemBackgroundColor: globalTokens.hal_grey_l_90,
|
|
929
|
+
listDialogBackgroundColor: globalTokens.hal_white,
|
|
930
|
+
listDialogBorderColor: globalTokens.hal_grey_l_75,
|
|
931
|
+
selectedListOptionBackgroundColor: globalTokens.hal_blue_l_95,
|
|
932
|
+
selectedHoverListOptionBackgroundColor: globalTokens.color_blue_200,
|
|
933
|
+
selectedActiveListOptionBackgroundColor: globalTokens.hal_blue_l_80,
|
|
934
|
+
selectedListOptionIconColor: globalTokens.hal_blue_d_20,
|
|
935
|
+
unselectedHoverListOptionBackgroundColor: globalTokens.hal_grey_l_95,
|
|
936
|
+
unselectedActiveListOptionBackgroundColor: globalTokens.hal_grey_l_90,
|
|
937
937
|
selectionIndicatorFontColor: globalTokens.hal_black,
|
|
938
|
-
|
|
939
|
-
selectionIndicatorFontSize: "11px",
|
|
940
|
-
// new
|
|
938
|
+
selectionIndicatorFontSize: globalTokens.type_scale_01,
|
|
941
939
|
selectionIndicatorFontStyle: globalTokens.type_regular,
|
|
942
|
-
// new
|
|
943
940
|
selectionIndicatorFontWeight: globalTokens.type_normal,
|
|
944
|
-
// new
|
|
945
941
|
selectionIndicatorBorderColor: globalTokens.hal_grey_l_75,
|
|
946
942
|
selectionIndicatorBackgroundColor: globalTokens.color_grey_50,
|
|
947
943
|
enabledSelectionIndicatorActionBackgroundColor: globalTokens.transparent,
|
|
948
944
|
enabledSelectionIndicatorActionIconColor: globalTokens.hal_black,
|
|
949
|
-
// new
|
|
950
945
|
hoverSelectionIndicatorActionBackgroundColor: globalTokens.hal_grey_l_95,
|
|
951
946
|
hoverSelectionIndicatorActionIconColor: globalTokens.hal_black,
|
|
952
|
-
// new
|
|
953
947
|
activeSelectionIndicatorActionBackgroundColor: globalTokens.hal_grey_l_80,
|
|
954
|
-
activeSelectionIndicatorActionIconColor: globalTokens.hal_black
|
|
955
|
-
|
|
948
|
+
activeSelectionIndicatorActionIconColor: globalTokens.hal_black
|
|
956
949
|
},
|
|
957
950
|
V3Select: {
|
|
958
951
|
fontFamily: globalTokens.type_sans,
|
|
@@ -1287,6 +1280,8 @@ var componentTokens = {
|
|
|
1287
1280
|
errorBorderColorOnDark: globalTokens.hal_red_l_60,
|
|
1288
1281
|
hoverErrorBorderColor: globalTokens.color_red_600,
|
|
1289
1282
|
hoverErrorBorderColorOnDark: "#fe677b",
|
|
1283
|
+
inputMarginTop: globalTokens.spacing_02,
|
|
1284
|
+
inputMarginBottom: globalTokens.spacing_02,
|
|
1290
1285
|
errorMessageColor: globalTokens.hal_red_s_41,
|
|
1291
1286
|
errorMessageColorOnDark: globalTokens.hal_red_l_60,
|
|
1292
1287
|
labelFontColor: globalTokens.hal_black,
|
|
@@ -1306,7 +1301,7 @@ var componentTokens = {
|
|
|
1306
1301
|
helperTextLineHeight: globalTokens.type_leading_normal,
|
|
1307
1302
|
disabledHelperTextFontColor: globalTokens.hal_grey_l_60,
|
|
1308
1303
|
disabledHelperTextFontColorOnDark: globalTokens.hal_grey_l_60,
|
|
1309
|
-
placeholderFontColor: "#
|
|
1304
|
+
placeholderFontColor: "#000000b3",
|
|
1310
1305
|
placeholderFontColorOnDark: globalTokens.hal_grey_l_95,
|
|
1311
1306
|
disabledPlaceholderFontColor: globalTokens.hal_grey_l_60,
|
|
1312
1307
|
disabledPlaceholderFontColorOnDark: globalTokens.hal_grey_l_60,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
@@ -41,17 +41,11 @@ var _variables = require("../common/variables.js");
|
|
|
41
41
|
|
|
42
42
|
var _useTheme = _interopRequireDefault(require("../useTheme.js"));
|
|
43
43
|
|
|
44
|
-
var _DxcDate$propTypes;
|
|
44
|
+
var _templateObject, _DxcDate$propTypes;
|
|
45
45
|
|
|
46
|
-
function
|
|
47
|
-
var data = (0, _taggedTemplateLiteral2["default"])([""]);
|
|
46
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
return data;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
return data;
|
|
54
|
-
}
|
|
48
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
55
49
|
|
|
56
50
|
var DxcDate = function DxcDate(_ref) {
|
|
57
51
|
var value = _ref.value,
|
|
@@ -142,16 +136,16 @@ var DxcDate = function DxcDate(_ref) {
|
|
|
142
136
|
};
|
|
143
137
|
|
|
144
138
|
var calendarSVG = function calendarSVG() {
|
|
145
|
-
return _react["default"].createElement("svg", {
|
|
139
|
+
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
146
140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
147
141
|
height: "24",
|
|
148
142
|
viewBox: "0 0 24 24",
|
|
149
143
|
width: "24",
|
|
150
144
|
fill: "currentColor"
|
|
151
|
-
}, _react["default"].createElement("path", {
|
|
145
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
152
146
|
"data-testid": "calendarIcon",
|
|
153
147
|
d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"
|
|
154
|
-
}), _react["default"].createElement("path", {
|
|
148
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
155
149
|
d: "M0 0h24v24H0z",
|
|
156
150
|
fill: "none"
|
|
157
151
|
}));
|
|
@@ -295,15 +289,15 @@ var DxcDate = function DxcDate(_ref) {
|
|
|
295
289
|
}
|
|
296
290
|
}
|
|
297
291
|
});
|
|
298
|
-
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
292
|
+
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
299
293
|
theme: colorsTheme
|
|
300
|
-
}, _react["default"].createElement(_core.MuiThemeProvider, {
|
|
294
|
+
}, /*#__PURE__*/_react["default"].createElement(_core.MuiThemeProvider, {
|
|
301
295
|
theme: dateTheme
|
|
302
|
-
}, _react["default"].createElement(_pickers.MuiPickersUtilsProvider, {
|
|
296
|
+
}, /*#__PURE__*/_react["default"].createElement(_pickers.MuiPickersUtilsProvider, {
|
|
303
297
|
utils: _dateFns["default"]
|
|
304
|
-
}, _react["default"].createElement(StyledDPicker, {
|
|
298
|
+
}, /*#__PURE__*/_react["default"].createElement(StyledDPicker, {
|
|
305
299
|
margin: margin
|
|
306
|
-
}, _react["default"].createElement(_InputText["default"], {
|
|
300
|
+
}, /*#__PURE__*/_react["default"].createElement(_InputText["default"], {
|
|
307
301
|
label: label,
|
|
308
302
|
name: name,
|
|
309
303
|
suffixIcon: calendarSVG,
|
|
@@ -319,7 +313,7 @@ var DxcDate = function DxcDate(_ref) {
|
|
|
319
313
|
onChange: onChangeInput,
|
|
320
314
|
onBlur: onBlur && handlerInputBlur || null,
|
|
321
315
|
tabIndex: tabIndex
|
|
322
|
-
}), _react["default"].createElement(_Popover["default"], {
|
|
316
|
+
}), /*#__PURE__*/_react["default"].createElement(_Popover["default"], {
|
|
323
317
|
open: isOpen,
|
|
324
318
|
anchorEl: anchorEl,
|
|
325
319
|
anchorOrigin: {
|
|
@@ -335,9 +329,9 @@ var DxcDate = function DxcDate(_ref) {
|
|
|
335
329
|
marginTop: "10px"
|
|
336
330
|
}
|
|
337
331
|
}
|
|
338
|
-
}, _react["default"].createElement(_ClickAwayListener["default"], {
|
|
332
|
+
}, /*#__PURE__*/_react["default"].createElement(_ClickAwayListener["default"], {
|
|
339
333
|
onClickAway: handlerPickerClose
|
|
340
|
-
}, _react["default"].createElement(_core.Paper, null, _react["default"].createElement(_pickers.DatePicker, {
|
|
334
|
+
}, /*#__PURE__*/_react["default"].createElement(_core.Paper, null, /*#__PURE__*/_react["default"].createElement(_pickers.DatePicker, {
|
|
341
335
|
variant: "static",
|
|
342
336
|
value: getValueForPicker(),
|
|
343
337
|
onChange: function onChange(date) {
|
|
@@ -354,7 +348,7 @@ var sizes = {
|
|
|
354
348
|
fillParent: "100%"
|
|
355
349
|
};
|
|
356
350
|
|
|
357
|
-
var StyledDPicker = _styledComponents["default"].div(_templateObject());
|
|
351
|
+
var StyledDPicker = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])([""])));
|
|
358
352
|
|
|
359
353
|
DxcDate.propTypes = (_DxcDate$propTypes = {
|
|
360
354
|
value: _propTypes["default"].string,
|
|
File without changes
|