@dxc-technology/halstack-react 0.0.0-68c642b → 0.0.0-68dad03

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 (249) hide show
  1. package/README.md +46 -0
  2. package/dist/index.d.mts +3861 -0
  3. package/dist/index.d.ts +3861 -0
  4. package/dist/index.js +13818 -0
  5. package/dist/index.mjs +13731 -0
  6. package/package.json +87 -69
  7. package/BackgroundColorContext.d.ts +0 -10
  8. package/BackgroundColorContext.js +0 -48
  9. package/ThemeContext.d.ts +0 -15
  10. package/ThemeContext.js +0 -243
  11. package/V3Select/V3Select.js +0 -455
  12. package/V3Select/index.d.ts +0 -27
  13. package/V3Textarea/V3Textarea.js +0 -260
  14. package/V3Textarea/index.d.ts +0 -27
  15. package/accordion/Accordion.d.ts +0 -4
  16. package/accordion/Accordion.js +0 -258
  17. package/accordion/Accordion.stories.tsx +0 -300
  18. package/accordion/types.d.ts +0 -68
  19. package/accordion/types.js +0 -5
  20. package/accordion-group/AccordionGroup.d.ts +0 -7
  21. package/accordion-group/AccordionGroup.js +0 -170
  22. package/accordion-group/AccordionGroup.stories.tsx +0 -225
  23. package/accordion-group/types.d.ts +0 -72
  24. package/accordion-group/types.js +0 -5
  25. package/alert/Alert.d.ts +0 -4
  26. package/alert/Alert.js +0 -290
  27. package/alert/Alert.stories.tsx +0 -170
  28. package/alert/types.d.ts +0 -49
  29. package/alert/types.js +0 -5
  30. package/badge/Badge.js +0 -59
  31. package/box/Box.d.ts +0 -4
  32. package/box/Box.js +0 -126
  33. package/box/Box.stories.tsx +0 -132
  34. package/box/types.d.ts +0 -43
  35. package/box/types.js +0 -5
  36. package/button/Button.d.ts +0 -4
  37. package/button/Button.js +0 -179
  38. package/button/Button.stories.tsx +0 -276
  39. package/button/types.d.ts +0 -57
  40. package/button/types.js +0 -5
  41. package/card/Card.d.ts +0 -4
  42. package/card/Card.js +0 -164
  43. package/card/Card.stories.tsx +0 -201
  44. package/card/ice-cream.jpg +0 -0
  45. package/card/types.d.ts +0 -67
  46. package/card/types.js +0 -5
  47. package/checkbox/Checkbox.d.ts +0 -4
  48. package/checkbox/Checkbox.js +0 -253
  49. package/checkbox/Checkbox.stories.tsx +0 -192
  50. package/checkbox/types.d.ts +0 -60
  51. package/checkbox/types.js +0 -5
  52. package/chip/Chip.d.ts +0 -4
  53. package/chip/Chip.js +0 -199
  54. package/chip/Chip.stories.tsx +0 -121
  55. package/chip/types.d.ts +0 -53
  56. package/chip/types.js +0 -5
  57. package/common/OpenSans.css +0 -81
  58. package/common/RequiredComponent.js +0 -32
  59. package/common/fonts/OpenSans-Bold.ttf +0 -0
  60. package/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  61. package/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  62. package/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  63. package/common/fonts/OpenSans-Italic.ttf +0 -0
  64. package/common/fonts/OpenSans-Light.ttf +0 -0
  65. package/common/fonts/OpenSans-LightItalic.ttf +0 -0
  66. package/common/fonts/OpenSans-Regular.ttf +0 -0
  67. package/common/fonts/OpenSans-SemiBold.ttf +0 -0
  68. package/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  69. package/common/utils.js +0 -22
  70. package/common/variables.js +0 -1574
  71. package/date/Date.js +0 -373
  72. package/date/index.d.ts +0 -27
  73. package/date-input/DateInput.d.ts +0 -4
  74. package/date-input/DateInput.js +0 -358
  75. package/date-input/DateInput.stories.tsx +0 -138
  76. package/date-input/types.d.ts +0 -100
  77. package/date-input/types.js +0 -5
  78. package/dialog/Dialog.d.ts +0 -4
  79. package/dialog/Dialog.js +0 -165
  80. package/dialog/Dialog.stories.tsx +0 -212
  81. package/dialog/types.d.ts +0 -43
  82. package/dialog/types.js +0 -5
  83. package/dropdown/Dropdown.d.ts +0 -4
  84. package/dropdown/Dropdown.js +0 -417
  85. package/dropdown/Dropdown.stories.tsx +0 -247
  86. package/dropdown/types.d.ts +0 -89
  87. package/dropdown/types.js +0 -5
  88. package/file-input/FileInput.d.ts +0 -4
  89. package/file-input/FileInput.js +0 -521
  90. package/file-input/FileItem.d.ts +0 -14
  91. package/file-input/FileItem.js +0 -184
  92. package/file-input/types.d.ts +0 -112
  93. package/file-input/types.js +0 -5
  94. package/footer/Footer.d.ts +0 -4
  95. package/footer/Footer.js +0 -260
  96. package/footer/Footer.stories.tsx +0 -130
  97. package/footer/Icons.d.ts +0 -2
  98. package/footer/Icons.js +0 -77
  99. package/footer/types.d.ts +0 -65
  100. package/footer/types.js +0 -5
  101. package/header/Header.d.ts +0 -7
  102. package/header/Header.js +0 -324
  103. package/header/Header.stories.tsx +0 -162
  104. package/header/Icons.d.ts +0 -2
  105. package/header/Icons.js +0 -34
  106. package/header/types.d.ts +0 -47
  107. package/header/types.js +0 -5
  108. package/heading/Heading.d.ts +0 -4
  109. package/heading/Heading.js +0 -159
  110. package/heading/Heading.stories.tsx +0 -53
  111. package/heading/types.d.ts +0 -33
  112. package/heading/types.js +0 -5
  113. package/input-text/Icons.js +0 -22
  114. package/input-text/InputText.js +0 -611
  115. package/input-text/index.d.ts +0 -36
  116. package/layout/ApplicationLayout.d.ts +0 -10
  117. package/layout/ApplicationLayout.js +0 -225
  118. package/layout/ApplicationLayout.stories.tsx +0 -171
  119. package/layout/Icons.js +0 -55
  120. package/layout/types.d.ts +0 -57
  121. package/layout/types.js +0 -5
  122. package/link/Link.d.ts +0 -3
  123. package/link/Link.js +0 -161
  124. package/link/Link.stories.tsx +0 -146
  125. package/link/types.d.ts +0 -74
  126. package/link/types.js +0 -5
  127. package/list/List.d.ts +0 -8
  128. package/list/List.js +0 -47
  129. package/list/List.stories.tsx +0 -85
  130. package/main.d.ts +0 -48
  131. package/main.js +0 -395
  132. package/number-input/NumberInput.d.ts +0 -4
  133. package/number-input/NumberInput.js +0 -83
  134. package/number-input/NumberInput.stories.tsx +0 -115
  135. package/number-input/NumberInputContext.d.ts +0 -4
  136. package/number-input/NumberInputContext.js +0 -19
  137. package/number-input/numberInputContextTypes.d.ts +0 -19
  138. package/number-input/numberInputContextTypes.js +0 -5
  139. package/number-input/types.d.ts +0 -117
  140. package/number-input/types.js +0 -5
  141. package/paginator/Icons.js +0 -66
  142. package/paginator/Paginator.d.ts +0 -4
  143. package/paginator/Paginator.js +0 -192
  144. package/paginator/Paginator.stories.tsx +0 -63
  145. package/paginator/types.d.ts +0 -38
  146. package/paginator/types.js +0 -5
  147. package/password-input/PasswordInput.d.ts +0 -4
  148. package/password-input/PasswordInput.js +0 -163
  149. package/password-input/PasswordInput.stories.tsx +0 -131
  150. package/password-input/types.d.ts +0 -107
  151. package/password-input/types.js +0 -5
  152. package/progress-bar/ProgressBar.d.ts +0 -4
  153. package/progress-bar/ProgressBar.js +0 -170
  154. package/progress-bar/ProgressBar.stories.jsx +0 -58
  155. package/progress-bar/types.d.ts +0 -37
  156. package/progress-bar/types.js +0 -5
  157. package/radio/Radio.d.ts +0 -4
  158. package/radio/Radio.js +0 -174
  159. package/radio/Radio.stories.tsx +0 -192
  160. package/radio/types.d.ts +0 -54
  161. package/radio/types.js +0 -5
  162. package/resultsetTable/ResultsetTable.d.ts +0 -4
  163. package/resultsetTable/ResultsetTable.js +0 -251
  164. package/resultsetTable/ResultsetTable.stories.tsx +0 -276
  165. package/resultsetTable/types.d.ts +0 -67
  166. package/resultsetTable/types.js +0 -5
  167. package/row/Row.d.ts +0 -11
  168. package/row/Row.js +0 -124
  169. package/row/Row.stories.tsx +0 -223
  170. package/select/Select.js +0 -863
  171. package/select/Select.stories.tsx +0 -572
  172. package/select/index.d.ts +0 -131
  173. package/sidenav/Sidenav.d.ts +0 -9
  174. package/sidenav/Sidenav.js +0 -136
  175. package/sidenav/Sidenav.stories.tsx +0 -165
  176. package/sidenav/types.d.ts +0 -50
  177. package/sidenav/types.js +0 -5
  178. package/slider/Slider.d.ts +0 -4
  179. package/slider/Slider.js +0 -317
  180. package/slider/Slider.stories.tsx +0 -177
  181. package/slider/types.d.ts +0 -78
  182. package/slider/types.js +0 -5
  183. package/spinner/Spinner.d.ts +0 -4
  184. package/spinner/Spinner.js +0 -250
  185. package/spinner/Spinner.stories.jsx +0 -102
  186. package/spinner/types.d.ts +0 -32
  187. package/spinner/types.js +0 -5
  188. package/stack/Stack.d.ts +0 -10
  189. package/stack/Stack.js +0 -94
  190. package/stack/Stack.stories.tsx +0 -150
  191. package/switch/Switch.d.ts +0 -4
  192. package/switch/Switch.js +0 -179
  193. package/switch/Switch.stories.tsx +0 -160
  194. package/switch/types.d.ts +0 -58
  195. package/switch/types.js +0 -5
  196. package/table/Table.d.ts +0 -4
  197. package/table/Table.js +0 -118
  198. package/table/Table.stories.jsx +0 -276
  199. package/table/types.d.ts +0 -21
  200. package/table/types.js +0 -5
  201. package/tabs/Tabs.d.ts +0 -4
  202. package/tabs/Tabs.js +0 -213
  203. package/tabs/Tabs.stories.tsx +0 -121
  204. package/tabs/types.d.ts +0 -70
  205. package/tabs/types.js +0 -5
  206. package/tag/Tag.d.ts +0 -4
  207. package/tag/Tag.js +0 -193
  208. package/tag/Tag.stories.tsx +0 -145
  209. package/tag/types.d.ts +0 -60
  210. package/tag/types.js +0 -5
  211. package/text/Text.d.ts +0 -7
  212. package/text/Text.js +0 -30
  213. package/text/Text.stories.tsx +0 -19
  214. package/text-input/TextInput.d.ts +0 -4
  215. package/text-input/TextInput.js +0 -786
  216. package/text-input/TextInput.stories.tsx +0 -456
  217. package/text-input/types.d.ts +0 -159
  218. package/text-input/types.js +0 -5
  219. package/textarea/Textarea.d.ts +0 -4
  220. package/textarea/Textarea.js +0 -284
  221. package/textarea/Textarea.stories.jsx +0 -135
  222. package/textarea/types.d.ts +0 -130
  223. package/textarea/types.js +0 -5
  224. package/toggle/Toggle.js +0 -186
  225. package/toggle/index.d.ts +0 -21
  226. package/toggle-group/ToggleGroup.d.ts +0 -4
  227. package/toggle-group/ToggleGroup.js +0 -217
  228. package/toggle-group/ToggleGroup.stories.tsx +0 -178
  229. package/toggle-group/types.d.ts +0 -84
  230. package/toggle-group/types.js +0 -5
  231. package/upload/Upload.js +0 -201
  232. package/upload/buttons-upload/ButtonsUpload.js +0 -111
  233. package/upload/buttons-upload/Icons.js +0 -40
  234. package/upload/dragAndDropArea/DragAndDropArea.js +0 -225
  235. package/upload/dragAndDropArea/Icons.js +0 -39
  236. package/upload/file-upload/FileToUpload.js +0 -115
  237. package/upload/file-upload/Icons.js +0 -66
  238. package/upload/files-upload/FilesToUpload.js +0 -109
  239. package/upload/index.d.ts +0 -15
  240. package/upload/transaction/Icons.js +0 -160
  241. package/upload/transaction/Transaction.js +0 -104
  242. package/upload/transactions/Transactions.js +0 -94
  243. package/useTheme.d.ts +0 -2
  244. package/useTheme.js +0 -22
  245. package/wizard/Wizard.d.ts +0 -4
  246. package/wizard/Wizard.js +0 -281
  247. package/wizard/Wizard.stories.tsx +0 -224
  248. package/wizard/types.d.ts +0 -60
  249. package/wizard/types.js +0 -5
