@indico-data/design-system 1.0.57 → 2.0.0

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 (557) hide show
  1. package/.eslintrc.js +1 -1
  2. package/.harness/pipeline.yaml +14 -0
  3. package/.storybook/main.ts +6 -3
  4. package/.storybook/manager-head.html +5 -0
  5. package/.storybook/manager.ts +6 -0
  6. package/.storybook/preview.ts +31 -9
  7. package/.yarnrc.yml +2 -0
  8. package/README.md +8 -11
  9. package/lib/components/button/Button.d.ts +2 -0
  10. package/lib/components/button/Button.stories.d.ts +22 -0
  11. package/lib/components/button/enums.d.ts +5 -0
  12. package/lib/components/button/types.d.ts +25 -0
  13. package/lib/components/grid/col/Col.d.ts +2 -0
  14. package/lib/components/grid/col/Col.stories.d.ts +7 -0
  15. package/lib/components/grid/container/Container.d.ts +2 -0
  16. package/lib/components/grid/container/Container.stories.d.ts +10 -0
  17. package/lib/components/grid/index.d.ts +3 -0
  18. package/lib/components/grid/row/Row.d.ts +2 -0
  19. package/lib/components/grid/row/Row.stories.d.ts +6 -0
  20. package/lib/components/index.d.ts +2 -18
  21. package/lib/components/sampleButton/SampleButton.d.ts +6 -0
  22. package/lib/components/sampleButton/SampleButton.stories.d.ts +6 -0
  23. package/lib/components/sampleButton/index.d.ts +1 -0
  24. package/lib/index.css +3491 -0
  25. package/lib/index.d.ts +272 -18
  26. package/lib/index.esm.css +3491 -0
  27. package/lib/index.esm.js +2588 -3051
  28. package/lib/index.esm.js.map +1 -1
  29. package/lib/index.js +2861 -3320
  30. package/lib/index.js.map +1 -1
  31. package/lib/{components → legacy/components}/Accordion/Accordion.stories.d.ts +2 -2
  32. package/lib/legacy/components/Icon/Icon.stories.d.ts +42 -0
  33. package/lib/{components → legacy/components}/ListTable/ListTable.stories.d.ts +1 -1
  34. package/lib/{components → legacy/components}/Navigation/Drawer/Drawer.d.ts +3 -2
  35. package/lib/{components → legacy/components}/Navigation/Drawer/Drawer.stories.d.ts +1 -1
  36. package/lib/legacy/components/Toggle/Toggle.stories.d.ts +21 -0
  37. package/lib/{components → legacy/components}/basic-section/Section/Section.stories.d.ts +1 -1
  38. package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.stories.d.ts +1 -1
  39. package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.stories.d.ts +1 -1
  40. package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.stories.d.ts +1 -1
  41. package/lib/{components → legacy/components}/dropdowns/Select/Select.stories.d.ts +1 -1
  42. package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.stories.d.ts +1 -1
  43. package/lib/legacy/components/index.d.ts +18 -0
  44. package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.stories.d.ts +1 -1
  45. package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.stories.d.ts +1 -1
  46. package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.styles.d.ts +2 -2
  47. package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.d.ts +1 -1
  48. package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.stories.d.ts +2 -2
  49. package/lib/legacy/components/text-truncate/TextTruncate.stories.d.ts +6 -0
  50. package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.stories.d.ts +1 -1
  51. package/lib/stylesAndAnimations/borders/BorderColor.d.ts +3 -0
  52. package/lib/stylesAndAnimations/borders/BorderColor.stories.d.ts +6 -0
  53. package/lib/stylesAndAnimations/borders/BorderRadius.d.ts +3 -0
  54. package/lib/stylesAndAnimations/borders/BorderRadius.stories.d.ts +6 -0
  55. package/lib/stylesAndAnimations/borders/BorderStyles.d.ts +3 -0
  56. package/lib/stylesAndAnimations/borders/BorderStyles.stories.d.ts +6 -0
  57. package/lib/stylesAndAnimations/borders/BorderThickness.d.ts +3 -0
  58. package/lib/stylesAndAnimations/borders/BorderThickness.stories.d.ts +6 -0
  59. package/lib/stylesAndAnimations/borders/index.d.ts +4 -0
  60. package/lib/stylesAndAnimations/colors/Swatch.d.ts +8 -0
  61. package/lib/stylesAndAnimations/colors/UtilityClasses.d.ts +1 -0
  62. package/lib/stylesAndAnimations/colors/UtilityClasses.stories.d.ts +6 -0
  63. package/lib/stylesAndAnimations/colors/colors.d.ts +1 -0
  64. package/lib/stylesAndAnimations/colors/colors.stories.d.ts +6 -0
  65. package/lib/stylesAndAnimations/colors/constants.d.ts +4 -0
  66. package/lib/stylesAndAnimations/colors/hooks.d.ts +1 -0
  67. package/lib/stylesAndAnimations/colors/index.d.ts +1 -0
  68. package/lib/stylesAndAnimations/sizing/Sizing.d.ts +2 -0
  69. package/lib/stylesAndAnimations/sizing/Sizing.stories.d.ts +6 -0
  70. package/lib/stylesAndAnimations/sizing/index.d.ts +1 -0
  71. package/lib/stylesAndAnimations/typography/Typography.d.ts +1 -0
  72. package/lib/stylesAndAnimations/typography/Typography.stories.d.ts +6 -0
  73. package/lib/stylesAndAnimations/typography/index.d.ts +1 -0
  74. package/lib/types.d.ts +1 -1
  75. package/package.json +44 -25
  76. package/postcss.config.js +6 -0
  77. package/rollup.config.mjs +8 -3
  78. package/src/components/button/Button.mdx +98 -0
  79. package/src/components/button/Button.scss +275 -0
  80. package/src/components/button/Button.stories.tsx +281 -0
  81. package/src/components/button/Button.tsx +80 -0
  82. package/src/components/button/__tests__/Button.test.tsx +108 -0
  83. package/src/components/button/enums.ts +9 -0
  84. package/src/components/button/index.ts +1 -0
  85. package/src/components/button/types.ts +29 -0
  86. package/src/components/grid/Grid.scss +31 -0
  87. package/src/components/grid/GridSystem.mdx +138 -0
  88. package/src/components/grid/col/Col.mdx +44 -0
  89. package/src/components/grid/col/Col.stories.tsx +25 -0
  90. package/src/components/grid/col/Col.tsx +5 -0
  91. package/src/components/grid/container/Container.mdx +43 -0
  92. package/src/components/grid/container/Container.stories.tsx +117 -0
  93. package/src/components/grid/container/Container.tsx +5 -0
  94. package/src/components/grid/index.tsx +3 -0
  95. package/src/components/grid/row/Row.mdx +56 -0
  96. package/src/components/grid/row/Row.stories.tsx +99 -0
  97. package/src/components/grid/row/Row.tsx +5 -0
  98. package/src/components/index.ts +2 -39
  99. package/src/index.ts +12 -7
  100. package/src/{components → legacy/components}/Accordion/Accordion.stories.tsx +2 -2
  101. package/src/{components → legacy/components}/Accordion/Accordion.tsx +1 -1
  102. package/src/{components → legacy/components}/Icon/Icon.stories.tsx +1 -1
  103. package/src/{components → legacy/components}/Icon/storyHelpers.tsx +1 -1
  104. package/src/{components → legacy/components}/ListTable/Header/Header.styles.ts +1 -1
  105. package/src/{components → legacy/components}/ListTable/Header/Header.tsx +4 -4
  106. package/src/{components → legacy/components}/ListTable/ListTable.stories.tsx +2 -2
  107. package/src/{components → legacy/components}/ListTable/ListTable.styles.ts +1 -1
  108. package/src/{components → legacy/components}/ListTable/ListTable.tsx +5 -5
  109. package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.stories.tsx +1 -1
  110. package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.tsx +1 -1
  111. package/src/{components/Navigation/Drawer/Drawer.styles.ts → legacy/components/Navigation/Drawer/Drawer.scss} +14 -28
  112. package/src/{components → legacy/components}/Navigation/Drawer/Drawer.stories.tsx +2 -3
  113. package/src/{components → legacy/components}/Navigation/Drawer/Drawer.tsx +27 -28
  114. package/src/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.styles.ts +3 -4
  115. package/src/legacy/components/Navigation/Drawer/__tests__/Drawer.test.tsx +180 -0
  116. package/src/{components → legacy/components}/Pagination/Pagination.stories.tsx +1 -1
  117. package/src/{components → legacy/components}/Pagination/Pagination.styles.ts +1 -1
  118. package/src/{components → legacy/components}/Pagination/Pagination.tsx +1 -1
  119. package/src/{components → legacy/components}/Toggle/Toggle.stories.tsx +1 -1
  120. package/src/{components → legacy/components}/Toggle/Toggle.styles.ts +1 -1
  121. package/src/{components → legacy/components}/Toggle/Toggle.tsx +1 -1
  122. package/src/{components → legacy/components}/Tooltip/Tooltip.stories.tsx +1 -1
  123. package/src/{components → legacy/components}/Wizard/Wizard.stories.tsx +1 -1
  124. package/src/{components → legacy/components}/Wizard/Wizard.styles.ts +1 -1
  125. package/src/{components → legacy/components}/Wizard/Wizard.tsx +1 -1
  126. package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.stories.tsx +2 -2
  127. package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.styles.ts +21 -37
  128. package/src/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.tsx +59 -43
  129. package/src/{components → legacy/components}/basic-section/Section/Section.stories.tsx +1 -1
  130. package/src/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.styles.ts +1 -1
  131. package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.stories.tsx +1 -1
  132. package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.styles.ts +1 -1
  133. package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.stories.tsx +1 -1
  134. package/src/{components → legacy/components}/basic-section/SectionTable/SectionTable.styles.ts +2 -2
  135. package/src/{components → legacy/components}/basic-section/SectionTable/SectionTable.tsx +2 -2
  136. package/src/{components → legacy/components}/buttons/Button/Button.stories.tsx +1 -1
  137. package/src/{components → legacy/components}/buttons/Button/Button.styles.ts +1 -1
  138. package/src/{components → legacy/components}/buttons/Button/Button.tsx +1 -1
  139. package/src/legacy/components/buttons/Button/index.ts +1 -0
  140. package/src/{components → legacy/components}/buttons/IconButton/IconButton.stories.tsx +1 -1
  141. package/src/{components → legacy/components}/buttons/IconButton/IconButton.styles.ts +1 -1
  142. package/src/{components → legacy/components}/buttons/IconButton/IconButton.tsx +2 -2
  143. package/src/{components → legacy/components}/buttons/commonStyles.ts +1 -1
  144. package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.stories.tsx +1 -1
  145. package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.styles.ts +1 -1
  146. package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.stories.tsx +2 -2
  147. package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.styles.ts +1 -1
  148. package/src/{components → legacy/components}/dropdowns/Select/Select.stories.tsx +1 -1
  149. package/src/{components → legacy/components}/dropdowns/Select/Select.styles.ts +1 -1
  150. package/src/{components → legacy/components}/dropdowns/Select/Select.tsx +1 -1
  151. package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.stories.tsx +1 -1
  152. package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.styles.ts +1 -1
  153. package/src/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.tsx +1 -1
  154. package/src/{components → legacy/components}/dropdowns/commonStyles.ts +1 -1
  155. package/src/legacy/components/index.ts +37 -0
  156. package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.stories.tsx +2 -2
  157. package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.stories.tsx +1 -1
  158. package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.tsx +2 -2
  159. package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.stories.tsx +9 -10
  160. package/src/legacy/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.tsx +127 -0
  161. package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.stories.tsx +1 -1
  162. package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.styles.ts +1 -1
  163. package/src/{components → legacy/components}/inputs/NumberInput/NumberInput.tsx +2 -2
  164. package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.stories.tsx +2 -2
  165. package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.styles.ts +1 -1
  166. package/src/{components → legacy/components}/inputs/RadioButtons/RadioButtons.tsx +1 -1
  167. package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.stories.tsx +1 -1
  168. package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.stories.tsx +1 -1
  169. package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.styles.ts +2 -2
  170. package/src/{components → legacy/components}/inputs/SearchInput/SearchInput.tsx +4 -4
  171. package/src/{components → legacy/components}/inputs/TextInput/TextInput.stories.tsx +1 -1
  172. package/src/{components → legacy/components}/inputs/TextInput/TextInput.styles.ts +1 -1
  173. package/src/{components → legacy/components}/inputs/inputsCommon.styles.ts +1 -2
  174. package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.stories.tsx +1 -1
  175. package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.styles.ts +1 -1
  176. package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.stories.tsx +1 -1
  177. package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.styles.ts +1 -1
  178. package/src/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.tsx +1 -1
  179. package/src/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.stories.tsx +1 -1
  180. package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.stories.tsx +1 -1
  181. package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.styles.ts +1 -1
  182. package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.tsx +2 -2
  183. package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.stories.tsx +1 -1
  184. package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.styles.ts +1 -1
  185. package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.stories.tsx +1 -1
  186. package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.tsx +1 -1
  187. package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.tsx +1 -1
  188. package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.stories.tsx +1 -1
  189. package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.styles.ts +1 -1
  190. package/src/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.tsx +7 -5
  191. package/src/{components → legacy/components}/modals/ModalBase/ModalBase.stories.tsx +1 -1
  192. package/src/{components → legacy/components}/modals/ModalBase/ModalBase.styles.tsx +2 -2
  193. package/src/legacy/components/text-truncate/TextTruncate.stories.tsx +19 -0
  194. package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.stories.tsx +1 -1
  195. package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.styles.ts +1 -1
  196. package/src/{components → legacy/components}/user-feedback/Shrug/Shrug.tsx +2 -2
  197. package/src/{styles → legacy/styles}/globals/buttons.ts +1 -1
  198. package/src/{styles → legacy/styles}/globals/forms.ts +1 -1
  199. package/src/{styles → legacy/styles}/globals/index.tsx +0 -3
  200. package/src/{styles → legacy/styles}/globals/margin-padding.ts +1 -1
  201. package/src/{styles → legacy/styles}/globals/tables.ts +1 -1
  202. package/src/{styles → legacy/styles}/globals/typography.ts +1 -1
  203. package/src/{styles → legacy/styles}/globals/utility-classes.ts +1 -1
  204. package/src/styles/_borders.scss +60 -0
  205. package/src/styles/_colors.scss +23 -0
  206. package/src/styles/_margin.scss +41 -0
  207. package/src/styles/_padding.scss +26 -0
  208. package/src/styles/_typography.scss +116 -0
  209. package/src/styles/animations.scss +8 -0
  210. package/src/styles/index.scss +14 -0
  211. package/src/styles/variables/_borders.scss +16 -0
  212. package/src/styles/variables/_colors.scss +2 -0
  213. package/src/styles/variables/_margin.scss +37 -0
  214. package/src/styles/variables/_padding.scss +19 -0
  215. package/src/styles/variables/_typography.scss +31 -0
  216. package/src/styles/variables/index.scss +5 -0
  217. package/src/styles/variables/themes/dark.scss +89 -0
  218. package/src/styles/variables/themes/light.scss +87 -0
  219. package/src/stylesAndAnimations/borders/BorderColor.stories.tsx +13 -0
  220. package/src/stylesAndAnimations/borders/BorderColor.tsx +34 -0
  221. package/src/stylesAndAnimations/borders/BorderRadius.stories.tsx +13 -0
  222. package/src/stylesAndAnimations/borders/BorderRadius.tsx +46 -0
  223. package/src/stylesAndAnimations/borders/BorderStyles.stories.tsx +13 -0
  224. package/src/stylesAndAnimations/borders/BorderStyles.tsx +26 -0
  225. package/src/stylesAndAnimations/borders/BorderThickness.stories.tsx +13 -0
  226. package/src/stylesAndAnimations/borders/BorderThickness.tsx +50 -0
  227. package/src/stylesAndAnimations/borders/Borders.mdx +32 -0
  228. package/src/stylesAndAnimations/borders/borders.scss +13 -0
  229. package/src/stylesAndAnimations/borders/index.ts +4 -0
  230. package/src/stylesAndAnimations/colors/Colors.mdx +32 -0
  231. package/src/stylesAndAnimations/colors/Colors.stories.tsx +13 -0
  232. package/src/stylesAndAnimations/colors/Colors.tsx +29 -0
  233. package/src/stylesAndAnimations/colors/Swatch.tsx +25 -0
  234. package/src/stylesAndAnimations/colors/UtilityClasses.mdx +10 -0
  235. package/src/stylesAndAnimations/colors/UtilityClasses.stories.tsx +13 -0
  236. package/src/stylesAndAnimations/colors/UtilityClasses.tsx +96 -0
  237. package/src/stylesAndAnimations/colors/constants.ts +151 -0
  238. package/src/stylesAndAnimations/colors/hooks.tsx +28 -0
  239. package/src/stylesAndAnimations/colors/index.ts +1 -0
  240. package/src/stylesAndAnimations/colors/swatches.scss +11 -0
  241. package/src/stylesAndAnimations/sizing/Sizing.mdx +62 -0
  242. package/src/stylesAndAnimations/sizing/Sizing.stories.tsx +13 -0
  243. package/src/stylesAndAnimations/sizing/Sizing.tsx +10 -0
  244. package/src/stylesAndAnimations/sizing/index.ts +1 -0
  245. package/src/stylesAndAnimations/typography/Typography.mdx +88 -0
  246. package/src/stylesAndAnimations/typography/Typography.stories.tsx +13 -0
  247. package/src/stylesAndAnimations/typography/Typography.tsx +12 -0
  248. package/src/stylesAndAnimations/typography/index.ts +1 -0
  249. package/src/types.ts +3 -3
  250. package/webpack.config.js +17 -2
  251. package/.storybook/themes.js +0 -24
  252. package/lib/components/Icon/Icon.stories.d.ts +0 -42
  253. package/lib/components/Navigation/Drawer/Drawer.styles.d.ts +0 -7
  254. package/lib/components/Toggle/Toggle.stories.d.ts +0 -21
  255. package/lib/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.d.ts +0 -1
  256. package/src/components/Navigation/Drawer/__tests__/Drawer.test.tsx +0 -175
  257. package/src/components/inputs/NoInputDatePicker/__tests__/NoInputDatePicker.test.tsx +0 -126
  258. package/src/components/text-truncate/TextTruncate.stories.mdx +0 -59
  259. /package/lib/components/{Navigation/Drawer/__tests__/Drawer.test.d.ts → button/__tests__/Button.test.d.ts} +0 -0
  260. /package/lib/components/{buttons/Button → button}/index.d.ts +0 -0
  261. /package/lib/{components → legacy/components}/Accordion/Accordion.d.ts +0 -0
  262. /package/lib/{components → legacy/components}/Accordion/Accordion.styles.d.ts +0 -0
  263. /package/lib/{components → legacy/components}/Accordion/index.d.ts +0 -0
  264. /package/lib/{components → legacy/components}/Icon/Icon.d.ts +0 -0
  265. /package/lib/{components → legacy/components}/Icon/faIcons.d.ts +0 -0
  266. /package/lib/{components → legacy/components}/Icon/index.d.ts +0 -0
  267. /package/lib/{components → legacy/components}/Icon/indicons.d.ts +0 -0
  268. /package/lib/{components → legacy/components}/Icon/storyHelpers.d.ts +0 -0
  269. /package/lib/{components → legacy/components}/ListTable/Header/Header.d.ts +0 -0
  270. /package/lib/{components → legacy/components}/ListTable/Header/Header.styles.d.ts +0 -0
  271. /package/lib/{components → legacy/components}/ListTable/Header/index.d.ts +0 -0
  272. /package/lib/{components → legacy/components}/ListTable/ListTable.d.ts +0 -0
  273. /package/lib/{components → legacy/components}/ListTable/ListTable.styles.d.ts +0 -0
  274. /package/lib/{components → legacy/components}/ListTable/index.d.ts +0 -0
  275. /package/lib/{components → legacy/components}/ListTable/mock-data/index.d.ts +0 -0
  276. /package/lib/{components → legacy/components}/ListTable/mock-data/mock-data.d.ts +0 -0
  277. /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.d.ts +0 -0
  278. /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.stories.d.ts +0 -0
  279. /package/lib/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.styles.d.ts +0 -0
  280. /package/lib/{components → legacy/components}/LoadingAwareContainer/index.d.ts +0 -0
  281. /package/lib/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.d.ts +0 -0
  282. /package/lib/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.styles.d.ts +0 -0
  283. /package/lib/{components → legacy/components}/Navigation/Drawer/__mocks__/mocks.d.ts +0 -0
  284. /package/lib/{components → legacy/components}/Navigation/Drawer/__tests__/DrawerLinkList.test.d.ts +0 -0
  285. /package/lib/{components → legacy/components}/Navigation/Drawer/index.d.ts +0 -0
  286. /package/lib/{components → legacy/components}/Navigation/Drawer/types.d.ts +0 -0
  287. /package/lib/{components → legacy/components}/Navigation/index.d.ts +0 -0
  288. /package/lib/{components → legacy/components}/Pagination/Pagination.d.ts +0 -0
  289. /package/lib/{components → legacy/components}/Pagination/Pagination.stories.d.ts +0 -0
  290. /package/lib/{components → legacy/components}/Pagination/Pagination.styles.d.ts +0 -0
  291. /package/lib/{components → legacy/components}/Pagination/index.d.ts +0 -0
  292. /package/lib/{components → legacy/components}/Toggle/Toggle.d.ts +0 -0
  293. /package/lib/{components → legacy/components}/Toggle/Toggle.styles.d.ts +0 -0
  294. /package/lib/{components → legacy/components}/Toggle/index.d.ts +0 -0
  295. /package/lib/{components → legacy/components}/Tooltip/Tooltip.d.ts +0 -0
  296. /package/lib/{components → legacy/components}/Tooltip/Tooltip.stories.d.ts +0 -0
  297. /package/lib/{components → legacy/components}/Tooltip/Tooltip.styles.d.ts +0 -0
  298. /package/lib/{components → legacy/components}/Tooltip/index.d.ts +0 -0
  299. /package/lib/{components → legacy/components}/Wizard/Wizard.d.ts +0 -0
  300. /package/lib/{components → legacy/components}/Wizard/Wizard.stories.d.ts +0 -0
  301. /package/lib/{components → legacy/components}/Wizard/Wizard.styles.d.ts +0 -0
  302. /package/lib/{components → legacy/components}/Wizard/index.d.ts +0 -0
  303. /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.d.ts +0 -0
  304. /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.stories.d.ts +0 -0
  305. /package/lib/{components → legacy/components}/WizardWithSidebar/WizardWithSidebar.styles.d.ts +0 -0
  306. /package/lib/{components → legacy/components}/WizardWithSidebar/index.d.ts +0 -0
  307. /package/lib/{components → legacy/components}/basic-section/Section/Section.d.ts +0 -0
  308. /package/lib/{components → legacy/components}/basic-section/Section/Section.styles.d.ts +0 -0
  309. /package/lib/{components → legacy/components}/basic-section/Section/index.d.ts +0 -0
  310. /package/lib/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.d.ts +0 -0
  311. /package/lib/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.styles.d.ts +0 -0
  312. /package/lib/{components → legacy/components}/basic-section/SectionBlock/index.d.ts +0 -0
  313. /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.d.ts +0 -0
  314. /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.stories.d.ts +0 -0
  315. /package/lib/{components → legacy/components}/basic-section/SectionBody/SectionBody.styles.d.ts +0 -0
  316. /package/lib/{components → legacy/components}/basic-section/SectionBody/index.d.ts +0 -0
  317. /package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.d.ts +0 -0
  318. /package/lib/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.styles.d.ts +0 -0
  319. /package/lib/{components → legacy/components}/basic-section/SectionHeader/index.d.ts +0 -0
  320. /package/lib/{components → legacy/components}/basic-section/SectionTable/SectionTable.d.ts +0 -0
  321. /package/lib/{components → legacy/components}/basic-section/SectionTable/SectionTable.styles.d.ts +0 -0
  322. /package/lib/{components → legacy/components}/basic-section/SectionTable/index.d.ts +0 -0
  323. /package/lib/{components → legacy/components}/basic-section/index.d.ts +0 -0
  324. /package/lib/{components → legacy/components}/buttons/Button/Button.d.ts +0 -0
  325. /package/lib/{components → legacy/components}/buttons/Button/Button.stories.d.ts +0 -0
  326. /package/lib/{components → legacy/components}/buttons/Button/Button.styles.d.ts +0 -0
  327. /package/{src/components/buttons/Button/index.ts → lib/legacy/components/buttons/Button/index.d.ts} +0 -0
  328. /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.d.ts +0 -0
  329. /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.stories.d.ts +0 -0
  330. /package/lib/{components → legacy/components}/buttons/IconButton/IconButton.styles.d.ts +0 -0
  331. /package/lib/{components → legacy/components}/buttons/IconButton/index.d.ts +0 -0
  332. /package/lib/{components → legacy/components}/buttons/commonStyles.d.ts +0 -0
  333. /package/lib/{components → legacy/components}/buttons/index.d.ts +0 -0
  334. /package/lib/{components → legacy/components}/buttons/types.d.ts +0 -0
  335. /package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.d.ts +0 -0
  336. /package/lib/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.styles.d.ts +0 -0
  337. /package/lib/{components → legacy/components}/dropdowns/BorderSelect/index.d.ts +0 -0
  338. /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.d.ts +0 -0
  339. /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.styles.d.ts +0 -0
  340. /package/lib/{components → legacy/components}/dropdowns/MultiCombobox/index.d.ts +0 -0
  341. /package/lib/{components → legacy/components}/dropdowns/Select/Select.d.ts +0 -0
  342. /package/lib/{components → legacy/components}/dropdowns/Select/Select.styles.d.ts +0 -0
  343. /package/lib/{components → legacy/components}/dropdowns/Select/index.d.ts +0 -0
  344. /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.d.ts +0 -0
  345. /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/SingleCombobox.styles.d.ts +0 -0
  346. /package/lib/{components → legacy/components}/dropdowns/SingleCombobox/index.d.ts +0 -0
  347. /package/lib/{components → legacy/components}/dropdowns/commonStyles.d.ts +0 -0
  348. /package/lib/{components → legacy/components}/dropdowns/index.d.ts +0 -0
  349. /package/lib/{components → legacy/components}/dropdowns/types.d.ts +0 -0
  350. /package/lib/{components → legacy/components}/dropdowns/useCombobox.d.ts +0 -0
  351. /package/lib/{components → legacy/components}/dropdowns/utils.d.ts +0 -0
  352. /package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.d.ts +0 -0
  353. /package/lib/{components → legacy/components}/inputs/DatePicker/DatePicker.styles.d.ts +0 -0
  354. /package/lib/{components → legacy/components}/inputs/DatePicker/index.d.ts +0 -0
  355. /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.d.ts +0 -0
  356. /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.stories.d.ts +0 -0
  357. /package/lib/{components → legacy/components}/inputs/EditableInput/EditableInput.styles.d.ts +0 -0
  358. /package/lib/{components → legacy/components}/inputs/EditableInput/index.d.ts +0 -0
  359. /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.d.ts +0 -0
  360. /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.styles.d.ts +0 -0
  361. /package/lib/{components → legacy/components}/inputs/NoInputDatePicker/index.d.ts +0 -0
  362. /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.d.ts +0 -0
  363. /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.stories.d.ts +0 -0
  364. /package/lib/{components → legacy/components}/inputs/NumberInput/NumberInput.styles.d.ts +0 -0
  365. /package/lib/{components → legacy/components}/inputs/NumberInput/index.d.ts +0 -0
  366. /package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.d.ts +0 -0
  367. /package/lib/{components → legacy/components}/inputs/RadioButtons/RadioButtons.stories.d.ts +0 -0
  368. /package/lib/{components → legacy/components}/inputs/RadioButtons/index.d.ts +0 -0
  369. /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.d.ts +0 -0
  370. /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.stories.d.ts +0 -0
  371. /package/lib/{components → legacy/components}/inputs/RadioGroup/RadioGroup.styles.d.ts +0 -0
  372. /package/lib/{components → legacy/components}/inputs/RadioGroup/index.d.ts +0 -0
  373. /package/lib/{components → legacy/components}/inputs/SearchInput/SearchInput.styles.d.ts +0 -0
  374. /package/lib/{components → legacy/components}/inputs/SearchInput/index.d.ts +0 -0
  375. /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.d.ts +0 -0
  376. /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.stories.d.ts +0 -0
  377. /package/lib/{components → legacy/components}/inputs/TextInput/TextInput.styles.d.ts +0 -0
  378. /package/lib/{components → legacy/components}/inputs/TextInput/index.d.ts +0 -0
  379. /package/lib/{components → legacy/components}/inputs/index.d.ts +0 -0
  380. /package/lib/{components → legacy/components}/inputs/inputsCommon.styles.d.ts +0 -0
  381. /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.d.ts +0 -0
  382. /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.stories.d.ts +0 -0
  383. /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.styles.d.ts +0 -0
  384. /package/lib/{components → legacy/components}/loading-indicators/BarSpinner/index.d.ts +0 -0
  385. /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.d.ts +0 -0
  386. /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.stories.d.ts +0 -0
  387. /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/CirclePulse.styles.d.ts +0 -0
  388. /package/lib/{components → legacy/components}/loading-indicators/CirclePulse/index.d.ts +0 -0
  389. /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.d.ts +0 -0
  390. /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.stories.d.ts +0 -0
  391. /package/lib/{components → legacy/components}/loading-indicators/CircleSpinner/index.d.ts +0 -0
  392. /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.d.ts +0 -0
  393. /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -0
  394. /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/LoadingIndicator.styles.d.ts +0 -0
  395. /package/lib/{components → legacy/components}/loading-indicators/LoadingIndicator/index.d.ts +0 -0
  396. /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.d.ts +0 -0
  397. /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.stories.d.ts +0 -0
  398. /package/lib/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.styles.d.ts +0 -0
  399. /package/lib/{components → legacy/components}/loading-indicators/LoadingList/index.d.ts +0 -0
  400. /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.d.ts +0 -0
  401. /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.stories.d.ts +0 -0
  402. /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.styles.d.ts +0 -0
  403. /package/lib/{components → legacy/components}/loading-indicators/PercentageRing/index.d.ts +0 -0
  404. /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.d.ts +0 -0
  405. /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.stories.d.ts +0 -0
  406. /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/index.d.ts +0 -0
  407. /package/lib/{components → legacy/components}/loading-indicators/RandomLoadingMessage/random-messages.d.ts +0 -0
  408. /package/lib/{components → legacy/components}/loading-indicators/index.d.ts +0 -0
  409. /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.d.ts +0 -0
  410. /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.stories.d.ts +0 -0
  411. /package/lib/{components → legacy/components}/modals/ConfirmModal/ConfirmModal.styles.d.ts +0 -0
  412. /package/lib/{components → legacy/components}/modals/ConfirmModal/index.d.ts +0 -0
  413. /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.d.ts +0 -0
  414. /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.stories.d.ts +0 -0
  415. /package/lib/{components → legacy/components}/modals/ModalBase/ModalBase.styles.d.ts +0 -0
  416. /package/lib/{components → legacy/components}/modals/ModalBase/index.d.ts +0 -0
  417. /package/lib/{components → legacy/components}/modals/index.d.ts +0 -0
  418. /package/lib/{components → legacy/components}/text-truncate/TextTruncate.d.ts +0 -0
  419. /package/lib/{components → legacy/components}/text-truncate/TextTruncate.styles.d.ts +0 -0
  420. /package/lib/{components → legacy/components}/text-truncate/TextTruncate.test.d.ts +0 -0
  421. /package/lib/{components → legacy/components}/text-truncate/index.d.ts +0 -0
  422. /package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.d.ts +0 -0
  423. /package/lib/{components → legacy/components}/user-feedback/Shrug/Shrug.styles.d.ts +0 -0
  424. /package/lib/{components → legacy/components}/user-feedback/Shrug/index.d.ts +0 -0
  425. /package/lib/{components → legacy/components}/user-feedback/index.d.ts +0 -0
  426. /package/lib/{styles → legacy/styles}/globals/buttons.d.ts +0 -0
  427. /package/lib/{styles → legacy/styles}/globals/forms.d.ts +0 -0
  428. /package/lib/{styles → legacy/styles}/globals/index.d.ts +0 -0
  429. /package/lib/{styles → legacy/styles}/globals/layout.d.ts +0 -0
  430. /package/lib/{styles → legacy/styles}/globals/lists.d.ts +0 -0
  431. /package/lib/{styles → legacy/styles}/globals/margin-padding.d.ts +0 -0
  432. /package/lib/{styles → legacy/styles}/globals/media.d.ts +0 -0
  433. /package/lib/{styles → legacy/styles}/globals/tables.d.ts +0 -0
  434. /package/lib/{styles → legacy/styles}/globals/typography.d.ts +0 -0
  435. /package/lib/{styles → legacy/styles}/globals/utility-classes.d.ts +0 -0
  436. /package/lib/{styles → legacy/styles}/index.d.ts +0 -0
  437. /package/lib/{tokens → legacy/tokens}/animation.d.ts +0 -0
  438. /package/lib/{tokens → legacy/tokens}/breakpoints.d.ts +0 -0
  439. /package/lib/{tokens → legacy/tokens}/colors.d.ts +0 -0
  440. /package/lib/{tokens → legacy/tokens}/index.d.ts +0 -0
  441. /package/lib/{tokens → legacy/tokens}/margin.d.ts +0 -0
  442. /package/lib/{tokens → legacy/tokens}/numbers.d.ts +0 -0
  443. /package/lib/{tokens → legacy/tokens}/padding.d.ts +0 -0
  444. /package/lib/{tokens → legacy/tokens}/spacings.d.ts +0 -0
  445. /package/lib/{tokens → legacy/tokens}/typography.d.ts +0 -0
  446. /package/lib/{utils → legacy/utils}/color.d.ts +0 -0
  447. /package/lib/{utils → legacy/utils}/index.d.ts +0 -0
  448. /package/lib/{utils → legacy/utils}/number.d.ts +0 -0
  449. /package/lib/{utils → legacy/utils}/string.d.ts +0 -0
  450. /package/src/{components → legacy/components}/Accordion/Accordion.styles.ts +0 -0
  451. /package/src/{components → legacy/components}/Accordion/index.ts +0 -0
  452. /package/src/{components → legacy/components}/Icon/Icon.tsx +0 -0
  453. /package/src/{components → legacy/components}/Icon/faIcons.tsx +0 -0
  454. /package/src/{components → legacy/components}/Icon/index.ts +0 -0
  455. /package/src/{components → legacy/components}/Icon/indicons.tsx +0 -0
  456. /package/src/{components → legacy/components}/ListTable/Header/index.ts +0 -0
  457. /package/src/{components → legacy/components}/ListTable/index.ts +0 -0
  458. /package/src/{components → legacy/components}/ListTable/mock-data/index.ts +0 -0
  459. /package/src/{components → legacy/components}/ListTable/mock-data/mock-data.ts +0 -0
  460. /package/src/{components → legacy/components}/LoadingAwareContainer/LoadingAwareContainer.styles.ts +0 -0
  461. /package/src/{components → legacy/components}/LoadingAwareContainer/index.ts +0 -0
  462. /package/src/{components → legacy/components}/Navigation/Drawer/DrawerLinkList.tsx +0 -0
  463. /package/src/{components → legacy/components}/Navigation/Drawer/__mocks__/mocks.ts +0 -0
  464. /package/src/{components → legacy/components}/Navigation/Drawer/__tests__/DrawerLinkList.test.tsx +0 -0
  465. /package/src/{components → legacy/components}/Navigation/Drawer/index.ts +0 -0
  466. /package/src/{components → legacy/components}/Navigation/Drawer/types.ts +0 -0
  467. /package/src/{components → legacy/components}/Navigation/index.ts +0 -0
  468. /package/src/{components → legacy/components}/Pagination/index.ts +0 -0
  469. /package/src/{components → legacy/components}/Toggle/index.ts +0 -0
  470. /package/src/{components → legacy/components}/Tooltip/Tooltip.styles.ts +0 -0
  471. /package/src/{components → legacy/components}/Tooltip/Tooltip.tsx +0 -0
  472. /package/src/{components → legacy/components}/Tooltip/index.ts +0 -0
  473. /package/src/{components → legacy/components}/Wizard/index.ts +0 -0
  474. /package/src/{components → legacy/components}/WizardWithSidebar/index.ts +0 -0
  475. /package/src/{components → legacy/components}/basic-section/Section/Section.styles.ts +0 -0
  476. /package/src/{components → legacy/components}/basic-section/Section/Section.tsx +0 -0
  477. /package/src/{components → legacy/components}/basic-section/Section/index.ts +0 -0
  478. /package/src/{components → legacy/components}/basic-section/SectionBlock/SectionBlock.tsx +0 -0
  479. /package/src/{components → legacy/components}/basic-section/SectionBlock/index.ts +0 -0
  480. /package/src/{components → legacy/components}/basic-section/SectionBody/SectionBody.tsx +0 -0
  481. /package/src/{components → legacy/components}/basic-section/SectionBody/index.ts +0 -0
  482. /package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.styles.ts +0 -0
  483. /package/src/{components → legacy/components}/basic-section/SectionHeader/SectionHeader.tsx +0 -0
  484. /package/src/{components → legacy/components}/basic-section/SectionHeader/index.ts +0 -0
  485. /package/src/{components → legacy/components}/basic-section/SectionTable/index.ts +0 -0
  486. /package/src/{components → legacy/components}/basic-section/index.ts +0 -0
  487. /package/src/{components → legacy/components}/buttons/IconButton/index.ts +0 -0
  488. /package/src/{components → legacy/components}/buttons/index.ts +0 -0
  489. /package/src/{components → legacy/components}/buttons/types.ts +0 -0
  490. /package/src/{components → legacy/components}/dropdowns/BorderSelect/BorderSelect.tsx +0 -0
  491. /package/src/{components → legacy/components}/dropdowns/BorderSelect/index.ts +0 -0
  492. /package/src/{components → legacy/components}/dropdowns/MultiCombobox/MultiCombobox.tsx +0 -0
  493. /package/src/{components → legacy/components}/dropdowns/MultiCombobox/index.ts +0 -0
  494. /package/src/{components → legacy/components}/dropdowns/Select/index.ts +0 -0
  495. /package/src/{components → legacy/components}/dropdowns/SingleCombobox/index.ts +0 -0
  496. /package/src/{components → legacy/components}/dropdowns/index.ts +0 -0
  497. /package/src/{components → legacy/components}/dropdowns/types.ts +0 -0
  498. /package/src/{components → legacy/components}/dropdowns/useCombobox.ts +0 -0
  499. /package/src/{components → legacy/components}/dropdowns/utils.tsx +0 -0
  500. /package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.styles.ts +0 -0
  501. /package/src/{components → legacy/components}/inputs/DatePicker/DatePicker.tsx +0 -0
  502. /package/src/{components → legacy/components}/inputs/DatePicker/index.ts +0 -0
  503. /package/src/{components → legacy/components}/inputs/EditableInput/EditableInput.styles.ts +0 -0
  504. /package/src/{components → legacy/components}/inputs/EditableInput/index.ts +0 -0
  505. /package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.styles.ts +0 -0
  506. /package/src/{components → legacy/components}/inputs/NoInputDatePicker/NoInputDatePicker.tsx +0 -0
  507. /package/src/{components → legacy/components}/inputs/NoInputDatePicker/index.ts +0 -0
  508. /package/src/{components → legacy/components}/inputs/NumberInput/index.ts +0 -0
  509. /package/src/{components → legacy/components}/inputs/RadioButtons/index.tsx +0 -0
  510. /package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.styles.ts +0 -0
  511. /package/src/{components → legacy/components}/inputs/RadioGroup/RadioGroup.tsx +0 -0
  512. /package/src/{components → legacy/components}/inputs/RadioGroup/index.ts +0 -0
  513. /package/src/{components → legacy/components}/inputs/SearchInput/index.ts +0 -0
  514. /package/src/{components → legacy/components}/inputs/TextInput/TextInput.tsx +0 -0
  515. /package/src/{components → legacy/components}/inputs/TextInput/index.ts +0 -0
  516. /package/src/{components → legacy/components}/inputs/index.ts +0 -0
  517. /package/src/{components → legacy/components}/loading-indicators/BarSpinner/BarSpinner.tsx +0 -0
  518. /package/src/{components → legacy/components}/loading-indicators/BarSpinner/index.ts +0 -0
  519. /package/src/{components → legacy/components}/loading-indicators/CirclePulse/index.ts +0 -0
  520. /package/src/{components → legacy/components}/loading-indicators/CircleSpinner/CircleSpinner.tsx +0 -0
  521. /package/src/{components → legacy/components}/loading-indicators/CircleSpinner/index.ts +0 -0
  522. /package/src/{components → legacy/components}/loading-indicators/LoadingIndicator/index.ts +0 -0
  523. /package/src/{components → legacy/components}/loading-indicators/LoadingList/LoadingList.tsx +0 -0
  524. /package/src/{components → legacy/components}/loading-indicators/LoadingList/index.ts +0 -0
  525. /package/src/{components → legacy/components}/loading-indicators/PercentageRing/PercentageRing.styles.ts +0 -0
  526. /package/src/{components → legacy/components}/loading-indicators/PercentageRing/index.ts +0 -0
  527. /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/RandomLoadingMessage.tsx +0 -0
  528. /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/index.ts +0 -0
  529. /package/src/{components → legacy/components}/loading-indicators/RandomLoadingMessage/random-messages.js +0 -0
  530. /package/src/{components → legacy/components}/loading-indicators/index.ts +0 -0
  531. /package/src/{components → legacy/components}/modals/ConfirmModal/index.ts +0 -0
  532. /package/src/{components → legacy/components}/modals/ModalBase/ModalBase.tsx +0 -0
  533. /package/src/{components → legacy/components}/modals/ModalBase/index.ts +0 -0
  534. /package/src/{components → legacy/components}/modals/index.ts +0 -0
  535. /package/src/{components → legacy/components}/text-truncate/TextTruncate.styles.ts +0 -0
  536. /package/src/{components → legacy/components}/text-truncate/TextTruncate.test.tsx +0 -0
  537. /package/src/{components → legacy/components}/text-truncate/TextTruncate.tsx +0 -0
  538. /package/src/{components → legacy/components}/text-truncate/index.ts +0 -0
  539. /package/src/{components → legacy/components}/user-feedback/Shrug/index.ts +0 -0
  540. /package/src/{components → legacy/components}/user-feedback/index.ts +0 -0
  541. /package/src/{styles → legacy/styles}/globals/layout.ts +0 -0
  542. /package/src/{styles → legacy/styles}/globals/lists.ts +0 -0
  543. /package/src/{styles → legacy/styles}/globals/media.ts +0 -0
  544. /package/src/{styles → legacy/styles}/index.ts +0 -0
  545. /package/src/{tokens → legacy/tokens}/animation.ts +0 -0
  546. /package/src/{tokens → legacy/tokens}/breakpoints.ts +0 -0
  547. /package/src/{tokens → legacy/tokens}/colors.ts +0 -0
  548. /package/src/{tokens → legacy/tokens}/index.ts +0 -0
  549. /package/src/{tokens → legacy/tokens}/margin.ts +0 -0
  550. /package/src/{tokens → legacy/tokens}/numbers.js +0 -0
  551. /package/src/{tokens → legacy/tokens}/padding.ts +0 -0
  552. /package/src/{tokens → legacy/tokens}/spacings.ts +0 -0
  553. /package/src/{tokens → legacy/tokens}/typography.ts +0 -0
  554. /package/src/{utils → legacy/utils}/color.ts +0 -0
  555. /package/src/{utils → legacy/utils}/index.ts +0 -0
  556. /package/src/{utils → legacy/utils}/number.ts +0 -0
  557. /package/src/{utils → legacy/utils}/string.ts +0 -0
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ plugins: [
3
+ require('postcss-dark-theme-class'),
4
+ require('autoprefixer'),
5
+ ],
6
+ };
package/rollup.config.mjs CHANGED
@@ -35,7 +35,12 @@ export default [
35
35
  commonjs(),
36
36
  typescript(),
37
37
  postcss({
38
- extensions: ['.css'],
38
+ extensions: ['.css', '.scss'],
39
+ modules: false,
40
+ namedExports: true,
41
+ use: ['sass'],
42
+ extract: true,
43
+ minimize: false,
39
44
  }),
40
45
  ],
