@kaizen/components 1.78.1 → 1.79.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 (208) hide show
  1. package/dist/cjs/src/__next__/Select/Select.cjs +6 -2
  2. package/dist/esm/src/__next__/Select/Select.mjs +6 -2
  3. package/dist/styles.css +10589 -10782
  4. package/dist/types/__next__/Select/Select.d.ts +6 -2
  5. package/package.json +1 -1
  6. package/src/Avatar/Avatar.module.css +137 -135
  7. package/src/AvatarGroup/AvatarGroup.module.css +58 -56
  8. package/src/Badge/Badge.module.css +98 -96
  9. package/src/Brand/Brand.module.css +5 -3
  10. package/src/BrandMoment/BrandMoment.module.css +147 -145
  11. package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
  12. package/src/Button/Button/Button.module.scss +135 -133
  13. package/src/Button/GenericButton/GenericButton.module.scss +81 -79
  14. package/src/Button/IconButton/IconButton.module.scss +20 -18
  15. package/src/ButtonGroup/ButtonGroup.module.css +38 -36
  16. package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
  17. package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
  18. package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
  19. package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
  20. package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
  21. package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
  22. package/src/Card/Card.module.css +91 -89
  23. package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
  24. package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
  25. package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
  26. package/src/ClearButton/ClearButton.module.scss +32 -30
  27. package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
  28. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
  29. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
  30. package/src/Container/Container.module.scss +11 -9
  31. package/src/Content/Content.module.scss +10 -8
  32. package/src/DateInput/DateInput/DateInput.module.scss +7 -5
  33. package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
  34. package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
  35. package/src/DatePicker/DatePicker.module.scss +7 -5
  36. package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
  37. package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
  38. package/src/Divider/Divider.module.scss +35 -33
  39. package/src/EmptyState/EmptyState.module.css +95 -93
  40. package/src/ErrorPage/ErrorPage.module.scss +4 -2
  41. package/src/FieldGroup/FieldGroup.module.scss +8 -6
  42. package/src/FieldMessage/FieldMessage.module.scss +53 -51
  43. package/src/Filter/Filter/Filter.module.css +5 -3
  44. package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
  45. package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
  46. package/src/Filter/FilterBar/FilterBar.module.css +17 -15
  47. package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
  48. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
  49. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
  50. package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
  51. package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
  52. package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
  53. package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
  54. package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
  55. package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
  56. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
  57. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
  58. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
  59. package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
  60. package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
  61. package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
  62. package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
  63. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
  64. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
  65. package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
  66. package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
  67. package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
  68. package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
  69. package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
  70. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
  71. package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
  72. package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
  73. package/src/Focusable/Focusable.module.scss +4 -2
  74. package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
  75. package/src/Heading/Heading.module.scss +87 -85
  76. package/src/Icon/_docs/icon.module.scss +35 -33
  77. package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
  78. package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
  79. package/src/Input/Input/Input.module.scss +217 -215
  80. package/src/Input/InputRange/InputRange.module.scss +138 -136
  81. package/src/Input/InputSearch/InputSearch.module.scss +155 -152
  82. package/src/Label/Label.module.scss +82 -80
  83. package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
  84. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
  85. package/src/Link/Link.module.css +115 -113
  86. package/src/LinkButton/LinkButton.module.css +5 -3
  87. package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
  88. package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
  89. package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
  90. package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
  91. package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
  92. package/src/Loading/_mixins.scss +11 -9
  93. package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
  94. package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
  95. package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
  96. package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
  97. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
  98. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
  99. package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
  100. package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
  101. package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
  102. package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
  103. package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
  104. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
  105. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
  106. package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
  107. package/src/MultiSelect/MultiSelect.module.scss +7 -5
  108. package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
  109. package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
  110. package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
  111. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
  112. package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
  113. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
  114. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
  115. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
  116. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
  117. package/src/Pagination/Pagination.module.scss +39 -37
  118. package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
  119. package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
  120. package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
  121. package/src/Popover/Popover.module.scss +187 -185
  122. package/src/ProgressBar/ProgressBar.module.scss +75 -73
  123. package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
  124. package/src/Radio/Radio/Radio.module.scss +60 -58
  125. package/src/Radio/RadioField/RadioField.module.scss +33 -31
  126. package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
  127. package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
  128. package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
  129. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
  130. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
  131. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
  132. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
  133. package/src/RichTextEditor/_mixins.scss +1 -1
  134. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
  135. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
  136. package/src/SearchField/SearchField.module.scss +5 -3
  137. package/src/Select/Select.module.scss +17 -0
  138. package/src/Skirt/Skirt.module.scss +24 -22
  139. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
  140. package/src/Slider/Slider.module.scss +34 -32
  141. package/src/SplitButton/SplitButton.module.scss +5 -3
  142. package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
  143. package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
  144. package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
  145. package/src/Table/Table.module.scss +251 -249
  146. package/src/Tabs/subcomponents/Tab.module.scss +81 -79
  147. package/src/Tabs/subcomponents/TabList.module.scss +8 -6
  148. package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
  149. package/src/Tag/Tag.module.scss +166 -164
  150. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
  151. package/src/Text/Text.module.scss +57 -55
  152. package/src/TextArea/TextArea.module.css +102 -99
  153. package/src/TextAreaField/TextAreaField.module.scss +14 -12
  154. package/src/TextField/TextField.module.scss +16 -14
  155. package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
  156. package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
  157. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
  158. package/src/TimeField/TimeField.module.scss +57 -55
  159. package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
  160. package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
  161. package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
  162. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
  163. package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
  164. package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
  165. package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
  166. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
  167. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
  168. package/src/Tooltip/Tooltip.module.scss +139 -137
  169. package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
  170. package/src/Well/Well.module.css +104 -102
  171. package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
  172. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
  173. package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
  174. package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
  175. package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
  176. package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
  177. package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
  178. package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
  179. package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
  180. package/src/__next__/Button/Button.module.css +220 -218
  181. package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
  182. package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
  183. package/src/__next__/Icon/Icon.module.css +40 -38
  184. package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
  185. package/src/__next__/Menu/Menu.module.css +30 -28
  186. package/src/__next__/Menu/MenuItem.module.css +41 -39
  187. package/src/__next__/Select/Select.module.scss +8 -6
  188. package/src/__next__/Select/Select.tsx +7 -1
  189. package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
  190. package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
  191. package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
  192. package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
  193. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
  194. package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
  195. package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
  196. package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
  197. package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
  198. package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
  199. package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
  200. package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
  201. package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
  202. package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
  203. package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
  204. package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
  205. package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
  206. package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +29 -60
  207. package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
  208. package/src/utils/AppearanceAnim.module.scss +14 -12