package/wizard/types.d.ts DELETED
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Space = "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
3
- declare type Margin = {
4
- top?: Space;
5
- bottom?: Space;
6
- left?: Space;
7
- right?: Space;
8
- };
9
- declare type SVG = React.SVGProps<SVGSVGElement> | React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
10
- declare type Step = {
11
- /**
12
- * Step label.
13
- */
14
- label: string;
15
- /**
16
- * Description that will be placed next to the step.
17
- */
18
- description?: string;
19
- /**
20
- * Element or path used as the icon displayed in the step.
21
- */
22
- icon?: string | SVG;
23
- /**
24
- * Whether the step is disabled or not.
25
- */
26
- disabled?: boolean;
27
- /**
28
- * Whether the step is valid or not.
29
- */
30
- valid?: boolean;
31
- };
32
- declare type Props = {
33
- /**
34
- * The wizard can be showed in horizontal or vertical.
35
- */
36
- mode?: "horizontal" | "vertical";
37
- /**
38
- * Defines which step is marked as the current. The numeration starts in 0.
39
- */
40
- currentStep?: number;
41
- /**
42
- * This function will be called when the user clicks a step. The step
43
- * number will be passed as a parameter.
44
- */
45
- onStepClick?: (newCurrentStep: number) => void;
46
- /**
47
- * An array of objects representing the steps.
48
- */
49
- steps: Step[];
50
- /**
51
- * Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
52
- * You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
53
- */
54
- margin?: Space | Margin;
55
- /**
56
- * Value of the tabindex attribute that is given to all the steps.
57
- */
58
- tabIndex?: number;
59
- };
60
- export default Props;
package/wizard/types.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });