@akad/design-system 0.2.0-beta.8 → 1.0.0-alpha.1

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 (370) hide show
  1. package/css/core.css +1 -0
  2. package/css/package.json +9 -1
  3. package/css/theme-aon.css +1 -0
  4. package/css/theme-bees.css +1 -0
  5. package/css/theme-bmc.css +1 -0
  6. package/css/theme-default.css +1 -0
  7. package/css/theme-linker.css +1 -0
  8. package/css/theme-oggi.css +1 -0
  9. package/css/theme-streetgo.css +1 -0
  10. package/package.json +1 -1
  11. package/react/package.json +1 -1
  12. package/react/react-lib.js +2794 -2792
  13. package/react/react-lib.umd.cjs +5 -5
  14. package/react/src/components/atoms/Button/Button.config.d.ts +106 -0
  15. package/react/{components → src/components}/atoms/Button/Button.d.ts +11 -7
  16. package/react/{components → src/components}/atoms/Button/Button.stories.d.ts +2 -2
  17. package/react/src/components/atoms/Button/index.d.ts +4 -0
  18. package/react/src/components/atoms/Caption/Caption.config.d.ts +6 -0
  19. package/react/src/components/atoms/Caption/index.d.ts +4 -0
  20. package/react/src/components/atoms/Card/Card.config.d.ts +92 -0
  21. package/react/{components → src/components}/atoms/Card/Card.d.ts +8 -4
  22. package/react/src/components/atoms/Card/index.d.ts +4 -0
  23. package/react/{components → src/components}/atoms/Checkbox/Checkbox.config.d.ts +18 -18
  24. package/react/src/components/atoms/Checkbox/index.d.ts +4 -0
  25. package/react/src/components/atoms/Heading/Heading.config.d.ts +22 -0
  26. package/react/src/components/atoms/Heading/index.d.ts +4 -0
  27. package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +30 -0
  28. package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.d.ts +2 -2
  29. package/react/src/components/atoms/HorizontalRule/index.d.ts +4 -0
  30. package/react/src/components/atoms/Icon/Icon.config.d.ts +125 -0
  31. package/react/{components → src/components}/atoms/Icon/Icon.d.ts +3 -3
  32. package/react/{components → src/components}/atoms/Icon/Icon.stories.d.ts +3 -3
  33. package/react/src/components/atoms/Icon/index.d.ts +4 -0
  34. package/react/src/components/atoms/Input/Input.config.d.ts +146 -0
  35. package/react/{components → src/components}/atoms/Input/Input.stories.d.ts +2 -2
  36. package/react/src/components/atoms/Input/index.d.ts +4 -0
  37. package/react/src/components/atoms/Loading/Loading.config.d.ts +52 -0
  38. package/react/{components → src/components}/atoms/Loading/Loading.d.ts +1 -1
  39. package/react/src/components/atoms/Loading/index.d.ts +4 -0
  40. package/react/src/components/atoms/Option/Option.config.d.ts +53 -0
  41. package/react/src/components/atoms/Option/index.d.ts +4 -0
  42. package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +19 -0
  43. package/react/src/components/atoms/Paragraph/index.d.ts +4 -0
  44. package/react/src/components/atoms/Progress/Progress.config.d.ts +30 -0
  45. package/react/src/components/atoms/Progress/index.d.ts +4 -0
  46. package/react/src/components/atoms/Select/Select.config.d.ts +121 -0
  47. package/react/{components → src/components}/atoms/Select/Select.stories.d.ts +4 -4
  48. package/react/src/components/atoms/Select/index.d.ts +4 -0
  49. package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +18 -0
  50. package/react/src/components/atoms/Subtitle/index.d.ts +4 -0
  51. package/react/src/components/atoms/TextArea/TextArea.config.d.ts +128 -0
  52. package/react/{components → src/components}/atoms/TextArea/TextArea.d.ts +0 -1
  53. package/react/{components → src/components}/atoms/TextArea/TextArea.stories.d.ts +2 -2
  54. package/react/src/components/atoms/TextArea/index.d.ts +4 -0
  55. package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +41 -0
  56. package/react/{components → src/components}/atoms/Tooltip/Tooltip.d.ts +3 -1
  57. package/react/{components → src/components}/atoms/Tooltip/Tooltip.stories.d.ts +6 -6
  58. package/react/src/components/atoms/Tooltip/index.d.ts +4 -0
  59. package/react/src/components/bosons/Container/Container.config.d.ts +18 -0
  60. package/react/src/components/bosons/Container/index.d.ts +4 -0
  61. package/react/{components → src/components}/bosons/FlexLayout/FlexElement.config.d.ts +2 -2
  62. package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +95 -0
  63. package/react/src/components/bosons/FlexLayout/index.d.ts +8 -0
  64. package/react/{components → src/components}/bosons/GridLayout/GridElement.config.d.ts +2 -2
  65. package/react/{components → src/components}/bosons/GridLayout/GridElement.d.ts +6 -1
  66. package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +80 -0
  67. package/react/{components → src/components}/bosons/GridLayout/GridLayout.d.ts +3 -3
  68. package/react/src/components/bosons/GridLayout/index.d.ts +8 -0
  69. package/react/src/components/bosons/Spacer/Spacer.config.d.ts +24 -0
  70. package/react/{components → src/components}/bosons/Spacer/Spacer.stories.d.ts +2 -2
  71. package/react/src/components/bosons/Spacer/index.d.ts +4 -0
  72. package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +27 -0
  73. package/react/src/components/bosons/Wrapper/index.d.ts +4 -0
  74. package/react/src/components/index.d.ts +37 -0
  75. package/react/src/components/molecules/Accordion/Accordion.config.d.ts +31 -0
  76. package/react/{components → src/components}/molecules/Accordion/Accordion.d.ts +2 -2
  77. package/react/{components → src/components}/molecules/Accordion/Accordion.stories.d.ts +1 -1
  78. package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +28 -0
  79. package/react/{components → src/components}/molecules/Accordion/AccordionItem.d.ts +7 -1
  80. package/react/src/components/molecules/Accordion/index.d.ts +8 -0
  81. package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.config.d.ts +2 -2
  82. package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
  83. package/react/src/components/molecules/Carousel/Carousel.config.d.ts +7 -0
  84. package/react/src/components/molecules/Carousel/Carousel.d.ts +31 -0
  85. package/react/src/components/molecules/Carousel/index.d.ts +4 -0
  86. package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +104 -0
  87. package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.d.ts +2 -2
  88. package/react/src/components/molecules/EditableSelect/index.d.ts +4 -0
  89. package/react/{components → src/components}/molecules/Indicator/Indicator.config.d.ts +3 -3
  90. package/react/src/components/molecules/Indicator/index.d.ts +4 -0
  91. package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts +3 -3
  92. package/react/src/components/molecules/InlineEditable/index.d.ts +4 -0
  93. package/react/src/components/molecules/Modal/Modal.config.d.ts +44 -0
  94. package/react/{components → src/components}/molecules/Modal/Modal.d.ts +2 -2
  95. package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +2 -2
  96. package/react/src/components/molecules/Modal/Modal.test.d.ts +1 -0
  97. package/react/src/components/molecules/Modal/index.d.ts +4 -0
  98. package/react/{components → src/components}/molecules/Notification/Notification.config.d.ts +13 -32
  99. package/react/src/components/molecules/Notification/Notification.d.ts +22 -0
  100. package/react/{components → src/components}/molecules/Notification/Notification.stories.d.ts +1 -1
  101. package/react/src/components/molecules/Notification/index.d.ts +4 -0
  102. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +32 -0
  103. package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +1 -1
  104. package/react/src/components/molecules/PasswordConfirmation/index.d.ts +4 -0
  105. package/react/{components → src/components}/molecules/Stepper/Stepper.config.d.ts +2 -2
  106. package/react/{components → src/components}/molecules/Stepper/Stepper.d.ts +7 -2
  107. package/react/src/components/molecules/Stepper/index.d.ts +4 -0
  108. package/react/{components/molecules/Table/Table.types.d.ts → src/components/molecules/Table/Table.config.d.ts} +23 -0
  109. package/react/{components → src/components}/molecules/Table/Table.d.ts +1 -1
  110. package/react/{components → src/components}/molecules/Table/Table.stories.d.ts +3 -3
  111. package/react/{components → src/components}/molecules/Table/TableRow.d.ts +1 -1
  112. package/react/{components → src/components}/molecules/Table/dataTable.mock.d.ts +1 -1
  113. package/react/src/components/molecules/Table/index.d.ts +4 -0
  114. package/react/{components → src/components}/molecules/Tabs/Tab.d.ts +1 -1
  115. package/react/src/components/molecules/Tabs/Tabs.config.d.ts +44 -0
  116. package/react/{components → src/components}/molecules/Tabs/Tabs.d.ts +11 -1
  117. package/react/{components → src/components}/molecules/Tabs/Tabs.stories.d.ts +1 -1
  118. package/react/src/components/molecules/Tabs/index.d.ts +4 -0
  119. package/react/src/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +28 -0
  120. package/react/src/components/organisms/NotificationList/NotificationList.config.d.ts +32 -0
  121. package/react/{components → src/components}/organisms/NotificationList/NotificationList.d.ts +1 -1
  122. package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +1 -1
  123. package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
  124. package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +7 -0
  125. package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +9 -0
  126. package/react/src/components/templates/SplitLayout/index.d.ts +5 -0
  127. package/react/{components → src/components}/templates/TwoColumns/TwoColumns.config.d.ts +2 -2
  128. package/react/src/components/templates/TwoColumns/index.d.ts +4 -0
  129. package/react/src/enum/colorProps.d.ts +30 -0
  130. package/scss/core/base/index.scss +3 -0
  131. package/scss/core/base/reset.scss +27 -0
  132. package/scss/core/base/typography.scss +18 -0
  133. package/scss/core/components/atoms/button.scss +816 -0
  134. package/scss/core/components/atoms/caption.scss +13 -0
  135. package/scss/core/components/atoms/card.scss +24 -0
  136. package/scss/core/components/atoms/checkbox.scss +61 -0
  137. package/scss/core/components/atoms/heading.scss +69 -0
  138. package/scss/core/components/atoms/horizontal-rule.scss +27 -0
  139. package/scss/core/components/atoms/icon.scss +49 -0
  140. package/scss/core/components/atoms/input.scss +333 -0
  141. package/scss/core/components/atoms/loading.scss +120 -0
  142. package/scss/core/components/atoms/option.scss +78 -0
  143. package/scss/core/components/atoms/paragraph.scss +44 -0
  144. package/scss/core/components/atoms/progress.scss +32 -0
  145. package/scss/core/components/atoms/select.scss +253 -0
  146. package/scss/core/components/atoms/subtitle.scss +21 -0
  147. package/scss/core/components/atoms/textarea.scss +340 -0
  148. package/scss/core/components/atoms/tooltip.scss +197 -0
  149. package/scss/core/components/bosons/container.scss +5 -0
  150. package/scss/core/components/bosons/flex-layout.scss +45 -0
  151. package/scss/core/components/bosons/grid-layout.scss +76 -0
  152. package/scss/core/components/bosons/grid.scss +79 -0
  153. package/scss/core/components/bosons/spacer.scss +45 -0
  154. package/scss/core/components/bosons/wrapper.scss +32 -0
  155. package/scss/core/components/index.scss +49 -0
  156. package/scss/core/components/molecules/accordion.scss +93 -0
  157. package/scss/core/components/molecules/active-tags.scss +58 -0
  158. package/scss/core/components/molecules/carousel.scss +67 -0
  159. package/scss/core/components/molecules/editable-select.scss +141 -0
  160. package/scss/core/components/molecules/indicator.scss +37 -0
  161. package/scss/core/components/molecules/inline-editable.scss +23 -0
  162. package/scss/core/components/molecules/modal.scss +70 -0
  163. package/scss/core/components/molecules/notification.scss +109 -0
  164. package/scss/core/components/molecules/password-confirmation.scss +16 -0
  165. package/scss/core/components/molecules/stepper.scss +84 -0
  166. package/scss/core/components/molecules/table.scss +95 -0
  167. package/scss/core/components/molecules/tabs.scss +114 -0
  168. package/scss/core/components/molecules/theme-provider.scss +6 -0
  169. package/scss/core/components/organisms/notification-list.scss +77 -0
  170. package/scss/core/components/templates/split-layout.scss +51 -0
  171. package/scss/core/components/templates/two-columns.scss +30 -0
  172. package/scss/core/functions/breakpoints.scss +35 -0
  173. package/scss/core/functions/fonts.scss +17 -0
  174. package/scss/core/functions/index.scss +5 -0
  175. package/scss/core/functions/spacings.scss +8 -0
  176. package/scss/core/functions/tokens.scss +14 -0
  177. package/scss/core/helpers/borders.scss +87 -0
  178. package/scss/core/helpers/colors.scss +167 -0
  179. package/scss/core/helpers/display.scss +177 -0
  180. package/scss/core/helpers/elevation.scss +16 -0
  181. package/scss/core/helpers/index.scss +6 -0
  182. package/scss/core/helpers/order.scss +20 -0
  183. package/scss/core/index.scss +18 -0
  184. package/scss/core/mixins/breakpoints.scss +90 -0
  185. package/scss/core/mixins/grid.scss +8 -0
  186. package/scss/core/mixins/index.scss +5 -0
  187. package/scss/core/tokens/borders.scss +12 -0
  188. package/scss/core/tokens/breakpoints.scss +20 -0
  189. package/scss/core/tokens/icons.scss +2 -0
  190. package/scss/core/tokens/index.scss +8 -0
  191. package/scss/core/tokens/opacity.scss +6 -0
  192. package/scss/core/tokens/shadows.scss +15 -0
  193. package/scss/core/tokens/spacings.scss +41 -0
  194. package/scss/core/tokens/typography.scss +20 -0
  195. package/scss/themes/aon/colors.scss +83 -0
  196. package/scss/themes/aon/index.scss +54 -0
  197. package/scss/themes/aon/typography.scss +7 -0
  198. package/scss/themes/bees/colors.scss +32 -0
  199. package/scss/themes/bees/index.scss +51 -0
  200. package/scss/themes/bees/typography.scss +6 -0
  201. package/scss/themes/bmc/colors.scss +81 -0
  202. package/scss/themes/bmc/index.scss +54 -0
  203. package/scss/themes/bmc/typography.scss +5 -0
  204. package/scss/themes/default/colors.scss +109 -0
  205. package/scss/themes/default/index.scss +80 -0
  206. package/scss/themes/default/typography.scss +7 -0
  207. package/scss/themes/linker/colors.scss +35 -0
  208. package/scss/themes/linker/index.scss +30 -0
  209. package/scss/themes/linker/typography.scss +6 -0
  210. package/scss/themes/oggi/colors.scss +81 -0
  211. package/scss/themes/oggi/index.scss +54 -0
  212. package/scss/themes/oggi/typography.scss +5 -0
  213. package/scss/themes/streetgo/colors.scss +81 -0
  214. package/scss/themes/streetgo/index.scss +54 -0
  215. package/scss/themes/streetgo/typography.scss +5 -0
  216. package/css/aon-theme.css +0 -1
  217. package/css/bees-theme.css +0 -1
  218. package/css/bmc-theme.css +0 -1
  219. package/css/default-theme.css +0 -1
  220. package/css/linker-theme.css +0 -1
  221. package/css/oggi-theme.css +0 -1
  222. package/css/streetgo-theme.css +0 -1
  223. package/react/components/atoms/Button/Button.config.d.ts +0 -94
  224. package/react/components/atoms/Button/index.d.ts +0 -4
  225. package/react/components/atoms/Caption/Caption.config.d.ts +0 -6
  226. package/react/components/atoms/Caption/index.d.ts +0 -4
  227. package/react/components/atoms/Card/Card.config.d.ts +0 -76
  228. package/react/components/atoms/Card/index.d.ts +0 -4
  229. package/react/components/atoms/Checkbox/index.d.ts +0 -5
  230. package/react/components/atoms/Heading/Heading.config.d.ts +0 -23
  231. package/react/components/atoms/Heading/index.d.ts +0 -4
  232. package/react/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +0 -32
  233. package/react/components/atoms/HorizontalRule/index.d.ts +0 -4
  234. package/react/components/atoms/Icon/Icon.config.d.ts +0 -129
  235. package/react/components/atoms/Icon/index.d.ts +0 -4
  236. package/react/components/atoms/Input/Input.config.d.ts +0 -151
  237. package/react/components/atoms/Input/index.d.ts +0 -4
  238. package/react/components/atoms/Loading/Loading.config.d.ts +0 -54
  239. package/react/components/atoms/Loading/index.d.ts +0 -4
  240. package/react/components/atoms/Option/Option.config.d.ts +0 -53
  241. package/react/components/atoms/Option/index.d.ts +0 -4
  242. package/react/components/atoms/Paragraph/Paragraph.config.d.ts +0 -20
  243. package/react/components/atoms/Paragraph/index.d.ts +0 -4
  244. package/react/components/atoms/Progress/Progress.config.d.ts +0 -31
  245. package/react/components/atoms/Progress/index.d.ts +0 -4
  246. package/react/components/atoms/Select/Select.config.d.ts +0 -125
  247. package/react/components/atoms/Select/index.d.ts +0 -4
  248. package/react/components/atoms/Subtitle/Subtitle.config.d.ts +0 -19
  249. package/react/components/atoms/Subtitle/index.d.ts +0 -4
  250. package/react/components/atoms/TextArea/TextArea.config.d.ts +0 -132
  251. package/react/components/atoms/TextArea/index.d.ts +0 -4
  252. package/react/components/atoms/Tooltip/Tooltip.config.d.ts +0 -38
  253. package/react/components/atoms/Tooltip/index.d.ts +0 -4
  254. package/react/components/bosons/Container/Container.config.d.ts +0 -18
  255. package/react/components/bosons/Container/index.d.ts +0 -4
  256. package/react/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -100
  257. package/react/components/bosons/FlexLayout/index.d.ts +0 -5
  258. package/react/components/bosons/GridLayout/GridLayout.config.d.ts +0 -82
  259. package/react/components/bosons/GridLayout/index.d.ts +0 -5
  260. package/react/components/bosons/Spacer/Spacer.config.d.ts +0 -25
  261. package/react/components/bosons/Spacer/index.d.ts +0 -4
  262. package/react/components/bosons/Wrapper/Wrapper.config.d.ts +0 -28
  263. package/react/components/bosons/Wrapper/index.d.ts +0 -4
  264. package/react/components/index.d.ts +0 -37
  265. package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
  266. package/react/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
  267. package/react/components/molecules/Accordion/index.d.ts +0 -5
  268. package/react/components/molecules/ActiveTags/index.d.ts +0 -4
  269. package/react/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -105
  270. package/react/components/molecules/EditableSelect/index.d.ts +0 -4
  271. package/react/components/molecules/Indicator/index.d.ts +0 -4
  272. package/react/components/molecules/InlineEditable/index.d.ts +0 -4
  273. package/react/components/molecules/Modal/Modal.config.d.ts +0 -41
  274. package/react/components/molecules/Modal/index.d.ts +0 -4
  275. package/react/components/molecules/Notification/Notification.d.ts +0 -7
  276. package/react/components/molecules/Notification/index.d.ts +0 -5
  277. package/react/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +0 -32
  278. package/react/components/molecules/PasswordConfirmation/index.d.ts +0 -4
  279. package/react/components/molecules/Stepper/index.d.ts +0 -4
  280. package/react/components/molecules/Table/Table.config.d.ts +0 -23
  281. package/react/components/molecules/Table/index.d.ts +0 -5
  282. package/react/components/molecules/Tabs/Tabs.config.d.ts +0 -45
  283. package/react/components/molecules/Tabs/index.d.ts +0 -6
  284. package/react/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +0 -30
  285. package/react/components/organisms/NotificationList/NotificationList.config.d.ts +0 -33
  286. package/react/components/organisms/NotificationList/index.d.ts +0 -4
  287. package/react/components/templates/TwoColumns/index.d.ts +0 -5
  288. package/react/decorators/storybook.d.ts +0 -3
  289. package/react/types/hooks/types.d.ts +0 -99
  290. package/react/types/types.d.ts +0 -43
  291. /package/react/{components → src/components}/atoms/Button/Button.test.d.ts +0 -0
  292. /package/react/{components → src/components}/atoms/Caption/Caption.d.ts +0 -0
  293. /package/react/{components → src/components}/atoms/Caption/Caption.stories.d.ts +0 -0
  294. /package/react/{components → src/components}/atoms/Caption/Caption.test.d.ts +0 -0
  295. /package/react/{components → src/components}/atoms/Card/Card.stories.d.ts +0 -0
  296. /package/react/{components → src/components}/atoms/Card/Card.test.d.ts +0 -0
  297. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.d.ts +0 -0
  298. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.stories.d.ts +0 -0
  299. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
  300. /package/react/{components → src/components}/atoms/Heading/Heading.d.ts +0 -0
  301. /package/react/{components → src/components}/atoms/Heading/Heading.stories.d.ts +0 -0
  302. /package/react/{components → src/components}/atoms/Heading/Heading.test.d.ts +0 -0
  303. /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.d.ts +0 -0
  304. /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.test.d.ts +0 -0
  305. /package/react/{components → src/components}/atoms/Icon/Icon.test.d.ts +0 -0
  306. /package/react/{components → src/components}/atoms/Input/Input.d.ts +0 -0
  307. /package/react/{components → src/components}/atoms/Input/Input.test.d.ts +0 -0
  308. /package/react/{components → src/components}/atoms/Input/mask.d.ts +0 -0
  309. /package/react/{components → src/components}/atoms/Loading/Loading.stories.d.ts +0 -0
  310. /package/react/{components → src/components}/atoms/Loading/Loading.test.d.ts +0 -0
  311. /package/react/{components → src/components}/atoms/Option/Option.d.ts +0 -0
  312. /package/react/{components → src/components}/atoms/Option/Option.stories.d.ts +0 -0
  313. /package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
  314. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +0 -0
  315. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.stories.d.ts +0 -0
  316. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.test.d.ts +0 -0
  317. /package/react/{components → src/components}/atoms/Progress/Progress.d.ts +0 -0
  318. /package/react/{components → src/components}/atoms/Progress/Progress.stories.d.ts +0 -0
  319. /package/react/{components → src/components}/atoms/Progress/Progress.test.d.ts +0 -0
  320. /package/react/{components → src/components}/atoms/Select/Select.d.ts +0 -0
  321. /package/react/{components → src/components}/atoms/Select/Select.test.d.ts +0 -0
  322. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.d.ts +0 -0
  323. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.stories.d.ts +0 -0
  324. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.test.d.ts +0 -0
  325. /package/react/{components → src/components}/atoms/TextArea/TextArea.test.d.ts +0 -0
  326. /package/react/{components → src/components}/atoms/Tooltip/Tooltip.test.d.ts +0 -0
  327. /package/react/{components → src/components}/bosons/Container/Container.d.ts +0 -0
  328. /package/react/{components → src/components}/bosons/Container/Container.stories.d.ts +0 -0
  329. /package/react/{components → src/components}/bosons/Container/Container.test.d.ts +0 -0
  330. /package/react/{components → src/components}/bosons/FlexLayout/FlexElement.d.ts +0 -0
  331. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.d.ts +0 -0
  332. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -0
  333. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.test.d.ts +0 -0
  334. /package/react/{components → src/components}/bosons/GridLayout/GridElement.test.d.ts +0 -0
  335. /package/react/{components → src/components}/bosons/GridLayout/GridLayout.stories.d.ts +0 -0
  336. /package/react/{components → src/components}/bosons/GridLayout/GridLayout.test.d.ts +0 -0
  337. /package/react/{components → src/components}/bosons/Spacer/Spacer.d.ts +0 -0
  338. /package/react/{components → src/components}/bosons/Spacer/Spacer.test.d.ts +0 -0
  339. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.d.ts +0 -0
  340. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +0 -0
  341. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.test.d.ts +0 -0
  342. /package/react/{components → src/components}/molecules/Accordion/Accordion.test.d.ts +0 -0
  343. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.d.ts +0 -0
  344. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +0 -0
  345. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.test.d.ts +0 -0
  346. /package/react/{components/molecules/Modal/Modal.test.d.ts → src/components/molecules/Carousel/Carousel.test.d.ts} +0 -0
  347. /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -0
  348. /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.test.d.ts +0 -0
  349. /package/react/{components → src/components}/molecules/Indicator/Indicator.d.ts +0 -0
  350. /package/react/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +0 -0
  351. /package/react/{components → src/components}/molecules/Indicator/Indicator.test.d.ts +0 -0
  352. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +0 -0
  353. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.stories.d.ts +0 -0
  354. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
  355. /package/react/{components → src/components}/molecules/Notification/Notification.test.d.ts +0 -0
  356. /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmartion.test.d.ts +0 -0
  357. /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +0 -0
  358. /package/react/{components → src/components}/molecules/Stepper/Stepper.stories.d.ts +0 -0
  359. /package/react/{components → src/components}/molecules/Stepper/Stepper.test.d.ts +0 -0
  360. /package/react/{components → src/components}/molecules/Table/Table.test.d.ts +0 -0
  361. /package/react/{components → src/components}/molecules/Tabs/Tab.test.d.ts +0 -0
  362. /package/react/{components → src/components}/molecules/Tabs/Tabs.test.d.ts +0 -0
  363. /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.d.ts +0 -0
  364. /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.test.d.ts +0 -0
  365. /package/react/{components → src/components}/molecules/ThemeProvider/index.d.ts +0 -0
  366. /package/react/{components → src/components}/organisms/NotificationList/NotificationList.test.d.ts +0 -0
  367. /package/react/{components/templates/TwoColumns/TwoColumns.test.d.ts → src/components/templates/SplitLayout/SplitLayout.test.d.ts} +0 -0
  368. /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.d.ts +0 -0
  369. /package/react/{decorators/storybook.test.d.ts → src/components/templates/TwoColumns/TwoColumns.test.d.ts} +0 -0
  370. /package/react/{main.d.ts → src/main.d.ts} +0 -0