@@ -1,275 +1,277 @@
1
- .banner.noMaxWidth {
2
- max-width: inherit;
3
- }
4
-
5
- .banner {
6
- --border-width: var(--border-width-1);
7
- --banner-padding: var(--spacing-lg);
8
-
9
- display: flex;
10
- flex-direction: column;
11
- gap: var(--spacing-12);
12
- min-width: 320px;
13
- max-width: var(--layout-breakpoints-large);
14
- border: var(--border-width) var(--border-solid-border-style);
15
- border-radius: var(--border-solid-border-radius);
16
- padding: calc(var(--banner-padding) - var(--border-width));
17
- box-shadow: var(--shadow-small-box-shadow);
18
- position: relative;
19
- top: -1px;
20
- transition:
21
- opacity var(--animation-duration-slow) ease,
22
- margin-top var(--animation-duration-fast) var(--animation-duration-slow) ease;
23
- color: var(--color-purple-800);
24
-
25
- @media (width >= 1024px) {
26
- min-height: calc(12rem - calc(var(--banner-padding) * 2));
27
- flex-direction: row;
28
- gap: var(--spacing-24);
29
- width: auto;
30
- align-items: center;
1
+ @layer kz-components {
2
+ .banner.noMaxWidth {
3
+ max-width: inherit;
31
4
  }
32
5
 
33
- @media (width <= 767px) {
34
- min-width: unset;
35
- }
36
- }
6
+ .banner {
7
+ --border-width: var(--border-width-1);
8
+ --banner-padding: var(--spacing-lg);
37
9
 
38
- .illustrationWrapper {
39
- display: flex;
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: var(--spacing-12);
13
+ min-width: 320px;
14
+ max-width: var(--layout-breakpoints-large);
15
+ border: var(--border-width) var(--border-solid-border-style);
16
+ border-radius: var(--border-solid-border-radius);
17
+ padding: calc(var(--banner-padding) - var(--border-width));
18
+ box-shadow: var(--shadow-small-box-shadow);
19
+ position: relative;
20
+ top: -1px;
21
+ transition:
22
+ opacity var(--animation-duration-slow) ease,
23
+ margin-top var(--animation-duration-fast) var(--animation-duration-slow) ease;
24
+ color: var(--color-purple-800);
40
25
 
41
- @media (768px <= width <= 1023px) {
42
- text-align: center;
43
- justify-content: center;
44
- align-self: center;
45
- padding: var(--spacing-12);
46
- }
26
+ @media (width >= 1024px) {
27
+ min-height: calc(12rem - calc(var(--banner-padding) * 2));
28
+ flex-direction: row;
29
+ gap: var(--spacing-24);
30
+ width: auto;
31
+ align-items: center;
32
+ }
47
33
 
48
- @media (width <= 767px) {
49
- display: none;
34
+ @media (width <= 767px) {
35
+ min-width: unset;
36
+ }
50
37
  }
51
- }
52
-
53
- .illustration {
54
- --illustration-size: 155px;
55
- --scene-illustration-size: 300px;
56
38
 
57
- width: var(--illustration-size);
58
- height: var(--illustration-size);
59
-
60
- /* This has been created to handle scene illustrations consistently until the tile component is created */
61
- .hasSceneIllustration & {
39
+ .illustrationWrapper {
62
40
  display: flex;
63
- justify-content: center;
64
- max-width: var(--scene-illustration-size);
65
- max-height: var(--scene-illustration-size);
66
- width: var(--scene-illustration-size);
67
- height: auto;
68
41
 
69
- figure {
70
- max-height: 100%;
71
- max-width: 100%;
72
- aspect-ratio: 4/3;
42
+ @media (768px <= width <= 1023px) {
43
+ text-align: center;
44
+ justify-content: center;
45
+ align-self: center;
46
+ padding: var(--spacing-12);
73
47
  }
74
48
 
75
- img {
76
- height: 100%;
77
- object-fit: contain;
78
- object-position: center;
49
+ @media (width <= 767px) {
50
+ display: none;
79
51
  }
80
52
  }
81
- }
82
53
 
83
- .descriptionContainer {
84
- flex: 1;
85
- text-align: center;
86
- align-self: center;
87
- max-width: 780px;
54
+ .illustration {
55
+ --illustration-size: 155px;
56
+ --scene-illustration-size: 300px;
88
57
 
89
- @media (width >= 1024px) {
90
- padding: 0 var(--spacing-12);
91
- text-align: start;
92
- }
58
+ width: var(--illustration-size);
59
+ height: var(--illustration-size);
93
60
 
94
- @media (width <= 767px) {
95
- margin: var(--spacing-12);
96
- max-width: 100%;
61
+ /* This has been created to handle scene illustrations consistently until the tile component is created */
62
+ .hasSceneIllustration & {
63
+ display: flex;
64
+ justify-content: center;
65
+ max-width: var(--scene-illustration-size);
66
+ max-height: var(--scene-illustration-size);
67
+ width: var(--scene-illustration-size);
68
+ height: auto;
69
+
70
+ figure {
71
+ max-height: 100%;
72
+ max-width: 100%;
73
+ aspect-ratio: 4/3;
74
+ }
75
+
76
+ img {
77
+ height: 100%;
78
+ object-fit: contain;
79
+ object-position: center;
80
+ }
81
+ }
97
82
  }
98
- }
99
83
 
100
- .descriptionAndActions {
101
- display: flex;
102
- flex: 1;
103
- align-items: center;
104
- justify-content: space-between;
105
- gap: var(--spacing-24);
106
-
107
- @media (width <= 1023px) {
108
- flex-direction: column;
109
- width: 100%;
110
- align-items: unset;
111
- }
112
- }
84
+ .descriptionContainer {
85
+ flex: 1;
86
+ text-align: center;
87
+ align-self: center;
88
+ max-width: 780px;
113
89
 
114
- .buttonContainer {
115
- display: flex;
116
- justify-content: center;
117
- flex-direction: row-reverse;
118
- gap: var(--spacing-12);
119
- min-width: max-content;
90
+ @media (width >= 1024px) {
91
+ padding: 0 var(--spacing-12);
92
+ text-align: start;
93
+ }
120
94
 
121
- @media (width >= 768px) {
122
- text-align: center;
95
+ @media (width <= 767px) {
96
+ margin: var(--spacing-12);
97
+ max-width: 100%;
98
+ }
123
99
  }
124
100
 
125
- @media (width <= 767px) {
126
- flex-direction: column;
127
- width: 100%;
128
- margin-top: var(--spacing-6);
101
+ .descriptionAndActions {
102
+ display: flex;
103
+ flex: 1;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+ gap: var(--spacing-24);
107
+
108
+ @media (width <= 1023px) {
109
+ flex-direction: column;
110
+ width: 100%;
111
+ align-items: unset;
112
+ }
129
113
  }
130
- }
131
114
 
132
- .hidden {
133
- opacity: 0;
134
- margin-bottom: 0;
135
- }
115
+ .buttonContainer {
116
+ display: flex;
117
+ justify-content: center;
118
+ flex-direction: row-reverse;
119
+ gap: var(--spacing-12);
120
+ min-width: max-content;
136
121
 
137
- .headingWrapper {
138
- margin-bottom: var(--spacing-24);
139
- }
122
+ @media (width >= 768px) {
123
+ text-align: center;
124
+ }
140
125
 
141
- .default {
142
- border-color: var(--color-gray-500);
143
- background: var(--color-white);
144
- }
126
+ @media (width <= 767px) {
127
+ flex-direction: column;
128
+ width: 100%;
129
+ margin-top: var(--spacing-6);
130
+ }
131
+ }
145
132
 
146
- .positive {
147
- border-color: var(--color-green-500);
148
- background: var(--color-green-100);
149
- }
133
+ .hidden {
134
+ opacity: 0;
135
+ margin-bottom: 0;
136
+ }
150
137
 
151
- .negative,
152
- .assertive {
153
- border-color: var(--color-red-500);
154
- background: var(--color-red-100);
155
- }
138
+ .headingWrapper {
139
+ margin-bottom: var(--spacing-24);
140
+ }
156
141
 
157
- .informative {
158
- border-color: var(--color-blue-400);
159
- background: var(--color-blue-100);
160
- }
142
+ .default {
143
+ border-color: var(--color-gray-500);
144
+ background: var(--color-white);
145
+ }
161
146
 
162
- .cautionary {
163
- border-color: var(--color-yellow-700);
164
- background: var(--color-yellow-100);
165
- }
147
+ .positive {
148
+ border-color: var(--color-green-500);
149
+ background: var(--color-green-100);
150
+ }
166
151
 
167
- .prominent {
168
- border-color: var(--color-purple-400);
169
- background: var(--color-purple-100);
170
- }
152
+ .negative,
153
+ .assertive {
154
+ border-color: var(--color-red-500);
155
+ background: var(--color-red-100);
156
+ }
171
157
 
172
- .inline,
173
- .stacked {
174
- flex-flow: row wrap;
175
- align-items: unset;
176
- gap: var(--spacing-24);
177
- min-width: unset;
158
+ .informative {
159
+ border-color: var(--color-blue-400);
160
+ background: var(--color-blue-100);
161
+ }
178
162
 
179
- @media (width <= 1023px) {
180
- flex-direction: unset;
163
+ .cautionary {
164
+ border-color: var(--color-yellow-700);
165
+ background: var(--color-yellow-100);
181
166
  }
182
167
 
183
- .illustrationWrapper {
184
- margin-inline-end: var(--spacing-12);
168
+ .prominent {
169
+ border-color: var(--color-purple-400);
170
+ background: var(--color-purple-100);
171
+ }
185
172
 
186
- @media (768px <= width <= 1023px) {
187
- padding: 0;
188
- }
173
+ .inline,
174
+ .stacked {
175
+ flex-flow: row wrap;
176
+ align-items: unset;
177
+ gap: var(--spacing-24);
178
+ min-width: unset;
189
179
 
190
- @media (width <= 767px) {
191
- display: flex;
180
+ @media (width <= 1023px) {
181
+ flex-direction: unset;
192
182
  }
193
- }
194
183
 
195
- .descriptionAndActions {
196
- margin: auto 0;
197
- }
184
+ .illustrationWrapper {
185
+ margin-inline-end: var(--spacing-12);
198
186
 
199
- .descriptionContainer {
200
- text-align: start;
201
- max-width: unset;
202
- min-width: 320px;
187
+ @media (768px <= width <= 1023px) {
188
+ padding: 0;
189
+ }
203
190
 
204
- @media (width >= 1024px) {
205
- padding: 0;
191
+ @media (width <= 767px) {
192
+ display: flex;
193
+ }
206
194
  }
207
195
 
208
- @media (width <= 767px) {
209
- margin: 0;
196
+ .descriptionAndActions {
197
+ margin: auto 0;
210
198
  }
211
- }
212
199
 
213
- .buttonContainer {
214
- padding-inline-start: var(--spacing-12);
215
- justify-content: flex-start;
216
- width: unset;
217
- min-width: unset;
200
+ .descriptionContainer {
201
+ text-align: start;
202
+ max-width: unset;
203
+ min-width: 320px;
218
204
 
219
- @media (width <= 767px) {
220
- flex-direction: row-reverse;
205
+ @media (width >= 1024px) {
206
+ padding: 0;
207
+ }
208
+
209
+ @media (width <= 767px) {
210
+ margin: 0;
211
+ }
221
212
  }
222
213
 
223
- > * {
214
+ .buttonContainer {
215
+ padding-inline-start: var(--spacing-12);
216
+ justify-content: flex-start;
224
217
  width: unset;
225
- }
226
- }
218
+ min-width: unset;
227
219
 
228
- &.hasSceneIllustration {
229
- justify-content: center;
230
- }
220
+ @media (width <= 767px) {
221
+ flex-direction: row-reverse;
222
+ }
231
223
 
232
- &.centerContent {
233
- flex-direction: column;
224
+ > * {
225
+ width: unset;
226
+ }
227
+ }
234
228
 
235
- &.hasSceneIllustration .illustration {
236
- width: 100%;
229
+ &.hasSceneIllustration {
230
+ justify-content: center;
237
231
  }
238
232
 
239
- .illustrationWrapper {
240
- margin: 0 auto;
241
- align-self: center;
233
+ &.centerContent {
234
+ flex-direction: column;
235
+
236
+ &.hasSceneIllustration .illustration {
237
+ width: 100%;
238
+ }
239
+
240
+ .illustrationWrapper {
241
+ margin: 0 auto;
242
+ align-self: center;
243
+ }
244
+
245
+ .descriptionContainer {
246
+ text-align: center;
247
+ min-width: unset;
248
+ }
249
+
250
+ .buttonContainer {
251
+ padding: 0;
252
+ flex-direction: column;
253
+ min-width: unset;
254
+ justify-content: center;
255
+ }
242
256
  }
243
257
 
244
- .descriptionContainer {
245
- text-align: center;
246
- min-width: unset;
258
+ &.centerContent.smallScreenTextAlignment {
259
+ .descriptionContainer {
260
+ text-align: start;
261
+ }
247
262
  }
263
+ }
248
264
 
249
- .buttonContainer {
250
- padding: 0;
265
+ /* stylelint-disable no-descending-specificity */
266
+ .stacked {
267
+ .descriptionAndActions {
251
268
  flex-direction: column;
252
- min-width: unset;
253
- justify-content: center;
269
+ align-items: unset;
254
270
  }
255
- }
256
271
 
257
- &.centerContent.smallScreenTextAlignment {
258
272
  .descriptionContainer {
259
- text-align: start;
273
+ align-self: flex-start;
260
274
  }
261
275
  }
276
+ /* stylelint-enable no-descending-specificity */
262
277
  }
263
-
264
- /* stylelint-disable no-descending-specificity */
265
- .stacked {
266
- .descriptionAndActions {
267
- flex-direction: column;
268
- align-items: unset;
269
- }
270
-
271
- .descriptionContainer {
272
- align-self: flex-start;
273
- }
274
- }
275
- /* stylelint-enable no-descending-specificity */
@@ -8,106 +8,108 @@
8
8
  }
9
9
  }
10
10
 
11
- .display-0 {
12
- font-family: $typography-display-0-font-family;
13
- font-weight: $typography-display-0-font-weight;
14
- font-size: $typography-display-0-font-size;
15
- line-height: $typography-display-0-line-height;
16
- letter-spacing: $typography-display-0-letter-spacing;
17
- }
18
-
19
- .composable-header-title {
20
- font-family: $typography-display-0-font-family; // Tiempos
21
- font-weight: 500; // Medium
22
- font-size: $typography-heading-1-font-size;
23
- line-height: $typography-heading-1-line-height;
24
- letter-spacing: $typography-heading-1-letter-spacing;
25
- }
26
-
27
- .heading-1 {
28
- font-family: $typography-heading-1-font-family;
29
- font-weight: $typography-heading-1-font-weight;
30
- font-size: $typography-heading-1-font-size;
31
- line-height: $typography-heading-1-line-height;
32
- letter-spacing: $typography-heading-1-letter-spacing;
33
- }
11
+ @layer kz-components {
12
+ .display-0 {
13
+ font-family: $typography-display-0-font-family;
14
+ font-weight: $typography-display-0-font-weight;
15
+ font-size: $typography-display-0-font-size;
16
+ line-height: $typography-display-0-line-height;
17
+ letter-spacing: $typography-display-0-letter-spacing;
18
+ }
34
19
 
35
- .heading-2 {
36
- font-family: $typography-heading-2-font-family;
37
- font-weight: $typography-heading-2-font-weight;
38
- font-size: $typography-heading-2-font-size;
39
- line-height: $typography-heading-2-line-height;
40
- letter-spacing: $typography-heading-2-letter-spacing;
41
- }
20
+ .composable-header-title {
21
+ font-family: $typography-display-0-font-family; // Tiempos
22
+ font-weight: 500; // Medium
23
+ font-size: $typography-heading-1-font-size;
24
+ line-height: $typography-heading-1-line-height;
25
+ letter-spacing: $typography-heading-1-letter-spacing;
26
+ }
42
27
 
43
- .heading-3 {
44
- font-family: $typography-heading-3-font-family;
45
- font-weight: $typography-heading-3-font-weight;
46
- font-size: $typography-heading-3-font-size;
47
- line-height: $typography-heading-3-line-height;
48
- letter-spacing: $typography-heading-3-letter-spacing;
49
- }
28
+ .heading-1 {
29
+ font-family: $typography-heading-1-font-family;
30
+ font-weight: $typography-heading-1-font-weight;
31
+ font-size: $typography-heading-1-font-size;
32
+ line-height: $typography-heading-1-line-height;
33
+ letter-spacing: $typography-heading-1-letter-spacing;
34
+ }
50
35
 
51
- .heading-4 {
52
- font-family: $typography-heading-4-font-family;
53
- font-weight: $typography-heading-4-font-weight;
54
- font-size: $typography-heading-4-font-size;
55
- line-height: $typography-heading-4-line-height;
56
- letter-spacing: $typography-heading-4-letter-spacing;
57
- }
36
+ .heading-2 {
37
+ font-family: $typography-heading-2-font-family;
38
+ font-weight: $typography-heading-2-font-weight;
39
+ font-size: $typography-heading-2-font-size;
40
+ line-height: $typography-heading-2-line-height;
41
+ letter-spacing: $typography-heading-2-letter-spacing;
42
+ }
58
43
 
59
- .heading-5 {
60
- font-family: $typography-heading-5-font-family;
61
- font-weight: $typography-heading-5-font-weight;
62
- font-size: $typography-heading-5-font-size;
63
- line-height: $typography-heading-5-line-height;
64
- letter-spacing: $typography-heading-5-letter-spacing;
65
- }
44
+ .heading-3 {
45
+ font-family: $typography-heading-3-font-family;
46
+ font-weight: $typography-heading-3-font-weight;
47
+ font-size: $typography-heading-3-font-size;
48
+ line-height: $typography-heading-3-line-height;
49
+ letter-spacing: $typography-heading-3-letter-spacing;
50
+ }
66
51
 
67
- .heading-6 {
68
- font-family: $typography-heading-6-font-family;
69
- font-weight: $typography-heading-6-font-weight;
70
- font-size: $typography-heading-6-font-size;
71
- line-height: $typography-heading-6-line-height;
72
- letter-spacing: $typography-heading-6-letter-spacing;
73
- }
52
+ .heading-4 {
53
+ font-family: $typography-heading-4-font-family;
54
+ font-weight: $typography-heading-4-font-weight;
55
+ font-size: $typography-heading-4-font-size;
56
+ line-height: $typography-heading-4-line-height;
57
+ letter-spacing: $typography-heading-4-letter-spacing;
58
+ }
74
59
 
75
- .dark {
76
- color: $color-purple-800;
77
- opacity: 100%;
78
- }
60
+ .heading-5 {
61
+ font-family: $typography-heading-5-font-family;
62
+ font-weight: $typography-heading-5-font-weight;
63
+ font-size: $typography-heading-5-font-size;
64
+ line-height: $typography-heading-5-line-height;
65
+ letter-spacing: $typography-heading-5-letter-spacing;
66
+ }
79
67
 
80
- .dark-reduced-opacity {
81
- color: $color-purple-800;
82
- opacity: 70%;
83
- }
68
+ .heading-6 {
69
+ font-family: $typography-heading-6-font-family;
70
+ font-weight: $typography-heading-6-font-weight;
71
+ font-size: $typography-heading-6-font-size;
72
+ line-height: $typography-heading-6-line-height;
73
+ letter-spacing: $typography-heading-6-letter-spacing;
74
+ }
84
75
 
85
- .white {
86
- color: $color-white;
87
- opacity: 100%;
88
- }
76
+ .dark {
77
+ color: $color-purple-800;
78
+ opacity: 100%;
79
+ }
89
80
 
90
- .white-reduced-opacity {
91
- color: $color-white;
92
- opacity: 80%;
93
- }
81
+ .dark-reduced-opacity {
82
+ color: $color-purple-800;
83
+ opacity: 70%;
84
+ }
94
85
 
95
- .positive {
96
- &.small {
97
- color: $color-green-600;
86
+ .white {
87
+ color: $color-white;
88
+ opacity: 100%;
98
89
  }
99
90
 
100
- &.large {
101
- color: $color-green-500;
91
+ .white-reduced-opacity {
92
+ color: $color-white;
93
+ opacity: 80%;
102
94
  }
103
- }
104
95
 
105
- .negative {
106
- &.small {
107
- color: $color-red-600;
96
+ .positive {
97
+ &.small {
98
+ color: $color-green-600;
99
+ }
100
+
101
+ &.large {
102
+ color: $color-green-500;
103
+ }
108
104
  }
109
105
 
110
- &.large {
111
- color: $color-red-500;
106
+ .negative {
107
+ &.small {
108
+ color: $color-red-600;
109
+ }
110
+
111
+ &.large {
112
+ color: $color-red-500;
113
+ }
112
114
  }
113
115
  }