@akad/design-system 4.0.2 → 5.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 (362) hide show
  1. package/css/core.css +1 -1
  2. package/css/theme-aon.css +1 -1
  3. package/css/theme-bees.css +1 -1
  4. package/css/theme-bmc.css +1 -1
  5. package/css/theme-default.css +1 -1
  6. package/css/theme-linker.css +1 -1
  7. package/css/theme-oggi.css +1 -1
  8. package/css/theme-streetgo.css +1 -1
  9. package/package.json +13 -4
  10. package/react/react-lib.js +5376 -5010
  11. package/react/react-lib.umd.cjs +5 -5
  12. package/react/src/components/atoms/Badge/Badge.config.d.ts +37 -0
  13. package/react/src/components/atoms/Badge/Badge.d.ts +22 -0
  14. package/react/src/components/atoms/Badge/Badge.stories.d.ts +64 -0
  15. package/react/src/components/atoms/Badge/index.d.ts +4 -0
  16. package/react/src/components/atoms/Button/Button.config.d.ts +11 -34
  17. package/react/src/components/atoms/Button/Button.d.ts +34 -61
  18. package/react/src/components/atoms/Button/Button.stories.d.ts +11 -1
  19. package/react/src/components/atoms/Button/Button.tracking.d.ts +22 -0
  20. package/react/src/components/atoms/Card/Card.config.d.ts +41 -87
  21. package/react/src/components/atoms/Card/Card.d.ts +16 -18
  22. package/react/src/components/atoms/Card/Card.stories.d.ts +13 -47
  23. package/react/src/components/atoms/Checkbox/Checkbox.config.d.ts +19 -25
  24. package/react/src/components/atoms/Checkbox/Checkbox.d.ts +28 -2
  25. package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +43 -3
  26. package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.config.d.ts +25 -0
  27. package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.d.ts +25 -0
  28. package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.stories.d.ts +39 -0
  29. package/react/src/components/atoms/FeedbackMessage/index.d.ts +4 -0
  30. package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +13 -13
  31. package/react/src/components/atoms/HorizontalRule/HorizontalRule.d.ts +8 -11
  32. package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
  33. package/react/src/components/atoms/HorizontalRule/index.d.ts +1 -1
  34. package/react/src/components/atoms/Icon/Icon.config.d.ts +37 -103
  35. package/react/src/components/atoms/Icon/Icon.d.ts +8 -25
  36. package/react/src/components/atoms/Icon/Icon.stories.d.ts +10 -4
  37. package/react/src/components/atoms/IconButton/IconButton.config.d.ts +46 -0
  38. package/react/src/components/atoms/IconButton/IconButton.d.ts +33 -0
  39. package/react/src/components/atoms/IconButton/IconButton.stories.d.ts +17 -0
  40. package/react/src/components/atoms/IconButton/index.d.ts +4 -0
  41. package/react/src/components/atoms/Input/Input.config.d.ts +29 -39
  42. package/react/src/components/atoms/Input/Input.d.ts +34 -15
  43. package/react/src/components/atoms/Input/Input.stories.d.ts +30 -3
  44. package/react/src/components/atoms/Loading/Loading.config.d.ts +18 -26
  45. package/react/src/components/atoms/Loading/Loading.d.ts +13 -15
  46. package/react/src/components/atoms/Loading/Loading.stories.d.ts +22 -1
  47. package/react/src/components/atoms/Radio/Radio.config.d.ts +8 -10
  48. package/react/src/components/atoms/Radio/Radio.d.ts +21 -9
  49. package/react/src/components/atoms/Radio/Radio.stories.d.ts +10 -43
  50. package/react/src/components/atoms/Radio/index.d.ts +1 -1
  51. package/react/src/components/atoms/Select/Select.config.d.ts +9 -14
  52. package/react/src/components/atoms/Select/Select.d.ts +20 -10
  53. package/react/src/components/atoms/Select/Select.stories.d.ts +0 -2
  54. package/react/src/components/atoms/TextArea/TextArea.config.d.ts +30 -43
  55. package/react/src/components/atoms/TextArea/TextArea.d.ts +23 -14
  56. package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +13 -7
  57. package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +20 -19
  58. package/react/src/components/atoms/Tooltip/Tooltip.d.ts +9 -11
  59. package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -37
  60. package/react/src/components/bosons/Container/Container.config.d.ts +8 -0
  61. package/react/src/components/bosons/Container/Container.d.ts +3 -9
  62. package/react/src/components/bosons/Spacer/Spacer.config.d.ts +8 -8
  63. package/react/src/components/bosons/Spacer/Spacer.d.ts +3 -7
  64. package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +11 -3
  65. package/react/src/components/bosons/Wrapper/Wrapper.d.ts +3 -1
  66. package/react/src/components/index.d.ts +13 -16
  67. package/react/src/components/molecules/Accordion/Accordion.config.d.ts +6 -0
  68. package/react/src/components/molecules/Accordion/Accordion.d.ts +4 -7
  69. package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +10 -2
  70. package/react/src/components/molecules/Accordion/index.d.ts +0 -4
  71. package/react/src/components/molecules/ActiveTags/ActiveTags.config.d.ts +15 -8
  72. package/react/src/components/molecules/ActiveTags/ActiveTags.d.ts +13 -10
  73. package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +39 -5
  74. package/react/src/components/molecules/Alert/Alert.config.d.ts +54 -0
  75. package/react/src/components/molecules/Alert/Alert.d.ts +34 -0
  76. package/react/src/components/molecules/Alert/Alert.stories.d.ts +217 -0
  77. package/react/src/components/molecules/Alert/index.d.ts +4 -0
  78. package/react/src/components/molecules/Carousel/Carousel.config.d.ts +9 -1
  79. package/react/src/components/molecules/Carousel/Carousel.d.ts +5 -14
  80. package/react/src/components/molecules/Carousel/Carousel.stories.d.ts +31 -0
  81. package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardForm.stories.d.ts +21 -0
  82. package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.config.d.ts +25 -18
  83. package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardGroup.d.ts +33 -0
  84. package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.stories.d.ts +28 -16
  85. package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/index.d.ts +0 -4
  86. package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.config.d.ts +27 -0
  87. package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +37 -0
  88. package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +23 -0
  89. package/react/src/components/molecules/CheckboxGroup/index.d.ts +4 -0
  90. package/react/src/components/molecules/Combobox/Combobox.config.d.ts +88 -0
  91. package/react/src/components/molecules/Combobox/Combobox.d.ts +48 -0
  92. package/react/src/components/molecules/Combobox/Combobox.stories.d.ts +61 -0
  93. package/react/src/components/molecules/Combobox/index.d.ts +4 -0
  94. package/react/src/components/molecules/Indicator/Indicator.config.d.ts +4 -4
  95. package/react/src/components/molecules/Indicator/Indicator.d.ts +5 -1
  96. package/react/src/components/molecules/InlineEditable/InlineEditable.config.d.ts +24 -53
  97. package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +5 -11
  98. package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +17 -3
  99. package/react/src/components/molecules/InlineEditable/index.d.ts +2 -2
  100. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +23 -2
  101. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +19 -13
  102. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +18 -1
  103. package/react/src/components/molecules/ProgressBar/ProgressBar.config.d.ts +45 -0
  104. package/react/src/components/molecules/ProgressBar/ProgressBar.d.ts +23 -0
  105. package/react/src/components/molecules/ProgressBar/ProgressBar.stories.d.ts +33 -0
  106. package/react/src/components/molecules/ProgressBar/index.d.ts +4 -0
  107. package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.config.d.ts +26 -0
  108. package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.d.ts +40 -0
  109. package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.stories.d.ts +20 -0
  110. package/react/src/components/molecules/RadioCardGroup/index.d.ts +4 -0
  111. package/react/src/components/molecules/RadioGroup/RadioGroup.config.d.ts +27 -0
  112. package/react/src/components/molecules/RadioGroup/RadioGroup.d.ts +38 -0
  113. package/react/src/components/molecules/RadioGroup/RadioGroup.stories.d.ts +19 -0
  114. package/react/src/components/molecules/RadioGroup/index.d.ts +4 -0
  115. package/react/src/components/{atoms → molecules}/SegmentControl/SegmentControl.config.d.ts +18 -9
  116. package/react/src/components/molecules/SegmentControl/SegmentControl.d.ts +28 -0
  117. package/react/src/components/molecules/SegmentControl/SegmentControl.stories.d.ts +137 -0
  118. package/react/src/components/molecules/Stepper/Stepper.config.d.ts +39 -4
  119. package/react/src/components/molecules/Stepper/Stepper.d.ts +17 -8
  120. package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +37 -13
  121. package/react/src/components/molecules/Table/Table.config.d.ts +6 -15
  122. package/react/src/components/molecules/Table/Table.d.ts +13 -2
  123. package/react/src/components/molecules/Table/Table.stories.d.ts +1 -1
  124. package/react/src/components/molecules/Tabs/Tabs.config.d.ts +21 -25
  125. package/react/src/components/molecules/Tabs/Tabs.d.ts +6 -9
  126. package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +51 -24
  127. package/react/src/components/molecules/Tabs/index.d.ts +0 -1
  128. package/react/src/components/organisms/Modal/Modal.config.d.ts +21 -0
  129. package/react/src/components/organisms/Modal/Modal.d.ts +25 -0
  130. package/react/src/components/organisms/Modal/Modal.stories.d.ts +74 -0
  131. package/react/src/components/organisms/NotificationList/NotificationList.d.ts +6 -11
  132. package/react/src/components/propLeakage.test.d.ts +1 -0
  133. package/react/src/components/{molecules → providers}/ThemeProvider/ThemeProvider.config.d.ts +11 -6
  134. package/react/src/components/providers/ThemeProvider/ThemeProvider.d.ts +12 -0
  135. package/react/src/components/providers/ThemeProvider/ThemeProvider.stories.d.ts +17 -0
  136. package/react/src/components/providers/ThemeProvider/ThemeProvider.test.d.ts +1 -0
  137. package/react/src/components/providers/ThemeProvider/index.d.ts +4 -0
  138. package/react/src/components/templates/TwoColumns/TwoColumns.d.ts +6 -13
  139. package/react/src/components/{atoms/Caption/Caption.stories.d.ts → templates/TwoColumns/TwoColumns.stories.d.ts} +2 -3
  140. package/react/src/enum/layoutTag.d.ts +10 -0
  141. package/react/src/helpers/feedbackMessage.d.ts +22 -0
  142. package/react/src/helpers/feedbackMessage.test.d.ts +1 -0
  143. package/react/src/helpers/testId.d.ts +7 -0
  144. package/react/src/helpers/testId.test.d.ts +1 -0
  145. package/react/src/helpers/useInternalValue.d.ts +23 -0
  146. package/react/src/helpers/useInternalValue.test.d.ts +1 -0
  147. package/scss/core/README.md +56 -0
  148. package/scss/core/base/typography.scss +3 -4
  149. package/scss/core/components/atoms/badge.scss +116 -0
  150. package/scss/core/components/atoms/button.scss +94 -797
  151. package/scss/core/components/atoms/card.scss +74 -126
  152. package/scss/core/components/atoms/checkbox.scss +110 -47
  153. package/scss/core/components/atoms/feedback-message.scss +38 -0
  154. package/scss/core/components/atoms/horizontal-rule.scss +4 -5
  155. package/scss/core/components/atoms/icon-button.scss +18 -0
  156. package/scss/core/components/atoms/icon.scss +53 -38
  157. package/scss/core/components/atoms/input.scss +248 -259
  158. package/scss/core/components/atoms/loading.scss +133 -77
  159. package/scss/core/components/atoms/radio.scss +84 -100
  160. package/scss/core/components/atoms/select.scss +151 -176
  161. package/scss/core/components/atoms/textarea.scss +154 -281
  162. package/scss/core/components/atoms/tooltip.scss +129 -149
  163. package/scss/core/components/bosons/caption.scss +10 -0
  164. package/scss/core/components/bosons/container.scss +5 -1
  165. package/scss/core/components/bosons/flex.scss +121 -0
  166. package/scss/core/components/bosons/grid.scss +39 -43
  167. package/scss/core/components/bosons/heading.scss +29 -0
  168. package/scss/core/components/bosons/label.scss +21 -0
  169. package/scss/core/components/bosons/paragraph.scss +62 -0
  170. package/scss/core/components/bosons/spacer.scss +6 -34
  171. package/scss/core/components/bosons/subtitle.scss +9 -0
  172. package/scss/core/components/bosons/wrapper.scss +10 -2
  173. package/scss/core/components/index.scss +19 -17
  174. package/scss/core/components/molecules/accordion.scss +42 -48
  175. package/scss/core/components/molecules/active-tags.scss +102 -28
  176. package/scss/core/components/molecules/alert.scss +145 -0
  177. package/scss/core/components/molecules/carousel.scss +4 -4
  178. package/scss/core/components/molecules/checkbox-card-group.scss +280 -0
  179. package/scss/core/components/molecules/checkbox-group.scss +39 -0
  180. package/scss/core/components/molecules/combobox.scss +158 -0
  181. package/scss/core/components/molecules/indicator.scss +4 -6
  182. package/scss/core/components/molecules/inline-editable.scss +6 -8
  183. package/scss/core/components/molecules/password-confirmation.scss +11 -7
  184. package/scss/core/components/molecules/progress-bar.scss +85 -0
  185. package/scss/core/components/molecules/radio-card-group.scss +228 -0
  186. package/scss/core/components/molecules/radio-group.scss +45 -0
  187. package/scss/core/components/molecules/segment-control.scss +150 -0
  188. package/scss/core/components/molecules/stepper.scss +130 -57
  189. package/scss/core/components/molecules/table.scss +19 -18
  190. package/scss/core/components/molecules/tabs.scss +37 -215
  191. package/scss/core/components/organisms/modal.scss +68 -0
  192. package/scss/core/components/organisms/notification-list.scss +17 -17
  193. package/scss/core/components/templates/two-columns.scss +6 -6
  194. package/scss/core/functions/breakpoints.scss +4 -11
  195. package/scss/core/functions/index.scss +0 -3
  196. package/scss/core/functions/primitive.scss +68 -0
  197. package/scss/core/helpers/colors.scss +56 -187
  198. package/scss/core/helpers/display.scss +0 -148
  199. package/scss/core/helpers/index.scss +0 -1
  200. package/scss/core/helpers/order.scss +6 -4
  201. package/scss/core/index.scss +1 -1
  202. package/scss/core/mixins/breakpoints.scss +9 -47
  203. package/scss/core/mixins/choice.scss +88 -0
  204. package/scss/core/mixins/colors.scss +40 -0
  205. package/scss/core/mixins/index.scss +3 -2
  206. package/scss/core/mixins/typography.scss +22 -0
  207. package/scss/core/{tokens → primitives}/borders.scss +13 -14
  208. package/scss/core/primitives/breakpoints.scss +14 -0
  209. package/scss/core/primitives/colors.scss +174 -0
  210. package/scss/core/primitives/font.scss +34 -0
  211. package/scss/core/primitives/index.scss +8 -0
  212. package/scss/core/primitives/opacity.scss +40 -0
  213. package/scss/core/primitives/shadows.scss +36 -0
  214. package/scss/core/primitives/sizes.scss +28 -0
  215. package/scss/core/primitives/spacings.scss +28 -0
  216. package/scss/core/tokens/breakpoints.scss +12 -19
  217. package/scss/core/tokens/colors.scss +109 -0
  218. package/scss/core/tokens/font.scss +27 -0
  219. package/scss/core/tokens/index.scss +6 -6
  220. package/scss/core/tokens/sizes.scss +33 -0
  221. package/scss/core/tokens/spacings.scss +31 -39
  222. package/scss/core/tokens/typography.scss +144 -19
  223. package/scss/index.scss +7 -0
  224. package/scss/themes/aon/index.scss +76 -41
  225. package/scss/themes/aon/primitives.scss +35 -0
  226. package/scss/themes/bees/index.scss +52 -34
  227. package/scss/themes/bees/primitives.scss +19 -0
  228. package/scss/themes/bmc/index.scss +77 -42
  229. package/scss/themes/bmc/primitives.scss +33 -0
  230. package/scss/themes/default/index.scss +15 -59
  231. package/scss/themes/linker/index.scss +36 -17
  232. package/scss/themes/linker/primitives.scss +14 -0
  233. package/scss/themes/oggi/index.scss +77 -42
  234. package/scss/themes/oggi/primitives.scss +35 -0
  235. package/scss/themes/streetgo/index.scss +77 -42
  236. package/scss/themes/streetgo/primitives.scss +34 -0
  237. package/react/src/components/atoms/Caption/Caption.config.d.ts +0 -6
  238. package/react/src/components/atoms/Caption/Caption.d.ts +0 -18
  239. package/react/src/components/atoms/Caption/index.d.ts +0 -4
  240. package/react/src/components/atoms/Chip/Chip.config.d.ts +0 -43
  241. package/react/src/components/atoms/Chip/Chip.d.ts +0 -15
  242. package/react/src/components/atoms/Chip/Chip.stories.d.ts +0 -33
  243. package/react/src/components/atoms/Chip/index.d.ts +0 -4
  244. package/react/src/components/atoms/Heading/Heading.config.d.ts +0 -22
  245. package/react/src/components/atoms/Heading/Heading.d.ts +0 -19
  246. package/react/src/components/atoms/Heading/Heading.stories.d.ts +0 -48
  247. package/react/src/components/atoms/Heading/index.d.ts +0 -4
  248. package/react/src/components/atoms/Option/Option.config.d.ts +0 -53
  249. package/react/src/components/atoms/Option/Option.d.ts +0 -30
  250. package/react/src/components/atoms/Option/Option.stories.d.ts +0 -12
  251. package/react/src/components/atoms/Option/index.d.ts +0 -4
  252. package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +0 -19
  253. package/react/src/components/atoms/Paragraph/Paragraph.d.ts +0 -19
  254. package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +0 -21
  255. package/react/src/components/atoms/Paragraph/index.d.ts +0 -4
  256. package/react/src/components/atoms/Progress/Progress.config.d.ts +0 -62
  257. package/react/src/components/atoms/Progress/Progress.d.ts +0 -16
  258. package/react/src/components/atoms/Progress/Progress.stories.d.ts +0 -17
  259. package/react/src/components/atoms/Progress/index.d.ts +0 -4
  260. package/react/src/components/atoms/SegmentControl/SegmentControl.d.ts +0 -18
  261. package/react/src/components/atoms/SegmentControl/SegmentControl.stories.d.ts +0 -73
  262. package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +0 -18
  263. package/react/src/components/atoms/Subtitle/Subtitle.d.ts +0 -13
  264. package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +0 -23
  265. package/react/src/components/atoms/Subtitle/index.d.ts +0 -4
  266. package/react/src/components/bosons/FlexLayout/FlexElement.config.d.ts +0 -20
  267. package/react/src/components/bosons/FlexLayout/FlexElement.d.ts +0 -27
  268. package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -95
  269. package/react/src/components/bosons/FlexLayout/FlexLayout.d.ts +0 -28
  270. package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -20
  271. package/react/src/components/bosons/FlexLayout/index.d.ts +0 -8
  272. package/react/src/components/bosons/GridLayout/GridElement.config.d.ts +0 -17
  273. package/react/src/components/bosons/GridLayout/GridElement.d.ts +0 -14
  274. package/react/src/components/bosons/GridLayout/GridElement.test.d.ts +0 -1
  275. package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +0 -80
  276. package/react/src/components/bosons/GridLayout/GridLayout.d.ts +0 -29
  277. package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +0 -12
  278. package/react/src/components/bosons/GridLayout/index.d.ts +0 -8
  279. package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
  280. package/react/src/components/molecules/Accordion/AccordionItem.d.ts +0 -20
  281. package/react/src/components/molecules/CheckboxCard/CheckboxCard.config.d.ts +0 -70
  282. package/react/src/components/molecules/CheckboxCard/CheckboxCard.d.ts +0 -21
  283. package/react/src/components/molecules/CheckboxCard/CheckboxCard.stories.d.ts +0 -135
  284. package/react/src/components/molecules/CheckboxCard/CheckboxCardForm.stories.d.ts +0 -36
  285. package/react/src/components/molecules/CheckboxCard/CheckboxCardGroup.d.ts +0 -34
  286. package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -114
  287. package/react/src/components/molecules/EditableSelect/EditableSelect.d.ts +0 -134
  288. package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -24
  289. package/react/src/components/molecules/EditableSelect/EditableSelect.utils.d.ts +0 -15
  290. package/react/src/components/molecules/EditableSelect/index.d.ts +0 -4
  291. package/react/src/components/molecules/Modal/Modal.config.d.ts +0 -44
  292. package/react/src/components/molecules/Modal/Modal.d.ts +0 -31
  293. package/react/src/components/molecules/Modal/Modal.stories.d.ts +0 -45
  294. package/react/src/components/molecules/Notification/Notification.config.d.ts +0 -64
  295. package/react/src/components/molecules/Notification/Notification.d.ts +0 -22
  296. package/react/src/components/molecules/Notification/Notification.stories.d.ts +0 -95
  297. package/react/src/components/molecules/Notification/index.d.ts +0 -4
  298. package/react/src/components/molecules/Table/TableRow.d.ts +0 -7
  299. package/react/src/components/molecules/Tabs/Tab.d.ts +0 -5
  300. package/react/src/components/molecules/Tabs/types.d.ts +0 -23
  301. package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +0 -17
  302. package/react/src/components/molecules/ThemeProvider/index.d.ts +0 -4
  303. package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +0 -7
  304. package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +0 -9
  305. package/react/src/components/templates/SplitLayout/index.d.ts +0 -5
  306. package/react/src/enum/colorProps.d.ts +0 -30
  307. package/scss/core/components/atoms/caption.scss +0 -13
  308. package/scss/core/components/atoms/chip.scss +0 -101
  309. package/scss/core/components/atoms/heading.scss +0 -70
  310. package/scss/core/components/atoms/option.scss +0 -78
  311. package/scss/core/components/atoms/paragraph.scss +0 -44
  312. package/scss/core/components/atoms/progress.scss +0 -16
  313. package/scss/core/components/atoms/radio-card.scss +0 -117
  314. package/scss/core/components/atoms/segment-control.scss +0 -143
  315. package/scss/core/components/atoms/subtitle.scss +0 -21
  316. package/scss/core/components/bosons/flex-layout.scss +0 -45
  317. package/scss/core/components/bosons/grid-layout.scss +0 -76
  318. package/scss/core/components/molecules/checkbox-card.scss +0 -480
  319. package/scss/core/components/molecules/editable-select.scss +0 -145
  320. package/scss/core/components/molecules/modal.scss +0 -70
  321. package/scss/core/components/molecules/notification.scss +0 -109
  322. package/scss/core/components/templates/split-layout.scss +0 -51
  323. package/scss/core/functions/fonts.scss +0 -17
  324. package/scss/core/functions/spacings.scss +0 -8
  325. package/scss/core/functions/tokens.scss +0 -14
  326. package/scss/core/helpers/elevation.scss +0 -16
  327. package/scss/core/tokens/icons.scss +0 -2
  328. package/scss/core/tokens/opacity.scss +0 -6
  329. package/scss/core/tokens/shadows.scss +0 -15
  330. package/scss/themes/aon/colors.scss +0 -83
  331. package/scss/themes/bees/colors.scss +0 -32
  332. package/scss/themes/bmc/colors.scss +0 -81
  333. package/scss/themes/default/colors.scss +0 -109
  334. package/scss/themes/linker/colors.scss +0 -35
  335. package/scss/themes/oggi/colors.scss +0 -81
  336. package/scss/themes/streetgo/colors.scss +0 -81
  337. /package/react/src/components/atoms/{Caption/Caption.test.d.ts → Badge/Badge.test.d.ts} +0 -0
  338. /package/react/src/components/atoms/{Chip/Chip.test.d.ts → FeedbackMessage/FeedbackMessage.test.d.ts} +0 -0
  339. /package/react/src/components/atoms/{Heading/Heading.test.d.ts → IconButton/IconButton.test.d.ts} +0 -0
  340. /package/react/src/components/atoms/Input/{mask.d.ts → Input.mask.d.ts} +0 -0
  341. /package/react/src/components/{atoms/Option/Option.test.d.ts → classesNoCss.test.d.ts} +0 -0
  342. /package/react/src/components/{atoms/Paragraph/Paragraph.test.d.ts → commonProps.test.d.ts} +0 -0
  343. /package/react/src/components/{atoms/Progress/Progress.test.d.ts → feedbackMessage.test.d.ts} +0 -0
  344. /package/react/src/components/{atoms/SegmentControl/index.test.d.ts → index.test.d.ts} +0 -0
  345. /package/react/src/components/{atoms/SegmentControl/SegmentControl.test.d.ts → messageRegion.test.d.ts} +0 -0
  346. /package/react/src/components/{atoms/Subtitle/Subtitle.test.d.ts → molecules/Alert/Alert.test.d.ts} +0 -0
  347. /package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.test.d.ts +0 -0
  348. /package/react/src/components/{bosons/FlexLayout/FlexLayout.test.d.ts → molecules/CheckboxCardGroup/index.test.d.ts} +0 -0
  349. /package/react/src/components/{bosons/GridLayout/GridLayout.test.d.ts → molecules/CheckboxGroup/CheckboxGroup.test.d.ts} +0 -0
  350. /package/react/src/components/molecules/{CheckboxCard/CheckboxCard.test.d.ts → Combobox/Combobox.a11y.test.d.ts} +0 -0
  351. /package/react/src/components/molecules/{EditableSelect/EditableSelect.test.d.ts → Combobox/Combobox.test.d.ts} +0 -0
  352. /package/react/src/components/molecules/{EditableSelect/EditableSelect.utils.test.d.ts → PasswordConfirmation/PasswordConfirmation.test.d.ts} +0 -0
  353. /package/react/src/components/molecules/{Notification/Notification.test.d.ts → ProgressBar/ProgressBar.test.d.ts} +0 -0
  354. /package/react/src/components/molecules/{PasswordConfirmation/PasswordConfirmartion.test.d.ts → RadioCardGroup/RadioCardGroup.test.d.ts} +0 -0
  355. /package/react/src/components/molecules/{Tabs/Tab.test.d.ts → RadioGroup/RadioGroup.test.d.ts} +0 -0
  356. /package/react/src/components/molecules/{ThemeProvider/ThemeProvider.test.d.ts → SegmentControl/SegmentControl.test.d.ts} +0 -0
  357. /package/react/src/components/{atoms → molecules}/SegmentControl/index.d.ts +0 -0
  358. /package/react/src/components/{templates/SplitLayout/SplitLayout.test.d.ts → molecules/SegmentControl/index.test.d.ts} +0 -0
  359. /package/react/src/components/molecules/Table/{dataTable.mock.d.ts → Table.mock.d.ts} +0 -0
  360. /package/react/src/components/{molecules → organisms}/Modal/Modal.test.d.ts +0 -0
  361. /package/react/src/components/{molecules → organisms}/Modal/index.d.ts +0 -0
  362. /package/scss/core/components/{molecules → providers}/theme-provider.scss +0 -0