@@ -0,0 +1,79 @@
1
+ $prefix: 'ds-grid' !default;
2
+ $columns: 12 !default;
3
+ $column-gap: $spacing--xxxs !default;
4
+ $column-gap-sm: $spacing--xxs !default;
5
+ $row-gap: 0;
6
+ $row-gap-sm: 0;
7
+
8
+ // The Grid Container.
9
+ .#{$prefix} {
10
+ display: flex;
11
+ flex-direction: column;
12
+ width: 100%;
13
+
14
+ // Reverse order rows
15
+ &--reverse {
16
+ flex-direction: column-reverse;
17
+ }
18
+
19
+ @each $breakpoint, $width in $grid-breakpoints {
20
+ $min: device-min($breakpoint, $grid-breakpoints);
21
+ $label: if($min, $breakpoint + '-reverse', 'reverse');
22
+
23
+ @include device-up($breakpoint, $grid-breakpoints) {
24
+ &--#{$label} {
25
+ flex-direction: column-reverse;
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ // The row
32
+ .#{$prefix}__row {
33
+ display: grid;
34
+ gap: $row-gap $column-gap;
35
+ grid-template-columns: repeat($columns, 1fr);
36
+
37
+ &--auto.#{$prefix}__row {
38
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
39
+ }
40
+
41
+ &--no-gap.#{$prefix}__row {
42
+ gap: 0;
43
+ }
44
+
45
+ // Reverse order column
46
+ @each $breakpoint, $width in $grid-breakpoints {
47
+ $min: device-min($breakpoint, $grid-breakpoints);
48
+ $label: if($min, $breakpoint + '-reverse', 'reverse');
49
+
50
+ @include device-up($breakpoint, $grid-breakpoints) {
51
+ &--#{$label} {
52
+ @for $i from 1 through $columns {
53
+ .#{$prefix}__col:nth-child(#{$i}) {
54
+ order: $columns - $i + 1;
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ @for $i from 1 through $columns {
63
+ .#{$prefix}__col-#{$i} {
64
+ @include grid-col($i);
65
+ }
66
+ }
67
+
68
+ @each $breakpoint in map-keys($grid-breakpoints) {
69
+ $min: device-min($breakpoint, $grid-breakpoints);
70
+ $label: if($min, 'col--' + $breakpoint, 'col');
71
+
72
+ @include device-up($breakpoint, $grid-breakpoints) {
73
+ @for $i from 1 through $columns {
74
+ .#{$prefix}__#{$label}-#{$i} {
75
+ @include grid-col($i);
76
+ }
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,45 @@
1
+ .ds-spacer {
2
+ &__vertical {
3
+ @each $modifier in ('quark', 'nano', 'xxxs', 'xxs', 'xs', 'sm', 'none') {
4
+ &--#{$modifier} {
5
+ @if $modifier == 'quark' {
6
+ height: $spacing--quark;
7
+ } @else if $modifier == 'nano' {
8
+ height: $spacing--nano;
9
+ } @else if $modifier == 'xxxs' {
10
+ height: $spacing--xxxs;
11
+ } @else if $modifier == 'xxs' {
12
+ height: $spacing--xxs;
13
+ } @else if $modifier == 'xs' {
14
+ height: $spacing--xs;
15
+ } @else if $modifier == 'sm' {
16
+ height: $spacing--sm;
17
+ } @else if $modifier == 'none' {
18
+ height: 0;
19
+ }
20
+ }
21
+ }
22
+ }
23
+
24
+ &__horizontal {
25
+ @each $modifier in ('quark', 'nano', 'xxxs', 'xxs', 'xs', 'sm', 'none') {
26
+ &--#{$modifier} {
27
+ @if $modifier == 'quark' {
28
+ width: $spacing--quark;
29
+ } @else if $modifier == 'nano' {
30
+ width: $spacing--nano;
31
+ } @else if $modifier == 'xxxs' {
32
+ width: $spacing--xxxs;
33
+ } @else if $modifier == 'xxs' {
34
+ width: $spacing--xxs;
35
+ } @else if $modifier == 'xs' {
36
+ width: $spacing--xs;
37
+ } @else if $modifier == 'sm' {
38
+ width: $spacing--sm;
39
+ } @else if $modifier == 'none' {
40
+ width: 0;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,32 @@
1
+ $sides: ('top', 'right', 'bottom', 'left');
2
+
3
+ .ds-wrapper {
4
+ display: flex;
5
+
6
+ @each $size, $value in $spacing__inset {
7
+ &--#{$size} {
8
+ padding: $value;
9
+ }
10
+
11
+ @each $side in $sides {
12
+ &__#{$side}--#{$size} {
13
+ padding-#{$side}: $value !important;
14
+ }
15
+ }
16
+ }
17
+
18
+ @each $display, $size in $breakpoint {
19
+ @media (max-width: #{$size}) {
20
+ @each $size, $value in $spacing__inset {
21
+ @each $side in $sides {
22
+ &__#{$display}-#{$side}--#{$size} {
23
+ padding-#{$side}: $value !important;
24
+ }
25
+ }
26
+ &--#{$display}-#{$size} {
27
+ padding: $value;
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,49 @@
1
+ // Components index (flat structure - lowercase/kebab-case)
2
+
3
+ // Bosons (Layout components)
4
+ @import 'bosons/container';
5
+ @import 'bosons/flex-layout';
6
+ @import 'bosons/grid';
7
+ @import 'bosons/grid-layout';
8
+ @import 'bosons/spacer';
9
+ @import 'bosons/wrapper';
10
+
11
+ // Atoms
12
+ @import 'atoms/button';
13
+ @import 'atoms/card';
14
+ @import 'atoms/caption';
15
+ @import 'atoms/checkbox';
16
+ @import 'atoms/heading';
17
+ @import 'atoms/horizontal-rule';
18
+ @import 'atoms/icon';
19
+ @import 'atoms/input';
20
+ @import 'atoms/loading';
21
+ @import 'atoms/option';
22
+ @import 'atoms/paragraph';
23
+ @import 'atoms/progress';
24
+ @import 'atoms/select';
25
+ @import 'atoms/subtitle';
26
+ @import 'atoms/textarea';
27
+ @import 'atoms/tooltip';
28
+
29
+ // Molecules
30
+ @import 'molecules/accordion';
31
+ @import 'molecules/active-tags';
32
+ @import 'molecules/carousel';
33
+ @import 'molecules/editable-select';
34
+ @import 'molecules/indicator';
35
+ @import 'molecules/inline-editable';
36
+ @import 'molecules/modal';
37
+ @import 'molecules/notification';
38
+ @import 'molecules/password-confirmation';
39
+ @import 'molecules/stepper';
40
+ @import 'molecules/table';
41
+ @import 'molecules/tabs';
42
+ @import 'molecules/theme-provider';
43
+
44
+ // Organisms
45
+ @import 'organisms/notification-list';
46
+
47
+ // Templates
48
+ @import 'templates/split-layout';
49
+ @import 'templates/two-columns';
@@ -0,0 +1,93 @@
1
+ .ds-accordion {
2
+ // CSS vars (light mode default)
3
+ --accordion-background-color: var(--background__color);
4
+ --accordion-background-color--hover: var(--color__neutral--10);
5
+ --accordion-title-color: var(--color__neutral--100);
6
+ --accordion-content-color: var(--color__neutral--100);
7
+ --accordion-border-color: var(--color__neutral--40);
8
+
9
+ border: $border__width--hairline solid var(--accordion-border-color);
10
+ border-radius: $spacing--quark;
11
+ list-style: none;
12
+ margin: 0;
13
+ padding: 0;
14
+ width: 100%;
15
+ }
16
+
17
+ .ds-accordion-item {
18
+ $self: &;
19
+
20
+ &:not(:last-child) {
21
+ border-bottom: $border__width--hairline solid var(--accordion-border-color);
22
+ }
23
+
24
+ &:first-child {
25
+ .ds-accordion-item__button {
26
+ border-radius: $spacing--quark $spacing--quark 0 0;
27
+ }
28
+ }
29
+
30
+ &:last-child {
31
+ .ds-accordion-item__button {
32
+ border-radius: 0 0 $spacing--quark $spacing--quark;
33
+ }
34
+ }
35
+
36
+ &__button {
37
+ align-items: center;
38
+ background-color: var(--accordion-background-color);
39
+ border: 0;
40
+ color: var(--accordion-title-color);
41
+ cursor: pointer;
42
+ display: flex;
43
+ gap: $spacing--nano;
44
+ justify-content: space-between;
45
+ padding: $spacing--xxxs;
46
+ user-select: none;
47
+ width: 100%;
48
+
49
+ &:focus {
50
+ outline-color: var(--button-background-color__primary--hover);
51
+ }
52
+
53
+ &:hover {
54
+ background-color: var(--accordion-background-color--hover);
55
+ }
56
+
57
+ .ds-paragraph {
58
+ text-align: left;
59
+ width: 100%;
60
+ }
61
+ }
62
+
63
+ &__title {
64
+ margin: 0;
65
+ width: 100%;
66
+ }
67
+
68
+ &--active {
69
+ outline: none;
70
+
71
+ .ds-accordion-item__button {
72
+ outline: none;
73
+
74
+ .ds-accordion-item__icon {
75
+ transform: rotate(-180deg);
76
+ }
77
+ }
78
+ }
79
+
80
+ &__content {
81
+ color: var(--accordion-content-color);
82
+ padding: $spacing--xxxs;
83
+ }
84
+ }
85
+
86
+ // Dark mode
87
+ [data-theme='dark'] .ds-accordion {
88
+ --accordion-background-color: var(--background__color);
89
+ --accordion-background-color--hover: var(--color__neutral--80);
90
+ --accordion-title-color: var(--color__neutral--00);
91
+ --accordion-content-color: var(--color__neutral--00);
92
+ --accordion-border-color: var(--color__neutral--40);
93
+ }
@@ -0,0 +1,58 @@
1
+ /* active-tags.css */
2
+ .active-tags {
3
+ display: flex;
4
+ gap: 18px;
5
+
6
+ &__title {
7
+ align-items: center;
8
+ background-color: var(--color__primary);
9
+ border-radius: $border__radius--sm 0 0 $border__radius--sm;
10
+ color: var(--color__neutral--00);
11
+ display: flex;
12
+ font-weight: $font__weight--bold;
13
+ height: 40px;
14
+ justify-content: center;
15
+ min-width: 96px;
16
+ padding: 0 10px;
17
+ position: relative;
18
+
19
+ &::after {
20
+ border-bottom: 20px solid transparent;
21
+ border-left: 13px solid var(--color__primary);
22
+ border-top: 20px solid transparent;
23
+ content: '';
24
+ display: block;
25
+ height: 0;
26
+ position: absolute;
27
+ right: -13px;
28
+ top: 0;
29
+ width: 0;
30
+ }
31
+ }
32
+
33
+ &__list {
34
+ display: flex;
35
+ flex-wrap: wrap;
36
+ gap: $spacing--nano;
37
+ }
38
+
39
+ &__item {
40
+ align-items: center;
41
+ background-color: var(--color__primary--lighter);
42
+ border-radius: $border__radius--sm;
43
+ color: var(--color__neutral--90);
44
+ display: flex;
45
+ gap: $spacing--quark;
46
+ height: 40px;
47
+ padding: 0 $spacing--nano;
48
+
49
+ p {
50
+ font-weight: $font__weight--bold;
51
+ }
52
+
53
+ &--no-close {
54
+ background-color: var(--color__neutral--70);
55
+ color: var(--color__neutral--00);
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,67 @@
1
+ .ds-carousel {
2
+ align-items: center;
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 8px;
6
+ height: 100%;
7
+ justify-content: center;
8
+ max-height: 550px;
9
+ padding-block: 60px;
10
+
11
+ &__content {
12
+ flex-direction: column;
13
+ justify-content: center;
14
+ }
15
+
16
+ &__dots {
17
+ display: flex;
18
+ justify-content: center;
19
+ margin-top: auto;
20
+
21
+ &-wrapper {
22
+ display: flex;
23
+ gap: 24px;
24
+ justify-content: center;
25
+ }
26
+ }
27
+
28
+ &__image-wrapper {
29
+ overflow: hidden;
30
+ position: relative;
31
+ }
32
+
33
+ &__image {
34
+ left: 50%;
35
+ opacity: 0;
36
+ pointer-events: none;
37
+ position: absolute;
38
+ top: 50%;
39
+ transform: translate(-50%, -50%);
40
+ transition: opacity 1s ease-in-out;
41
+
42
+ &.active {
43
+ opacity: 1;
44
+ pointer-events: auto;
45
+ z-index: 1;
46
+ }
47
+
48
+ &.inactive {
49
+ opacity: 0;
50
+ z-index: 0;
51
+ }
52
+ }
53
+ }
54
+
55
+ .dot {
56
+ background-color: var(--color__neutral--30);
57
+ border: none;
58
+ border-radius: 50%;
59
+ cursor: pointer;
60
+ height: 16px;
61
+ transition: all 0.3s ease-in-out;
62
+ width: 16px;
63
+
64
+ &--active {
65
+ background-color: var(--color__neutral--60);
66
+ }
67
+ }
@@ -0,0 +1,141 @@
1
+ .ds-editable-select {
2
+ &__container {
3
+ position: relative;
4
+ }
5
+
6
+ &__input {
7
+ input {
8
+ font-family: inherit;
9
+ z-index: 8;
10
+ }
11
+
12
+ label {
13
+ font-family: inherit;
14
+ z-index: 9;
15
+ }
16
+ }
17
+
18
+ &__icon {
19
+ position: absolute;
20
+ right: 8px;
21
+ top: 13px;
22
+ z-index: 99;
23
+
24
+ &--small {
25
+ font-size: $font__size--sm;
26
+ }
27
+
28
+ &--medium {
29
+ font-size: $font__size--md;
30
+ top: 15px;
31
+ }
32
+
33
+ &--large {
34
+ font-size: $font__size--lg;
35
+ top: 18px;
36
+ }
37
+ }
38
+
39
+ &__loading {
40
+ position: absolute;
41
+ right: 30px;
42
+ width: 23px;
43
+ z-index: 99;
44
+
45
+ &--small {
46
+ top: 20px;
47
+ }
48
+
49
+ &--medium {
50
+ top: 25px;
51
+ }
52
+
53
+ &--large {
54
+ top: 13px;
55
+ }
56
+ }
57
+
58
+ &__list {
59
+ background: var(--color__neutral--00);
60
+ border: 1px solid var(--color__neutral--60);
61
+ border-radius: 4px;
62
+ box-sizing: border-box;
63
+ display: block;
64
+ font-family: var(--font__family--highlight);
65
+ max-height: 360px;
66
+ overflow: scroll;
67
+ padding: 2px 0;
68
+ position: absolute;
69
+ width: 100%;
70
+ z-index: 9;
71
+
72
+ &--option {
73
+ cursor: pointer;
74
+ padding: 8px 16px;
75
+
76
+ &.not-found {
77
+ cursor: auto;
78
+ }
79
+ }
80
+
81
+ &--small {
82
+ top: $spacing--sm;
83
+ }
84
+
85
+ &--medium {
86
+ top: $spacing--md;
87
+ }
88
+
89
+ &--large {
90
+ top: $spacing--lg;
91
+ }
92
+ }
93
+
94
+ &__option {
95
+ background: none;
96
+ border: none;
97
+ border-radius: 4px;
98
+ color: var(--color__neutral--90);
99
+ cursor: pointer;
100
+ display: block;
101
+ font-family: var(--font__family--highlight);
102
+ line-height: normal;
103
+ margin: 0 4px;
104
+ padding: 16px 4px;
105
+ text-align: left;
106
+ width: 100%;
107
+
108
+ &:hover {
109
+ background-color: var(--color__info);
110
+ color: var(--color__neutral--00);
111
+ }
112
+
113
+ &--not-found {
114
+ cursor: auto;
115
+
116
+ &--small {
117
+ font-size: $font__size--xxs;
118
+ }
119
+
120
+ &--medium {
121
+ font-size: $font__size--xs;
122
+ }
123
+
124
+ &--large {
125
+ font-size: $font__size--sm;
126
+ }
127
+ }
128
+
129
+ &--small {
130
+ font-size: $font__size--xxs;
131
+ }
132
+
133
+ &--medium {
134
+ font-size: $font__size--xs;
135
+ }
136
+
137
+ &--large {
138
+ font-size: $font__size--sm;
139
+ }
140
+ }
141
+ }
@@ -0,0 +1,37 @@
1
+ // === INDICATOR TOKENS (colocated with component) ===
2
+ $indicator__background: var(--color__neutral--30) !default;
3
+ $indicator__background--active: var(--color__neutral--90) !default;
4
+ $indicator__background--older: var(--color__neutral--70) !default;
5
+ $indicator__radius: $border__radius--sm !default;
6
+ $indicator__gap: $spacing--quark !default;
7
+ $indicator__heigth: 12px !default;
8
+
9
+ // === INDICATOR COMPONENT ===
10
+ .ds-indicator {
11
+ align-items: center;
12
+ display: flex;
13
+ gap: $indicator__gap;
14
+ height: $indicator__heigth;
15
+ width: 100%;
16
+
17
+ &__step {
18
+ background-color: $indicator__background;
19
+ border-radius: $indicator__radius;
20
+ height: 100%;
21
+ margin: 0;
22
+ outline: none;
23
+ width: 100%;
24
+
25
+ &--default {
26
+ background-color: $indicator__background;
27
+ }
28
+
29
+ &--active {
30
+ background-color: $indicator__background--active;
31
+ }
32
+
33
+ &--older {
34
+ background-color: $indicator__background--older;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,23 @@
1
+ .ds-inline-editable {
2
+ .ds-flex-layout {
3
+ height: $spacing--xs;
4
+ }
5
+
6
+ .ds-input {
7
+ margin-bottom: 0;
8
+
9
+ &__input {
10
+ background-color: transparent;
11
+ box-shadow: $shadow__level--1;
12
+ caret-color: var(--color__primary);
13
+ height: $spacing--xs;
14
+ padding: $spacing__inset--quark;
15
+ width: $spacing--xl;
16
+ }
17
+ }
18
+
19
+ .ds-icon {
20
+ color: var(--text__color);
21
+ cursor: pointer;
22
+ }
23
+ }
@@ -0,0 +1,70 @@
1
+ .ds-modal-overlay {
2
+ background-color: var(--color__neutral--80);
3
+ height: 100vh;
4
+ inset: 0;
5
+ opacity: $opacity--heavier;
6
+ position: fixed;
7
+ width: 100%;
8
+ z-index: 9998;
9
+ }
10
+
11
+ .ds-modal {
12
+ align-items: center;
13
+ background-color: var(--color__neutral--00);
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: center;
17
+ max-width: 550px;
18
+ padding: $spacing--xxs $spacing--xxs;
19
+ position: fixed;
20
+ right: 50%;
21
+ top: 50%;
22
+ transform: translate(50%, -50%);
23
+ width: 100%;
24
+ z-index: 9999;
25
+
26
+ &--squared {
27
+ border-radius: 0;
28
+ }
29
+
30
+ &--rounded {
31
+ border-radius: $border__radius--sm;
32
+ }
33
+
34
+ &--elevation {
35
+ &-1 {
36
+ box-shadow: $shadow__level--1;
37
+ }
38
+
39
+ &-2 {
40
+ box-shadow: $shadow__level--2;
41
+ }
42
+
43
+ &-3 {
44
+ box-shadow: $shadow__level--3;
45
+ }
46
+
47
+ &-4 {
48
+ box-shadow: $shadow__level--4;
49
+ }
50
+ }
51
+
52
+ &__closeBtn {
53
+ align-self: flex-end;
54
+ background: none;
55
+ border: 0;
56
+ color: var(--color__neutral--80);
57
+ cursor: pointer;
58
+ display: grid;
59
+ height: $spacing--xs;
60
+ outline: none;
61
+ place-items: center;
62
+ width: $spacing--xs;
63
+ }
64
+
65
+ &__cta {
66
+ align-self: flex-end;
67
+ display: flex;
68
+ gap: $spacing--xs;
69
+ }
70
+ }