@dxc-technology/halstack-react 0.0.0-3a8852f → 0.0.0-3e57f0d
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/README.md → README.md} +1 -1
- 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 +181 -80
- package/dist/alert/index.d.ts +51 -0
- package/dist/badge/Badge.js +63 -0
- package/dist/box/Box.js +39 -19
- package/dist/button/Button.js +91 -40
- package/dist/card/Card.js +64 -56
- package/dist/checkbox/Checkbox.js +118 -39
- package/dist/chip/Chip.js +135 -40
- package/dist/common/RequiredComponent.js +5 -15
- package/dist/common/variables.js +1377 -10
- package/dist/date/Date.js +110 -73
- package/dist/dialog/Dialog.js +87 -33
- package/dist/dropdown/Dropdown.js +226 -94
- 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 +90 -36
- package/dist/footer/dxc_logo.svg +15 -0
- package/dist/footer/readme.md +1 -1
- package/dist/header/Header.js +132 -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 +298 -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 +142 -34
- package/dist/main.d.ts +7 -0
- package/dist/main.js +97 -1
- package/dist/new-date/NewDate.js +400 -0
- package/dist/new-date/index.d.ts +95 -0
- package/dist/new-input-text/NewInputText.js +967 -0
- package/dist/new-input-text/index.d.ts +135 -0
- package/dist/new-textarea/NewTextarea.js +365 -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/Password.js +200 -0
- package/dist/password/index.d.ts +94 -0
- package/dist/password/styles.css +3 -0
- package/dist/progress-bar/ProgressBar.js +97 -44
- package/dist/radio/Radio.js +39 -34
- package/dist/resultsetTable/ResultsetTable.js +94 -70
- package/dist/select/Select.js +253 -129
- package/dist/sidenav/Sidenav.js +87 -125
- package/dist/slider/Slider.js +125 -74
- package/dist/spinner/Spinner.js +249 -64
- package/dist/switch/Switch.js +54 -51
- package/dist/table/Table.js +63 -15
- package/dist/tabs/Tabs.js +210 -50
- package/dist/tabs-for-sections/TabsForSections.js +1 -16
- package/dist/tag/Tag.js +100 -35
- package/dist/textarea/Textarea.js +81 -43
- package/dist/toggle/Toggle.js +16 -19
- package/dist/toggle-group/ToggleGroup.js +223 -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 +156 -55
- package/dist/wizard/invalid_icon.svg +4 -5
- package/dist/wizard/valid_icon.svg +4 -5
- package/package.json +17 -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/NewInputText.test.js +734 -0
- package/test/NewTextarea.test.js +195 -0
- package/test/Number.test.js +257 -0
- package/test/Paginator.test.js +72 -60
- package/test/Password.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/ToggleGroup.test.js +81 -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/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/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
|
@@ -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", {
|
|
@@ -9,20 +11,62 @@ exports["default"] = void 0;
|
|
|
9
11
|
|
|
10
12
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
13
|
|
|
12
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
13
|
-
|
|
14
14
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
15
15
|
|
|
16
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
17
|
+
|
|
16
18
|
var _react = _interopRequireDefault(require("react"));
|
|
17
19
|
|
|
18
|
-
var _styledComponents =
|
|
20
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
19
21
|
|
|
20
22
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
21
23
|
|
|
22
24
|
var _variables = require("../common/variables.js");
|
|
23
25
|
|
|
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"]);
|
|
30
|
+
|
|
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
|
+
}
|
|
67
|
+
|
|
24
68
|
function _templateObject2() {
|
|
25
|
-
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"]);
|
|
26
70
|
|
|
27
71
|
_templateObject2 = function _templateObject2() {
|
|
28
72
|
return data;
|
|
@@ -32,7 +76,7 @@ function _templateObject2() {
|
|
|
32
76
|
}
|
|
33
77
|
|
|
34
78
|
function _templateObject() {
|
|
35
|
-
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"]);
|
|
36
80
|
|
|
37
81
|
_templateObject = function _templateObject() {
|
|
38
82
|
return data;
|
|
@@ -42,41 +86,56 @@ function _templateObject() {
|
|
|
42
86
|
}
|
|
43
87
|
|
|
44
88
|
var DxcLink = function DxcLink(_ref) {
|
|
45
|
-
var _ref$
|
|
46
|
-
underlined = _ref$underlined === void 0 ? true : _ref$underlined,
|
|
47
|
-
_ref$inheritColor = _ref.inheritColor,
|
|
89
|
+
var _ref$inheritColor = _ref.inheritColor,
|
|
48
90
|
inheritColor = _ref$inheritColor === void 0 ? false : _ref$inheritColor,
|
|
49
91
|
_ref$disabled = _ref.disabled,
|
|
50
92
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
51
93
|
iconSrc = _ref.iconSrc,
|
|
94
|
+
icon = _ref.icon,
|
|
52
95
|
_ref$iconPosition = _ref.iconPosition,
|
|
53
96
|
iconPosition = _ref$iconPosition === void 0 ? "before" : _ref$iconPosition,
|
|
54
97
|
_ref$href = _ref.href,
|
|
55
98
|
href = _ref$href === void 0 ? "" : _ref$href,
|
|
56
|
-
_ref$theme = _ref.theme,
|
|
57
|
-
theme = _ref$theme === void 0 ? "light" : _ref$theme,
|
|
58
99
|
_ref$newWindow = _ref.newWindow,
|
|
59
100
|
newWindow = _ref$newWindow === void 0 ? false : _ref$newWindow,
|
|
101
|
+
onClick = _ref.onClick,
|
|
60
102
|
_ref$text = _ref.text,
|
|
61
103
|
text = _ref$text === void 0 ? "" : _ref$text,
|
|
62
|
-
margin = _ref.margin
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
iconPosition: iconPosition
|
|
71
|
-
|
|
72
|
-
}, text, iconSrc ? _react["default"].createElement(LinkIcon, {
|
|
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, {
|
|
73
114
|
src: iconSrc,
|
|
74
|
-
brightness: theme,
|
|
75
115
|
iconPosition: iconPosition
|
|
76
|
-
})
|
|
116
|
+
}));
|
|
117
|
+
|
|
118
|
+
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
119
|
+
theme: colorsTheme.link
|
|
120
|
+
}, _react["default"].createElement(DxcLinkContainer, {
|
|
121
|
+
margin: margin
|
|
122
|
+
}, onClick ? _react["default"].createElement(StyledButton, {
|
|
123
|
+
type: "button",
|
|
124
|
+
onClick: !disabled && onClick,
|
|
125
|
+
margin: margin,
|
|
126
|
+
disabled: disabled,
|
|
127
|
+
inheritColor: inheritColor
|
|
128
|
+
}, linkContent) : _react["default"].createElement(StyledLink, {
|
|
129
|
+
tabIndex: tabIndex,
|
|
130
|
+
href: !disabled && href,
|
|
131
|
+
target: newWindow ? "_blank" : "_self",
|
|
132
|
+
margin: margin,
|
|
133
|
+
disabled: disabled,
|
|
134
|
+
inheritColor: inheritColor
|
|
135
|
+
}, linkContent)));
|
|
77
136
|
};
|
|
78
137
|
|
|
79
|
-
var
|
|
138
|
+
var DxcLinkContainer = _styledComponents["default"].div(_templateObject(), function (props) {
|
|
80
139
|
return props.margin && (0, _typeof2["default"])(props.margin) !== "object" ? _variables.spaces[props.margin] : "0px";
|
|
81
140
|
}, function (props) {
|
|
82
141
|
return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.top ? _variables.spaces[props.margin.top] : "";
|
|
@@ -86,36 +145,84 @@ var LinkText = _styledComponents["default"].a(_templateObject(), function (props
|
|
|
86
145
|
return props.margin && (0, _typeof2["default"])(props.margin) === "object" && props.margin.bottom ? _variables.spaces[props.margin.bottom] : "";
|
|
87
146
|
}, function (props) {
|
|
88
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;");
|
|
156
|
+
}, function (props) {
|
|
157
|
+
return !props.inheritColor ? props.theme.visitedFontColor : "";
|
|
158
|
+
}, function (props) {
|
|
159
|
+
return "color: ".concat(props.theme.visitedFontColor, ";\n border-bottom-color: ").concat(props.theme.visitedUnderlineColor, ";");
|
|
160
|
+
}, function (props) {
|
|
161
|
+
return "color: ".concat(props.theme.hoverFontColor, ";\n border-bottom-color: ").concat(props.theme.hoverUnderlineColor, ";\n cursor: pointer;");
|
|
89
162
|
}, function (props) {
|
|
90
|
-
return props.
|
|
163
|
+
return props.theme.focusColor;
|
|
91
164
|
}, function (props) {
|
|
92
|
-
return props.disabled
|
|
165
|
+
return props.disabled && "outline: none";
|
|
93
166
|
}, function (props) {
|
|
94
|
-
return
|
|
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;
|
|
95
176
|
}, function (props) {
|
|
96
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;
|
|
97
196
|
}, function (props) {
|
|
98
197
|
return props.iconPosition === "after" ? "row" : "row-reverse";
|
|
99
198
|
}, function (props) {
|
|
100
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;
|
|
101
204
|
}, function (props) {
|
|
102
|
-
return props.
|
|
205
|
+
return props.theme.iconSize;
|
|
103
206
|
}, function (props) {
|
|
104
|
-
return
|
|
207
|
+
return "".concat(props.iconPosition === "before" ? "margin-right" : "margin-left", ": ").concat(props.theme.iconSpacing);
|
|
105
208
|
});
|
|
106
209
|
|
|
107
|
-
var
|
|
108
|
-
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);
|
|
109
216
|
});
|
|
110
217
|
|
|
111
218
|
DxcLink.propTypes = {
|
|
112
|
-
underlined: _propTypes["default"].bool,
|
|
113
219
|
inheritColor: _propTypes["default"].bool,
|
|
114
220
|
disabled: _propTypes["default"].bool,
|
|
221
|
+
icon: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].func]),
|
|
115
222
|
iconSrc: _propTypes["default"].string,
|
|
116
223
|
iconPosition: _propTypes["default"].oneOf(["after", "before"]),
|
|
117
224
|
href: _propTypes["default"].string,
|
|
118
|
-
|
|
225
|
+
onClick: _propTypes["default"].func,
|
|
119
226
|
margin: _propTypes["default"].oneOfType([_propTypes["default"].shape({
|
|
120
227
|
top: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
|
|
121
228
|
bottom: _propTypes["default"].oneOf(Object.keys(_variables.spaces)),
|
|
@@ -123,7 +230,8 @@ DxcLink.propTypes = {
|
|
|
123
230
|
right: _propTypes["default"].oneOf(Object.keys(_variables.spaces))
|
|
124
231
|
}), _propTypes["default"].oneOf((0, _toConsumableArray2["default"])(Object.keys(_variables.spaces)))]),
|
|
125
232
|
newWindow: _propTypes["default"].bool,
|
|
126
|
-
text: _propTypes["default"].string
|
|
233
|
+
text: _propTypes["default"].string,
|
|
234
|
+
tabIndex: _propTypes["default"].number
|
|
127
235
|
};
|
|
128
236
|
var _default = DxcLink;
|
|
129
237
|
exports["default"] = _default;
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as DxcAlert } from "./alert/index";
|
|
2
|
+
export { default as DxcNewInputText } from "./new-input-text/index";
|
|
3
|
+
export { default as DxcNewDate } from "./new-date/index";
|
|
4
|
+
export { default as DxcNewTextarea } from "./new-textarea/index";
|
|
5
|
+
export { default as DxcNumber } from "./number/index";
|
|
6
|
+
export { default as DxcPassword } from "./password/index";
|
|
7
|
+
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,84 @@ 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, "DxcNewInputText", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function get() {
|
|
223
|
+
return _NewInputText["default"];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "DxcPassword", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function get() {
|
|
229
|
+
return _Password["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, "DxcFileInput", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function get() {
|
|
253
|
+
return _FileInput["default"];
|
|
254
|
+
}
|
|
255
|
+
});
|
|
194
256
|
Object.defineProperty(exports, "ThemeContext", {
|
|
195
257
|
enumerable: true,
|
|
196
258
|
get: function get() {
|
|
197
259
|
return _ThemeContext["default"];
|
|
198
260
|
}
|
|
199
261
|
});
|
|
262
|
+
Object.defineProperty(exports, "ThemeProvider", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function get() {
|
|
265
|
+
return _ThemeContext.ThemeProvider;
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
Object.defineProperty(exports, "BackgroundColorProvider", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function get() {
|
|
271
|
+
return _BackgroundColorContext.BackgroundColorProvider;
|
|
272
|
+
}
|
|
273
|
+
});
|
|
200
274
|
|
|
201
275
|
var _Alert = _interopRequireDefault(require("./alert/Alert"));
|
|
202
276
|
|
|
@@ -260,4 +334,26 @@ var _ResultsetTable = _interopRequireDefault(require("./resultsetTable/Resultset
|
|
|
260
334
|
|
|
261
335
|
var _Chip = _interopRequireDefault(require("./chip/Chip"));
|
|
262
336
|
|
|
263
|
-
var
|
|
337
|
+
var _ApplicationLayout = _interopRequireDefault(require("./layout/ApplicationLayout"));
|
|
338
|
+
|
|
339
|
+
var _ToggleGroup = _interopRequireDefault(require("./toggle-group/ToggleGroup"));
|
|
340
|
+
|
|
341
|
+
var _AccordionGroup = _interopRequireDefault(require("./accordion-group/AccordionGroup"));
|
|
342
|
+
|
|
343
|
+
var _Badge = _interopRequireDefault(require("./badge/Badge"));
|
|
344
|
+
|
|
345
|
+
var _NewInputText = _interopRequireDefault(require("./new-input-text/NewInputText"));
|
|
346
|
+
|
|
347
|
+
var _Password = _interopRequireDefault(require("./password/Password"));
|
|
348
|
+
|
|
349
|
+
var _NewDate = _interopRequireDefault(require("./new-date/NewDate"));
|
|
350
|
+
|
|
351
|
+
var _Number = _interopRequireDefault(require("./number/Number"));
|
|
352
|
+
|
|
353
|
+
var _NewTextarea = _interopRequireDefault(require("./new-textarea/NewTextarea"));
|
|
354
|
+
|
|
355
|
+
var _FileInput = _interopRequireDefault(require("./file-input/FileInput"));
|
|
356
|
+
|
|
357
|
+
var _ThemeContext = _interopRequireWildcard(require("./ThemeContext.js"));
|
|
358
|
+
|
|
359
|
+
var _BackgroundColorContext = require("./BackgroundColorContext.js");
|