@dxc-technology/halstack-react 0.0.0-b146e44 → 0.0.0-b3da1a9
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 +237 -2
- package/dist/V3Textarea/V3Textarea.js +264 -0
- package/dist/accordion/Accordion.js +174 -63
- package/dist/accordion-group/AccordionGroup.js +186 -0
- package/dist/alert/Alert.js +183 -84
- 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 +85 -28
- package/dist/card/Card.js +72 -35
- package/dist/checkbox/Checkbox.js +107 -32
- package/dist/chip/Chip.js +128 -36
- package/dist/common/RequiredComponent.js +2 -8
- package/dist/common/utils.js +2 -22
- package/dist/common/variables.js +1455 -276
- package/dist/date/Date.js +86 -64
- package/dist/date-input/DateInput.js +400 -0
- package/dist/date-input/index.d.ts +95 -0
- package/dist/dialog/Dialog.js +58 -37
- package/dist/dropdown/Dropdown.js +205 -85
- 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 +122 -47
- package/dist/footer/Icons.js +77 -0
- package/dist/header/Header.js +200 -102
- package/dist/header/Icons.js +59 -0
- package/dist/heading/Heading.js +93 -16
- package/dist/input-text/Icons.js +22 -0
- package/dist/input-text/InputText.js +292 -106
- package/dist/layout/ApplicationLayout.js +327 -0
- package/dist/layout/Icons.js +55 -0
- package/dist/link/Link.js +136 -35
- package/dist/main.d.ts +8 -0
- package/dist/main.js +111 -15
- package/dist/new-select/NewSelect.js +1085 -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 +150 -63
- package/dist/password-input/PasswordInput.js +198 -0
- package/dist/password-input/index.d.ts +94 -0
- package/dist/progress-bar/ProgressBar.js +95 -38
- package/dist/radio/Radio.js +39 -17
- package/dist/resultsetTable/ResultsetTable.js +93 -68
- package/dist/select/Select.js +249 -145
- package/dist/sidenav/Sidenav.js +84 -141
- package/dist/slider/Slider.js +219 -73
- package/dist/spinner/Spinner.js +247 -59
- package/dist/switch/Switch.js +50 -27
- package/dist/table/Table.js +58 -13
- package/dist/tabs/Tabs.js +208 -35
- 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 +248 -106
- 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 +32 -19
- package/dist/upload/buttons-upload/Icons.js +40 -0
- package/dist/upload/dragAndDropArea/DragAndDropArea.js +84 -34
- 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 +138 -60
- package/package.json +17 -13
- 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 +15 -0
- 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/TabsForSections.js +0 -107
- 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/TabsForSections.test.js +0 -34
- 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"];
|
|
@@ -101,12 +103,6 @@ Object.defineProperty(exports, "DxcTabs", {
|
|
|
101
103
|
return _Tabs["default"];
|
|
102
104
|
}
|
|
103
105
|
});
|
|
104
|
-
Object.defineProperty(exports, "DxcTabsForSections", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function get() {
|
|
107
|
-
return _TabsForSections["default"];
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
106
|
Object.defineProperty(exports, "DxcProgressBar", {
|
|
111
107
|
enumerable: true,
|
|
112
108
|
get: function get() {
|
|
@@ -119,7 +115,7 @@ Object.defineProperty(exports, "DxcSpinner", {
|
|
|
119
115
|
return _Spinner["default"];
|
|
120
116
|
}
|
|
121
117
|
});
|
|
122
|
-
Object.defineProperty(exports, "
|
|
118
|
+
Object.defineProperty(exports, "V3DxcUpload", {
|
|
123
119
|
enumerable: true,
|
|
124
120
|
get: function get() {
|
|
125
121
|
return _Upload["default"];
|
|
@@ -173,10 +169,10 @@ Object.defineProperty(exports, "DxcHeading", {
|
|
|
173
169
|
return _Heading["default"];
|
|
174
170
|
}
|
|
175
171
|
});
|
|
176
|
-
Object.defineProperty(exports, "
|
|
172
|
+
Object.defineProperty(exports, "V3DxcTextarea", {
|
|
177
173
|
enumerable: true,
|
|
178
174
|
get: function get() {
|
|
179
|
-
return
|
|
175
|
+
return _V3Textarea["default"];
|
|
180
176
|
}
|
|
181
177
|
});
|
|
182
178
|
Object.defineProperty(exports, "DxcResultsetTable", {
|
|
@@ -191,12 +187,90 @@ Object.defineProperty(exports, "DxcChip", {
|
|
|
191
187
|
return _Chip["default"];
|
|
192
188
|
}
|
|
193
189
|
});
|
|
190
|
+
Object.defineProperty(exports, "DxcApplicationLayout", {
|
|
191
|
+
enumerable: true,
|
|
192
|
+
get: function get() {
|
|
193
|
+
return _ApplicationLayout["default"];
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "DxcToggleGroup", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function get() {
|
|
199
|
+
return _ToggleGroup["default"];
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "DxcAccordionGroup", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function get() {
|
|
205
|
+
return _AccordionGroup["default"];
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "DxcBadge", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function get() {
|
|
211
|
+
return _Badge["default"];
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
Object.defineProperty(exports, "DxcTextInput", {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function get() {
|
|
217
|
+
return _TextInput["default"];
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "DxcPasswordInput", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function get() {
|
|
223
|
+
return _PasswordInput["default"];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "DxcDateInput", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function get() {
|
|
229
|
+
return _DateInput["default"];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(exports, "DxcNumberInput", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function get() {
|
|
235
|
+
return _NumberInput["default"];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "DxcTextarea", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function get() {
|
|
241
|
+
return _Textarea["default"];
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "DxcNewSelect", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function get() {
|
|
247
|
+
return _NewSelect["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
|
|
|
@@ -230,8 +304,6 @@ var _Switch = _interopRequireDefault(require("./switch/Switch"));
|
|
|
230
304
|
|
|
231
305
|
var _Tabs = _interopRequireDefault(require("./tabs/Tabs"));
|
|
232
306
|
|
|
233
|
-
var _TabsForSections = _interopRequireDefault(require("./tabs-for-sections/TabsForSections"));
|
|
234
|
-
|
|
235
307
|
var _ProgressBar = _interopRequireDefault(require("./progress-bar/ProgressBar"));
|
|
236
308
|
|
|
237
309
|
var _Spinner = _interopRequireDefault(require("./spinner/Spinner"));
|
|
@@ -254,10 +326,34 @@ var _Link = _interopRequireDefault(require("./link/Link"));
|
|
|
254
326
|
|
|
255
327
|
var _Heading = _interopRequireDefault(require("./heading/Heading"));
|
|
256
328
|
|
|
257
|
-
var
|
|
329
|
+
var _V3Textarea = _interopRequireDefault(require("./V3Textarea/V3Textarea"));
|
|
258
330
|
|
|
259
331
|
var _ResultsetTable = _interopRequireDefault(require("./resultsetTable/ResultsetTable"));
|
|
260
332
|
|
|
261
333
|
var _Chip = _interopRequireDefault(require("./chip/Chip"));
|
|
262
334
|
|
|
263
|
-
var
|
|
335
|
+
var _ApplicationLayout = _interopRequireDefault(require("./layout/ApplicationLayout"));
|
|
336
|
+
|
|
337
|
+
var _ToggleGroup = _interopRequireDefault(require("./toggle-group/ToggleGroup"));
|
|
338
|
+
|
|
339
|
+
var _AccordionGroup = _interopRequireDefault(require("./accordion-group/AccordionGroup"));
|
|
340
|
+
|
|
341
|
+
var _Badge = _interopRequireDefault(require("./badge/Badge"));
|
|
342
|
+
|
|
343
|
+
var _TextInput = _interopRequireDefault(require("./text-input/TextInput"));
|
|
344
|
+
|
|
345
|
+
var _PasswordInput = _interopRequireDefault(require("./password-input/PasswordInput"));
|
|
346
|
+
|
|
347
|
+
var _DateInput = _interopRequireDefault(require("./date-input/DateInput"));
|
|
348
|
+
|
|
349
|
+
var _NumberInput = _interopRequireDefault(require("./number-input/NumberInput"));
|
|
350
|
+
|
|
351
|
+
var _Textarea = _interopRequireDefault(require("./textarea/Textarea"));
|
|
352
|
+
|
|
353
|
+
var _NewSelect = _interopRequireDefault(require("./new-select/NewSelect"));
|
|
354
|
+
|
|
355
|
+
var _FileInput = _interopRequireDefault(require("./file-input/FileInput"));
|
|
356
|
+
|
|
357
|
+
var _ThemeContext = _interopRequireWildcard(require("./ThemeContext.js"));
|
|
358
|
+
|
|
359
|
+
var _BackgroundColorContext = require("./BackgroundColorContext.js");
|