@dxc-technology/halstack-react 0.0.0-a062293 → 0.0.0-a0fadb7

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 (471) hide show
  1. package/BackgroundColorContext.d.ts +1 -10
  2. package/BackgroundColorContext.js +5 -22
  3. package/HalstackContext.d.ts +1237 -6
  4. package/HalstackContext.js +123 -111
  5. package/README.md +47 -0
  6. package/accordion/Accordion.accessibility.test.d.ts +1 -0
  7. package/accordion/Accordion.accessibility.test.js +71 -0
  8. package/accordion/Accordion.d.ts +1 -1
  9. package/accordion/Accordion.js +41 -112
  10. package/accordion/Accordion.stories.tsx +52 -157
  11. package/accordion/Accordion.test.d.ts +1 -0
  12. package/accordion/Accordion.test.js +18 -33
  13. package/accordion/types.d.ts +6 -18
  14. package/accordion-group/AccordionGroup.accessibility.test.d.ts +1 -0
  15. package/accordion-group/AccordionGroup.accessibility.test.js +82 -0
  16. package/accordion-group/AccordionGroup.d.ts +2 -2
  17. package/accordion-group/AccordionGroup.js +29 -77
  18. package/accordion-group/AccordionGroup.stories.tsx +78 -77
  19. package/accordion-group/AccordionGroup.test.d.ts +1 -0
  20. package/accordion-group/AccordionGroup.test.js +41 -73
  21. package/accordion-group/AccordionGroupAccordion.d.ts +4 -0
  22. package/accordion-group/AccordionGroupAccordion.js +31 -0
  23. package/accordion-group/AccordionGroupContext.d.ts +3 -0
  24. package/accordion-group/AccordionGroupContext.js +8 -0
  25. package/accordion-group/types.d.ts +7 -19
  26. package/action-icon/ActionIcon.accessibility.test.d.ts +1 -0
  27. package/action-icon/ActionIcon.accessibility.test.js +63 -0
  28. package/action-icon/ActionIcon.d.ts +4 -0
  29. package/action-icon/ActionIcon.js +48 -0
  30. package/action-icon/ActionIcon.stories.tsx +41 -0
  31. package/action-icon/ActionIcon.test.d.ts +1 -0
  32. package/action-icon/ActionIcon.test.js +64 -0
  33. package/action-icon/types.d.ts +26 -0
  34. package/alert/Alert.accessibility.test.d.ts +1 -0
  35. package/alert/Alert.accessibility.test.js +95 -0
  36. package/alert/Alert.js +36 -126
  37. package/alert/Alert.stories.tsx +28 -0
  38. package/alert/Alert.test.d.ts +1 -0
  39. package/alert/Alert.test.js +28 -45
  40. package/alert/types.d.ts +5 -5
  41. package/badge/Badge.accessibility.test.d.ts +1 -0
  42. package/badge/Badge.accessibility.test.js +129 -0
  43. package/badge/Badge.d.ts +1 -1
  44. package/badge/Badge.js +142 -42
  45. package/badge/Badge.stories.tsx +210 -0
  46. package/badge/Badge.test.d.ts +1 -0
  47. package/badge/Badge.test.js +30 -0
  48. package/badge/types.d.ts +52 -3
  49. package/bleed/Bleed.js +13 -21
  50. package/bleed/Bleed.stories.tsx +1 -0
  51. package/bleed/types.d.ts +2 -2
  52. package/box/Box.accessibility.test.d.ts +1 -0
  53. package/box/Box.accessibility.test.js +33 -0
  54. package/box/Box.d.ts +1 -1
  55. package/box/Box.js +18 -59
  56. package/box/Box.stories.tsx +38 -51
  57. package/box/Box.test.d.ts +1 -0
  58. package/box/Box.test.js +1 -6
  59. package/box/types.d.ts +3 -15
  60. package/breadcrumbs/Breadcrumbs.accessibility.test.d.ts +1 -0
  61. package/breadcrumbs/Breadcrumbs.accessibility.test.js +96 -0
  62. package/breadcrumbs/Breadcrumbs.d.ts +4 -0
  63. package/breadcrumbs/Breadcrumbs.js +79 -0
  64. package/breadcrumbs/Breadcrumbs.stories.tsx +194 -0
  65. package/breadcrumbs/Breadcrumbs.test.d.ts +1 -0
  66. package/breadcrumbs/Breadcrumbs.test.js +169 -0
  67. package/breadcrumbs/Item.d.ts +4 -0
  68. package/breadcrumbs/Item.js +52 -0
  69. package/breadcrumbs/dropdownTheme.d.ts +53 -0
  70. package/breadcrumbs/dropdownTheme.js +62 -0
  71. package/breadcrumbs/types.d.ts +16 -0
  72. package/bulleted-list/BulletedList.accessibility.test.d.ts +1 -0
  73. package/bulleted-list/BulletedList.accessibility.test.js +119 -0
  74. package/bulleted-list/BulletedList.js +22 -53
  75. package/bulleted-list/BulletedList.stories.tsx +8 -93
  76. package/bulleted-list/types.d.ts +32 -5
  77. package/button/Button.accessibility.test.d.ts +1 -0
  78. package/button/Button.accessibility.test.js +127 -0
  79. package/button/Button.d.ts +1 -1
  80. package/button/Button.js +70 -103
  81. package/button/Button.stories.tsx +107 -116
  82. package/button/Button.test.d.ts +1 -0
  83. package/button/Button.test.js +19 -16
  84. package/button/types.d.ts +9 -5
  85. package/card/Card.accessibility.test.d.ts +1 -0
  86. package/card/Card.accessibility.test.js +36 -0
  87. package/card/Card.d.ts +1 -1
  88. package/card/Card.js +49 -89
  89. package/card/Card.stories.tsx +12 -42
  90. package/card/Card.test.d.ts +1 -0
  91. package/card/Card.test.js +10 -21
  92. package/card/types.d.ts +6 -12
  93. package/checkbox/Checkbox.accessibility.test.d.ts +1 -0
  94. package/checkbox/Checkbox.accessibility.test.js +87 -0
  95. package/checkbox/Checkbox.js +90 -128
  96. package/checkbox/Checkbox.stories.tsx +68 -54
  97. package/checkbox/Checkbox.test.d.ts +1 -0
  98. package/checkbox/Checkbox.test.js +107 -63
  99. package/checkbox/types.d.ts +8 -4
  100. package/chip/Chip.accessibility.test.d.ts +1 -0
  101. package/chip/Chip.accessibility.test.js +69 -0
  102. package/chip/Chip.js +42 -76
  103. package/chip/Chip.stories.tsx +120 -40
  104. package/chip/Chip.test.d.ts +1 -0
  105. package/chip/Chip.test.js +17 -32
  106. package/chip/types.d.ts +38 -15
  107. package/common/coreTokens.d.ts +237 -0
  108. package/common/coreTokens.js +184 -0
  109. package/common/fonts.css +2 -0
  110. package/common/utils.d.ts +1 -0
  111. package/common/utils.js +6 -12
  112. package/common/variables.d.ts +1389 -0
  113. package/common/variables.js +957 -1208
  114. package/container/Container.d.ts +4 -0
  115. package/container/Container.js +194 -0
  116. package/container/Container.stories.tsx +214 -0
  117. package/container/types.d.ts +74 -0
  118. package/contextual-menu/ContextualMenu.accessibility.test.d.ts +1 -0
  119. package/contextual-menu/ContextualMenu.accessibility.test.js +98 -0
  120. package/contextual-menu/ContextualMenu.d.ts +5 -0
  121. package/contextual-menu/ContextualMenu.js +88 -0
  122. package/contextual-menu/ContextualMenu.stories.tsx +232 -0
  123. package/contextual-menu/ContextualMenu.test.d.ts +1 -0
  124. package/contextual-menu/ContextualMenu.test.js +205 -0
  125. package/contextual-menu/GroupItem.d.ts +4 -0
  126. package/contextual-menu/GroupItem.js +67 -0
  127. package/contextual-menu/ItemAction.d.ts +4 -0
  128. package/contextual-menu/ItemAction.js +51 -0
  129. package/contextual-menu/MenuItem.d.ts +4 -0
  130. package/contextual-menu/MenuItem.js +29 -0
  131. package/contextual-menu/SingleItem.d.ts +4 -0
  132. package/contextual-menu/SingleItem.js +38 -0
  133. package/contextual-menu/types.d.ts +58 -0
  134. package/contextual-menu/types.js +5 -0
  135. package/date-input/Calendar.js +38 -70
  136. package/date-input/DateInput.accessibility.test.d.ts +1 -0
  137. package/date-input/DateInput.accessibility.test.js +230 -0
  138. package/date-input/DateInput.js +61 -108
  139. package/date-input/DateInput.stories.tsx +86 -31
  140. package/date-input/DateInput.test.d.ts +1 -0
  141. package/date-input/DateInput.test.js +676 -702
  142. package/date-input/DatePicker.js +46 -57
  143. package/date-input/YearPicker.js +28 -44
  144. package/date-input/types.d.ts +28 -22
  145. package/dialog/Dialog.accessibility.test.d.ts +1 -0
  146. package/dialog/Dialog.accessibility.test.js +69 -0
  147. package/dialog/Dialog.d.ts +1 -1
  148. package/dialog/Dialog.js +51 -120
  149. package/dialog/Dialog.stories.tsx +315 -212
  150. package/dialog/Dialog.test.d.ts +1 -0
  151. package/dialog/Dialog.test.js +333 -32
  152. package/dialog/types.d.ts +18 -26
  153. package/divider/Divider.accessibility.test.d.ts +1 -0
  154. package/divider/Divider.accessibility.test.js +33 -0
  155. package/divider/Divider.d.ts +4 -0
  156. package/divider/Divider.js +36 -0
  157. package/divider/Divider.stories.tsx +223 -0
  158. package/divider/Divider.test.d.ts +1 -0
  159. package/divider/Divider.test.js +38 -0
  160. package/divider/types.d.ts +21 -0
  161. package/divider/types.js +5 -0
  162. package/dropdown/Dropdown.accessibility.test.d.ts +1 -0
  163. package/dropdown/Dropdown.accessibility.test.js +184 -0
  164. package/dropdown/Dropdown.js +69 -138
  165. package/dropdown/Dropdown.stories.tsx +205 -98
  166. package/dropdown/Dropdown.test.d.ts +1 -0
  167. package/dropdown/Dropdown.test.js +434 -390
  168. package/dropdown/DropdownMenu.js +23 -40
  169. package/dropdown/DropdownMenuItem.js +17 -38
  170. package/dropdown/types.d.ts +20 -24
  171. package/file-input/FileInput.accessibility.test.d.ts +1 -0
  172. package/file-input/FileInput.accessibility.test.js +167 -0
  173. package/file-input/FileInput.js +183 -294
  174. package/file-input/FileInput.stories.tsx +86 -3
  175. package/file-input/FileInput.test.d.ts +1 -0
  176. package/file-input/FileInput.test.js +301 -395
  177. package/file-input/FileItem.js +31 -67
  178. package/file-input/types.d.ts +10 -10
  179. package/flex/Flex.js +27 -39
  180. package/flex/Flex.stories.tsx +35 -26
  181. package/flex/types.d.ts +74 -9
  182. package/footer/Footer.accessibility.test.d.ts +1 -0
  183. package/footer/Footer.accessibility.test.js +125 -0
  184. package/footer/Footer.d.ts +1 -1
  185. package/footer/Footer.js +73 -118
  186. package/footer/Footer.stories.tsx +94 -23
  187. package/footer/Footer.test.d.ts +1 -0
  188. package/footer/Footer.test.js +32 -56
  189. package/footer/Icons.d.ts +3 -2
  190. package/footer/Icons.js +53 -22
  191. package/footer/types.d.ts +26 -28
  192. package/grid/Grid.d.ts +7 -0
  193. package/grid/Grid.js +76 -0
  194. package/grid/Grid.stories.tsx +219 -0
  195. package/grid/types.d.ts +115 -0
  196. package/grid/types.js +5 -0
  197. package/header/Header.accessibility.test.d.ts +1 -0
  198. package/header/Header.accessibility.test.js +94 -0
  199. package/header/Header.d.ts +4 -3
  200. package/header/Header.js +55 -150
  201. package/header/Header.stories.tsx +130 -35
  202. package/header/Header.test.d.ts +1 -0
  203. package/header/Header.test.js +12 -25
  204. package/header/Icons.d.ts +2 -2
  205. package/header/Icons.js +3 -13
  206. package/header/types.d.ts +7 -22
  207. package/heading/Heading.accessibility.test.d.ts +1 -0
  208. package/heading/Heading.accessibility.test.js +33 -0
  209. package/heading/Heading.js +10 -32
  210. package/heading/Heading.test.d.ts +1 -0
  211. package/heading/Heading.test.js +64 -94
  212. package/heading/types.d.ts +7 -7
  213. package/icon/Icon.accessibility.test.d.ts +1 -0
  214. package/icon/Icon.accessibility.test.js +30 -0
  215. package/icon/Icon.d.ts +4 -0
  216. package/icon/Icon.js +33 -0
  217. package/icon/Icon.stories.tsx +28 -0
  218. package/icon/types.d.ts +4 -0
  219. package/icon/types.js +5 -0
  220. package/image/Image.accessibility.test.d.ts +1 -0
  221. package/image/Image.accessibility.test.js +56 -0
  222. package/image/Image.d.ts +4 -0
  223. package/image/Image.js +70 -0
  224. package/image/Image.stories.tsx +129 -0
  225. package/image/types.d.ts +72 -0
  226. package/image/types.js +5 -0
  227. package/inset/Inset.js +13 -21
  228. package/inset/Inset.stories.tsx +2 -1
  229. package/inset/types.d.ts +2 -2
  230. package/layout/ApplicationLayout.d.ts +5 -5
  231. package/layout/ApplicationLayout.js +36 -70
  232. package/layout/ApplicationLayout.stories.tsx +1 -1
  233. package/layout/Icons.d.ts +7 -5
  234. package/layout/Icons.js +41 -59
  235. package/layout/types.d.ts +5 -6
  236. package/link/Link.accessibility.test.d.ts +1 -0
  237. package/link/Link.accessibility.test.js +108 -0
  238. package/link/Link.js +31 -50
  239. package/link/Link.stories.tsx +64 -4
  240. package/link/Link.test.d.ts +1 -0
  241. package/link/Link.test.js +23 -43
  242. package/link/types.d.ts +14 -14
  243. package/main.d.ts +12 -5
  244. package/main.js +55 -59
  245. package/nav-tabs/NavTabs.accessibility.test.d.ts +1 -0
  246. package/nav-tabs/NavTabs.accessibility.test.js +44 -0
  247. package/nav-tabs/NavTabs.d.ts +7 -0
  248. package/nav-tabs/NavTabs.js +108 -0
  249. package/nav-tabs/NavTabs.stories.tsx +294 -0
  250. package/nav-tabs/NavTabs.test.d.ts +1 -0
  251. package/nav-tabs/NavTabs.test.js +77 -0
  252. package/nav-tabs/NavTabsContext.d.ts +3 -0
  253. package/nav-tabs/NavTabsContext.js +8 -0
  254. package/nav-tabs/Tab.js +117 -0
  255. package/{tabs-nav → nav-tabs}/types.d.ts +15 -16
  256. package/nav-tabs/types.js +5 -0
  257. package/number-input/NumberInput.accessibility.test.d.ts +1 -0
  258. package/number-input/NumberInput.accessibility.test.js +228 -0
  259. package/number-input/NumberInput.js +46 -36
  260. package/number-input/NumberInput.stories.tsx +42 -26
  261. package/number-input/NumberInput.test.d.ts +1 -0
  262. package/number-input/NumberInput.test.js +859 -412
  263. package/number-input/NumberInputContext.d.ts +3 -4
  264. package/number-input/NumberInputContext.js +3 -14
  265. package/number-input/types.d.ts +17 -5
  266. package/package.json +45 -41
  267. package/paginator/Paginator.accessibility.test.d.ts +1 -0
  268. package/paginator/Paginator.accessibility.test.js +79 -0
  269. package/paginator/Paginator.js +29 -56
  270. package/paginator/Paginator.stories.tsx +24 -0
  271. package/paginator/Paginator.test.d.ts +1 -0
  272. package/paginator/Paginator.test.js +234 -214
  273. package/paginator/types.d.ts +3 -3
  274. package/paragraph/Paragraph.accessibility.test.d.ts +1 -0
  275. package/paragraph/Paragraph.accessibility.test.js +28 -0
  276. package/paragraph/Paragraph.d.ts +3 -4
  277. package/paragraph/Paragraph.js +6 -22
  278. package/paragraph/Paragraph.stories.tsx +0 -17
  279. package/password-input/PasswordInput.accessibility.test.d.ts +1 -0
  280. package/password-input/PasswordInput.accessibility.test.js +153 -0
  281. package/password-input/PasswordInput.js +58 -127
  282. package/password-input/PasswordInput.stories.tsx +1 -33
  283. package/password-input/PasswordInput.test.d.ts +1 -0
  284. package/password-input/PasswordInput.test.js +157 -140
  285. package/password-input/types.d.ts +8 -7
  286. package/progress-bar/ProgressBar.accessibility.test.d.ts +1 -0
  287. package/progress-bar/ProgressBar.accessibility.test.js +35 -0
  288. package/progress-bar/ProgressBar.d.ts +2 -2
  289. package/progress-bar/ProgressBar.js +28 -58
  290. package/progress-bar/{ProgressBar.stories.jsx → ProgressBar.stories.tsx} +36 -3
  291. package/progress-bar/ProgressBar.test.d.ts +1 -0
  292. package/progress-bar/ProgressBar.test.js +35 -52
  293. package/progress-bar/types.d.ts +4 -3
  294. package/quick-nav/QuickNav.accessibility.test.d.ts +1 -0
  295. package/quick-nav/QuickNav.accessibility.test.js +57 -0
  296. package/quick-nav/QuickNav.js +4 -27
  297. package/quick-nav/QuickNav.stories.tsx +15 -1
  298. package/quick-nav/types.d.ts +10 -10
  299. package/radio-group/Radio.d.ts +1 -1
  300. package/radio-group/Radio.js +31 -66
  301. package/radio-group/RadioGroup.accessibility.test.d.ts +1 -0
  302. package/radio-group/RadioGroup.accessibility.test.js +97 -0
  303. package/radio-group/RadioGroup.js +48 -98
  304. package/radio-group/RadioGroup.stories.tsx +131 -18
  305. package/radio-group/RadioGroup.test.d.ts +1 -0
  306. package/radio-group/RadioGroup.test.js +506 -474
  307. package/radio-group/types.d.ts +8 -8
  308. package/resultset-table/Icons.d.ts +7 -0
  309. package/{resultsetTable → resultset-table}/Icons.js +1 -5
  310. package/resultset-table/ResultsetTable.accessibility.test.d.ts +1 -0
  311. package/resultset-table/ResultsetTable.accessibility.test.js +285 -0
  312. package/resultset-table/ResultsetTable.d.ts +7 -0
  313. package/{resultsetTable → resultset-table}/ResultsetTable.js +47 -71
  314. package/{resultsetTable → resultset-table}/ResultsetTable.stories.tsx +118 -5
  315. package/resultset-table/ResultsetTable.test.d.ts +1 -0
  316. package/{resultsetTable → resultset-table}/ResultsetTable.test.js +147 -92
  317. package/{resultsetTable → resultset-table}/types.d.ts +44 -11
  318. package/resultset-table/types.js +5 -0
  319. package/select/Listbox.js +36 -54
  320. package/select/Option.js +28 -36
  321. package/select/Select.accessibility.test.d.ts +1 -0
  322. package/select/Select.accessibility.test.js +228 -0
  323. package/select/Select.js +118 -182
  324. package/select/Select.stories.tsx +504 -255
  325. package/select/Select.test.d.ts +1 -0
  326. package/select/Select.test.js +1903 -1863
  327. package/select/types.d.ts +15 -16
  328. package/sidenav/Sidenav.accessibility.test.d.ts +1 -0
  329. package/sidenav/Sidenav.accessibility.test.js +59 -0
  330. package/sidenav/Sidenav.d.ts +2 -2
  331. package/sidenav/Sidenav.js +90 -155
  332. package/sidenav/Sidenav.stories.tsx +113 -25
  333. package/sidenav/Sidenav.test.d.ts +1 -0
  334. package/sidenav/Sidenav.test.js +4 -11
  335. package/{layout → sidenav}/SidenavContext.d.ts +1 -1
  336. package/{layout → sidenav}/SidenavContext.js +3 -9
  337. package/sidenav/types.d.ts +33 -30
  338. package/slider/Slider.accessibility.test.d.ts +1 -0
  339. package/slider/Slider.accessibility.test.js +104 -0
  340. package/slider/Slider.js +68 -128
  341. package/slider/Slider.stories.tsx +57 -60
  342. package/slider/Slider.test.d.ts +1 -0
  343. package/slider/Slider.test.js +118 -111
  344. package/slider/types.d.ts +4 -4
  345. package/spinner/Spinner.accessibility.test.d.ts +1 -0
  346. package/spinner/Spinner.accessibility.test.js +96 -0
  347. package/spinner/Spinner.js +32 -72
  348. package/spinner/{Spinner.stories.jsx → Spinner.stories.tsx} +53 -27
  349. package/spinner/Spinner.test.d.ts +1 -0
  350. package/spinner/Spinner.test.js +25 -34
  351. package/spinner/types.d.ts +3 -3
  352. package/status-light/StatusLight.accessibility.test.d.ts +1 -0
  353. package/status-light/StatusLight.accessibility.test.js +157 -0
  354. package/status-light/StatusLight.d.ts +4 -0
  355. package/status-light/StatusLight.js +51 -0
  356. package/status-light/StatusLight.stories.tsx +74 -0
  357. package/status-light/StatusLight.test.d.ts +1 -0
  358. package/status-light/StatusLight.test.js +25 -0
  359. package/status-light/types.d.ts +17 -0
  360. package/status-light/types.js +5 -0
  361. package/switch/Switch.accessibility.test.d.ts +1 -0
  362. package/switch/Switch.accessibility.test.js +98 -0
  363. package/switch/Switch.js +51 -102
  364. package/switch/Switch.stories.tsx +45 -34
  365. package/switch/Switch.test.d.ts +1 -0
  366. package/switch/Switch.test.js +51 -96
  367. package/switch/types.d.ts +4 -4
  368. package/table/DropdownTheme.js +62 -0
  369. package/table/Table.accessibility.test.d.ts +1 -0
  370. package/table/Table.accessibility.test.js +93 -0
  371. package/table/Table.d.ts +6 -2
  372. package/table/Table.js +78 -35
  373. package/table/Table.stories.tsx +663 -0
  374. package/table/Table.test.d.ts +1 -0
  375. package/table/Table.test.js +92 -6
  376. package/table/types.d.ts +34 -6
  377. package/tabs/Tab.js +27 -43
  378. package/tabs/Tabs.accessibility.test.d.ts +1 -0
  379. package/tabs/Tabs.accessibility.test.js +56 -0
  380. package/tabs/Tabs.js +69 -163
  381. package/tabs/Tabs.stories.tsx +46 -4
  382. package/tabs/Tabs.test.d.ts +1 -0
  383. package/tabs/Tabs.test.js +60 -135
  384. package/tabs/types.d.ts +21 -21
  385. package/tag/Tag.accessibility.test.d.ts +1 -0
  386. package/tag/Tag.accessibility.test.js +69 -0
  387. package/tag/Tag.js +34 -66
  388. package/tag/Tag.stories.tsx +18 -8
  389. package/tag/Tag.test.d.ts +1 -0
  390. package/tag/Tag.test.js +17 -36
  391. package/tag/types.d.ts +9 -9
  392. package/text-input/Suggestion.js +11 -28
  393. package/text-input/Suggestions.d.ts +1 -1
  394. package/text-input/Suggestions.js +30 -70
  395. package/text-input/TextInput.accessibility.test.d.ts +1 -0
  396. package/text-input/TextInput.accessibility.test.js +321 -0
  397. package/text-input/TextInput.js +224 -328
  398. package/text-input/TextInput.stories.tsx +133 -160
  399. package/text-input/TextInput.test.d.ts +1 -0
  400. package/text-input/TextInput.test.js +1227 -1195
  401. package/text-input/types.d.ts +25 -17
  402. package/textarea/Textarea.accessibility.test.d.ts +1 -0
  403. package/textarea/Textarea.accessibility.test.js +155 -0
  404. package/textarea/Textarea.js +70 -115
  405. package/textarea/Textarea.stories.tsx +174 -0
  406. package/textarea/Textarea.test.d.ts +1 -0
  407. package/textarea/Textarea.test.js +151 -182
  408. package/textarea/types.d.ts +9 -5
  409. package/toggle-group/ToggleGroup.accessibility.test.d.ts +1 -0
  410. package/toggle-group/ToggleGroup.accessibility.test.js +107 -0
  411. package/toggle-group/ToggleGroup.d.ts +2 -2
  412. package/toggle-group/ToggleGroup.js +92 -108
  413. package/toggle-group/ToggleGroup.stories.tsx +52 -7
  414. package/toggle-group/ToggleGroup.test.d.ts +1 -0
  415. package/toggle-group/ToggleGroup.test.js +68 -87
  416. package/toggle-group/types.d.ts +28 -19
  417. package/typography/Typography.accessibility.test.d.ts +1 -0
  418. package/typography/Typography.accessibility.test.js +339 -0
  419. package/typography/Typography.d.ts +2 -2
  420. package/typography/Typography.js +15 -123
  421. package/typography/Typography.stories.tsx +1 -1
  422. package/typography/types.d.ts +1 -1
  423. package/useTheme.d.ts +1141 -1
  424. package/useTheme.js +2 -9
  425. package/useTranslatedLabels.d.ts +84 -1
  426. package/useTranslatedLabels.js +1 -7
  427. package/utils/BaseTypography.d.ts +21 -0
  428. package/utils/BaseTypography.js +94 -0
  429. package/utils/FocusLock.d.ts +13 -0
  430. package/utils/FocusLock.js +124 -0
  431. package/wizard/Wizard.accessibility.test.d.ts +1 -0
  432. package/wizard/Wizard.accessibility.test.js +55 -0
  433. package/wizard/Wizard.js +29 -75
  434. package/wizard/Wizard.stories.tsx +39 -0
  435. package/wizard/Wizard.test.d.ts +1 -0
  436. package/wizard/Wizard.test.js +53 -80
  437. package/wizard/types.d.ts +10 -11
  438. package/card/ice-cream.jpg +0 -0
  439. package/common/OpenSans.css +0 -81
  440. package/common/fonts/OpenSans-Bold.ttf +0 -0
  441. package/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  442. package/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  443. package/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  444. package/common/fonts/OpenSans-Italic.ttf +0 -0
  445. package/common/fonts/OpenSans-Light.ttf +0 -0
  446. package/common/fonts/OpenSans-LightItalic.ttf +0 -0
  447. package/common/fonts/OpenSans-Regular.ttf +0 -0
  448. package/common/fonts/OpenSans-SemiBold.ttf +0 -0
  449. package/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  450. package/date-input/Icons.d.ts +0 -6
  451. package/date-input/Icons.js +0 -75
  452. package/number-input/numberInputContextTypes.d.ts +0 -19
  453. package/paginator/Icons.d.ts +0 -5
  454. package/paginator/Icons.js +0 -54
  455. package/resultsetTable/Icons.d.ts +0 -7
  456. package/resultsetTable/ResultsetTable.d.ts +0 -4
  457. package/select/Icons.d.ts +0 -10
  458. package/select/Icons.js +0 -93
  459. package/table/Table.stories.jsx +0 -277
  460. package/tabs-nav/NavTabs.d.ts +0 -8
  461. package/tabs-nav/NavTabs.js +0 -125
  462. package/tabs-nav/NavTabs.stories.tsx +0 -172
  463. package/tabs-nav/NavTabs.test.js +0 -82
  464. package/tabs-nav/Tab.js +0 -128
  465. package/text-input/Icons.d.ts +0 -8
  466. package/text-input/Icons.js +0 -60
  467. package/textarea/Textarea.stories.jsx +0 -157
  468. /package/{resultsetTable → action-icon}/types.js +0 -0
  469. /package/{tabs-nav → breadcrumbs}/types.js +0 -0
  470. /package/{number-input/numberInputContextTypes.js → container/types.js} +0 -0
  471. /package/{tabs-nav → nav-tabs}/Tab.d.ts +0 -0