@@ -0,0 +1,62 @@
1
+ p,
2
+ .ds-paragraph {
3
+ @include typography('body-md');
4
+
5
+ margin: 0;
6
+
7
+ b,
8
+ strong {
9
+ @include typography('body-md-bold');
10
+ }
11
+
12
+ a {
13
+ color: var(--color__foreground--info);
14
+ display: inline;
15
+ text-decoration: none;
16
+
17
+ &:visited {
18
+ color: var(--color__foreground--info-strong);
19
+ }
20
+
21
+ &:hover {
22
+ color: var(--color__foreground--info);
23
+ text-decoration: underline;
24
+ }
25
+ }
26
+ }
27
+
28
+ .ds-paragraph {
29
+ &--md {
30
+ @include typography('body-md');
31
+ }
32
+
33
+ &--lg {
34
+ @include typography('body-lg');
35
+ }
36
+
37
+ &--sm {
38
+ @include typography('body-sm');
39
+
40
+ b,
41
+ strong {
42
+ @include typography('body-sm-bold');
43
+ }
44
+ }
45
+
46
+ &--lg b,
47
+ &--lg strong {
48
+ @include typography('body-lg-bold');
49
+ }
50
+
51
+ &--bold {
52
+ @include typography('body-md-bold');
53
+ }
54
+
55
+ &--sm#{&}--bold {
56
+ @include typography('body-sm-bold');
57
+ }
58
+
59
+ &--lg#{&}--bold {
60
+ @include typography('body-lg-bold');
61
+ }
62
+ }
@@ -1,44 +1,16 @@
1
1
  .ds-spacer {
2
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
- }
3
+ @each $name, $value in $spacing__offset {
4
+ &--#{$name} {
5
+ height: $value;
20
6
  }