41
46
  },
@@ -43,6 +48,6 @@ export default [
43
48
  input: 'lib/index.d.ts',
44
49
  output: [{ file: 'lib/index.d.ts', format: 'es' }],
45
50
  plugins: [dts()],
46
- external: [/\.css$/],
51
+ external: [/\.css$/, /\.scss$/],
47
52
  },
48
- ];
53
+ ];
@@ -0,0 +1,98 @@
1
+ import { Canvas, Meta, Controls, Story } from '@storybook/blocks';
2
+ import * as ButtonStories from './Button.stories';
3
+ import { Col, Row } from '../grid/';
4
+
5
+ <Meta title="Components/Button" name="Button Docs" of={ButtonStories} />
6
+
7
+ # Button
8
+
9
+ The Button component is one of the most versitile components we can use in our Design System. This component has a lot of different variations and can be used in many different ways. Toggle through the various options below in order achieve the optimal button state for your use case.
10
+
11
+ <Canvas of={ButtonStories.Primary} />
12
+
13
+ ### The following props are available for the Button component:
14
+
15
+ <Controls of={ButtonStories.Primary} />
16
+
17
+ ## Sizes
18
+
19
+ The Sizes available are `small`, `medium`, and `large`. The default size is `medium`.
20
+
21
+ <Row>
22
+ <Col xs={2}>
23
+ <Story of={ButtonStories.Small} />
24
+ </Col>
25
+ <Col xs={2}>
26
+ <Story of={ButtonStories.Medium} />
27
+ </Col>
28
+ <Col xs={2}>
29
+ <Story of={ButtonStories.Large} />
30
+ </Col>
31
+ </Row>
32
+
33
+ ## Variants
34
+
35
+ The variants available are `solid`, `outline`, and `text`. The default variant is `solid`.'
36
+
37
+ <Row>
38
+ <Col xs={2}>
39
+ <Story of={ButtonStories.Primary} />
40
+ </Col>
41
+ <Col xs={2}>
42
+ <Story of={ButtonStories.PrimaryOutline} />
43
+ </Col>
44
+ <Col xs={2}>
45
+ <Story of={ButtonStories.Text} />
46
+ </Col>
47
+ </Row>
48
+
49
+ ## Colors
50
+
51
+ The colors available are `primary`, `secondary`, `info`, `error`, `warning`, and `success`. The default color is `primary`.
52
+
53
+ <Row>
54
+ <Col xs={6} sm={4} md={3} lg={2}>
55
+ <Story of={ButtonStories.Primary} />
56
+ </Col>
57
+ <Col xs={6} sm={4} md={3} lg={2}>
58
+ <Story of={ButtonStories.Secondary} />
59
+ </Col>
60
+ <Col xs={6} sm={4} md={3} lg={2}>
61
+ <Story of={ButtonStories.Info} />
62
+ </Col>
63
+ <Col xs={6} sm={4} md={3} lg={2}>
64
+ <Story of={ButtonStories.Error} />
65
+ </Col>
66
+ <Col xs={6} sm={4} md={3} lg={2}>
67
+ <Story of={ButtonStories.Warning} />
68
+ </Col>
69
+ <Col xs={6} sm={4} md={3} lg={2}>
70
+ <Story of={ButtonStories.Success} />
71
+ </Col>
72
+ </Row>
73
+
74
+ ## States
75
+
76
+ The states available are enabled, `disabled`, and `loading`. The button is enabled by default
77
+
78
+ <Row>
79
+ <Col xs={6} sm={4} md={3} lg={2}>
80
+ <Story of={ButtonStories.Loading} />
81
+ </Col>
82
+ <Col xs={2}>
83
+ <Story of={ButtonStories.Disabled} />
84
+ </Col>
85
+ </Row>
86
+
87
+ ## Icons
88
+
89
+ The Icon property requires you to pass two arguments, `iconName` and `iconPosition`. The `iconName` is the name of the icon you want to use and the `iconPosition` is the position of the icon in relation to the text. The default value for `iconPosition` is `left`. The Options for `iconPosition` are `left` and `right`.
90
+
91
+ <Row>
92
+ <Col xs={6} sm={4} md={3} lg={2}>
93
+ <Story of={ButtonStories.IconLeft} />
94
+ </Col>
95
+ <Col xs={2}>
96
+ <Story of={ButtonStories.IconRight} />
97
+ </Col>
98
+ </Row>
@@ -0,0 +1,275 @@
1
+ // Variables
2
+ :root [data-theme='light'],
3
+ :root {
4
+ // Typography
5
+ --pf-button-font-weight-bold: var(--pf-font-weight-bold);
6
+ --pf-button-font-weight-regular: var(--pf-button-font-weight-regular);
7
+ --pf-button-background-primary-color: var(--pf-primary-color);
8
+ --pf-button-disabled-primary-color: var(--pf-primary-color-300);
9
+ --pf-button-focus-primary-color: var(--pf-primary-color-900);
10
+ --pf-button-hover-primary-color: var(--pf-primary-color-400);
11
+ --pf-button-outline-hover-primary-color: var(--pf-primary-color-100);
12
+ --pf-button-primary-color: var(--pf-primary-color);
13
+ --pf-button-primary-text-color: var(--pf-white-color);
14
+
15
+ // Secondary Button Colors
16
+ --pf-button-background-secondary-color: var(--pf-secondary-color);
17
+ --pf-button-disabled-secondary-color: var(--pf-secondary-color-300);
18
+ --pf-button-focus-secondary-color: var(--pf-secondary-color-900);
19
+ --pf-button-hover-secondary-color: var(--pf-secondary-color-400);
20
+ --pf-button-outline-hover-secondary-color: var(--pf-secondary-color-100);
21
+ --pf-button-secondary-color: var(--pf-secondary-color);
22
+ --pf-button-secondary-text-color: var(--pf-white-color);
23
+
24
+ // Error Button Colors
25
+ --pf-button-background-error-color: var(--pf-error-color);
26
+ --pf-button-disabled-error-color: var(--pf-red-color-300);
27
+ --pf-button-focus-error-color: var(--pf-red-color-900);
28
+ --pf-button-hover-error-color: var(--pf-red-color-400);
29
+ --pf-button-error-color: var(--pf-error-color);
30
+ --pf-button-error-text-color: var(--pf-white-color);
31
+ --pf-button-outline-hover-error-color: var(--pf-red-color-100);
32
+
33
+ // Success Button Colors
34
+ --pf-button-background-success-color: var(--pf-success-color);
35
+ --pf-button-disabled-success-color: var(--pf-green-color-300);
36
+ --pf-button-focus-success-color: var(--pf-green-color-900);
37
+ --pf-button-hover-success-color: var(--pf-green-color-400);
38
+ --pf-button-success-color: var(--pf-success-color);
39
+ --pf-button-success-text-color: var(--pf-white-color);
40
+ --pf-button-outline-hover-success-color: var(--pf-green-color-100);
41
+
42
+ // Warning Button Colors
43
+ --pf-button-background-warning-color: var(--pf-warning-color);
44
+ --pf-button-disabled-warning-color: var(--pf-orange-color-300);
45
+ --pf-button-focus-warning-color: var(--pf-orange-color-900);
46
+ --pf-button-hover-warning-color: var(--pf-orange-color-400);
47
+ --pf-button-warning-color: var(--pf-warning-color);
48
+ --pf-button-warning-text-color: var(--pf-white-color);
49
+ --pf-button-outline-hover-warning-color: var(--pf-orange-color-100);
50
+
51
+ // Info Button Colors
52
+ --pf-button-background-info-color: var(--pf-info-color);
53
+ --pf-button-disabled-info-color: var(--pf-gray-color-300);
54
+ --pf-button-focus-info-color: var(--pf-gray-color-900);
55
+ --pf-button-hover-info-color: var(--pf-gray-color-400);
56
+ --pf-button-info-color: var(--pf-info-color);
57
+ --pf-button-info-text-color: var(--pf-white-color);
58
+ --pf-button-outline-hover-info-color: var(--pf-gray-color-100);
59
+
60
+ // Gray Button Color
61
+ --pf-button-gray-color: var(--pf-gray-color);
62
+ --pf-button-gray-disabled-color: var(--pf-gray-color-400);
63
+
64
+ // Outline Buttons
65
+ --pf-button-outline-background-color: var(--pf-white-color);
66
+
67
+ // Button Radius
68
+ --pf-button-rounded: var(--pf-rounded);
69
+ }
70
+
71
+ .btn {
72
+ display: inline-flex;
73
+ padding: var(--pf-padding-0) var(--pf-padding-3);
74
+ font-family: var(--pf-font-family-base);
75
+ align-items: center;
76
+ border-radius: var(--pf-button-rounded);
77
+ border-width: 1px;
78
+ border-style: solid;
79
+ font-weight: var(--pf-button-font-weight-bold);
80
+ cursor: pointer;
81
+ &:disabled {
82
+ cursor: not-allowed;
83
+ }
84
+ }
85
+
86
+ // Button Sizes
87
+ .btn--sm {
88
+ height: 28px;
89
+ padding-left: var(--pf-padding-2);
90
+ padding-right: var(--pf-padding-2);
91
+ font-size: var(--pf-font-size-body2);
92
+ }
93
+
94
+ .btn--md {
95
+ height: 36px;
96
+ padding-left: var(--pf-padding-3);
97
+ padding-right: var(--pf-padding-3);
98
+ font-size: var(--pf-font-size-body);
99
+ }
100
+
101
+ .btn--lg {
102
+ height: 40px;
103
+ padding-left: var(--pf-padding-4);
104
+ padding-right: var(--pf-padding-4);
105
+ font-size: var(--pf-font-size-h2);
106
+ }
107
+
108
+ @mixin button-variant($color-name) {
109
+ background: var(--pf-button-#{$color-name}-color);
110
+ color: var(--pf-button-#{$color-name}-text-color);
111
+ border-color: var(--pf-button-#{$color-name}-color);
112
+
113
+ &:hover {
114
+ border-color: var(--pf-button-hover-#{$color-name}-color);
115
+ background: var(--pf-button-hover-#{$color-name}-color);
116
+ }
117
+
118
+ &:focus {
119
+ border-color: var(--pf-button-focus-#{$color-name}-color);
120
+ background: var(--pf-button-focus-#{$color-name}-color);
121
+ }
122
+
123
+ &:disabled {
124
+ background: var(--pf-button-disabled-#{$color-name}-color);
125
+ border-color: var(--pf-button-disabled-#{$color-name}-color);
126
+ }
127
+
128
+ &.btn--outline {
129
+ color: var(--pf-button-#{$color-name}-color);
130
+ background-color: var(--pf-button-outline-background-color);
131
+
132
+ &:hover {
133
+ background-color: var(--pf-button-outline-hover-#{$color-name}-color);
134
+ border-color: var(--pf-button-hover-#{$color-name}-color);
135
+ }
136
+
137
+ &:focus {
138
+ border-color: var(--pf-button-focus-#{$color-name}-color);
139
+ background-color: var(--pf-button-outline-hover-#{$color-name}-color);
140
+ color: var(--pf-button-focus-#{$color-name}-color);
141
+ }
142
+
143
+ &:disabled {
144
+ border-color: var(--pf-button-disabled-#{$color-name}-color);
145
+ color: var(--pf-button-disabled-#{$color-name}-color);
146
+ &:hover {
147
+ border-color: var(--pf-button-disabled-#{$color-name}-color);
148
+ color: var(--pf-button-disabled-#{$color-name}-color);
149
+ background-color: var(--pf-button-outline-background-color);
150
+ }
151
+ }
152
+ }
153
+ }
154
+
155
+ .btn--primary {
156
+ @include button-variant('primary');
157
+ }
158
+
159
+ .btn--secondary {
160
+ @include button-variant('secondary');
161
+ }
162
+
163
+ .btn--info {
164
+ @include button-variant('info');
165
+ }
166
+
167
+ .btn--error {
168
+ @include button-variant('error');
169
+ }
170
+
171
+ .btn--success {
172
+ @include button-variant('success');
173
+ }
174
+
175
+ .btn--warning {
176
+ @include button-variant('warning');
177
+ }
178
+
179
+ .btn--text {
180
+ background-color: transparent;
181
+ border: solid 1px transparent;
182
+ color: var(--pf-link-color);
183
+ font-weight: var(--pf-button-font-weight-regular);
184
+ &:hover {
185
+ background-color: transparent;
186
+ border: solid 1px transparent;
187
+ text-decoration: underline;
188
+ }
189
+ &:focus {
190
+ background-color: transparent;
191
+ border: solid 1px transparent;
192
+ color: var(--pf-link-hover-color);
193
+ }
194
+ &:disabled {
195
+ color: var(--pf-button-gray-disabled-color);
196
+ &:hover {
197
+ color: var(--pf-button-gray-disabled-color);
198
+ }
199
+ }
200
+ }
201
+
202
+ // Button Varians
203
+ .btn--solid {
204
+ color: var(--pf-white-color);
205
+ }
206
+
207
+ // Button Colors
208
+ .btn--primary,
209
+ .btn--secondary,
210
+ .btn--info,
211
+ .btn--error,
212
+ .btn--success,
213
+ .btn--warning {
214
+ &.btn--text {
215
+ border: solid 1px transparent;
216
+ font-weight: var(--pf-button-font-weight-regular);
217
+
218
+ &:hover:disabled {
219
+ background-color: transparent;
220
+ }
221
+ &:disabled {
222
+ background-color: transparent;
223
+ border-color: transparent;
224
+ color: var(--pf-button-gray-disabled-color);
225
+ }
226
+ }
227
+ }
228
+
229
+ .btn--primary.btn--text {
230
+ color: var(--pf-button-primary-color);
231
+ background: transparent;
232
+ &:hover {
233
+ background: transparent;
234
+ color: var(--pf-button-primary-color);
235
+ }
236
+ &:disabled {
237
+ color: var(--pf-button-gray-disabled-color);
238
+ &:hover {
239
+ color: var(--pf-button-gray-disabled-color);
240
+ }
241
+ }
242
+ }
243
+
244
+ .btn--secondary.btn--text {
245
+ background: transparent;
246
+ color: var(--pf-button-secondary-color);
247
+ &:hover {
248
+ background: transparent;
249
+ color: var(--pf-button-secondary-color);
250
+ }
251
+ &:disabled {
252
+ color: var(--pf-button-gray-disabled-color);
253
+ &:hover {
254
+ color: var(--pf-button-gray-disabled-color);
255
+ }
256
+ }
257
+ }
258
+
259
+ .btn--info.btn--text {
260
+ background: transparent;
261
+ color: var(--pf-button-info-color);
262
+ &:hover {
263
+ background: transparent;
264
+ color: var(--pf-button-info-color);
265
+ }
266
+ &:disabled {
267
+ color: var(--pf-button-gray-disabled-color);
268
+ &:hover {
269
+ color: var(--pf-button-gray-disabled-color);
270
+ }
271
+ }
272
+ }
273
+ .btn--outline {
274
+ background-color: var(--pf-button-outline-background-color);
275
+ }
@@ -0,0 +1,281 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Button } from './Button';
3
+ const exampleIcons = ['fa-check', 'fa-times']; // TODO -- get ALL icons
4
+
5
+ const meta: Meta = {
6
+ title: 'Components/Button',
7
+ component: Button,
8
+ argTypes: {
9
+ children: {
10
+ table: {
11
+ disable: true,
12
+ },
13
+ },
14
+ variant: {
15
+ control: 'select',
16
+ options: ['solid', 'outline', 'text'],
17
+ description: 'It sets the variant style for the button',
18
+ table: {
19
+ category: 'Styling',
20
+ type: {
21
+ summary: ['solid', 'outline', 'text'],
22
+ },
23
+ defaultValue: { summary: 'solid' },
24
+ },
25
+ },
26
+ color: {
27
+ control: 'select',
28
+ options: ['primary', 'secondary', 'warning', 'error', 'success', 'info'],
29
+ description: 'It sets the color for the button',
30
+ table: {
31
+ category: 'Styling',
32
+ type: {
33
+ summary: ['primary', 'secondary', 'warning', 'error', 'success', 'info'],
34
+ },
35
+ defaultValue: { summary: 'primary' }, // replace 'default' with your actual default color
36
+ },
37
+ },
38
+ size: {
39
+ control: 'select',
40
+ options: ['sm', 'md', 'lg'],
41
+ description: 'It sets the size for the button',
42
+ defaultValue: { summary: 'md' },
43
+ table: {
44
+ category: 'Styling',
45
+ type: {
46
+ summary: ['sm', 'md', 'lg'],
47
+ },
48
+ },
49
+ },
50
+ type: {
51
+ table: {
52
+ category: 'accessibility',
53
+ type: {
54
+ summary: ['button', 'submit', 'reset'],
55
+ },
56
+ },
57
+ description: 'It sets the type for the button.',
58
+ defaultValue: { summary: 'button' },
59
+ control: 'select',
60
+ options: ['button', 'submit', 'reset'],
61
+ },
62
+ iconPosition: {
63
+ description:
64
+ 'Sets an icon to the left or right of the child element inside the button. It requires an icon to be set.',
65
+ table: {
66
+ category: 'Styling',
67
+ defaultValue: { summary: 'left' },
68
+ type: {
69
+ summary: ['left', 'right'],
70
+ },
71
+ },
72
+ control: 'select',
73
+ options: ['left', 'right'],
74
+ },
75
+ iconName: {
76
+ table: {
77
+ category: 'Styling',
78
+ type: {
79
+ summary: Object.values(exampleIcons).join(' | '),
80
+ },
81
+ },
82
+ description:
83
+ 'Sets the icon for the button. The icons are pulled from the design system icon library. Only a couple examples are shown here.',
84
+ control: 'select',
85
+ options: Object.values(exampleIcons),
86
+ },
87
+ ariaLabel: {
88
+ description: 'Sets the aria-label attribute for the button.',
89
+ table: {
90
+ category: 'accessibility',
91
+ type: {
92
+ summary: 'string',
93
+ },
94
+ },
95
+ control: 'text',
96
+ },
97
+ onClick: {
98
+ description: 'Triggers a callback on button click',
99
+ table: { category: 'callbacks' },
100
+ action: 'clicked',
101
+ },
102
+ onMouseEnter: {
103
+ description: 'Triggers a callback on mouse enter.',
104
+ table: { category: 'callbacks' },
105
+ action: 'mouse entered',
106
+ },
107
+ onMouseExit: {
108
+ description: 'Triggers a callback on mouse exit.',
109
+ table: { category: 'callbacks' },
110
+ action: 'mouse exited',
111
+ },
112
+ onKeyDown: {
113
+ description: 'Triggers a callback on key press.',
114
+ table: { category: 'callbacks' },
115
+ action: 'key pressed',
116
+ },
117
+ isLoading: {
118
+ control: 'boolean',
119
+ table: {
120
+ type: { summary: 'true | false', name: 'boolean', required: false },
121
+ category: 'Styling',
122
+ },
123
+ defaultValue: { summary: false },
124
+ description:
125
+ 'It disables the button and shows a load spinner on the left hand side of the button children',
126
+ },
127
+ isDisabled: {
128
+ control: 'boolean',
129
+ table: {
130
+ type: { summary: 'true | false', name: 'boolean', required: false },
131
+ category: 'Styling',
132
+ },
133
+ defaultValue: { summary: false },
134
+ description: 'It disables the button',
135
+ },
136
+ },
137
+ };
138
+
139
+ type Story = StoryObj<typeof Button>;
140
+
141
+ export const Primary: Story = {
142
+ args: {
143
+ type: 'submit',
144
+ variant: 'solid',
145
+ color: 'primary',
146
+ isDisabled: false,
147
+ isLoading: false,
148
+ ariaLabel: 'Primary Button',
149
+ onClick: () => {
150
+ console.log('Primary button clicked');
151
+ },
152
+ },
153
+ render: (args) => <Button {...args}>Primary</Button>,
154
+ };
155
+ export const Small: Story = {
156
+ args: {
157
+ variant: 'solid',
158
+ color: 'primary',
159
+ size: 'sm',
160
+ },
161
+ render: (args) => <Button {...args}>Small</Button>,
162
+ };
163
+ export const Medium: Story = {
164
+ args: {
165
+ variant: 'solid',
166
+ color: 'primary',
167
+ size: 'md',
168
+ },
169
+ render: (args) => <Button {...args}>Medium</Button>,
170
+ };
171
+ export const Large: Story = {
172
+ args: {
173
+ variant: 'solid',
174
+ color: 'primary',
175
+ size: 'lg',
176
+ },
177
+ render: (args) => <Button {...args}>Large</Button>,
178
+ };
179
+ export const Secondary: Story = {
180
+ args: {
181
+ variant: 'solid',
182
+ color: 'secondary',
183
+ },
184
+ render: (args) => <Button {...args}>Secondary</Button>,
185
+ };
186
+
187
+ export const PrimaryOutline: Story = {
188
+ args: {
189
+ variant: 'outline',
190
+ color: 'primary',
191
+ },
192
+ render: (args) => <Button {...args}>Outline</Button>,
193
+ };
194
+
195
+ export const SecondaryOutline: Story = {
196
+ args: {
197
+ variant: 'outline',
198
+ color: 'secondary',
199
+ },
200
+ render: (args) => <Button {...args}>Secondary Outline</Button>,
201
+ };
202
+ export const Info: Story = {
203
+ args: {
204
+ color: 'info',
205
+ },
206
+ render: (args) => <Button {...args}>Info</Button>,
207
+ };
208
+ export const InfoOutline: Story = {
209
+ args: {
210
+ variant: 'outline',
211
+ color: 'info',
212
+ },
213
+ render: (args) => <Button {...args}>Info Outline</Button>,
214
+ };
215
+ export const Text: Story = {
216
+ args: {
217
+ variant: 'text',
218
+ color: 'secondary',
219
+ },
220
+ render: (args) => <Button {...args}>Text</Button>,
221
+ };
222
+
223
+ export const IconLeft: Story = {
224
+ args: {
225
+ color: 'primary',
226
+ iconPosition: 'left',
227
+ iconName: 'fa-check',
228
+ },
229
+ render: (args) => <Button {...args}>Icon Left</Button>,
230
+ };
231
+
232
+ export const IconRight: Story = {
233
+ args: {
234
+ color: 'primary',
235
+ iconName: 'fa-check',
236
+ iconPosition: 'right',
237
+ },
238
+ render: (args) => <Button {...args}>Icon Right</Button>,
239
+ };
240
+
241
+ export const Error: Story = {
242
+ args: {
243
+ color: 'error',
244
+ },
245
+ render: (args) => <Button {...args}>Error</Button>,
246
+ };
247
+
248
+ export const Success: Story = {
249
+ args: {
250
+ color: 'success',
251
+ },
252
+ render: (args) => <Button {...args}>Success</Button>,
253
+ };
254
+
255
+ export const Warning: Story = {
256
+ args: {
257
+ variant: 'solid',
258
+ color: 'warning',
259
+ },
260
+ render: (args) => <Button {...args}>Warning</Button>,
261
+ };
262
+
263
+ export const Disabled: Story = {
264
+ args: {
265
+ isDisabled: true,
266
+ variant: 'solid',
267
+ color: 'warning',
268
+ },
269
+ render: (args) => <Button {...args}>Disabled</Button>,
270
+ };
271
+
272
+ export const Loading: Story = {
273
+ args: {
274
+ isLoading: true,
275
+ variant: 'text',
276
+ color: 'warning',
277
+ },
278
+ render: (args) => <Button {...args}>Loading</Button>,
279
+ };
280
+
281
+ export default meta;