@dxc-technology/halstack-react 0.0.0-c24450b → 0.0.0-c6243ef
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/babel.config.js +6 -2
- package/dist/BackgroundColorContext.js +46 -0
- package/dist/ThemeContext.js +235 -2
- package/dist/accordion/Accordion.js +170 -81
- package/dist/accordion-group/AccordionGroup.js +186 -0
- package/dist/alert/Alert.js +184 -83
- package/dist/alert/index.d.ts +51 -0
- package/dist/badge/Badge.js +63 -0
- package/dist/box/Box.js +31 -23
- package/dist/button/Button.js +82 -27
- package/dist/card/Card.js +72 -35
- package/dist/checkbox/Checkbox.js +108 -32
- package/dist/chip/Chip.js +129 -35
- package/dist/common/RequiredComponent.js +2 -8
- package/dist/common/utils.js +2 -22
- package/dist/common/variables.js +1457 -210
- package/dist/date/Date.js +81 -59
- package/dist/dialog/Dialog.js +58 -37
- package/dist/dropdown/Dropdown.js +229 -68
- package/dist/file-input/FileInput.js +644 -0
- package/dist/file-input/FileItem.js +280 -0
- package/dist/file-input/index.d.ts +81 -0
- package/dist/footer/Footer.js +87 -38
- package/dist/footer/dxc_logo.svg +15 -0
- package/dist/footer/readme.md +1 -1
- package/dist/header/Header.js +121 -72
- package/dist/header/dxc_logo_black.svg +8 -0
- package/dist/header/readme.md +1 -1
- package/dist/heading/Heading.js +81 -22
- package/dist/input-text/InputText.js +289 -101
- package/dist/layout/ApplicationLayout.js +331 -0
- package/dist/layout/facebook.svg +45 -0
- package/dist/layout/linkedin.svg +50 -0
- package/dist/layout/twitter.svg +53 -0
- package/dist/link/Link.js +136 -35
- package/dist/main.d.ts +8 -0
- package/dist/main.js +105 -1
- package/dist/new-date/NewDate.js +400 -0
- package/dist/new-date/index.d.ts +95 -0
- package/dist/new-select/NewSelect.js +836 -0
- package/dist/new-select/index.d.ts +53 -0
- package/dist/new-textarea/NewTextarea.js +369 -0
- package/dist/new-textarea/index.d.ts +117 -0
- package/dist/number/Number.js +136 -0
- package/dist/number/NumberContext.js +16 -0
- package/dist/number/index.d.ts +113 -0
- package/dist/paginator/Paginator.js +160 -49
- package/dist/password-input/PasswordInput.js +198 -0
- package/dist/password-input/index.d.ts +94 -0
- package/dist/progress-bar/ProgressBar.js +97 -44
- package/dist/radio/Radio.js +39 -21
- package/dist/resultsetTable/ResultsetTable.js +93 -69
- package/dist/select/Select.js +250 -143
- package/dist/sidenav/Sidenav.js +85 -143
- package/dist/slider/Slider.js +206 -70
- package/dist/spinner/Spinner.js +249 -64
- package/dist/switch/Switch.js +51 -26
- package/dist/table/Table.js +63 -15
- package/dist/tabs/Tabs.js +208 -35
- package/dist/tabs-for-sections/TabsForSections.js +1 -16
- package/dist/tag/Tag.js +100 -35
- package/dist/text-input/TextInput.js +971 -0
- package/dist/text-input/index.d.ts +135 -0
- package/dist/textarea/Textarea.js +81 -43
- package/dist/toggle/Toggle.js +16 -19
- package/dist/toggle-group/ToggleGroup.js +327 -0
- package/dist/upload/Upload.js +13 -8
- package/dist/upload/buttons-upload/ButtonsUpload.js +34 -20
- package/dist/upload/dragAndDropArea/DragAndDropArea.js +78 -31
- package/dist/upload/file-upload/FileToUpload.js +50 -24
- package/dist/upload/files-upload/FilesToUpload.js +16 -16
- package/dist/upload/transaction/Transaction.js +44 -24
- package/dist/upload/transactions/Transactions.js +38 -20
- package/dist/useTheme.js +22 -0
- package/dist/wizard/Wizard.js +142 -51
- package/dist/wizard/invalid_icon.svg +4 -5
- package/dist/wizard/valid_icon.svg +4 -5
- package/package.json +14 -6
- package/test/AccordionGroup.test.js +125 -0
- package/test/Date.test.js +13 -13
- package/test/Dropdown.test.js +19 -4
- package/test/FileInput.test.js +201 -0
- package/test/InputText.test.js +30 -26
- package/test/Link.test.js +25 -7
- package/test/NewDate.test.js +232 -0
- package/test/NewTextarea.test.js +195 -0
- package/test/Number.test.js +257 -0
- package/test/Paginator.test.js +72 -60
- package/test/PasswordInput.test.js +83 -0
- package/test/ResultsetTable.test.js +66 -19
- package/test/Select.test.js +55 -34
- package/test/Sidenav.test.js +22 -64
- package/test/Slider.test.js +17 -0
- package/test/Spinner.test.js +5 -0
- package/test/Tabs.test.js +21 -0
- package/test/TextInput.test.js +732 -0
- package/test/ToggleGroup.test.js +85 -0
- package/dist/accordion/Accordion.stories.js +0 -207
- package/dist/accordion/readme.md +0 -96
- package/dist/alert/Alert.stories.js +0 -158
- package/dist/alert/close.svg +0 -4
- package/dist/alert/error.svg +0 -4
- package/dist/alert/info.svg +0 -4
- package/dist/alert/readme.md +0 -43
- package/dist/alert/success.svg +0 -4
- package/dist/alert/warning.svg +0 -4
- package/dist/button/Button.stories.js +0 -224
- package/dist/button/readme.md +0 -93
- package/dist/common/services/example-service.js +0 -10
- package/dist/common/services/example-service.test.js +0 -12
- package/dist/date/calendar.svg +0 -1
- package/dist/date/calendar_dark.svg +0 -1
- package/dist/dialog/Dialog.stories.js +0 -217
- package/dist/dialog/readme.md +0 -32
- package/dist/dropdown/Dropdown.stories.js +0 -249
- package/dist/dropdown/baseline-arrow_drop_down.svg +0 -1
- package/dist/dropdown/baseline-arrow_drop_down_wh.svg +0 -4
- package/dist/dropdown/baseline-arrow_drop_up.svg +0 -1
- package/dist/dropdown/baseline-arrow_drop_up_wh.svg +0 -4
- package/dist/dropdown/readme.md +0 -69
- package/dist/footer/Footer.stories.js +0 -94
- package/dist/footer/dxc_logo_wht.png +0 -0
- package/dist/header/dxc_logo_black.png +0 -0
- package/dist/header/dxc_logo_white.png +0 -0
- package/dist/input-text/InputText.stories.js +0 -209
- package/dist/select/Select.stories.js +0 -235
- package/dist/select/readme.md +0 -72
- package/dist/sidenav/arrow_icon.svg +0 -3
- package/test/Toggle.test.js +0 -43
package/dist/link/Link.js
CHANGED
|
@@ -11,11 +11,11 @@ exports["default"] = void 0;
|
|
|
11
11
|
|
|
12
12
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
13
13
|
|
|
14
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
15
|
-
|
|
16
14
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
17
15
|
|
|
18
|
-
var
|
|
16
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
17
|
+
|
|
18
|
+
var _react = _interopRequireDefault(require("react"));
|
|
19
19
|
|
|
20
20
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
21
21
|
|
|
@@ -23,12 +23,50 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
23
23
|
|
|
24
24
|
var _variables = require("../common/variables.js");
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _useTheme = _interopRequireDefault(require("../useTheme.js"));
|
|
27
|
+
|
|
28
|
+
function _templateObject6() {
|
|
29
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n ", ";\n overflow: hidden;\n \n img,\n svg {\n height: 100%;\n width: 100%;\n }\n"]);
|
|
27
30
|
|
|
28
|
-
|
|
31
|
+
_templateObject6 = function _templateObject6() {
|
|
32
|
+
return data;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return data;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function _templateObject5() {
|
|
39
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: ", ";\n height: ", ";\n ", ";\n"]);
|
|
40
|
+
|
|
41
|
+
_templateObject5 = function _templateObject5() {
|
|
42
|
+
return data;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return data;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function _templateObject4() {
|
|
49
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-weight: ", ";\n font-style: ", ";\n font-family: ", ";\n display: inline-flex;\n flex-direction: ", ";\n justify-content: ", ";\n align-items: center;\n max-width: 100%;\n"]);
|
|
50
|
+
|
|
51
|
+
_templateObject4 = function _templateObject4() {
|
|
52
|
+
return data;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
return data;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function _templateObject3() {
|
|
59
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n font-family: inherit;\n text-decoration-color: transparent;\n\n ", "\n ", "\n color: ", ";\n ", "\n\n &:hover {\n ", "\n }\n &:focus {\n outline-color: ", ";\n outline-width: 2px;\n outline-offset: 1px;\n ", "\n }\n &:active {\n ", "\n }\n"]);
|
|
60
|
+
|
|
61
|
+
_templateObject3 = function _templateObject3() {
|
|
62
|
+
return data;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return data;
|
|
66
|
+
}
|
|
29
67
|
|
|
30
68
|
function _templateObject2() {
|
|
31
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n
|
|
69
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n ", "\n\n text-decoration-color: transparent;\n ", "\n\n &:visited {\n color: ", ";\n &:hover {\n ", "\n }\n }\n &:hover {\n ", "\n }\n &:focus {\n outline-color: ", ";\n outline-width: 2px;\n ", "\n }\n &:active {\n ", "\n }\n"]);
|
|
32
70
|
|
|
33
71
|
_templateObject2 = function _templateObject2() {
|
|
34
72
|
return data;
|
|
@@ -38,7 +76,7 @@ function _templateObject2() {
|
|
|
38
76
|
}
|
|
39
77
|
|
|
40
78
|
function _templateObject() {
|
|
41
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n
|
|
79
|
+
var data = (0, _taggedTemplateLiteral2["default"])(["\n display: inline-flex;\n margin: ", ";\n margin-top: ", ";\n margin-right: ", ";\n margin-bottom: ", ";\n margin-left: ", ";\n"]);
|
|
42
80
|
|
|
43
81
|
_templateObject = function _templateObject() {
|
|
44
82
|
return data;
|
|
@@ -48,43 +86,56 @@ function _templateObject() {
|
|
|
48
86
|
}
|
|
49
87
|
|
|
50
88
|
var DxcLink = function DxcLink(_ref) {
|
|
51
|
-
var _ref$
|
|
52
|
-
underlined = _ref$underlined === void 0 ? true : _ref$underlined,
|
|
53
|
-
_ref$inheritColor = _ref.inheritColor,
|
|
89
|
+
var _ref$inheritColor = _ref.inheritColor,
|
|
54
90
|
inheritColor = _ref$inheritColor === void 0 ? false : _ref$inheritColor,
|
|
55
91
|
_ref$disabled = _ref.disabled,
|
|
56
92
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
57
93
|
iconSrc = _ref.iconSrc,
|
|
94
|
+
icon = _ref.icon,
|
|
58
95
|
_ref$iconPosition = _ref.iconPosition,
|
|
59
96
|
iconPosition = _ref$iconPosition === void 0 ? "before" : _ref$iconPosition,
|
|
60
97
|
_ref$href = _ref.href,
|
|
61
98
|
href = _ref$href === void 0 ? "" : _ref$href,
|
|
62
99
|
_ref$newWindow = _ref.newWindow,
|
|
63
100
|
newWindow = _ref$newWindow === void 0 ? false : _ref$newWindow,
|
|
101
|
+
onClick = _ref.onClick,
|
|
64
102
|
_ref$text = _ref.text,
|
|
65
103
|
text = _ref$text === void 0 ? "" : _ref$text,
|
|
66
|
-
margin = _ref.margin
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
104
|
+
margin = _ref.margin,
|
|
105
|
+
_ref$tabIndex = _ref.tabIndex,
|
|
106
|
+
tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex;
|
|
107
|
+
var colorsTheme = (0, _useTheme["default"])();
|
|
108
|
+
|
|
109
|
+
var linkContent = _react["default"].createElement(LinkText, {
|
|
110
|
+
iconPosition: iconPosition
|
|
111
|
+
}, text, icon ? _react["default"].createElement(LinkIconContainer, {
|
|
112
|
+
iconPosition: iconPosition
|
|
113
|
+
}, (0, _typeof2["default"])(icon) === "object" ? icon : _react["default"].createElement(icon)) : iconSrc && _react["default"].createElement(LinkIcon, {
|
|
114
|
+
src: iconSrc,
|
|
115
|
+
iconPosition: iconPosition
|
|
116
|
+
}));
|
|
117
|
+
|
|
71
118
|
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
72
119
|
theme: colorsTheme.link
|
|
73
|
-
}, _react["default"].createElement(
|
|
74
|
-
|
|
75
|
-
|
|
120
|
+
}, _react["default"].createElement(DxcLinkContainer, {
|
|
121
|
+
margin: margin
|
|
122
|
+
}, onClick ? _react["default"].createElement(StyledButton, {
|
|
123
|
+
type: "button",
|
|
124
|
+
onClick: !disabled && onClick,
|
|
125
|
+
margin: margin,
|
|
76
126
|
disabled: disabled,
|
|
77
|
-
|
|
127
|
+
inheritColor: inheritColor
|
|
128
|
+
}, linkContent) : _react["default"].createElement(StyledLink, {
|
|
129
|
+
tabIndex: tabIndex,
|
|
130
|
+
href: !disabled && href,
|
|
131
|
+
target: newWindow ? "_blank" : "_self",
|
|
78
132
|
margin: margin,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
},
|
|
82
|
-
src: iconSrc,
|
|
83
|
-
iconPosition: iconPosition
|
|
84
|
-
}) : ""));
|
|
133
|
+
disabled: disabled,
|
|
134
|
+
inheritColor: inheritColor
|
|
135
|
+
}, linkContent)));
|
|
85
136
|
};
|
|
86
137
|
|
|
87
|
-
var
|
|
138
|
+
var DxcLinkContainer = _styledComponents["default"].div(_templateObject(), function (props) {
|
|
88
139
|
return props.margin && (0, _typeof2["default"])(props.margin) !== "object" ? _variables.spaces[props.margin] : "0px";
|
|
89
140
|
}, function (props) {
|
|
90
141
|
return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.top ? _variables.spaces[props.margin.top] : "";
|
|
@@ -94,35 +145,84 @@ var LinkText = _styledComponents["default"].a(_templateObject(), function (props
|
|
|
94
145
|
return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.bottom ? _variables.spaces[props.margin.bottom] : "";
|
|
95
146
|
}, function (props) {
|
|
96
147
|
return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.left ? _variables.spaces[props.margin.left] : "";
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
var StyledLink = _styledComponents["default"].a(_templateObject2(), function (props) {
|
|
151
|
+
return props.inheritColor ? "inherit" : !props.disabled ? props.theme.fontColor : props.theme.disabledColor;
|
|
152
|
+
}, function (props) {
|
|
153
|
+
return props.disabled ? "pointer-events: none;" : "";
|
|
154
|
+
}, function (props) {
|
|
155
|
+
return "padding-bottom: ".concat(props.theme.underlineSpacing, ";\n border-bottom: ").concat(props.theme.underlineThickness, " ").concat(props.theme.underlineStyle, " transparent;");
|
|
97
156
|
}, function (props) {
|
|
98
|
-
return
|
|
157
|
+
return !props.inheritColor ? props.theme.visitedFontColor : "";
|
|
99
158
|
}, function (props) {
|
|
100
|
-
return
|
|
159
|
+
return "color: ".concat(props.theme.visitedFontColor, ";\n border-bottom-color: ").concat(props.theme.visitedUnderlineColor, ";");
|
|
101
160
|
}, function (props) {
|
|
102
|
-
return
|
|
161
|
+
return "color: ".concat(props.theme.hoverFontColor, ";\n border-bottom-color: ").concat(props.theme.hoverUnderlineColor, ";\n cursor: pointer;");
|
|
162
|
+
}, function (props) {
|
|
163
|
+
return props.theme.focusColor;
|
|
164
|
+
}, function (props) {
|
|
165
|
+
return props.disabled && "outline: none";
|
|
166
|
+
}, function (props) {
|
|
167
|
+
return "color: ".concat(props.theme.activeFontColor, " !important;\n border-bottom-color: ").concat(props.theme.activeUnderlineColor, " !important;");
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
var StyledButton = _styledComponents["default"].button(_templateObject3(), function (props) {
|
|
171
|
+
return "padding-bottom: ".concat(props.theme.underlineSpacing, ";\n border-bottom: ").concat(props.theme.underlineThickness, " ").concat(props.theme.underlineStyle, " transparent;");
|
|
172
|
+
}, function (props) {
|
|
173
|
+
return props.disabled && "cursor: default;";
|
|
174
|
+
}, function (props) {
|
|
175
|
+
return props.inheritColor ? "inherit" : !props.disabled ? props.theme.fontColor : props.theme.disabledColor;
|
|
103
176
|
}, function (props) {
|
|
104
177
|
return props.disabled ? "pointer-events: none;" : "";
|
|
178
|
+
}, function (props) {
|
|
179
|
+
return "color: ".concat(props.theme.hoverFontColor, ";\n border-bottom-color: ").concat(props.theme.hoverUnderlineColor, ";\n cursor: pointer;");
|
|
180
|
+
}, function (props) {
|
|
181
|
+
return props.theme.focusColor;
|
|
182
|
+
}, function (props) {
|
|
183
|
+
return props.disabled && "outline: none";
|
|
184
|
+
}, function (props) {
|
|
185
|
+
return "color: ".concat(props.theme.activeFontColor, " !important;\n border-bottom-color: ").concat(props.theme.activeUnderlineColor, " !important;");
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
var LinkText = _styledComponents["default"].div(_templateObject4(), function (props) {
|
|
189
|
+
return props.theme.fontSize;
|
|
190
|
+
}, function (props) {
|
|
191
|
+
return props.theme.fontWeight;
|
|
192
|
+
}, function (props) {
|
|
193
|
+
return props.theme.fontStyle;
|
|
194
|
+
}, function (props) {
|
|
195
|
+
return props.theme.fontFamily;
|
|
105
196
|
}, function (props) {
|
|
106
197
|
return props.iconPosition === "after" ? "row" : "row-reverse";
|
|
107
198
|
}, function (props) {
|
|
108
199
|
return props.iconPosition === "after" ? "flex-start" : "flex-end";
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
var LinkIcon = _styledComponents["default"].img(_templateObject5(), function (props) {
|
|
203
|
+
return props.theme.iconSize;
|
|
109
204
|
}, function (props) {
|
|
110
|
-
return props.theme.
|
|
205
|
+
return props.theme.iconSize;
|
|
111
206
|
}, function (props) {
|
|
112
|
-
return props.
|
|
207
|
+
return "".concat(props.iconPosition === "before" ? "margin-right" : "margin-left", ": ").concat(props.theme.iconSpacing);
|
|
113
208
|
});
|
|
114
209
|
|
|
115
|
-
var
|
|
116
|
-
return props.
|
|
210
|
+
var LinkIconContainer = _styledComponents["default"].div(_templateObject6(), function (props) {
|
|
211
|
+
return props.theme.iconSize;
|
|
212
|
+
}, function (props) {
|
|
213
|
+
return props.theme.iconSize;
|
|
214
|
+
}, function (props) {
|
|
215
|
+
return "".concat(props.iconPosition === "before" ? "margin-right" : "margin-left", ": ").concat(props.theme.iconSpacing);
|
|
117
216
|
});
|
|
118
217
|
|
|
119
218
|
DxcLink.propTypes = {
|
|
120
|
-
underlined: _propTypes["default"].bool,
|
|
121
219
|
inheritColor: _propTypes["default"].bool,
|
|
122
220
|
disabled: _propTypes["default"].bool,
|
|
221
|
+
icon: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].func]),
|
|
123
222
|
iconSrc: _propTypes["default"].string,
|
|
124
223
|
iconPosition: _propTypes["default"].oneOf(["after", "before"]),
|
|
125
224
|
href: _propTypes["default"].string,
|
|
225
|
+
onClick: _propTypes["default"].func,
|
|
126
226
|
margin: _propTypes["default"].oneOfType([_propTypes["default"].shape({
|
|
127
227
|
top: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
|
|
128
228
|
bottom: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
|
|
@@ -130,7 +230,8 @@ DxcLink.propTypes = {
|
|
|
130
230
|
right: _propTypes["default"].oneOf(Object.keys(_variables.spaces))
|
|
131
231
|
}), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))]),
|
|
132
232
|
newWindow: _propTypes["default"].bool,
|
|
133
|
-
text: _propTypes["default"].string
|
|
233
|
+
text: _propTypes["default"].string,
|
|
234
|
+
tabIndex: _propTypes["default"].number
|
|
134
235
|
};
|
|
135
236
|
var _default = DxcLink;
|
|
136
237
|
exports["default"] = _default;
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as DxcAlert } from "./alert/index";
|
|
2
|
+
export { default as DxcNewSelect } from "./new-select/index";
|
|
3
|
+
export { default as DxcTextInput } from "./text-input/index";
|
|
4
|
+
export { default as DxcNewDate } from "./new-date/index";
|
|
5
|
+
export { default as DxcNewTextarea } from "./new-textarea/index";
|
|
6
|
+
export { default as DxcNumber } from "./number/index";
|
|
7
|
+
export { default as DxcPasswordInput } from "./password-input/index";
|
|
8
|
+
export { default as DxcFileInput } from "./file-input/index";
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
+
|
|
3
5
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
6
|
|
|
5
7
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -191,12 +193,90 @@ Object.defineProperty(exports, "DxcChip", {
|
|
|
191
193
|
return _Chip["default"];
|
|
192
194
|
}
|
|
193
195
|
});
|
|
196
|
+
Object.defineProperty(exports, "DxcApplicationLayout", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function get() {
|
|
199
|
+
return _ApplicationLayout["default"];
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "DxcToggleGroup", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function get() {
|
|
205
|
+
return _ToggleGroup["default"];
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "DxcAccordionGroup", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function get() {
|
|
211
|
+
return _AccordionGroup["default"];
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
Object.defineProperty(exports, "DxcBadge", {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function get() {
|
|
217
|
+
return _Badge["default"];
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "DxcTextInput", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function get() {
|
|
223
|
+
return _TextInput["default"];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "DxcPasswordInput", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function get() {
|
|
229
|
+
return _PasswordInput["default"];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(exports, "DxcNewDate", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function get() {
|
|
235
|
+
return _NewDate["default"];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "DxcNumber", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function get() {
|
|
241
|
+
return _Number["default"];
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "DxcNewTextarea", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function get() {
|
|
247
|
+
return _NewTextarea["default"];
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(exports, "DxcNewSelect", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function get() {
|
|
253
|
+
return _NewSelect["default"];
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
Object.defineProperty(exports, "DxcFileInput", {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function get() {
|
|
259
|
+
return _FileInput["default"];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
194
262
|
Object.defineProperty(exports, "ThemeContext", {
|
|
195
263
|
enumerable: true,
|
|
196
264
|
get: function get() {
|
|
197
265
|
return _ThemeContext["default"];
|
|
198
266
|
}
|
|
199
267
|
});
|
|
268
|
+
Object.defineProperty(exports, "ThemeProvider", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function get() {
|
|
271
|
+
return _ThemeContext.ThemeProvider;
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
Object.defineProperty(exports, "BackgroundColorProvider", {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
get: function get() {
|
|
277
|
+
return _BackgroundColorContext.BackgroundColorProvider;
|
|
278
|
+
}
|
|
279
|
+
});
|
|
200
280
|
|
|
201
281
|
var _Alert = _interopRequireDefault(require("./alert/Alert"));
|
|
202
282
|
|
|
@@ -260,4 +340,28 @@ var _ResultsetTable = _interopRequireDefault(require("./resultsetTable/Resultset
|
|
|
260
340
|
|
|
261
341
|
var _Chip = _interopRequireDefault(require("./chip/Chip"));
|
|
262
342
|
|
|
263
|
-
var
|
|
343
|
+
var _ApplicationLayout = _interopRequireDefault(require("./layout/ApplicationLayout"));
|
|
344
|
+
|
|
345
|
+
var _ToggleGroup = _interopRequireDefault(require("./toggle-group/ToggleGroup"));
|
|
346
|
+
|
|
347
|
+
var _AccordionGroup = _interopRequireDefault(require("./accordion-group/AccordionGroup"));
|
|
348
|
+
|
|
349
|
+
var _Badge = _interopRequireDefault(require("./badge/Badge"));
|
|
350
|
+
|
|
351
|
+
var _TextInput = _interopRequireDefault(require("./text-input/TextInput"));
|
|
352
|
+
|
|
353
|
+
var _PasswordInput = _interopRequireDefault(require("./password-input/PasswordInput"));
|
|
354
|
+
|
|
355
|
+
var _NewDate = _interopRequireDefault(require("./new-date/NewDate"));
|
|
356
|
+
|
|
357
|
+
var _Number = _interopRequireDefault(require("./number/Number"));
|
|
358
|
+
|
|
359
|
+
var _NewTextarea = _interopRequireDefault(require("./new-textarea/NewTextarea"));
|
|
360
|
+
|
|
361
|
+
var _NewSelect = _interopRequireDefault(require("./new-select/NewSelect"));
|
|
362
|
+
|
|
363
|
+
var _FileInput = _interopRequireDefault(require("./file-input/FileInput"));
|
|
364
|
+
|
|
365
|
+
var _ThemeContext = _interopRequireWildcard(require("./ThemeContext.js"));
|
|
366
|
+
|
|
367
|
+
var _BackgroundColorContext = require("./BackgroundColorContext.js");
|