21
7
  }
22
8
  }
23
9
 
24
10
  &__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
- }
11
+ @each $name, $value in $spacing__offset {
12
+ &--#{$name} {
13
+ width: $value;
42
14
  }
43
15
  }
44
16
  }
@@ -0,0 +1,9 @@
1
+ .ds-subtitle {
2
+ &--lg {
3
+ @include typography('subtitle-lg');
4
+ }
5
+
6
+ &--sm {
7
+ @include typography('subtitle-sm');
8
+ }
9
+ }
@@ -1,3 +1,5 @@
1
+ @use 'sass:map';
2
+
1
3
  $sides: ('top', 'right', 'bottom', 'left');
2
4
 
3
5
  .ds-wrapper {
@@ -15,8 +17,14 @@ $sides: ('top', 'right', 'bottom', 'left');
15
17
  }
16
18
  }
17
19
 
18
- @each $display, $size in $breakpoint {
19
- @media (max-width: #{$size}) {
20
+ @each $side in $sides {
21
+ &__#{$side}--none {
22
+ padding-#{$side}: 0 !important;
23
+ }
24
+ }
25
+
26
+ @each $display in ('mobile') {
27
+ @media (max-width: #{map.get($breakpoint, $display)}) {
20
28
  @each $size, $value in $spacing__inset {
21
29
  @each $side in $sides {
22
30
  &__#{$display}-#{$side}--#{$size} {
@@ -1,53 +1,55 @@
1
1
  // Components index (flat structure - lowercase/kebab-case)
2
2
 
3
- // Bosons (Layout components)
3
+ @import 'bosons/caption';
4
4
  @import 'bosons/container';
5
- @import 'bosons/flex-layout';
5
+ @import 'bosons/flex';
6
6
  @import 'bosons/grid';
7
- @import 'bosons/grid-layout';
7
+ @import 'bosons/heading';
8
+ @import 'bosons/label';
9
+ @import 'bosons/paragraph';
8
10
  @import 'bosons/spacer';
11
+ @import 'bosons/subtitle';
9
12
  @import 'bosons/wrapper';
10
13
 
11
14
  // Atoms
12
15
  @import 'atoms/button';
13
16
  @import 'atoms/card';
14
- @import 'atoms/caption';
15
17
  @import 'atoms/checkbox';
16
- @import 'atoms/chip';
17
- @import 'atoms/heading';
18
+ @import 'atoms/badge';
19
+ @import 'atoms/feedback-message';
18
20
  @import 'atoms/horizontal-rule';
19
21
  @import 'atoms/icon';
22
+ @import 'atoms/icon-button';
20
23
  @import 'atoms/input';
21
24
  @import 'atoms/loading';
22
- @import 'atoms/option';
23
- @import 'atoms/paragraph';
24
- @import 'atoms/progress';
25
25
  @import 'atoms/radio';
26
- @import 'atoms/segment-control';
27
26
  @import 'atoms/select';
28
- @import 'atoms/subtitle';
29
27
  @import 'atoms/textarea';
30
28
  @import 'atoms/tooltip';
31
29
 
32
30
  // Molecules
33
31
  @import 'molecules/accordion';
34
32
  @import 'molecules/active-tags';
33
+ @import 'molecules/alert';
35
34
  @import 'molecules/carousel';
36
- @import 'molecules/checkbox-card';
37
- @import 'molecules/editable-select';
35
+ @import 'molecules/checkbox-card-group';
36
+ @import 'molecules/checkbox-group';
37
+ @import 'molecules/combobox';
38
38
  @import 'molecules/indicator';
39
39
  @import 'molecules/inline-editable';
40
- @import 'molecules/modal';
41
- @import 'molecules/notification';
42
40
  @import 'molecules/password-confirmation';
41
+ @import 'molecules/progress-bar';
42
+ @import 'molecules/radio-card-group';
43
+ @import 'molecules/radio-group';
44
+ @import 'molecules/segment-control';
43
45
  @import 'molecules/stepper';
44
46
  @import 'molecules/table';
45
47
  @import 'molecules/tabs';
46
- @import 'molecules/theme-provider';
47
48
 
48
49
  // Organisms
50
+ @import 'organisms/modal';
49
51
  @import 'organisms/notification-list';
52
+ @import 'providers/theme-provider';
50
53
 
51
54
  // Templates
52
- @import 'templates/split-layout';
53
55
  @import 'templates/two-columns';
@@ -1,59 +1,48 @@
1
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);
2
+ border: $border__width--xs solid var(--color__border--muted);
10
3
  border-radius: $border__radius--xs;
11
4
  list-style: none;
12
5
  margin: 0;
6
+ overflow: hidden;
13
7
  padding: 0;
14
8
  width: 100%;
15
9
  }
16
10
 
17
11
  .ds-accordion-item {
18
- $self: &;
19
-
20
12
  &:not(:last-child) {
21
- border-bottom: $border__width--hairline solid var(--accordion-border-color);
13
+ border-bottom: $border__width--xs solid var(--color__border--muted);
22
14
  }
23
15
 
24
- &:first-child {
25
- .ds-accordion-item__button {
26
- border-radius: $border__radius--xs $border__radius--xs
27
- $border__radius--none $border__radius--none;
28
- }
16
+ &--disabled {
17
+ opacity: $opacity--50;
29
18
  }
30
19
 
31
- &:last-child {
32
- .ds-accordion-item__button {
33
- border-radius: $border__radius--none $border__radius--none
34
- $border__radius--xs $border__radius--xs;
35
- }
20
+ &__heading {
21
+ font: inherit;
22
+ margin: 0;
36
23
  }
37
24
 
38
25
  &__button {
39
26
  align-items: center;
40
- background-color: var(--accordion-background-color);
27
+ background-color: var(--color__surface--default);
41
28
  border: 0;
42
- color: var(--accordion-title-color);
29
+ color: var(--color__foreground--default);
43
30
  cursor: pointer;
44
31
  display: flex;
45
- gap: $spacing--nano;
32
+ gap: $spacing__offset--md;
46
33
  justify-content: space-between;
47
- padding: $spacing--xxxs;
34
+ outline: $border__width--sm solid transparent;
35
+ padding: $spacing__inset--md;
48
36
  user-select: none;
49
37
  width: 100%;
50
38
 
51
- &:focus {
52
- outline-color: var(--color__primary--light);
39
+ &:enabled:hover {
40
+ background-color: var(--color__surface--page);
53
41
  }
54
42
 
55
- &:hover {
56
- background-color: var(--accordion-background-color--hover);
43
+ &:focus-visible {
44
+ border: $border__width--sm solid var(--color__border--subtle);
45
+ outline: $border__width--sm solid transparent;
57
46
  }
58
47
 
59
48
  .ds-paragraph {
@@ -62,34 +51,39 @@
62
51
  }
63
52
  }
64
53
 
54
+ &__button &__icon,
55
+ &__button &__left-icon {
56
+ color: inherit;
57
+ }
58
+
65
59
  &__title {
66
60
  margin: 0;
67
61
  width: 100%;
68
62
  }
69
63
 
70
- &--active {
71
- outline: none;
64
+ &--active &__icon {
65
+ transform: rotate(-180deg);
66
+ }
67
+
68
+ &__content {
69
+ background-color: var(--color__surface--page);
70
+ color: var(--color__foreground--default);
71
+ padding: $spacing__inset--md;
72
+ }
72
73
 
73
- .ds-accordion-item__button {
74
- outline: none;
74
+ :where([data-theme='dark']) & {
75
+ &__button {
76
+ background-color: var(--background__color);
77
+ color: var(--color__foreground--inverse);
75
78
 
76
- .ds-accordion-item__icon {
77
- transform: rotate(-180deg);
79
+ &:enabled:hover {
80
+ background-color: var(--color__border--strong);
78
81
  }
79
82
  }
80
- }
81
83
 
82
- &__content {
83
- color: var(--accordion-content-color);
84
- padding: $spacing--xxxs;
84
+ &__content {
85
+ background-color: var(--background__color);
86
+ color: var(--color__foreground--inverse);
87
+ }
85
88
  }
86
89
  }
87
-
88
- // Dark mode
89
- [data-theme='dark'] .ds-accordion {
90
- --accordion-background-color: var(--background__color);
91
- --accordion-background-color--hover: var(--color__neutral--80);
92
- --accordion-title-color: var(--color__neutral--00);
93
- --accordion-content-color: var(--color__neutral--00);
94
- --accordion-border-color: var(--color__neutral--40);
95
- }
@@ -1,59 +1,133 @@
1
- /* active-tags.css */
2
- .active-tags {
1
+ .ds-active-tags {
2
+ align-items: flex-start;
3
3
  display: flex;
4
- gap: 18px;
4
+ gap: $spacing__offset--sm;
5
5
 
6
6
  &__title {
7
+ @include typography('body-md');
8
+
7
9
  align-items: center;
8
- background-color: var(--color__primary);
10
+ background: var(--color__primary--default);
9
11
  border-radius: $border__radius--xs $border__radius--none
10
12
  $border__radius--none $border__radius--xs;
11
- color: var(--color__neutral--00);
13
+ box-sizing: border-box;
14
+ color: var(--color__foreground--on-emphasis);
12
15
  display: flex;
13
- font-weight: $font__weight--bold;
14
- height: 40px;
15
- justify-content: center;
16
- min-width: 96px;
17
- padding: 0 10px;
16
+ flex-shrink: 0;
17
+ height: $spacing--x6;
18
+ margin-right: $spacing__offset--md;
19
+ padding: 0 $spacing__inset--sm;
18
20
  position: relative;
21
+ white-space: nowrap;
19
22
 
20
23
  &::after {
21
- border-bottom: 20px solid transparent;
22
- border-left: 13px solid var(--color__primary);
23
- border-top: 20px solid transparent;
24
+ background: inherit;
25
+ clip-path: polygon(0 0, 100% 50%, 0 100%);
24
26
  content: '';
25
- display: block;
26
- height: 0;
27
+ height: 100%;
28
+ left: 100%;
27
29
  position: absolute;
28
- right: -13px;
29
30
  top: 0;
30
- width: 0;
31
+ width: $spacing--x4;
31
32
  }
32
33
  }
33
34
 
34
35
  &__list {
35
36
  display: flex;
36
37
  flex-wrap: wrap;
37
- gap: $spacing--nano;
38
+ gap: $spacing__offset--sm;
39
+ list-style: none;
40
+ margin: 0;
41
+ min-width: 0;
42
+ padding: 0;
38
43
  }
39
44
 
40
45
  &__item {
46
+ display: flex;
47
+
48
+ &--removable {
49
+ --active-tags__base: var(--color__primary--subtle);
50
+ --active-tags__hover: var(--color__primary--hover);
51
+ --active-tags__text: var(--color__foreground--default);
52
+ }
53
+
54
+ &--static {
55
+ --active-tags__base: var(--color__foreground--strong);
56
+ --active-tags__text: var(--color__foreground--on-emphasis);
57
+ }
58
+ }
59
+
60
+ &__item &__tip {
61
+ display: flex;
62
+ }
63
+
64
+ &__label {
65
+ --active-tags__fill: var(--active-tags__base);
66
+
67
+ @include typography('body-md');
68
+
41
69
  align-items: center;
42
- background-color: var(--color__primary--lighter);
70
+ background: var(--active-tags__fill);
43
71
  border-radius: $border__radius--xs;
44
- color: var(--color__neutral--90);
72
+ box-sizing: border-box;
73
+ color: var(--active-tags__text);
45
74
  display: flex;
46
- gap: $spacing--quark;
47
- height: 40px;
48
- padding: 0 $spacing--nano;
75
+ gap: $spacing__offset--sm;
76
+ height: $spacing--x6;
77
+ padding: 0 $spacing__inset--sm;
78
+ white-space: nowrap;
79
+ }
49
80
 
50
- p {
51
- font-weight: $font__weight--bold;
81
+ &__item--removable &__label {
82
+ border-radius: $border__radius--xs $border__radius--none
83
+ $border__radius--none $border__radius--xs;
84
+
85
+ &:hover {
86
+ --active-tags__fill: var(--active-tags__hover);
52
87
  }
88
+ }
89
+
90
+ &__close {
91
+ --active-tags__fill: var(--active-tags__base);
92
+
93
+ align-items: center;
94
+ appearance: none;
95
+ background: var(--active-tags__fill);
96
+ border: $border__width--xs solid var(--active-tags__fill);
97
+ border-radius: $border__radius--none $border__radius--xs $border__radius--xs
98
+ $border__radius--none;
99
+ box-sizing: border-box;
100
+ color: var(--active-tags__text);
101
+ cursor: pointer;
102
+ display: flex;
103
+ font: inherit;
104
+ height: $spacing--x6;
105
+ justify-content: center;
106
+ margin: 0;
107
+ padding: 0;
108
+ width: $spacing--x6;
109
+
110
+ &:hover {
111
+ --active-tags__fill: var(--active-tags__hover);
112
+ }
113
+
114
+ &:focus-visible {
115
+ border-color: var(--color__border--subtle);
116
+ border-width: $border__width--sm;
117
+ outline: $border__width--sm solid transparent;
118
+ }
119
+ }
120
+
121
+ &__icon {
122
+ align-items: center;
123
+ color: inherit;
124
+ display: inline-flex;
125
+ flex-shrink: 0;
126
+ line-height: 1;
53
127
 
54
- &--no-close {
55
- background-color: var(--color__neutral--70);
56
- color: var(--color__neutral--00);
128
+ .ds-icon {
129
+ color: inherit;
130
+ cursor: inherit;
57
131
  }
58
132
  }
59
133
  }
@@ -0,0 +1,145 @@
1
+ .ds-alert {
2
+ @include typography('body-md');
3
+
4
+ align-items: flex-start;
5
+ animation: ds-alert-enter 0.5s ease-in-out;
6
+ background-color: var(--alert__surface);
7
+ border-left: $border__width--sm solid var(--alert__accent);
8
+ border-radius: $border__radius--xs;
9
+ box-sizing: border-box;
10
+ color: var(--color__foreground--default);
11
+ display: flex;
12
+ gap: $spacing__offset--md;
13
+ overflow: hidden;
14
+ padding: $spacing__inset--md;
15
+ position: relative;
16
+ width: 100%;
17
+
18
+ @keyframes ds-alert-enter {
19
+ from {
20
+ opacity: 0;
21
+ transform: translateY(-10px);
22
+ }
23
+
24
+ to {
25
+ opacity: 1;
26
+ transform: translateY(0);
27
+ }
28
+ }
29
+
30
+ @media (prefers-reduced-motion: reduce) {
31
+ animation: none;
32
+ }
33
+
34
+ &--info {
35
+ --alert__accent: var(--color__border--info);
36
+ --alert__icon: var(--color__foreground--info);
37
+ --alert__surface: var(--color__info--subtle);
38
+ }
39
+
40
+ &--success {
41
+ --alert__accent: var(--color__border--success);
42
+ --alert__icon: var(--color__foreground--success);
43
+ --alert__surface: var(--color__success--subtle);
44
+ }
45
+
46
+ &--warning {
47
+ --alert__accent: var(--color__border--warning);
48
+ --alert__icon: var(--color__foreground--warning);
49
+ --alert__surface: var(--color__warning--subtle);
50
+ }
51
+
52
+ &--destructive {
53
+ --alert__accent: var(--color__border--destructive);
54
+ --alert__icon: var(--color__foreground--destructive);
55
+ --alert__surface: var(--color__destructive--subtle);
56
+ }
57
+
58
+ &__icon.ds-icon {
59
+ color: var(--alert__icon);
60
+ cursor: default;
61
+ flex-shrink: 0;
62
+ line-height: 1;
63
+ }
64
+
65
+ &__text {
66
+ display: flex;
67
+ flex: 1;
68
+ flex-direction: column;
69
+ gap: $spacing__offset--xs;
70
+ min-width: 0;
71
+ overflow-wrap: anywhere;
72
+ }
73
+
74
+ &__title {
75
+ @include typography('body-md-bold');
76
+
77
+ margin: 0;
78
+ }
79
+
80
+ &__message {
81
+ @include typography('body-md');
82
+
83
+ b,
84
+ strong {
85
+ @include typography('body-md-bold');
86
+ }
87
+ }
88
+
89
+ &__action {
90
+ align-self: flex-start;
91
+ background: transparent;
92
+ border: 0;
93
+ border-radius: $border__radius--xs;
94
+ color: var(--color__foreground--strong);
95
+ cursor: pointer;
96
+ font: inherit;
97
+ padding: 0;
98
+ text-decoration: underline;
99
+ width: auto;
100
+
101
+ @include typography('body-md-bold');
102
+
103
+ &:focus-visible {
104
+ box-shadow: 0 0 0 $border__width--sm var(--color__border--strong);
105
+ outline: $border__width--sm solid transparent;
106
+ }
107
+ }
108
+
109
+ &__close {
110
+ align-items: center;
111
+ background: transparent;
112
+ border: 0;
113
+ border-radius: $border__radius--xs;
114
+ color: var(--color__foreground--default);
115
+ cursor: pointer;
116
+ display: inline-flex;
117
+ flex-shrink: 0;
118
+ height: $size__icon--xl;
119
+ justify-content: center;
120
+ padding: 0;
121
+ width: $size__icon--xl;
122
+
123
+ &:hover {
124
+ background: var(--color__surface--hover);
125
+ }
126
+
127
+ &:active {
128
+ background: var(--color__surface--muted);
129
+ }
130
+
131
+ &:focus-visible {
132
+ outline: $border__width--sm solid var(--color__focus--ring);
133
+ outline-offset: $border__width--sm;
134
+ }
135
+ }
136
+
137
+ &__progress-bar {
138
+ background-color: var(--alert__accent);
139
+ bottom: 0;
140
+ height: $border__width--sm;
141
+ left: 0;
142
+ position: absolute;
143
+ transition: width 0.5s linear;
144
+ }
145
+ }
@@ -2,7 +2,7 @@
2
2
  align-items: center;
3
3
  display: flex;
4
4
  flex-direction: column;
5
- gap: 8px;
5
+ gap: $spacing__offset--sm;
6
6
  height: 100%;
7
7
  justify-content: center;
8
8
  max-height: 550px;
@@ -20,7 +20,7 @@
20
20
 
21
21
  &-wrapper {
22
22
  display: flex;
23
- gap: 24px;
23
+ gap: $spacing__offset--lg;
24
24
  justify-content: center;
25
25
  }
26
26
  }
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .dot {
56
- background-color: var(--color__neutral--30);
56
+ background-color: var(--color__surface--muted);
57
57
  border: none;
58
58
  border-radius: $border__radius--pill;
59
59
  cursor: pointer;
@@ -62,6 +62,6 @@
62
62
  width: 16px;
63
63
 
64
64
  &--active {
65
- background-color: var(--color__neutral--60);
65
+ background-color: var(--color__border--subtle);
66
66
  }
67
67
  }