@dxc-technology/halstack-react 0.0.0-e441916 → 0.0.0-e628009
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/README.md +1 -1
- package/babel.config.js +6 -2
- package/dist/BackgroundColorContext.js +46 -0
- package/dist/ThemeContext.js +235 -2
- package/dist/V3Textarea/V3Textarea.js +264 -0
- 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 +39 -19
- package/dist/button/Button.js +84 -29
- package/dist/card/Card.js +64 -56
- package/dist/checkbox/Checkbox.js +108 -32
- package/dist/chip/Chip.js +135 -40
- package/dist/common/RequiredComponent.js +2 -8
- package/dist/common/utils.js +2 -22
- package/dist/common/variables.js +1486 -105
- package/dist/date/Date.js +115 -78
- package/dist/date-input/DateInput.js +400 -0
- package/dist/date-input/index.d.ts +95 -0
- package/dist/dialog/Dialog.js +61 -36
- 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 +125 -45
- package/dist/footer/Icons.js +77 -0
- package/dist/header/Header.js +174 -90
- package/dist/header/Icons.js +59 -0
- package/dist/heading/Heading.js +93 -22
- package/dist/input-text/Icons.js +22 -0
- package/dist/input-text/InputText.js +298 -108
- package/dist/layout/ApplicationLayout.js +327 -0
- package/dist/layout/Icons.js +55 -0
- package/dist/link/Link.js +142 -34
- package/dist/main.d.ts +8 -0
- package/dist/main.js +111 -7
- package/dist/new-select/NewSelect.js +836 -0
- package/dist/new-select/index.d.ts +53 -0
- package/dist/number-input/NumberInput.js +136 -0
- package/dist/number-input/NumberInputContext.js +16 -0
- package/dist/number-input/index.d.ts +113 -0
- package/dist/paginator/Icons.js +66 -0
- package/dist/paginator/Paginator.js +162 -57
- 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 +253 -129
- package/dist/sidenav/Sidenav.js +87 -125
- package/dist/slider/Slider.js +219 -73
- package/dist/spinner/Spinner.js +249 -64
- package/dist/switch/Switch.js +52 -25
- 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/text-input/TextInput.js +971 -0
- package/dist/text-input/index.d.ts +135 -0
- package/dist/textarea/Textarea.js +250 -107
- package/dist/textarea/index.d.ts +117 -0
- package/dist/toggle/Toggle.js +16 -19
- package/dist/toggle-group/ToggleGroup.js +327 -0
- package/dist/upload/Upload.js +16 -11
- package/dist/upload/buttons-upload/ButtonsUpload.js +35 -25
- package/dist/upload/buttons-upload/Icons.js +40 -0
- package/dist/upload/dragAndDropArea/DragAndDropArea.js +84 -37
- package/dist/upload/dragAndDropArea/Icons.js +39 -0
- package/dist/upload/file-upload/FileToUpload.js +64 -33
- package/dist/upload/file-upload/Icons.js +66 -0
- package/dist/upload/files-upload/FilesToUpload.js +16 -16
- package/dist/upload/transaction/Icons.js +160 -0
- package/dist/upload/transaction/Transaction.js +42 -49
- package/dist/upload/transactions/Transactions.js +38 -20
- package/dist/useTheme.js +22 -0
- package/dist/wizard/Icons.js +65 -0
- package/dist/wizard/Wizard.js +156 -61
- package/package.json +14 -6
- package/test/AccordionGroup.test.js +125 -0
- package/test/Date.test.js +49 -45
- package/test/DateInput.test.js +242 -0
- package/test/Dropdown.test.js +19 -4
- package/test/FileInput.test.js +201 -0
- package/test/Footer.test.js +2 -7
- package/test/Header.test.js +5 -10
- package/test/Heading.test.js +60 -12
- package/test/InputText.test.js +53 -41
- package/test/Link.test.js +25 -7
- package/test/NumberInput.test.js +259 -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 +24 -15
- package/test/Spinner.test.js +5 -0
- package/test/Tabs.test.js +21 -0
- package/test/TextInput.test.js +732 -0
- package/test/Textarea.test.js +193 -0
- package/test/ToggleGroup.test.js +85 -0
- package/test/Upload.test.js +5 -5
- package/test/{TextArea.test.js → V3TextArea.test.js} +6 -7
- 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/checkbox/Checkbox.stories.js +0 -144
- package/dist/checkbox/readme.md +0 -116
- package/dist/common/services/example-service.js +0 -10
- package/dist/common/services/example-service.test.js +0 -12
- package/dist/date/Date.stories.js +0 -205
- package/dist/date/calendar.svg +0 -1
- package/dist/date/calendar_dark.svg +0 -1
- package/dist/date/readme.md +0 -73
- 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/footer/readme.md +0 -41
- package/dist/header/Header.stories.js +0 -176
- package/dist/header/close_icon.svg +0 -1
- package/dist/header/dxc_logo_black.png +0 -0
- package/dist/header/dxc_logo_white.png +0 -0
- package/dist/header/hamb_menu_black.svg +0 -1
- package/dist/header/hamb_menu_white.svg +0 -1
- package/dist/header/readme.md +0 -33
- package/dist/input-text/InputText.stories.js +0 -209
- package/dist/input-text/error.svg +0 -1
- package/dist/input-text/readme.md +0 -91
- package/dist/link/readme.md +0 -51
- package/dist/paginator/images/next.svg +0 -3
- package/dist/paginator/images/nextPage.svg +0 -3
- package/dist/paginator/images/previous.svg +0 -3
- package/dist/paginator/images/previousPage.svg +0 -3
- package/dist/paginator/readme.md +0 -50
- package/dist/progress-bar/ProgressBar.stories.js +0 -280
- package/dist/progress-bar/readme.md +0 -63
- package/dist/radio/Radio.stories.js +0 -166
- package/dist/radio/readme.md +0 -70
- package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
- package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
- package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
- package/dist/select/Select.stories.js +0 -235
- package/dist/select/readme.md +0 -72
- package/dist/sidenav/arrow_icon.svg +0 -3
- package/dist/slider/Slider.stories.js +0 -241
- package/dist/slider/readme.md +0 -64
- package/dist/spinner/Spinner.stories.js +0 -183
- package/dist/spinner/readme.md +0 -65
- package/dist/switch/Switch.stories.js +0 -134
- package/dist/switch/readme.md +0 -133
- package/dist/tabs/Tabs.stories.js +0 -130
- package/dist/tabs/readme.md +0 -78
- package/dist/tabs-for-sections/readme.md +0 -78
- package/dist/toggle/Toggle.stories.js +0 -297
- package/dist/toggle/readme.md +0 -80
- package/dist/upload/Upload.stories.js +0 -72
- package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
- package/dist/upload/buttons-upload/upload-button.svg +0 -1
- package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
- package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
- package/dist/upload/file-upload/audio-icon.svg +0 -4
- package/dist/upload/file-upload/close.svg +0 -4
- package/dist/upload/file-upload/file-icon.svg +0 -4
- package/dist/upload/file-upload/video-icon.svg +0 -4
- package/dist/upload/readme.md +0 -37
- package/dist/upload/transaction/audio-icon-err.svg +0 -4
- package/dist/upload/transaction/audio-icon.svg +0 -4
- package/dist/upload/transaction/error-icon.svg +0 -4
- package/dist/upload/transaction/file-icon-err.svg +0 -4
- package/dist/upload/transaction/file-icon.svg +0 -4
- package/dist/upload/transaction/image-icon-err.svg +0 -4
- package/dist/upload/transaction/image-icon.svg +0 -4
- package/dist/upload/transaction/success-icon.svg +0 -4
- package/dist/upload/transaction/video-icon-err.svg +0 -4
- package/dist/upload/transaction/video-icon.svg +0 -4
- package/dist/wizard/invalid_icon.svg +0 -6
- package/dist/wizard/valid_icon.svg +0 -6
- package/dist/wizard/validation-wrong.svg +0 -6
- package/test/Toggle.test.js +0 -43
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", {
|
|
@@ -35,7 +37,7 @@ Object.defineProperty(exports, "DxcCheckbox", {
|
|
|
35
37
|
return _Checkbox["default"];
|
|
36
38
|
}
|
|
37
39
|
});
|
|
38
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "V3DxcDate", {
|
|
39
41
|
enumerable: true,
|
|
40
42
|
get: function get() {
|
|
41
43
|
return _Date["default"];
|
|
@@ -65,7 +67,7 @@ Object.defineProperty(exports, "DxcHeader", {
|
|
|
65
67
|
return _Header["default"];
|
|
66
68
|
}
|
|
67
69
|
});
|
|
68
|
-
Object.defineProperty(exports, "
|
|
70
|
+
Object.defineProperty(exports, "V3DxcInputText", {
|
|
69
71
|
enumerable: true,
|
|
70
72
|
get: function get() {
|
|
71
73
|
return _InputText["default"];
|
|
@@ -119,7 +121,7 @@ Object.defineProperty(exports, "DxcSpinner", {
|
|
|
119
121
|
return _Spinner["default"];
|
|
120
122
|
}
|
|
121
123
|
});
|
|
122
|
-
Object.defineProperty(exports, "
|
|
124
|
+
Object.defineProperty(exports, "V3DxcUpload", {
|
|
123
125
|
enumerable: true,
|
|
124
126
|
get: function get() {
|
|
125
127
|
return _Upload["default"];
|
|
@@ -173,10 +175,10 @@ Object.defineProperty(exports, "DxcHeading", {
|
|
|
173
175
|
return _Heading["default"];
|
|
174
176
|
}
|
|
175
177
|
});
|
|
176
|
-
Object.defineProperty(exports, "
|
|
178
|
+
Object.defineProperty(exports, "V3DxcTextarea", {
|
|
177
179
|
enumerable: true,
|
|
178
180
|
get: function get() {
|
|
179
|
-
return
|
|
181
|
+
return _V3Textarea["default"];
|
|
180
182
|
}
|
|
181
183
|
});
|
|
182
184
|
Object.defineProperty(exports, "DxcResultsetTable", {
|
|
@@ -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, "DxcDateInput", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function get() {
|
|
235
|
+
return _DateInput["default"];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "DxcNumberInput", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function get() {
|
|
241
|
+
return _NumberInput["default"];
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "DxcTextarea", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function get() {
|
|
247
|
+
return _Textarea["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
|
|
|
@@ -254,10 +334,34 @@ var _Link = _interopRequireDefault(require("./link/Link"));
|
|
|
254
334
|
|
|
255
335
|
var _Heading = _interopRequireDefault(require("./heading/Heading"));
|
|
256
336
|
|
|
257
|
-
var
|
|
337
|
+
var _V3Textarea = _interopRequireDefault(require("./V3Textarea/V3Textarea"));
|
|
258
338
|
|
|
259
339
|
var _ResultsetTable = _interopRequireDefault(require("./resultsetTable/ResultsetTable"));
|
|
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 _DateInput = _interopRequireDefault(require("./date-input/DateInput"));
|
|
356
|
+
|
|
357
|
+
var _NumberInput = _interopRequireDefault(require("./number-input/NumberInput"));
|
|
358
|
+
|
|
359
|
+
var _Textarea = _interopRequireDefault(require("./textarea/Textarea"));
|
|
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");
|