@@ -1,81 +0,0 @@
1
-
2
- @font-face {
3
- font-family: 'Open Sans';
4
- src: url('./fonts/OpenSans-Light.ttf')
5
- format('truetype');
6
- font-style: normal;
7
- font-weight: 200;
8
- }
9
-
10
- @font-face {
11
- font-family: 'Open Sans';
12
- src: url('./fonts/OpenSans-Regular.ttf')
13
- format('truetype');
14
- font-style: normal;
15
- font-weight: 400;
16
- }
17
-
18
- @font-face {
19
- font-family: 'Open Sans';
20
- src: url('./fonts/OpenSans-SemiBold.ttf')
21
- format('truetype');
22
- font-style: normal;
23
- font-weight: 600;
24
- }
25
-
26
- @font-face {
27
- font-family: 'Open Sans';
28
- src: url('./fonts/OpenSans-Bold.ttf')
29
- format('truetype');
30
- font-style: normal;
31
- font-weight: 700;
32
- }
33
-
34
- @font-face {
35
- font-family: 'Open Sans';
36
- src: url('./fonts/OpenSans-ExtraBold.ttf')
37
- format('truetype');
38
- font-style: normal;
39
- font-weight: 800;
40
- }
41
-
42
- @font-face {
43
- font-family: 'Open Sans';
44
- src: url('./fonts/OpenSans-LightItalic.ttf')
45
- format('truetype');
46
- font-style: italic;
47
- font-weight: 200;
48
- }
49
-
50
- @font-face {
51
- font-family: 'Open Sans';
52
- src: url('./fonts/OpenSans-Italic.ttf')
53
- format('truetype');
54
- font-style: italic;
55
- font-weight: 400;
56
- }
57
-
58
- @font-face {
59
- font-family: 'Open Sans';
60
- src: url('./fonts/OpenSans-SemiBoldItalic.ttf')
61
- format('truetype');
62
- font-style: italic;
63
- font-weight: 600;
64
- }
65
-
66
- @font-face {
67
- font-family: 'Open Sans';
68
- src: url('./fonts/OpenSans-BoldItalic.ttf')
69
- format('truetype');
70
- font-style: italic;
71
- font-weight: 700;
72
- }
73
-
74
- @font-face {
75
- font-family: 'Open Sans';
76
- src: url('./fonts/OpenSans-ExtraBoldItalic.ttf')
77
- format('truetype');
78
- font-style: italic;
79
- font-weight: 800;
80
- }
81
-
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const calendarIcon: JSX.Element;
3
- export declare const leftCaret: JSX.Element;
4
- export declare const rightCaret: JSX.Element;
5
- export declare const downCaret: JSX.Element;
6
- export declare const upCaret: JSX.Element;
@@ -1,75 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.upCaret = exports.rightCaret = exports.leftCaret = exports.downCaret = exports.calendarIcon = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var calendarIcon = /*#__PURE__*/_react["default"].createElement("svg", {
13
- xmlns: "http://www.w3.org/2000/svg",
14
- height: "24",
15
- viewBox: "0 0 24 24",
16
- width: "24",
17
- fill: "currentColor"
18
- }, /*#__PURE__*/_react["default"].createElement("path", {
19
- d: "M0 0h24v24H0z",
20
- fill: "none"
21
- }), /*#__PURE__*/_react["default"].createElement("path", {
22
- d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"
23
- }));
24
-
25
- exports.calendarIcon = calendarIcon;
26
-
27
- var leftCaret = /*#__PURE__*/_react["default"].createElement("svg", {
28
- fill: "currentColor",
29
- focusable: "false",
30
- viewBox: "0 0 24 24"
31
- }, /*#__PURE__*/_react["default"].createElement("path", {
32
- d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
33
- }), /*#__PURE__*/_react["default"].createElement("path", {
34
- fill: "none",
35
- d: "M0 0h24v24H0V0z"
36
- }));
37
-
38
- exports.leftCaret = leftCaret;
39
-
40
- var rightCaret = /*#__PURE__*/_react["default"].createElement("svg", {
41
- fill: "currentColor",
42
- focusable: "false",
43
- viewBox: "0 0 24 24"
44
- }, /*#__PURE__*/_react["default"].createElement("path", {
45
- d: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
46
- }), /*#__PURE__*/_react["default"].createElement("path", {
47
- fill: "none",
48
- d: "M0 0h24v24H0V0z"
49
- }));
50
-
51
- exports.rightCaret = rightCaret;
52
-
53
- var downCaret = /*#__PURE__*/_react["default"].createElement("svg", {
54
- xmlns: "http://www.w3.org/2000/svg",
55
- width: "24",
56
- height: "24",
57
- viewBox: "0 0 24 24"
58
- }, /*#__PURE__*/_react["default"].createElement("path", {
59
- d: "M7.5 10L12.5 15L17.5 10H7.5Z",
60
- fill: "currentColor"
61
- }));
62
-
63
- exports.downCaret = downCaret;
64
-
65
- var upCaret = /*#__PURE__*/_react["default"].createElement("svg", {
66
- xmlns: "http://www.w3.org/2000/svg",
67
- height: "24",
68
- width: "24",
69
- viewBox: "0 0 24 24"
70
- }, /*#__PURE__*/_react["default"].createElement("path", {
71
- d: "m7 14 5-5 5 5Z",
72
- fill: "currentColor"
73
- }));
74
-
75
- exports.upCaret = upCaret;
@@ -1,19 +0,0 @@
1
- declare type Props = {
2
- /**
3
- * Type of the input.
4
- */
5
- typeNumber?: string;
6
- /**
7
- * Minimum value allowed by the number input.
8
- */
9
- minNumber?: number;
10
- /**
11
- * Maximum value allowed by the number input.
12
- */
13
- maxNumber?: number;
14
- /**
15
- * The step interval to use when using the up and down arrows to adjust the value.
16
- */
17
- stepNumber?: number;
18
- };
19
- export default Props;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const firstIcon: JSX.Element;
3
- export declare const previousIcon: JSX.Element;
4
- export declare const nextIcon: JSX.Element;
5
- export declare const lastIcon: JSX.Element;
@@ -1,54 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.previousIcon = exports.nextIcon = exports.lastIcon = exports.firstIcon = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var firstIcon = /*#__PURE__*/_react["default"].createElement("svg", {
13
- xmlns: "http://www.w3.org/2000/svg",
14
- height: "24",
15
- width: "24",
16
- fill: "currentColor"
17
- }, /*#__PURE__*/_react["default"].createElement("path", {
18
- d: "M6 18V6h2v12Zm11 0-6-6 6-6 1.4 1.4-4.6 4.6 4.6 4.6Z"
19
- }));
20
-
21
- exports.firstIcon = firstIcon;
22
-
23
- var previousIcon = /*#__PURE__*/_react["default"].createElement("svg", {
24
- xmlns: "http://www.w3.org/2000/svg",
25
- height: "24",
26
- width: "24",
27
- fill: "currentColor"
28
- }, /*#__PURE__*/_react["default"].createElement("path", {
29
- d: "m14 18-6-6 6-6 1.4 1.4-4.6 4.6 4.6 4.6Z"
30
- }));
31
-
32
- exports.previousIcon = previousIcon;
33
-
34
- var nextIcon = /*#__PURE__*/_react["default"].createElement("svg", {
35
- xmlns: "http://www.w3.org/2000/svg",
36
- height: "24",
37
- width: "24",
38
- fill: "currentColor"
39
- }, /*#__PURE__*/_react["default"].createElement("path", {
40
- d: "M9.4 18 8 16.6l4.6-4.6L8 7.4 9.4 6l6 6Z"
41
- }));
42
-
43
- exports.nextIcon = nextIcon;
44
-
45
- var lastIcon = /*#__PURE__*/_react["default"].createElement("svg", {
46
- xmlns: "http://www.w3.org/2000/svg",
47
- height: "24",
48
- width: "24",
49
- fill: "currentColor"
50
- }, /*#__PURE__*/_react["default"].createElement("path", {
51
- d: "m7 18-1.4-1.4 4.6-4.6-4.6-4.6L7 6l6 6Zm9 0V6h2v12Z"
52
- }));
53
-
54
- exports.lastIcon = lastIcon;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- declare const icons: {
3
- arrowUp: JSX.Element;
4
- arrowDown: JSX.Element;
5
- bothArrows: JSX.Element;
6
- };
7
- export default icons;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import ResultsetTablePropsType from "./types";
3
- declare const DxcResultsetTable: ({ columns, rows, showGoToPage, itemsPerPage, itemsPerPageOptions, itemsPerPageFunction, margin, tabIndex, }: ResultsetTablePropsType) => JSX.Element;
4
- export default DxcResultsetTable;
package/select/Icons.d.ts DELETED
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- declare const selectIcons: {
3
- error: JSX.Element;
4
- arrowUp: JSX.Element;
5
- arrowDown: JSX.Element;
6
- clear: JSX.Element;
7
- selected: JSX.Element;
8
- searchOff: JSX.Element;
9
- };
10
- export default selectIcons;
package/select/Icons.js DELETED
@@ -1,93 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var selectIcons = {
13
- error: /*#__PURE__*/_react["default"].createElement("svg", {
14
- role: "img",
15
- xmlns: "http://www.w3.org/2000/svg",
16
- height: "24px",
17
- viewBox: "0 0 24 24",
18
- width: "24px",
19
- fill: "currentColor"
20
- }, /*#__PURE__*/_react["default"].createElement("path", {
21
- d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
22
- })),
23
- arrowUp: /*#__PURE__*/_react["default"].createElement("svg", {
24
- role: "img",
25
- xmlns: "http://www.w3.org/2000/svg",
26
- height: "24px",
27
- viewBox: "0 0 24 24",
28
- width: "24px",
29
- fill: "currentColor"
30
- }, /*#__PURE__*/_react["default"].createElement("path", {
31
- d: "M0 0h24v24H0V0z",
32
- fill: "none"
33
- }), /*#__PURE__*/_react["default"].createElement("path", {
34
- d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z"
35
- })),
36
- arrowDown: /*#__PURE__*/_react["default"].createElement("svg", {
37
- role: "img",
38
- xmlns: "http://www.w3.org/2000/svg",
39
- height: "24px",
40
- viewBox: "0 0 24 24",
41
- width: "24px",
42
- fill: "currentColor"
43
- }, /*#__PURE__*/_react["default"].createElement("path", {
44
- d: "M0 0h24v24H0V0z",
45
- fill: "none"
46
- }), /*#__PURE__*/_react["default"].createElement("path", {
47
- d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"
48
- })),
49
- clear: /*#__PURE__*/_react["default"].createElement("svg", {
50
- role: "img",
51
- xmlns: "http://www.w3.org/2000/svg",
52
- width: "24",
53
- height: "24",
54
- viewBox: "0 0 24 24",
55
- fill: "currentColor"
56
- }, /*#__PURE__*/_react["default"].createElement("path", {
57
- d: "M0 0h24v24H0V0z",
58
- fill: "none"
59
- }), /*#__PURE__*/_react["default"].createElement("path", {
60
- d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
61
- })),
62
- selected: /*#__PURE__*/_react["default"].createElement("svg", {
63
- role: "img",
64
- xmlns: "http://www.w3.org/2000/svg",
65
- height: "24px",
66
- viewBox: "0 0 24 24",
67
- width: "24px",
68
- fill: "currentColor"
69
- }, /*#__PURE__*/_react["default"].createElement("path", {
70
- d: "M0 0h24v24H0z",
71
- fill: "none"
72
- }), /*#__PURE__*/_react["default"].createElement("path", {
73
- d: "M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"
74
- })),
75
- searchOff: /*#__PURE__*/_react["default"].createElement("svg", {
76
- role: "img",
77
- xmlns: "http://www.w3.org/2000/svg",
78
- height: "24px",
79
- viewBox: "0 0 24 24",
80
- width: "24px",
81
- fill: "currentColor"
82
- }, /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
83
- fill: "none",
84
- height: "24",
85
- width: "24"
86
- })), /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("path", {
87
- d: "M15.5,14h-0.79l-0.28-0.27C15.41,12.59,16,11.11,16,9.5C16,5.91,13.09,3,9.5,3C6.08,3,3.28,5.64,3.03,9h2.02 C5.3,6.75,7.18,5,9.5,5C11.99,5,14,7.01,14,9.5S11.99,14,9.5,14c-0.17,0-0.33-0.03-0.5-0.05v2.02C9.17,15.99,9.33,16,9.5,16 c1.61,0,3.09-0.59,4.23-1.57L14,14.71v0.79l5,4.99L20.49,19L15.5,14z"
88
- }), /*#__PURE__*/_react["default"].createElement("polygon", {
89
- points: "6.47,10.82 4,13.29 1.53,10.82 0.82,11.53 3.29,14 0.82,16.47 1.53,17.18 4,14.71 6.47,17.18 7.18,16.47 4.71,14 7.18,11.53"
90
- }))))
91
- };
92
- var _default = selectIcons;
93
- exports["default"] = _default;
@@ -1,277 +0,0 @@
1
- import React from "react";
2
- import DxcTable from "./Table";
3
- import Title from "../../.storybook/components/Title";
4
- import ExampleContainer from "../../.storybook/components/ExampleContainer";
5
-
6
- export default {
7
- title: "Table",
8
- component: DxcTable,
9
- };
10
-
11
- export const Chromatic = () => (
12
- <>
13
- <ExampleContainer>
14
- <Title title="Default" theme="light" level={4} />
15
- <DxcTable>
16
- <tr>
17
- <th>header 1</th>
18
- <th>header 2</th>
19
- <th>header 3</th>
20
- </tr>
21
- <tr>
22
- <td>cell 1</td>
23
- <td>cell 2</td>
24
- <td>cell 3</td>
25
- </tr>
26
- <tr>
27
- <td>cell 4</td>
28
- <td>cell 5</td>
29
- <td>cell 6</td>
30
- </tr>
31
- <tr>
32
- <td>cell 7</td>
33
- <td>cell 8</td>
34
- <td>Cell 9</td>
35
- </tr>
36
- </DxcTable>
37
- </ExampleContainer>
38
- <ExampleContainer>
39
- <Title title="With scrollbar" theme="light" level={4} />
40
- <div
41
- style={{ height: 200 + "px", display: "flex", flexDirection: "row", width: 100 + "%", marginBottom: 50 + "px" }}
42
- >
43
- <DxcTable>
44
- <tr>
45
- <th>
46
- header<br></br>subheader
47
- </th>
48
- <th>
49
- header<br></br>subheader
50
- </th>
51
- <th>
52
- header<br></br>subheader
53
- </th>
54
- </tr>
55
- <tr>
56
- <td>
57
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
58
- dolore magna aliqua.
59
- </td>
60
- <td>
61
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
62
- consequat.
63
- </td>
64
- <td>
65
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
66
- </td>
67
- </tr>
68
- <tr>
69
- <td>cell data</td>
70
- <td>cell data</td>
71
- <td>cell data</td>
72
- </tr>
73
- <tr>
74
- <td>cell data</td>
75
- <td>cell data</td>
76
- <td>cell data</td>
77
- </tr>
78
- <tr>
79
- <td>cell data</td>
80
- <td>cell data</td>
81
- <td>cell data</td>
82
- </tr>
83
- <tr>
84
- <td>cell data</td>
85
- <td>cell data</td>
86
- <td>cell data</td>
87
- </tr>
88
- <tr>
89
- <td>cell data</td>
90
- <td>cell data</td>
91
- <td>cell data</td>
92
- </tr>
93
- <tr>
94
- <td>cell data</td>
95
- <td>cell data</td>
96
- <td>cell data</td>
97
- </tr>
98
- <tr>
99
- <td>cell data</td>
100
- <td>cell data</td>
101
- <td>cell data</td>
102
- </tr>
103
- <tr>
104
- <td>cell data</td>
105
- <td>cell data</td>
106
- <td>cell data</td>
107
- </tr>
108
- </DxcTable>
109
- </div>
110
- </ExampleContainer>
111
- <Title title="Margins" theme="light" level={2} />
112
- <ExampleContainer>
113
- <Title title="Xxsmall margin" theme="light" level={4} />
114
- <DxcTable margin="xxsmall">
115
- <tr>
116
- <th>header 1</th>
117
- <th>header 2</th>
118
- <th>header 3</th>
119
- </tr>
120
- <tr>
121
- <td>cell 1</td>
122
- <td>cell 2</td>
123
- <td>cell 3</td>
124
- </tr>
125
- <tr>
126
- <td>cell 4</td>
127
- <td>cell 5</td>
128
- <td>cell 6</td>
129
- </tr>
130
- <tr>
131
- <td>cell 7</td>
132
- <td>cell 8</td>
133
- <td>Cell 9</td>
134
- </tr>
135
- </DxcTable>
136
- <Title title="Xsmall margin" theme="light" level={4} />
137
- <DxcTable margin="xsmall">
138
- <tr>
139
- <th>header 1</th>
140
- <th>header 2</th>
141
- <th>header 3</th>
142
- </tr>
143
- <tr>
144
- <td>cell 1</td>
145
- <td>cell 2</td>
146
- <td>cell 3</td>
147
- </tr>
148
- <tr>
149
- <td>cell 4</td>
150
- <td>cell 5</td>
151
- <td>cell 6</td>
152
- </tr>
153
- <tr>
154
- <td>cell 7</td>
155
- <td>cell 8</td>
156
- <td>Cell 9</td>
157
- </tr>
158
- </DxcTable>
159
- <Title title="Small margin" theme="light" level={4} />
160
- <DxcTable margin="small">
161
- <tr>
162
- <th>header 1</th>
163
- <th>header 2</th>
164
- <th>header 3</th>
165
- </tr>
166
- <tr>
167
- <td>cell 1</td>
168
- <td>cell 2</td>
169
- <td>cell 3</td>
170
- </tr>
171
- <tr>
172
- <td>cell 4</td>
173
- <td>cell 5</td>
174
- <td>cell 6</td>
175
- </tr>
176
- <tr>
177
- <td>cell 7</td>
178
- <td>cell 8</td>
179
- <td>Cell 9</td>
180
- </tr>
181
- </DxcTable>
182
- <Title title="Medium margin" theme="light" level={4} />
183
- <DxcTable margin="medium">
184
- <tr>
185
- <th>header 1</th>
186
- <th>header 2</th>
187
- <th>header 3</th>
188
- </tr>
189
- <tr>
190
- <td>cell 1</td>
191
- <td>cell 2</td>
192
- <td>cell 3</td>
193
- </tr>
194
- <tr>
195
- <td>cell 4</td>
196
- <td>cell 5</td>
197
- <td>cell 6</td>
198
- </tr>
199
- <tr>
200
- <td>cell 7</td>
201
- <td>cell 8</td>
202
- <td>Cell 9</td>
203
- </tr>
204
- </DxcTable>
205
- <Title title="Large margin" theme="light" level={4} />
206
- <DxcTable margin="large">
207
- <tr>
208
- <th>header 1</th>
209
- <th>header 2</th>
210
- <th>header 3</th>
211
- </tr>
212
- <tr>
213
- <td>cell 1</td>
214
- <td>cell 2</td>
215
- <td>cell 3</td>
216
- </tr>
217
- <tr>
218
- <td>cell 4</td>
219
- <td>cell 5</td>
220
- <td>cell 6</td>
221
- </tr>
222
- <tr>
223
- <td>cell 7</td>
224
- <td>cell 8</td>
225
- <td>Cell 9</td>
226
- </tr>
227
- </DxcTable>
228
- <Title title="Xlarge margin" theme="light" level={4} />
229
- <DxcTable margin="xlarge">
230
- <tr>
231
- <th>header 1</th>
232
- <th>header 2</th>
233
- <th>header 3</th>
234
- </tr>
235
- <tr>
236
- <td>cell 1</td>
237
- <td>cell 2</td>
238
- <td>cell 3</td>
239
- </tr>
240
- <tr>
241
- <td>cell 4</td>
242
- <td>cell 5</td>
243
- <td>cell 6</td>
244
- </tr>
245
- <tr>
246
- <td>cell 7</td>
247
- <td>cell 8</td>
248
- <td>Cell 9</td>
249
- </tr>
250
- </DxcTable>
251
- <Title title="Xxlarge margin" theme="light" level={4} />
252
- <DxcTable margin="xxlarge">
253
- <tr>
254
- <th>header 1</th>
255
- <th>header 2</th>
256
- <th>header 3</th>
257
- </tr>
258
- <tr>
259
- <td>cell 1</td>
260
- <td>cell 2</td>
261
- <td>cell 3</td>
262
- </tr>
263
- <tr>
264
- <td>cell 4</td>
265
- <td>cell 5</td>
266
- <td>cell 6</td>
267
- </tr>
268
- <tr>
269
- <td>cell 7</td>
270
- <td>cell 8</td>
271
- <td>Cell 9</td>
272
- </tr>
273
- </DxcTable>
274
- <hr />
275
- </ExampleContainer>
276
- </>
277
- );
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { NavTabsContextProps, NavTabsProps } from "./types";
3
- export declare const NavTabsContext: React.Context<NavTabsContextProps>;
4
- declare const DxcNavTabs: {
5
- ({ iconPosition, tabIndex, children }: NavTabsProps): JSX.Element;
6
- Tab: React.ForwardRefExoticComponent<import("./types").TabProps & React.RefAttributes<HTMLAnchorElement>>;
7
- };
8
- export default DxcNavTabs;