@dxc-technology/halstack-react 0.0.0-c709eea → 0.0.0-c796a1b

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.
Files changed (212) hide show
  1. package/BackgroundColorContext.d.ts +10 -0
  2. package/BackgroundColorContext.js +1 -3
  3. package/ThemeContext.d.ts +15 -0
  4. package/ThemeContext.js +5 -8
  5. package/V3Select/V3Select.js +2 -2
  6. package/V3Textarea/V3Textarea.js +2 -2
  7. package/accordion/Accordion.js +2 -2
  8. package/accordion/types.d.ts +1 -1
  9. package/accordion-group/AccordionGroup.js +2 -2
  10. package/accordion-group/AccordionGroup.stories.tsx +225 -0
  11. package/accordion-group/types.d.ts +1 -1
  12. package/alert/Alert.js +2 -2
  13. package/alert/Alert.stories.tsx +170 -0
  14. package/alert/types.d.ts +1 -1
  15. package/badge/Badge.js +1 -1
  16. package/box/Box.d.ts +4 -0
  17. package/box/Box.js +6 -32
  18. package/box/Box.stories.tsx +132 -0
  19. package/box/types.d.ts +43 -0
  20. package/box/types.js +5 -0
  21. package/button/Button.d.ts +1 -1
  22. package/button/Button.js +9 -12
  23. package/button/Button.stories.tsx +217 -234
  24. package/button/types.d.ts +11 -11
  25. package/card/Card.js +5 -6
  26. package/card/Card.stories.tsx +201 -0
  27. package/card/ice-cream.jpg +0 -0
  28. package/card/types.d.ts +4 -6
  29. package/checkbox/Checkbox.js +2 -2
  30. package/checkbox/Checkbox.stories.tsx +192 -0
  31. package/checkbox/types.d.ts +1 -1
  32. package/chip/Chip.d.ts +4 -0
  33. package/chip/Chip.js +1 -23
  34. package/chip/Chip.stories.tsx +121 -0
  35. package/chip/types.d.ts +53 -0
  36. package/chip/types.js +5 -0
  37. package/common/variables.js +48 -43
  38. package/date/Date.js +1 -1
  39. package/date-input/DateInput.js +4 -7
  40. package/date-input/DateInput.stories.tsx +138 -0
  41. package/dialog/Dialog.d.ts +4 -0
  42. package/dialog/Dialog.js +6 -25
  43. package/dialog/Dialog.stories.tsx +212 -0
  44. package/dialog/types.d.ts +43 -0
  45. package/dialog/types.js +5 -0
  46. package/dropdown/Dropdown.d.ts +4 -0
  47. package/dropdown/Dropdown.js +8 -41
  48. package/dropdown/types.d.ts +89 -0
  49. package/dropdown/types.js +5 -0
  50. package/file-input/FileInput.d.ts +4 -0
  51. package/file-input/FileInput.js +65 -76
  52. package/file-input/FileItem.d.ts +14 -0
  53. package/file-input/FileItem.js +12 -21
  54. package/file-input/types.d.ts +112 -0
  55. package/file-input/types.js +5 -0
  56. package/footer/Footer.d.ts +4 -0
  57. package/footer/Footer.js +15 -52
  58. package/footer/Footer.stories.tsx +130 -0
  59. package/footer/Icons.d.ts +2 -0
  60. package/footer/Icons.js +3 -3
  61. package/footer/types.d.ts +65 -0
  62. package/footer/types.js +5 -0
  63. package/header/Header.d.ts +7 -0
  64. package/header/Header.js +28 -30
  65. package/header/Header.stories.tsx +162 -0
  66. package/header/Icons.d.ts +2 -0
  67. package/header/Icons.js +2 -27
  68. package/header/types.d.ts +47 -0
  69. package/header/types.js +5 -0
  70. package/heading/Heading.d.ts +4 -0
  71. package/heading/Heading.js +7 -24
  72. package/heading/Heading.stories.tsx +53 -0
  73. package/heading/types.d.ts +33 -0
  74. package/heading/types.js +5 -0
  75. package/input-text/InputText.js +2 -2
  76. package/layout/ApplicationLayout.d.ts +10 -0
  77. package/layout/ApplicationLayout.js +8 -18
  78. package/layout/ApplicationLayout.stories.tsx +171 -0
  79. package/layout/types.d.ts +57 -0
  80. package/layout/types.js +5 -0
  81. package/link/Link.d.ts +3 -0
  82. package/link/Link.js +4 -26
  83. package/link/Link.stories.tsx +146 -0
  84. package/link/types.d.ts +74 -0
  85. package/link/types.js +5 -0
  86. package/list/List.d.ts +7 -0
  87. package/list/List.js +37 -0
  88. package/list/List.stories.tsx +70 -0
  89. package/main.d.ts +7 -3
  90. package/main.js +34 -2
  91. package/number-input/NumberInput.d.ts +4 -0
  92. package/number-input/NumberInput.js +5 -50
  93. package/number-input/NumberInput.stories.tsx +115 -0
  94. package/number-input/NumberInputContext.d.ts +4 -0
  95. package/number-input/NumberInputContext.js +5 -2
  96. package/number-input/numberInputContextTypes.d.ts +19 -0
  97. package/number-input/numberInputContextTypes.js +5 -0
  98. package/number-input/types.d.ts +117 -0
  99. package/number-input/types.js +5 -0
  100. package/package.json +1 -1
  101. package/paginator/Paginator.js +2 -8
  102. package/paginator/Paginator.stories.tsx +63 -0
  103. package/password-input/PasswordInput.d.ts +4 -0
  104. package/password-input/PasswordInput.js +19 -55
  105. package/password-input/{PasswordInput.stories.jsx → PasswordInput.stories.tsx} +1 -1
  106. package/password-input/types.d.ts +107 -0
  107. package/password-input/types.js +5 -0
  108. package/progress-bar/ProgressBar.d.ts +4 -0
  109. package/progress-bar/ProgressBar.js +5 -23
  110. package/progress-bar/ProgressBar.stories.jsx +58 -0
  111. package/progress-bar/types.d.ts +37 -0
  112. package/progress-bar/types.js +5 -0
  113. package/radio/Radio.js +2 -2
  114. package/radio/Radio.stories.tsx +192 -0
  115. package/radio/types.d.ts +2 -2
  116. package/resultsetTable/ResultsetTable.d.ts +4 -0
  117. package/resultsetTable/ResultsetTable.js +4 -27
  118. package/resultsetTable/ResultsetTable.stories.tsx +276 -0
  119. package/resultsetTable/types.d.ts +67 -0
  120. package/resultsetTable/types.js +5 -0
  121. package/row/Row.d.ts +11 -0
  122. package/row/Row.js +124 -0
  123. package/row/Row.stories.tsx +223 -0
  124. package/select/Select.js +15 -17
  125. package/select/Select.stories.tsx +572 -0
  126. package/select/index.d.ts +2 -2
  127. package/sidenav/Sidenav.d.ts +9 -0
  128. package/sidenav/Sidenav.js +6 -15
  129. package/sidenav/Sidenav.stories.tsx +165 -0
  130. package/sidenav/types.d.ts +50 -0
  131. package/sidenav/types.js +5 -0
  132. package/slider/Slider.d.ts +4 -0
  133. package/slider/Slider.js +61 -84
  134. package/slider/Slider.stories.tsx +177 -0
  135. package/slider/types.d.ts +78 -0
  136. package/slider/types.js +5 -0
  137. package/spinner/Spinner.d.ts +4 -0
  138. package/spinner/Spinner.js +8 -25
  139. package/spinner/Spinner.stories.jsx +102 -0
  140. package/spinner/types.d.ts +32 -0
  141. package/spinner/types.js +5 -0
  142. package/stack/Stack.d.ts +10 -0
  143. package/stack/Stack.js +94 -0
  144. package/stack/Stack.stories.tsx +150 -0
  145. package/switch/Switch.js +4 -4
  146. package/switch/Switch.stories.tsx +160 -0
  147. package/table/Table.d.ts +4 -0
  148. package/table/Table.js +3 -3
  149. package/table/Table.stories.jsx +276 -0
  150. package/table/types.d.ts +21 -0
  151. package/table/types.js +5 -0
  152. package/tabs/Tabs.d.ts +4 -0
  153. package/tabs/Tabs.js +9 -55
  154. package/tabs/Tabs.stories.tsx +121 -0
  155. package/tabs/types.d.ts +70 -0
  156. package/tabs/types.js +5 -0
  157. package/tag/Tag.d.ts +4 -0
  158. package/tag/Tag.js +21 -36
  159. package/tag/Tag.stories.tsx +145 -0
  160. package/tag/types.d.ts +60 -0
  161. package/tag/types.js +5 -0
  162. package/text/Text.d.ts +7 -0
  163. package/text/Text.js +30 -0
  164. package/text/Text.stories.tsx +19 -0
  165. package/text-input/TextInput.d.ts +4 -0
  166. package/text-input/TextInput.js +42 -81
  167. package/text-input/TextInput.stories.tsx +456 -0
  168. package/text-input/types.d.ts +159 -0
  169. package/text-input/types.js +5 -0
  170. package/textarea/Textarea.js +29 -32
  171. package/textarea/index.d.ts +18 -8
  172. package/toggle/Toggle.js +1 -1
  173. package/toggle-group/ToggleGroup.d.ts +4 -0
  174. package/toggle-group/ToggleGroup.js +8 -34
  175. package/toggle-group/ToggleGroup.stories.tsx +178 -0
  176. package/toggle-group/types.d.ts +84 -0
  177. package/toggle-group/types.js +5 -0
  178. package/upload/buttons-upload/ButtonsUpload.js +2 -2
  179. package/upload/dragAndDropArea/DragAndDropArea.js +2 -2
  180. package/upload/file-upload/FileToUpload.js +1 -1
  181. package/upload/files-upload/FilesToUpload.js +1 -1
  182. package/upload/transaction/Transaction.js +2 -2
  183. package/upload/transactions/Transactions.js +1 -1
  184. package/useTheme.d.ts +2 -0
  185. package/useTheme.js +1 -1
  186. package/wizard/Wizard.d.ts +4 -0
  187. package/wizard/Wizard.js +13 -53
  188. package/wizard/Wizard.stories.jsx +224 -0
  189. package/wizard/types.d.ts +64 -0
  190. package/wizard/types.js +5 -0
  191. package/box/index.d.ts +0 -25
  192. package/chip/index.d.ts +0 -22
  193. package/dialog/index.d.ts +0 -18
  194. package/dropdown/index.d.ts +0 -26
  195. package/file-input/index.d.ts +0 -81
  196. package/footer/index.d.ts +0 -25
  197. package/header/index.d.ts +0 -25
  198. package/heading/index.d.ts +0 -17
  199. package/link/index.d.ts +0 -23
  200. package/number-input/index.d.ts +0 -113
  201. package/password-input/index.d.ts +0 -94
  202. package/progress-bar/index.d.ts +0 -18
  203. package/resultsetTable/index.d.ts +0 -19
  204. package/sidenav/index.d.ts +0 -13
  205. package/slider/index.d.ts +0 -29
  206. package/spinner/index.d.ts +0 -17
  207. package/table/index.d.ts +0 -13
  208. package/tabs/index.d.ts +0 -19
  209. package/tag/index.d.ts +0 -24
  210. package/text-input/index.d.ts +0 -135
  211. package/toggle-group/index.d.ts +0 -21
  212. package/wizard/index.d.ts +0 -18
@@ -1,21 +0,0 @@
1
- type Space = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
2
- type Margin = {
3
- top?: Space;
4
- bottom?: Space;
5
- left?: Space;
6
- right?: Space;
7
- };
8
-
9
- type Props = {
10
- label?: string;
11
- helperText?: string;
12
- value?: any;
13
- onChange?: void;
14
- disabled?: boolean;
15
- options?: any;
16
- multiple?: boolean;
17
- margin?: Space | Margin;
18
- tabIndex?: number;
19
- };
20
-
21
- export default function DxcToggleGroup(props: Props): JSX.Element;
package/wizard/index.d.ts DELETED
@@ -1,18 +0,0 @@
1
- type Space = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
2
- type Margin = {
3
- top?: Space;
4
- bottom?: Space;
5
- left?: Space;
6
- right?: Space;
7
- };
8
-
9
- type Props = {
10
- mode?: "horizontal" | "vertical";
11
- currentStep?: number;
12
- onStepClick?: void;
13
- steps?: any;
14
- margin?: Space | Margin;
15
- tabIndex?: number;
16
- };
17
-
18
- export default function DxcWizard(props: Props): JSX.Element;