@dxc-technology/halstack-react 0.0.0-f2bad31 → 0.0.0-f2ee373

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 (426) hide show
  1. package/README.md +1 -2
  2. package/dist/index.d.mts +6670 -0
  3. package/dist/index.d.ts +6670 -0
  4. package/dist/index.js +14289 -0
  5. package/dist/index.mjs +14232 -0
  6. package/package.json +66 -66
  7. package/BackgroundColorContext.d.ts +0 -1
  8. package/BackgroundColorContext.js +0 -30
  9. package/HalstackContext.d.ts +0 -1249
  10. package/HalstackContext.js +0 -310
  11. package/accordion/Accordion.accessibility.test.js +0 -71
  12. package/accordion/Accordion.d.ts +0 -4
  13. package/accordion/Accordion.js +0 -169
  14. package/accordion/Accordion.stories.tsx +0 -251
  15. package/accordion/Accordion.test.js +0 -56
  16. package/accordion/types.d.ts +0 -57
  17. package/accordion/types.js +0 -5
  18. package/accordion-group/AccordionGroup.accessibility.test.js +0 -88
  19. package/accordion-group/AccordionGroup.d.ts +0 -7
  20. package/accordion-group/AccordionGroup.js +0 -101
  21. package/accordion-group/AccordionGroup.stories.tsx +0 -252
  22. package/accordion-group/AccordionGroup.test.js +0 -98
  23. package/accordion-group/AccordionGroupAccordion.d.ts +0 -4
  24. package/accordion-group/AccordionGroupAccordion.js +0 -31
  25. package/accordion-group/AccordionGroupContext.d.ts +0 -3
  26. package/accordion-group/AccordionGroupContext.js +0 -8
  27. package/accordion-group/types.d.ts +0 -67
  28. package/accordion-group/types.js +0 -5
  29. package/action-icon/ActionIcon.accessibility.test.js +0 -63
  30. package/action-icon/ActionIcon.d.ts +0 -4
  31. package/action-icon/ActionIcon.js +0 -48
  32. package/action-icon/ActionIcon.stories.tsx +0 -41
  33. package/action-icon/ActionIcon.test.js +0 -64
  34. package/action-icon/types.d.ts +0 -26
  35. package/action-icon/types.js +0 -5
  36. package/alert/Alert.accessibility.test.js +0 -95
  37. package/alert/Alert.d.ts +0 -4
  38. package/alert/Alert.js +0 -200
  39. package/alert/Alert.stories.tsx +0 -198
  40. package/alert/Alert.test.js +0 -75
  41. package/alert/types.d.ts +0 -49
  42. package/alert/types.js +0 -5
  43. package/badge/Badge.accessibility.test.js +0 -129
  44. package/badge/Badge.d.ts +0 -4
  45. package/badge/Badge.js +0 -159
  46. package/badge/Badge.stories.tsx +0 -210
  47. package/badge/Badge.test.js +0 -30
  48. package/badge/types.d.ts +0 -54
  49. package/badge/types.js +0 -5
  50. package/bleed/Bleed.d.ts +0 -3
  51. package/bleed/Bleed.js +0 -43
  52. package/bleed/Bleed.stories.tsx +0 -342
  53. package/bleed/types.d.ts +0 -37
  54. package/bleed/types.js +0 -5
  55. package/box/Box.accessibility.test.js +0 -33
  56. package/box/Box.d.ts +0 -4
  57. package/box/Box.js +0 -75
  58. package/box/Box.stories.tsx +0 -119
  59. package/box/Box.test.js +0 -13
  60. package/box/types.d.ts +0 -32
  61. package/box/types.js +0 -5
  62. package/bulleted-list/BulletedList.accessibility.test.js +0 -107
  63. package/bulleted-list/BulletedList.d.ts +0 -7
  64. package/bulleted-list/BulletedList.js +0 -92
  65. package/bulleted-list/BulletedList.stories.tsx +0 -115
  66. package/bulleted-list/types.d.ts +0 -38
  67. package/bulleted-list/types.js +0 -5
  68. package/button/Button.accessibility.test.js +0 -127
  69. package/button/Button.d.ts +0 -4
  70. package/button/Button.js +0 -121
  71. package/button/Button.stories.tsx +0 -325
  72. package/button/Button.test.js +0 -38
  73. package/button/types.d.ts +0 -57
  74. package/button/types.js +0 -5
  75. package/card/Card.accessibility.test.js +0 -36
  76. package/card/Card.d.ts +0 -4
  77. package/card/Card.js +0 -120
  78. package/card/Card.stories.tsx +0 -171
  79. package/card/Card.test.js +0 -39
  80. package/card/types.d.ts +0 -62
  81. package/card/types.js +0 -5
  82. package/checkbox/Checkbox.accessibility.test.js +0 -87
  83. package/checkbox/Checkbox.d.ts +0 -4
  84. package/checkbox/Checkbox.js +0 -215
  85. package/checkbox/Checkbox.stories.tsx +0 -222
  86. package/checkbox/Checkbox.test.js +0 -199
  87. package/checkbox/types.d.ts +0 -72
  88. package/checkbox/types.js +0 -5
  89. package/chip/Chip.accessibility.test.js +0 -67
  90. package/chip/Chip.d.ts +0 -4
  91. package/chip/Chip.js +0 -124
  92. package/chip/Chip.stories.tsx +0 -195
  93. package/chip/Chip.test.js +0 -41
  94. package/chip/types.d.ts +0 -45
  95. package/chip/types.js +0 -5
  96. package/common/coreTokens.d.ts +0 -237
  97. package/common/coreTokens.js +0 -184
  98. package/common/utils.d.ts +0 -1
  99. package/common/utils.js +0 -16
  100. package/common/variables.d.ts +0 -1395
  101. package/common/variables.js +0 -1267
  102. package/container/Container.d.ts +0 -4
  103. package/container/Container.js +0 -194
  104. package/container/Container.stories.tsx +0 -214
  105. package/container/types.d.ts +0 -74
  106. package/container/types.js +0 -5
  107. package/contextual-menu/ContextualMenu.accessibility.test.js +0 -86
  108. package/contextual-menu/ContextualMenu.d.ts +0 -7
  109. package/contextual-menu/ContextualMenu.js +0 -71
  110. package/contextual-menu/ContextualMenu.stories.tsx +0 -182
  111. package/contextual-menu/ContextualMenu.test.js +0 -71
  112. package/contextual-menu/MenuItemAction.d.ts +0 -4
  113. package/contextual-menu/MenuItemAction.js +0 -46
  114. package/contextual-menu/types.d.ts +0 -22
  115. package/contextual-menu/types.js +0 -5
  116. package/date-input/Calendar.d.ts +0 -4
  117. package/date-input/Calendar.js +0 -214
  118. package/date-input/DateInput.accessibility.test.js +0 -216
  119. package/date-input/DateInput.d.ts +0 -4
  120. package/date-input/DateInput.js +0 -223
  121. package/date-input/DateInput.stories.tsx +0 -285
  122. package/date-input/DateInput.test.js +0 -808
  123. package/date-input/DatePicker.d.ts +0 -4
  124. package/date-input/DatePicker.js +0 -115
  125. package/date-input/Icons.d.ts +0 -6
  126. package/date-input/Icons.js +0 -58
  127. package/date-input/YearPicker.d.ts +0 -4
  128. package/date-input/YearPicker.js +0 -100
  129. package/date-input/types.d.ts +0 -164
  130. package/date-input/types.js +0 -5
  131. package/dialog/Dialog.accessibility.test.js +0 -69
  132. package/dialog/Dialog.d.ts +0 -4
  133. package/dialog/Dialog.js +0 -104
  134. package/dialog/Dialog.stories.tsx +0 -365
  135. package/dialog/Dialog.test.js +0 -307
  136. package/dialog/types.d.ts +0 -36
  137. package/dialog/types.js +0 -5
  138. package/divider/Divider.accessibility.test.js +0 -33
  139. package/divider/Divider.d.ts +0 -4
  140. package/divider/Divider.js +0 -36
  141. package/divider/Divider.stories.tsx +0 -223
  142. package/divider/Divider.test.js +0 -38
  143. package/divider/types.d.ts +0 -21
  144. package/divider/types.js +0 -5
  145. package/dropdown/Dropdown.accessibility.test.js +0 -180
  146. package/dropdown/Dropdown.d.ts +0 -4
  147. package/dropdown/Dropdown.js +0 -319
  148. package/dropdown/Dropdown.stories.tsx +0 -427
  149. package/dropdown/Dropdown.test.js +0 -599
  150. package/dropdown/DropdownMenu.d.ts +0 -4
  151. package/dropdown/DropdownMenu.js +0 -63
  152. package/dropdown/DropdownMenuItem.d.ts +0 -4
  153. package/dropdown/DropdownMenuItem.js +0 -70
  154. package/dropdown/types.d.ts +0 -96
  155. package/dropdown/types.js +0 -5
  156. package/file-input/FileInput.accessibility.test.js +0 -160
  157. package/file-input/FileInput.d.ts +0 -4
  158. package/file-input/FileInput.js +0 -479
  159. package/file-input/FileInput.stories.tsx +0 -618
  160. package/file-input/FileInput.test.js +0 -459
  161. package/file-input/FileItem.d.ts +0 -4
  162. package/file-input/FileItem.js +0 -135
  163. package/file-input/types.d.ts +0 -129
  164. package/file-input/types.js +0 -5
  165. package/flex/Flex.d.ts +0 -4
  166. package/flex/Flex.js +0 -57
  167. package/flex/Flex.stories.tsx +0 -112
  168. package/flex/types.d.ts +0 -97
  169. package/flex/types.js +0 -5
  170. package/footer/Footer.accessibility.test.js +0 -117
  171. package/footer/Footer.d.ts +0 -4
  172. package/footer/Footer.js +0 -138
  173. package/footer/Footer.stories.tsx +0 -170
  174. package/footer/Footer.test.js +0 -85
  175. package/footer/Icons.d.ts +0 -3
  176. package/footer/Icons.js +0 -136
  177. package/footer/types.d.ts +0 -64
  178. package/footer/types.js +0 -5
  179. package/grid/Grid.d.ts +0 -7
  180. package/grid/Grid.js +0 -76
  181. package/grid/Grid.stories.tsx +0 -219
  182. package/grid/types.d.ts +0 -115
  183. package/grid/types.js +0 -5
  184. package/header/Header.accessibility.test.js +0 -84
  185. package/header/Header.d.ts +0 -8
  186. package/header/Header.js +0 -220
  187. package/header/Header.stories.tsx +0 -251
  188. package/header/Header.test.js +0 -66
  189. package/header/Icons.d.ts +0 -2
  190. package/header/Icons.js +0 -29
  191. package/header/types.d.ts +0 -33
  192. package/header/types.js +0 -5
  193. package/heading/Heading.accessibility.test.js +0 -33
  194. package/heading/Heading.d.ts +0 -4
  195. package/heading/Heading.js +0 -137
  196. package/heading/Heading.stories.tsx +0 -54
  197. package/heading/Heading.test.js +0 -169
  198. package/heading/types.d.ts +0 -33
  199. package/heading/types.js +0 -5
  200. package/icon/Icon.accessibility.test.js +0 -30
  201. package/icon/Icon.d.ts +0 -4
  202. package/icon/Icon.js +0 -33
  203. package/icon/Icon.stories.tsx +0 -28
  204. package/icon/types.d.ts +0 -4
  205. package/icon/types.js +0 -5
  206. package/image/Image.accessibility.test.js +0 -56
  207. package/image/Image.d.ts +0 -4
  208. package/image/Image.js +0 -70
  209. package/image/Image.stories.tsx +0 -129
  210. package/image/types.d.ts +0 -72
  211. package/image/types.js +0 -5
  212. package/inset/Inset.d.ts +0 -3
  213. package/inset/Inset.js +0 -43
  214. package/inset/Inset.stories.tsx +0 -230
  215. package/inset/types.d.ts +0 -37
  216. package/inset/types.js +0 -5
  217. package/layout/ApplicationLayout.d.ts +0 -20
  218. package/layout/ApplicationLayout.js +0 -134
  219. package/layout/ApplicationLayout.stories.tsx +0 -162
  220. package/layout/Icons.d.ts +0 -8
  221. package/layout/Icons.js +0 -56
  222. package/layout/types.d.ts +0 -41
  223. package/layout/types.js +0 -5
  224. package/link/Link.accessibility.test.js +0 -112
  225. package/link/Link.d.ts +0 -4
  226. package/link/Link.js +0 -115
  227. package/link/Link.stories.tsx +0 -253
  228. package/link/Link.test.js +0 -63
  229. package/link/types.d.ts +0 -54
  230. package/link/types.js +0 -5
  231. package/main.d.ts +0 -49
  232. package/main.js +0 -357
  233. package/nav-tabs/NavTabs.accessibility.test.js +0 -52
  234. package/nav-tabs/NavTabs.d.ts +0 -7
  235. package/nav-tabs/NavTabs.js +0 -93
  236. package/nav-tabs/NavTabs.stories.tsx +0 -276
  237. package/nav-tabs/NavTabs.test.js +0 -76
  238. package/nav-tabs/NavTabsContext.d.ts +0 -3
  239. package/nav-tabs/NavTabsContext.js +0 -8
  240. package/nav-tabs/Tab.d.ts +0 -4
  241. package/nav-tabs/Tab.js +0 -118
  242. package/nav-tabs/types.d.ts +0 -52
  243. package/nav-tabs/types.js +0 -5
  244. package/number-input/NumberInput.accessibility.test.js +0 -228
  245. package/number-input/NumberInput.d.ts +0 -4
  246. package/number-input/NumberInput.js +0 -86
  247. package/number-input/NumberInput.stories.tsx +0 -131
  248. package/number-input/NumberInput.test.js +0 -989
  249. package/number-input/NumberInputContext.d.ts +0 -3
  250. package/number-input/NumberInputContext.js +0 -8
  251. package/number-input/types.d.ts +0 -136
  252. package/number-input/types.js +0 -5
  253. package/paginator/Icons.d.ts +0 -5
  254. package/paginator/Icons.js +0 -40
  255. package/paginator/Paginator.accessibility.test.js +0 -79
  256. package/paginator/Paginator.d.ts +0 -4
  257. package/paginator/Paginator.js +0 -135
  258. package/paginator/Paginator.stories.tsx +0 -87
  259. package/paginator/Paginator.test.js +0 -335
  260. package/paginator/types.d.ts +0 -38
  261. package/paginator/types.js +0 -5
  262. package/paragraph/Paragraph.accessibility.test.js +0 -28
  263. package/paragraph/Paragraph.d.ts +0 -5
  264. package/paragraph/Paragraph.js +0 -22
  265. package/paragraph/Paragraph.stories.tsx +0 -27
  266. package/password-input/Icons.d.ts +0 -6
  267. package/password-input/Icons.js +0 -35
  268. package/password-input/PasswordInput.accessibility.test.js +0 -153
  269. package/password-input/PasswordInput.d.ts +0 -4
  270. package/password-input/PasswordInput.js +0 -97
  271. package/password-input/PasswordInput.stories.tsx +0 -99
  272. package/password-input/PasswordInput.test.js +0 -198
  273. package/password-input/types.d.ts +0 -111
  274. package/password-input/types.js +0 -5
  275. package/progress-bar/ProgressBar.accessibility.test.js +0 -35
  276. package/progress-bar/ProgressBar.d.ts +0 -4
  277. package/progress-bar/ProgressBar.js +0 -144
  278. package/progress-bar/ProgressBar.stories.tsx +0 -93
  279. package/progress-bar/ProgressBar.test.js +0 -93
  280. package/progress-bar/types.d.ts +0 -37
  281. package/progress-bar/types.js +0 -5
  282. package/quick-nav/QuickNav.accessibility.test.js +0 -57
  283. package/quick-nav/QuickNav.d.ts +0 -4
  284. package/quick-nav/QuickNav.js +0 -94
  285. package/quick-nav/QuickNav.stories.tsx +0 -356
  286. package/quick-nav/types.d.ts +0 -21
  287. package/quick-nav/types.js +0 -5
  288. package/radio-group/Radio.d.ts +0 -4
  289. package/radio-group/Radio.js +0 -124
  290. package/radio-group/RadioGroup.accessibility.test.js +0 -97
  291. package/radio-group/RadioGroup.d.ts +0 -4
  292. package/radio-group/RadioGroup.js +0 -235
  293. package/radio-group/RadioGroup.stories.tsx +0 -214
  294. package/radio-group/RadioGroup.test.js +0 -756
  295. package/radio-group/types.d.ts +0 -114
  296. package/radio-group/types.js +0 -5
  297. package/resultset-table/Icons.d.ts +0 -7
  298. package/resultset-table/Icons.js +0 -47
  299. package/resultset-table/ResultsetTable.accessibility.test.js +0 -274
  300. package/resultset-table/ResultsetTable.d.ts +0 -7
  301. package/resultset-table/ResultsetTable.js +0 -170
  302. package/resultset-table/ResultsetTable.stories.tsx +0 -401
  303. package/resultset-table/ResultsetTable.test.js +0 -381
  304. package/resultset-table/types.d.ts +0 -100
  305. package/resultset-table/types.js +0 -5
  306. package/select/Icons.d.ts +0 -10
  307. package/select/Icons.js +0 -89
  308. package/select/Listbox.d.ts +0 -4
  309. package/select/Listbox.js +0 -143
  310. package/select/Option.d.ts +0 -4
  311. package/select/Option.js +0 -87
  312. package/select/Select.accessibility.test.js +0 -217
  313. package/select/Select.d.ts +0 -4
  314. package/select/Select.js +0 -590
  315. package/select/Select.stories.tsx +0 -970
  316. package/select/Select.test.js +0 -2370
  317. package/select/types.d.ts +0 -209
  318. package/select/types.js +0 -5
  319. package/sidenav/Icons.d.ts +0 -7
  320. package/sidenav/Icons.js +0 -47
  321. package/sidenav/Sidenav.accessibility.test.js +0 -59
  322. package/sidenav/Sidenav.d.ts +0 -10
  323. package/sidenav/Sidenav.js +0 -197
  324. package/sidenav/Sidenav.stories.tsx +0 -281
  325. package/sidenav/Sidenav.test.js +0 -37
  326. package/sidenav/SidenavContext.d.ts +0 -5
  327. package/sidenav/SidenavContext.js +0 -13
  328. package/sidenav/types.d.ts +0 -76
  329. package/sidenav/types.js +0 -5
  330. package/slider/Slider.accessibility.test.js +0 -104
  331. package/slider/Slider.d.ts +0 -4
  332. package/slider/Slider.js +0 -285
  333. package/slider/Slider.test.js +0 -254
  334. package/slider/types.d.ts +0 -86
  335. package/slider/types.js +0 -5
  336. package/spinner/Spinner.accessibility.test.js +0 -96
  337. package/spinner/Spinner.d.ts +0 -4
  338. package/spinner/Spinner.js +0 -206
  339. package/spinner/Spinner.stories.tsx +0 -129
  340. package/spinner/Spinner.test.js +0 -55
  341. package/spinner/types.d.ts +0 -32
  342. package/spinner/types.js +0 -5
  343. package/status-light/StatusLight.accessibility.test.js +0 -157
  344. package/status-light/StatusLight.d.ts +0 -4
  345. package/status-light/StatusLight.js +0 -51
  346. package/status-light/StatusLight.stories.tsx +0 -74
  347. package/status-light/StatusLight.test.js +0 -25
  348. package/status-light/types.d.ts +0 -17
  349. package/status-light/types.js +0 -5
  350. package/switch/Switch.accessibility.test.js +0 -89
  351. package/switch/Switch.d.ts +0 -4
  352. package/switch/Switch.js +0 -214
  353. package/switch/Switch.stories.tsx +0 -137
  354. package/switch/Switch.test.js +0 -180
  355. package/switch/types.d.ts +0 -66
  356. package/switch/types.js +0 -5
  357. package/table/DropdownTheme.js +0 -62
  358. package/table/Table.accessibility.test.js +0 -82
  359. package/table/Table.d.ts +0 -8
  360. package/table/Table.js +0 -161
  361. package/table/Table.stories.tsx +0 -651
  362. package/table/Table.test.js +0 -113
  363. package/table/types.d.ts +0 -49
  364. package/table/types.js +0 -5
  365. package/tabs/Tab.d.ts +0 -4
  366. package/tabs/Tab.js +0 -116
  367. package/tabs/Tabs.accessibility.test.js +0 -56
  368. package/tabs/Tabs.d.ts +0 -4
  369. package/tabs/Tabs.js +0 -384
  370. package/tabs/Tabs.stories.tsx +0 -226
  371. package/tabs/Tabs.test.js +0 -294
  372. package/tabs/types.d.ts +0 -92
  373. package/tabs/types.js +0 -5
  374. package/tag/Tag.accessibility.test.js +0 -69
  375. package/tag/Tag.d.ts +0 -4
  376. package/tag/Tag.js +0 -151
  377. package/tag/Tag.stories.tsx +0 -155
  378. package/tag/Tag.test.js +0 -49
  379. package/tag/types.d.ts +0 -69
  380. package/tag/types.js +0 -5
  381. package/text-input/Suggestion.d.ts +0 -4
  382. package/text-input/Suggestion.js +0 -67
  383. package/text-input/Suggestions.d.ts +0 -4
  384. package/text-input/Suggestions.js +0 -86
  385. package/text-input/TextInput.accessibility.test.js +0 -321
  386. package/text-input/TextInput.d.ts +0 -4
  387. package/text-input/TextInput.js +0 -567
  388. package/text-input/TextInput.stories.tsx +0 -465
  389. package/text-input/TextInput.test.js +0 -1756
  390. package/text-input/types.d.ts +0 -205
  391. package/text-input/types.js +0 -5
  392. package/textarea/Textarea.accessibility.test.js +0 -155
  393. package/textarea/Textarea.d.ts +0 -4
  394. package/textarea/Textarea.js +0 -234
  395. package/textarea/Textarea.stories.tsx +0 -174
  396. package/textarea/Textarea.test.js +0 -406
  397. package/textarea/types.d.ts +0 -141
  398. package/textarea/types.js +0 -5
  399. package/toggle-group/ToggleGroup.accessibility.test.js +0 -107
  400. package/toggle-group/ToggleGroup.d.ts +0 -4
  401. package/toggle-group/ToggleGroup.js +0 -201
  402. package/toggle-group/ToggleGroup.stories.tsx +0 -218
  403. package/toggle-group/ToggleGroup.test.js +0 -137
  404. package/toggle-group/types.d.ts +0 -114
  405. package/toggle-group/types.js +0 -5
  406. package/typography/Typography.accessibility.test.js +0 -339
  407. package/typography/Typography.d.ts +0 -4
  408. package/typography/Typography.js +0 -23
  409. package/typography/Typography.stories.tsx +0 -198
  410. package/typography/types.d.ts +0 -18
  411. package/typography/types.js +0 -5
  412. package/useTheme.d.ts +0 -1148
  413. package/useTheme.js +0 -15
  414. package/useTranslatedLabels.d.ts +0 -85
  415. package/useTranslatedLabels.js +0 -14
  416. package/utils/BaseTypography.d.ts +0 -21
  417. package/utils/BaseTypography.js +0 -94
  418. package/utils/FocusLock.d.ts +0 -13
  419. package/utils/FocusLock.js +0 -124
  420. package/wizard/Wizard.accessibility.test.js +0 -55
  421. package/wizard/Wizard.d.ts +0 -4
  422. package/wizard/Wizard.js +0 -250
  423. package/wizard/Wizard.stories.tsx +0 -253
  424. package/wizard/Wizard.test.js +0 -114
  425. package/wizard/types.d.ts +0 -64
  426. package/wizard/types.js +0 -5
package/grid/Grid.js DELETED
@@ -1,76 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
- var _react = _interopRequireDefault(require("react"));
10
- var _styledComponents = _interopRequireDefault(require("styled-components"));
11
- var _templateObject, _templateObject2;
12
- var DxcGrid = function DxcGrid(props) {
13
- return /*#__PURE__*/_react["default"].createElement(Grid, props);
14
- };
15
- var Grid = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n display: grid;\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n ", "\n ", "\n ", "\n ", "\n"])), function (_ref) {
16
- var templateColumns = _ref.templateColumns;
17
- return templateColumns && "grid-template-columns: ".concat(templateColumns.join(" "), ";");
18
- }, function (_ref2) {
19
- var templateRows = _ref2.templateRows;
20
- return templateRows && "grid-template-rows: ".concat(templateRows.join(" "), ";");
21
- }, function (_ref3) {
22
- var templateAreas = _ref3.templateAreas;
23
- return templateAreas && "grid-template-areas: ".concat(templateAreas.map(function (row) {
24
- return "\"".concat(row, "\"");
25
- }).join(" "), ";");
26
- }, function (_ref4) {
27
- var autoColumns = _ref4.autoColumns;
28
- return autoColumns && "grid-auto-columns: ".concat(autoColumns, ";");
29
- }, function (_ref5) {
30
- var autoRows = _ref5.autoRows;
31
- return autoRows && "grid-auto-rows: ".concat(autoRows, ";");
32
- }, function (_ref6) {
33
- var autoFlow = _ref6.autoFlow;
34
- return autoFlow && "grid-auto-flow: ".concat(autoFlow, ";");
35
- }, function (_ref7) {
36
- var _gap$rowGap, _gap$columnGap;
37
- var gap = _ref7.gap;
38
- return gap != null && (typeof gap === "string" ? "gap: ".concat(gap, ";") : "row-gap: ".concat((_gap$rowGap = gap.rowGap) !== null && _gap$rowGap !== void 0 ? _gap$rowGap : "", "; column-gap: ").concat((_gap$columnGap = gap.columnGap) !== null && _gap$columnGap !== void 0 ? _gap$columnGap : "", ";"));
39
- }, function (_ref8) {
40
- var _placeItems$alignItem, _placeItems$justifyIt;
41
- var placeItems = _ref8.placeItems;
42
- return placeItems && (typeof placeItems === "string" ? "place-items: ".concat(placeItems) : "align-items: ".concat((_placeItems$alignItem = placeItems.alignItems) !== null && _placeItems$alignItem !== void 0 ? _placeItems$alignItem : "", "; justify-items: ").concat((_placeItems$justifyIt = placeItems.justifyItems) !== null && _placeItems$justifyIt !== void 0 ? _placeItems$justifyIt : "", ";"));
43
- }, function (_ref9) {
44
- var _placeContent$alignCo, _placeContent$justify;
45
- var placeContent = _ref9.placeContent;
46
- return placeContent && (typeof placeContent === "string" ? "place-content: ".concat(placeContent) : "align-content: ".concat((_placeContent$alignCo = placeContent.alignContent) !== null && _placeContent$alignCo !== void 0 ? _placeContent$alignCo : "", "; justify-content: ").concat((_placeContent$justify = placeContent.justifyContent) !== null && _placeContent$justify !== void 0 ? _placeContent$justify : "", ";"));
47
- }, function (_ref10) {
48
- var areaName = _ref10.areaName;
49
- return areaName && "grid-area: ".concat(areaName, ";");
50
- }, function (_ref11) {
51
- var column = _ref11.column;
52
- return column && "grid-column: ".concat(typeof column === "string" || typeof column === "number" ? column : "".concat(column.start, " / ").concat(column.end, ";"), ";");
53
- }, function (_ref12) {
54
- var row = _ref12.row;
55
- return row && "grid-row: ".concat(typeof row === "string" || typeof row === "number" ? row : "".concat(row.start, " / ").concat(row.end, ";"), ";");
56
- }, function (_ref13) {
57
- var _placeSelf$alignSelf, _placeSelf$justifySel;
58
- var placeSelf = _ref13.placeSelf;
59
- return placeSelf && (typeof placeSelf === "string" ? "place-self: ".concat(placeSelf) : "align-self: ".concat((_placeSelf$alignSelf = placeSelf.alignSelf) !== null && _placeSelf$alignSelf !== void 0 ? _placeSelf$alignSelf : "", "; justify-self: ").concat((_placeSelf$justifySel = placeSelf.justifySelf) !== null && _placeSelf$justifySel !== void 0 ? _placeSelf$justifySel : "", ";"));
60
- });
61
- var GridItem = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n ", "\n ", "\n ", "\n ", "\n"])), function (_ref14) {
62
- var areaName = _ref14.areaName;
63
- return areaName && "grid-area: ".concat(areaName, ";");
64
- }, function (_ref15) {
65
- var column = _ref15.column;
66
- return column && "grid-column: ".concat(typeof column === "string" || typeof column === "number" ? column : "".concat(column.start, " / ").concat(column.end, ";"), ";");
67
- }, function (_ref16) {
68
- var row = _ref16.row;
69
- return row && "grid-row: ".concat(typeof row === "string" || typeof row === "number" ? row : "".concat(row.start, " / ").concat(row.end, ";"), ";");
70
- }, function (_ref17) {
71
- var _placeSelf$alignSelf2, _placeSelf$justifySel2;
72
- var placeSelf = _ref17.placeSelf;
73
- return placeSelf && (typeof placeSelf === "string" ? "place-self: ".concat(placeSelf) : "align-self: ".concat((_placeSelf$alignSelf2 = placeSelf.alignSelf) !== null && _placeSelf$alignSelf2 !== void 0 ? _placeSelf$alignSelf2 : "", "; justify-self: ").concat((_placeSelf$justifySel2 = placeSelf.justifySelf) !== null && _placeSelf$justifySel2 !== void 0 ? _placeSelf$justifySel2 : "", ";"));
74
- });
75
- DxcGrid.Item = GridItem;
76
- var _default = exports["default"] = DxcGrid;
@@ -1,219 +0,0 @@
1
- import React from "react";
2
- import Title from "../../.storybook/components/Title";
3
- import ExampleContainer from "../../.storybook/components/ExampleContainer";
4
- import styled from "styled-components";
5
- import DxcGrid from "./Grid";
6
- import DxcInset from "../inset/Inset";
7
-
8
- export default {
9
- title: "Grid",
10
- component: DxcGrid,
11
- };
12
-
13
- export const Chromatic = () => (
14
- <>
15
- <Title title="Default" level={4} />
16
- <ExampleContainer>
17
- <DxcGrid>
18
- <ColoredContainer />
19
- <ColoredContainer />
20
- <ColoredContainer />
21
- </DxcGrid>
22
- </ExampleContainer>
23
- <Title title="Place items" level={4} />
24
- <ExampleContainer>
25
- <DxcGrid templateRows={["200px"]} placeItems="center">
26
- <ColoredContainer height="50px" width="50px" />
27
- </DxcGrid>
28
- <DxcGrid placeItems={{ justifyItems: "end" }}>
29
- <ColoredContainer />
30
- <ColoredContainer />
31
- <ColoredContainer />
32
- </DxcGrid>
33
- <DxcGrid templateRows={["repeat(3, 100px)"]} placeItems={{ alignItems: "end", justifyItems: "center" }}>
34
- <ColoredContainer height="50px" width="50px" />
35
- <ColoredContainer height="50px" width="50px" />
36
- <ColoredContainer height="50px" width="50px" />
37
- </DxcGrid>
38
- </ExampleContainer>
39
- <Title title="Place content" level={4} />
40
- <Container height="200px">
41
- <DxcGrid placeContent="center">
42
- <ColoredContainer height="50px" width="50px" />
43
- <ColoredContainer height="50px" width="50px" />
44
- </DxcGrid>
45
- </Container>
46
- <Container height="200px">
47
- <DxcGrid placeContent={{ alignContent: "center" }}>
48
- <ColoredContainer height="50px" width="50px" />
49
- </DxcGrid>
50
- </Container>
51
- <Container height="200px">
52
- <DxcGrid placeContent={{ alignContent: "center", justifyContent: "end" }}>
53
- <ColoredContainer height="50px" width="50px" />
54
- </DxcGrid>
55
- </Container>
56
- <Title title="Place self" level={4} />
57
- <ExampleContainer>
58
- <DxcGrid templateRows={["repeat(3, 100px)"]}>
59
- <DxcGrid.Item placeSelf="center">
60
- <ColoredContainer height="50px" width="50px" />
61
- </DxcGrid.Item>
62
- <DxcGrid.Item placeSelf={{ alignSelf: "end" }}>
63
- <ColoredContainer height="40px" width="40px" />
64
- <ColoredContainer height="30px" width="30px" />
65
- </DxcGrid.Item>
66
- <DxcGrid.Item placeSelf={{ alignSelf: "center", justifySelf: "end" }}>
67
- <ColoredContainer height="50px" width="50px" />
68
- </DxcGrid.Item>
69
- </DxcGrid>
70
- </ExampleContainer>
71
- <Title title="Halstack layout using template areas" level={4} />
72
- <ExampleContainer>
73
- <DxcGrid
74
- templateColumns={["repeat(4, 1fr)"]}
75
- templateRows={["40px", "200px", "60px"]}
76
- templateAreas={["header header header header", "sidenav main main main", "sidenav footer footer footer"]}
77
- gap={{ rowGap: "0.5rem", columnGap: "1rem" }}
78
- >
79
- <DxcGrid.Item areaName="header" as="header">
80
- <ColoredContainer height="100%" />
81
- </DxcGrid.Item>
82
- <DxcGrid.Item areaName="main" as="main">
83
- <ColoredContainer height="100%" />
84
- </DxcGrid.Item>
85
- <DxcGrid.Item areaName="sidenav" as="nav">
86
- <ColoredContainer height="100%" />
87
- </DxcGrid.Item>
88
- <DxcGrid.Item areaName="footer" as="footer">
89
- <ColoredContainer height="100%" />
90
- </DxcGrid.Item>
91
- </DxcGrid>
92
- </ExampleContainer>
93
- <Title title="Template rows and columns with flexible sizes" level={4} />
94
- <ExampleContainer>
95
- <DxcGrid templateColumns={["1fr", "1fr", "1fr"]} templateRows={["1fr", "3fr", "1fr"]} gap="0.5rem">
96
- <DxcGrid.Item column={{ start: 1, end: -1 }}>
97
- <ColoredContainer color="yellow" height="100%">
98
- Header
99
- </ColoredContainer>
100
- </DxcGrid.Item>
101
- <DxcGrid.Item column={1}>
102
- <ColoredContainer color="lightcyan" height="100%">
103
- Sidenav
104
- </ColoredContainer>
105
- </DxcGrid.Item>
106
- <DxcGrid
107
- column={{ start: 2, end: -1 }}
108
- templateRows={["repeat(4, 1fr)"]}
109
- templateColumns={["repeat(2, 1fr)"]}
110
- gap="1rem"
111
- >
112
- <ColoredContainer />
113
- <ColoredContainer />
114
- <ColoredContainer />
115
- <ColoredContainer />
116
- <ColoredContainer />
117
- <ColoredContainer />
118
- <ColoredContainer />
119
- <ColoredContainer />
120
- </DxcGrid>
121
- <DxcGrid.Item column={{ start: 1, end: -1 }}>
122
- <ColoredContainer color="black" height="100%">
123
- Footer
124
- </ColoredContainer>
125
- </DxcGrid.Item>
126
- </DxcGrid>
127
- </ExampleContainer>
128
- <Title title="Overlapping" level={4} />
129
- <DxcInset bottom="2rem">
130
- <ExampleContainer>
131
- <DxcGrid templateRows={["50px", "50px"]}>
132
- <ColoredContainer color="yellow" height="100px">
133
- 1
134
- </ColoredContainer>
135
- <ColoredContainer color="transparent" height="100px">
136
- 2
137
- </ColoredContainer>
138
- </DxcGrid>
139
- </ExampleContainer>
140
- </DxcInset>
141
- <Title title="Implicit rows and columns" level={4} />
142
- <ExampleContainer>
143
- <DxcGrid templateColumns={["50px"]} templateRows={["50px", "50px"]} autoRows="50px" autoColumns="50px">
144
- <DxcGrid.Item>
145
- <ColoredContainer height="50px">1</ColoredContainer>
146
- </DxcGrid.Item>
147
- <DxcGrid.Item row={2}>
148
- <ColoredContainer height="50px">3</ColoredContainer>
149
- </DxcGrid.Item>
150
- <DxcGrid.Item row={6} column={1}>
151
- <ColoredContainer height="50px">5</ColoredContainer>
152
- </DxcGrid.Item>
153
- <DxcGrid.Item row={3}>
154
- <ColoredContainer height="50px">4</ColoredContainer>
155
- </DxcGrid.Item>
156
- <DxcGrid.Item row={{ start: 1, end: 2 }} column={{ start: 5, end: "span 2" }}>
157
- <ColoredContainer height="50px">2</ColoredContainer>
158
- </DxcGrid.Item>
159
- </DxcGrid>
160
- </ExampleContainer>
161
- <Title title="Autoflow 'row' (default)" level={4} />
162
- <ExampleContainer>
163
- <DxcGrid templateColumns={["repeat(5, 1fr)"]} templateRows={["1fr", "1fr"]} autoFlow="row" autoColumns="1fr">
164
- <DxcGrid.Item row={{ start: 1, end: "span 2" }} column={1}>
165
- <ColoredContainer height="100%">1</ColoredContainer>
166
- </DxcGrid.Item>
167
- <ColoredContainer color="lightyellow">2</ColoredContainer>
168
- <ColoredContainer color="lightcyan">3</ColoredContainer>
169
- <ColoredContainer color="lightgreen">4</ColoredContainer>
170
- <DxcGrid.Item row={{ start: 1, end: -1 }} column={-2}>
171
- <ColoredContainer color="lightpink" height="100%">
172
- 5
173
- </ColoredContainer>
174
- </DxcGrid.Item>
175
- </DxcGrid>
176
- </ExampleContainer>
177
- <Title title="Autoflow 'column'" level={4} />
178
- <ExampleContainer>
179
- <DxcGrid templateColumns={["repeat(5, 1fr)"]} templateRows={["1fr", "1fr"]} autoFlow="column" autoColumns="1fr">
180
- <DxcGrid.Item row={{ start: 1, end: -1 }} column={1}>
181
- <ColoredContainer height="100%">1</ColoredContainer>
182
- </DxcGrid.Item>
183
- <ColoredContainer color="lightyellow">2</ColoredContainer>
184
- <ColoredContainer color="lightcyan">3</ColoredContainer>
185
- <ColoredContainer color="lightgreen">4</ColoredContainer>
186
- <DxcGrid.Item row={{ start: 1, end: -1 }} column={-2}>
187
- <ColoredContainer color="lightpink" height="100%">
188
- 5
189
- </ColoredContainer>
190
- </DxcGrid.Item>
191
- </DxcGrid>
192
- </ExampleContainer>
193
- </>
194
- );
195
-
196
- const Container = styled.div<{ height?: string }>`
197
- display: grid;
198
- overflow: auto;
199
- margin: 2.5rem;
200
- ${({ height }) => height && `height: ${height}`};
201
- `;
202
-
203
- const ColoredContainer = styled.div<{ color?: string; width?: string; height?: string }>`
204
- box-sizing: border-box;
205
- display: flex;
206
- justify-content: center;
207
- align-items: center;
208
- background-color: ${({ color }) => color ?? "#e5d5f6"};
209
- padding: 1rem;
210
- border: 1px solid #a46ede;
211
- border-radius: 0.5rem;
212
- font-family: Open Sans, sans-serif;
213
- font-size: 1.5rem;
214
- font-weight: bold;
215
- color: #a46ede;
216
-
217
- ${({ width }) => width && `width: ${width}`};
218
- ${({ height }) => height && `height: ${height}`};
219
- `;
package/grid/types.d.ts DELETED
@@ -1,115 +0,0 @@
1
- /// <reference types="react" />
2
- type Spaces = "0rem" | "0.125rem" | "0.25rem" | "0.5rem" | "1rem" | "1.5rem" | "2rem" | "3rem" | "4rem" | "5rem";
3
- type Gap = {
4
- rowGap: Spaces;
5
- columnGap?: Spaces;
6
- } | {
7
- rowGap?: Spaces;
8
- columnGap: Spaces;
9
- } | Spaces;
10
- type GridCell = {
11
- start: number | string;
12
- end: number | string;
13
- };
14
- type PlaceSelfValues = "auto" | "start" | "end" | "center" | "stretch" | "baseline";
15
- type PlaceContentValues = "normal" | "start" | "end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | "baseline";
16
- type PlaceItemsValues = "normal" | "start" | "end" | "center" | "stretch" | "baseline";
17
- type PlaceObject<Type, Suffix extends string> = {
18
- [Property in keyof Type as `${string & Property}${Capitalize<string & Suffix>}`]: Type[Property];
19
- };
20
- type PlaceGeneric<PlaceValues, Element extends string> = PlaceObject<{
21
- justify?: PlaceValues;
22
- align: PlaceValues;
23
- }, Element> | PlaceObject<{
24
- justify: PlaceValues;
25
- align?: PlaceValues;
26
- }, Element> | PlaceValues;
27
- export type GridItemProps = {
28
- /**
29
- * Sets the name of an item so that it can be referenced by a template created with the grid-template-areas property.
30
- */
31
- areaName?: string;
32
- /**
33
- * Sets the grid-column CSS property.
34
- *
35
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
36
- */
37
- column?: number | string | GridCell;
38
- /**
39
- * Sets the grid-row CSS property.
40
- *
41
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
42
- */
43
- row?: number | string | GridCell;
44
- /**
45
- * Sets the place-self CSS property.
46
- *
47
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/place-self
48
- */
49
- placeSelf?: PlaceGeneric<PlaceSelfValues, "self">;
50
- /**
51
- * Sets a custom HTML tag.
52
- */
53
- as?: keyof HTMLElementTagNameMap;
54
- /**
55
- * Custom content inside the grid container.
56
- */
57
- children: React.ReactNode;
58
- };
59
- type Props = GridItemProps & {
60
- /**
61
- * Sets the grid-auto-columns CSS property.
62
- *
63
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns
64
- */
65
- autoColumns?: string;
66
- /**
67
- * Sets the grid-auto-flow CSS property.
68
- *
69
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow
70
- */
71
- autoFlow?: "row" | "column" | "row dense" | "column dense";
72
- /**
73
- * Sets the grid-auto-rows CSS property.
74
- *
75
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows
76
- */
77
- autoRows?: string;
78
- /**
79
- * Sets the gap CSS property.
80
- *
81
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/gap
82
- */
83
- gap?: Spaces | Gap;
84
- /**
85
- * Sets the place-content CSS property.
86
- *
87
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
88
- */
89
- placeContent?: PlaceGeneric<PlaceContentValues, "content">;
90
- /**
91
- * Sets the place-items CSS property.
92
- *
93
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
94
- */
95
- placeItems?: PlaceGeneric<PlaceItemsValues, "items">;
96
- /**
97
- * Sets the grid-template-areas CSS property.
98
- *
99
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas
100
- */
101
- templateAreas?: string[];
102
- /**
103
- * Sets the grid-template-columns CSS property.
104
- *
105
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
106
- */
107
- templateColumns?: string[];
108
- /**
109
- * Sets the grid-template-rows CSS property.
110
- *
111
- * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
112
- */
113
- templateRows?: string[];
114
- };
115
- export default Props;
package/grid/types.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,84 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
5
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
6
- var _react = _interopRequireDefault(require("react"));
7
- var _react2 = require("@testing-library/react");
8
- var _jestAxe = require("jest-axe");
9
- var _Header = _interopRequireDefault(require("./Header.tsx"));
10
- var _Flex = _interopRequireDefault(require("../flex/Flex.tsx"));
11
- var _Link = _interopRequireDefault(require("../link/Link.tsx"));
12
- var iconSVG = /*#__PURE__*/_react["default"].createElement("svg", {
13
- viewBox: "0 0 24 24",
14
- height: "24",
15
- width: "24",
16
- fill: "currentColor"
17
- }, /*#__PURE__*/_react["default"].createElement("path", {
18
- d: "M0 0h24v24H0z",
19
- fill: "none"
20
- }), /*#__PURE__*/_react["default"].createElement("path", {
21
- d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"
22
- }));
23
- var iconUrl = "https://iconape.com/wp-content/files/yd/367773/svg/logo-linkedin-logo-icon-png-svg.png";
24
- var options = [{
25
- value: "1",
26
- label: "Amazon",
27
- icon: iconUrl
28
- }, {
29
- value: "2",
30
- label: "Ebay",
31
- icon: iconUrl
32
- }, {
33
- value: "3",
34
- label: "Wallapop",
35
- icon: iconSVG
36
- }, {
37
- value: "4",
38
- label: "Aliexpress",
39
- icon: iconSVG
40
- }];
41
- describe("Header component accessibility tests", function () {
42
- beforeAll(function () {
43
- Object.defineProperty(window, "matchMedia", {
44
- writable: true,
45
- value: jest.fn().mockImplementation(function () {
46
- return {
47
- matches: false
48
- };
49
- })
50
- });
51
- });
52
- it("Should not have basic accessibility issues", /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
53
- var _render, container, results;
54
- return _regenerator["default"].wrap(function _callee$(_context) {
55
- while (1) switch (_context.prev = _context.next) {
56
- case 0:
57
- _render = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_Header["default"], {
58
- content: /*#__PURE__*/_react["default"].createElement(_Flex["default"], {
59
- alignItems: "center",
60
- gap: "4rem"
61
- }, /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "Link 1"), /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "Link 2"), /*#__PURE__*/_react["default"].createElement(_Link["default"], null, "Link 3"), /*#__PURE__*/_react["default"].createElement(_Header["default"].Dropdown, {
62
- options: options,
63
- label: "dropdown-test",
64
- icon: iconSVG,
65
- iconPosition: "after",
66
- margin: "medium",
67
- size: "medium",
68
- optionsIconPosition: "after"
69
- })),
70
- margin: "medium",
71
- underlined: true
72
- })), container = _render.container;
73
- _context.next = 3;
74
- return (0, _jestAxe.axe)(container);
75
- case 3:
76
- results = _context.sent;
77
- expect(results).toHaveNoViolations();
78
- case 5:
79
- case "end":
80
- return _context.stop();
81
- }
82
- }, _callee);
83
- })));
84
- });
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import DxcDropdown from "../dropdown/Dropdown";
3
- import HeaderPropsType from "./types";
4
- declare const DxcHeader: {
5
- ({ underlined, content, responsiveContent, onClick, margin, tabIndex, }: HeaderPropsType): JSX.Element;
6
- Dropdown: (props: React.ComponentProps<typeof DxcDropdown>) => React.JSX.Element;
7
- };
8
- export default DxcHeader;