@kaizen/components 1.78.1 → 1.79.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 (204) hide show
  1. package/dist/styles.css +10589 -10782
  2. package/package.json +1 -1
  3. package/src/Avatar/Avatar.module.css +137 -135
  4. package/src/AvatarGroup/AvatarGroup.module.css +58 -56
  5. package/src/Badge/Badge.module.css +98 -96
  6. package/src/Brand/Brand.module.css +5 -3
  7. package/src/BrandMoment/BrandMoment.module.css +147 -145
  8. package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
  9. package/src/Button/Button/Button.module.scss +135 -133
  10. package/src/Button/GenericButton/GenericButton.module.scss +81 -79
  11. package/src/Button/IconButton/IconButton.module.scss +20 -18
  12. package/src/ButtonGroup/ButtonGroup.module.css +38 -36
  13. package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
  14. package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
  15. package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
  16. package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
  17. package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
  18. package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
  19. package/src/Card/Card.module.css +91 -89
  20. package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
  21. package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
  22. package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
  23. package/src/ClearButton/ClearButton.module.scss +32 -30
  24. package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
  25. package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
  26. package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
  27. package/src/Container/Container.module.scss +11 -9
  28. package/src/Content/Content.module.scss +10 -8
  29. package/src/DateInput/DateInput/DateInput.module.scss +7 -5
  30. package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
  31. package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
  32. package/src/DatePicker/DatePicker.module.scss +7 -5
  33. package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
  34. package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
  35. package/src/Divider/Divider.module.scss +35 -33
  36. package/src/EmptyState/EmptyState.module.css +95 -93
  37. package/src/ErrorPage/ErrorPage.module.scss +4 -2
  38. package/src/FieldGroup/FieldGroup.module.scss +8 -6
  39. package/src/FieldMessage/FieldMessage.module.scss +53 -51
  40. package/src/Filter/Filter/Filter.module.css +5 -3
  41. package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
  42. package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
  43. package/src/Filter/FilterBar/FilterBar.module.css +17 -15
  44. package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
  45. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
  46. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
  47. package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
  48. package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
  49. package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
  50. package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
  51. package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
  52. package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
  53. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
  54. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
  55. package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
  56. package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
  57. package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
  58. package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
  59. package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
  60. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
  61. package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
  62. package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
  63. package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
  64. package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
  65. package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
  66. package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
  67. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
  68. package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
  69. package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
  70. package/src/Focusable/Focusable.module.scss +4 -2
  71. package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
  72. package/src/Heading/Heading.module.scss +87 -85
  73. package/src/Icon/_docs/icon.module.scss +35 -33
  74. package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
  75. package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
  76. package/src/Input/Input/Input.module.scss +217 -215
  77. package/src/Input/InputRange/InputRange.module.scss +138 -136
  78. package/src/Input/InputSearch/InputSearch.module.scss +155 -152
  79. package/src/Label/Label.module.scss +82 -80
  80. package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
  81. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
  82. package/src/Link/Link.module.css +115 -113
  83. package/src/LinkButton/LinkButton.module.css +5 -3
  84. package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
  85. package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
  86. package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
  87. package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
  88. package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
  89. package/src/Loading/_mixins.scss +11 -9
  90. package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
  91. package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
  92. package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
  93. package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
  94. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
  95. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
  96. package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
  97. package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
  98. package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
  99. package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
  100. package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
  101. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
  102. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
  103. package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
  104. package/src/MultiSelect/MultiSelect.module.scss +7 -5
  105. package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
  106. package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
  107. package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
  108. package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
  109. package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
  110. package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
  111. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
  112. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
  113. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
  114. package/src/Pagination/Pagination.module.scss +39 -37
  115. package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
  116. package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
  117. package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
  118. package/src/Popover/Popover.module.scss +187 -185
  119. package/src/ProgressBar/ProgressBar.module.scss +75 -73
  120. package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
  121. package/src/Radio/Radio/Radio.module.scss +60 -58
  122. package/src/Radio/RadioField/RadioField.module.scss +33 -31
  123. package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
  124. package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
  125. package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
  126. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
  127. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
  128. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
  129. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
  130. package/src/RichTextEditor/_mixins.scss +1 -1
  131. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
  132. package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
  133. package/src/SearchField/SearchField.module.scss +5 -3
  134. package/src/Select/Select.module.scss +17 -0
  135. package/src/Skirt/Skirt.module.scss +24 -22
  136. package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
  137. package/src/Slider/Slider.module.scss +34 -32
  138. package/src/SplitButton/SplitButton.module.scss +5 -3
  139. package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
  140. package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
  141. package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
  142. package/src/Table/Table.module.scss +251 -249
  143. package/src/Tabs/subcomponents/Tab.module.scss +81 -79
  144. package/src/Tabs/subcomponents/TabList.module.scss +8 -6
  145. package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
  146. package/src/Tag/Tag.module.scss +166 -164
  147. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
  148. package/src/Text/Text.module.scss +57 -55
  149. package/src/TextArea/TextArea.module.css +102 -99
  150. package/src/TextAreaField/TextAreaField.module.scss +14 -12
  151. package/src/TextField/TextField.module.scss +16 -14
  152. package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
  153. package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
  154. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
  155. package/src/TimeField/TimeField.module.scss +57 -55
  156. package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
  157. package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
  158. package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
  159. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
  160. package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
  161. package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
  162. package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
  163. package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
  164. package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
  165. package/src/Tooltip/Tooltip.module.scss +139 -137
  166. package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
  167. package/src/Well/Well.module.css +104 -102
  168. package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
  169. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
  170. package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
  171. package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
  172. package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
  173. package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
  174. package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
  175. package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
  176. package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
  177. package/src/__next__/Button/Button.module.css +220 -218
  178. package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
  179. package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
  180. package/src/__next__/Icon/Icon.module.css +40 -38
  181. package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
  182. package/src/__next__/Menu/Menu.module.css +30 -28
  183. package/src/__next__/Menu/MenuItem.module.css +41 -39
  184. package/src/__next__/Select/Select.module.scss +8 -6
  185. package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
  186. package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
  187. package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
  188. package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
  189. package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
  190. package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
  191. package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
  192. package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
  193. package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
  194. package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
  195. package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
  196. package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
  197. package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
  198. package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
  199. package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
  200. package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
  201. package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
  202. package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +21 -58
  203. package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
  204. package/src/utils/AppearanceAnim.module.scss +14 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.78.1",
3
+ "version": "1.79.0",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -1,138 +1,140 @@
1
- .wrapper {
2
- --avatar-x-y: 1.5rem;
3
-
4
- background: var(--color-gray-300);
5
- border-radius: 100%;
6
- box-sizing: border-box;
7
- overflow: hidden;
8
- align-items: center;
9
- display: flex;
10
- justify-content: center;
11
- width: var(--avatar-x-y);
12
- height: var(--avatar-x-y);
13
- box-shadow: var(--shadow-small-box-shadow);
14
- border: 3px solid var(--color-white);
15
- }
16
-
17
- .small {
18
- box-shadow: none;
19
- border: none;
20
-
21
- --avatar-x-y: 1.25rem;
22
- }
23
-
24
- .medium {
25
- --avatar-x-y: 3rem;
26
- }
27
-
28
- .large {
29
- --avatar-x-y: 4.5rem;
30
- }
31
-
32
- .xlarge {
33
- --avatar-x-y: 6rem;
34
- }
35
-
36
- .xxlarge {
37
- --avatar-x-y: 7.75rem;
38
- }
39
-
40
- /* Themes */
41
- .personal {
42
- background: var(--color-orange-100);
43
- }
44
-
45
- .otherUser {
46
- background: var(--color-gray-300);
47
- }
48
-
49
- .company {
50
- border: 0;
51
- background: var(--color-white);
52
- padding: var(--spacing-6);
53
- border-radius: var(--border-solid-border-radius);
54
- }
55
-
56
- .small.company {
57
- padding: 0;
58
- }
59
-
60
- .avatarImage {
61
- width: 100%;
62
- height: 100%;
63
- object-fit: cover;
64
- }
65
-
66
- .avatarImage.loading {
67
- display: none;
68
- }
69
-
70
- .companyAvatarImage {
71
- object-fit: contain;
72
- box-sizing: border-box;
73
- border-radius: var(--spacing-4);
74
- }
75
-
76
- .fallbackIcon {
77
- color: rgb(var(--color-purple-800-rgb), 0.7);
78
- font-size: calc(var(--avatar-x-y) * 0.7);
79
- }
80
-
81
- .xlarge .fallbackIcon,
82
- .xxlarge .fallbackIcon {
83
- font-size: calc(var(--avatar-x-y) * 0.8);
84
- }
85
-
86
- .initials {
87
- box-sizing: border-box;
88
- color: var(--color-purple-800);
89
- padding-left: 5px;
90
- padding-right: 5px;
91
- text-align: center;
92
- width: 100%;
93
- font-size: var(--typography-heading-3-font-size);
94
- font-family: var(--typography-heading-1-font-family);
95
- font-weight: var(--typography-heading-1-font-weight);
96
- letter-spacing: var(--typography-heading-3-letter-spacing);
97
- }
98
-
99
- .initials.longName::before {
100
- content: none;
101
- }
102
-
103
- .initials::before {
104
- content: '';
105
- display: block;
106
- margin-top: -0.001em;
107
- }
108
-
109
- .wrapper .initials {
110
- text-decoration: none;
111
- speak-as: spell-out;
112
-
113
- /* to override materialize.css global styling in performance-ui,
1
+ @layer kz-components {
2
+ .wrapper {
3
+ --avatar-x-y: 1.5rem;
4
+
5
+ background: var(--color-gray-300);
6
+ border-radius: 100%;
7
+ box-sizing: border-box;
8
+ overflow: hidden;
9
+ align-items: center;
10
+ display: flex;
11
+ justify-content: center;
12
+ width: var(--avatar-x-y);
13
+ height: var(--avatar-x-y);
14
+ box-shadow: var(--shadow-small-box-shadow);
15
+ border: 3px solid var(--color-white);
16
+ }
17
+
18
+ .small {
19
+ box-shadow: none;
20
+ border: none;
21
+
22
+ --avatar-x-y: 1.25rem;
23
+ }
24
+
25
+ .medium {
26
+ --avatar-x-y: 3rem;
27
+ }
28
+
29
+ .large {
30
+ --avatar-x-y: 4.5rem;
31
+ }
32
+
33
+ .xlarge {
34
+ --avatar-x-y: 6rem;
35
+ }
36
+
37
+ .xxlarge {
38
+ --avatar-x-y: 7.75rem;
39
+ }
40
+
41
+ /* Themes */
42
+ .personal {
43
+ background: var(--color-orange-100);
44
+ }
45
+
46
+ .otherUser {
47
+ background: var(--color-gray-300);
48
+ }
49
+
50
+ .company {
51
+ border: 0;
52
+ background: var(--color-white);
53
+ padding: var(--spacing-6);
54
+ border-radius: var(--border-solid-border-radius);
55
+ }
56
+
57
+ .small.company {
58
+ padding: 0;
59
+ }
60
+
61
+ .avatarImage {
62
+ width: 100%;
63
+ height: 100%;
64
+ object-fit: cover;
65
+ }
66
+
67
+ .avatarImage.loading {
68
+ display: none;
69
+ }
70
+
71
+ .companyAvatarImage {
72
+ object-fit: contain;
73
+ box-sizing: border-box;
74
+ border-radius: var(--spacing-4);
75
+ }
76
+
77
+ .fallbackIcon {
78
+ color: rgb(var(--color-purple-800-rgb), 0.7);
79
+ font-size: calc(var(--avatar-x-y) * 0.7);
80
+ }
81
+
82
+ .xlarge .fallbackIcon,
83
+ .xxlarge .fallbackIcon {
84
+ font-size: calc(var(--avatar-x-y) * 0.8);
85
+ }
86
+
87
+ .initials {
88
+ box-sizing: border-box;
89
+ color: var(--color-purple-800);
90
+ padding-left: 5px;
91
+ padding-right: 5px;
92
+ text-align: center;
93
+ width: 100%;
94
+ font-size: var(--typography-heading-3-font-size);
95
+ font-family: var(--typography-heading-1-font-family);
96
+ font-weight: var(--typography-heading-1-font-weight);
97
+ letter-spacing: var(--typography-heading-3-letter-spacing);
98
+ }
99
+
100
+ .initials.longName::before {
101
+ content: none;
102
+ }
103
+
104
+ .initials::before {
105
+ content: '';
106
+ display: block;
107
+ margin-top: -0.001em;
108
+ }
109
+
110
+ .wrapper .initials {
111
+ text-decoration: none;
112
+ speak-as: spell-out;
113
+
114
+ /* to override materialize.css global styling in performance-ui,
114
115
  * which sets a border-bottom on abbr tags
115
116
  */
116
- border-bottom: none;
117
- }
118
-
119
- .xlarge .initials,
120
- .xxlarge .initials {
121
- font-size: var(--typography-heading-1-font-size);
122
- letter-spacing: var(--typography-heading-1-letter-spacing);
123
- }
124
-
125
- .medium .initials {
126
- font-size: var(--typography-heading-5-font-size);
127
- }
128
-
129
- .small .initials {
130
- font-size: 0.5rem;
131
- }
132
-
133
- .small .initials,
134
- .medium .initials {
135
- margin-bottom: -1px;
136
- font-weight: var(--typography-heading-5-font-weight);
137
- letter-spacing: var(--typography-heading-5-letter-spacing);
117
+ border-bottom: none;
118
+ }
119
+
120
+ .xlarge .initials,
121
+ .xxlarge .initials {
122
+ font-size: var(--typography-heading-1-font-size);
123
+ letter-spacing: var(--typography-heading-1-letter-spacing);
124
+ }
125
+
126
+ .medium .initials {
127
+ font-size: var(--typography-heading-5-font-size);
128
+ }
129
+
130
+ .small .initials {
131
+ font-size: 0.5rem;
132
+ }
133
+
134
+ .small .initials,
135
+ .medium .initials {
136
+ margin-bottom: -1px;
137
+ font-weight: var(--typography-heading-5-font-weight);
138
+ letter-spacing: var(--typography-heading-5-letter-spacing);
139
+ }
138
140
  }
@@ -1,57 +1,59 @@
1
- .AvatarGroup {
2
- display: inline-flex;
3
- list-style: none;
4
- margin: 0;
5
- padding: 0;
6
- }
7
-
8
- .AvatarCounter {
9
- direction: ltr;
10
- align-items: center;
11
- background: var(--color-gray-300);
12
- border: 3px solid var(--color-white);
13
- border-radius: 100%;
14
- box-sizing: border-box;
15
- box-shadow: var(--shadow-small-box-shadow);
16
- display: flex;
17
- justify-content: center;
18
- overflow: hidden;
19
- width: var(--avatar-x-y, 1.25rem);
20
- height: var(--avatar-x-y, 1.25rem);
21
- font-family: var(--typography-heading-5-font-family);
22
- font-weight: var(--typography-heading-5-font-weight);
23
- letter-spacing: var(--typography-heading-5-letter-spacing);
24
- }
25
-
26
- .AvatarGroupItem + .AvatarGroupItem {
27
- margin-inline-start: calc((var(--avatar-x-y)) / -2);
28
- }
29
-
30
- .small {
31
- --avatar-x-y: 1.25rem;
32
- }
33
-
34
- .small .AvatarCounter {
35
- box-shadow: none;
36
- border: none;
37
- font-size: 0.5rem;
38
- }
39
-
40
- .medium {
41
- --avatar-x-y: 3rem;
42
- }
43
-
44
- .medium .AvatarCounter {
45
- font-size: var(--typography-heading-5-font-size);
46
- }
47
-
48
- .large {
49
- --avatar-x-y: 4.5rem;
50
- }
51
-
52
- .large .AvatarCounter {
53
- font-family: var(--typography-heading-3-font-family);
54
- font-size: var(--typography-heading-3-font-size);
55
- font-weight: var(--typography-heading-3-font-weight);
56
- letter-spacing: var(--typography-heading-3-letter-spacing);
1
+ @layer kz-components {
2
+ .AvatarGroup {
3
+ display: inline-flex;
4
+ list-style: none;
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ .AvatarCounter {
10
+ direction: ltr;
11
+ align-items: center;
12
+ background: var(--color-gray-300);
13
+ border: 3px solid var(--color-white);
14
+ border-radius: 100%;
15
+ box-sizing: border-box;
16
+ box-shadow: var(--shadow-small-box-shadow);
17
+ display: flex;
18
+ justify-content: center;
19
+ overflow: hidden;
20
+ width: var(--avatar-x-y, 1.25rem);
21
+ height: var(--avatar-x-y, 1.25rem);
22
+ font-family: var(--typography-heading-5-font-family);
23
+ font-weight: var(--typography-heading-5-font-weight);
24
+ letter-spacing: var(--typography-heading-5-letter-spacing);
25
+ }
26
+
27
+ .AvatarGroupItem + .AvatarGroupItem {
28
+ margin-inline-start: calc((var(--avatar-x-y)) / -2);
29
+ }
30
+
31
+ .small {
32
+ --avatar-x-y: 1.25rem;
33
+ }
34
+
35
+ .small .AvatarCounter {
36
+ box-shadow: none;
37
+ border: none;
38
+ font-size: 0.5rem;
39
+ }
40
+
41
+ .medium {
42
+ --avatar-x-y: 3rem;
43
+ }
44
+
45
+ .medium .AvatarCounter {
46
+ font-size: var(--typography-heading-5-font-size);
47
+ }
48
+
49
+ .large {
50
+ --avatar-x-y: 4.5rem;
51
+ }
52
+
53
+ .large .AvatarCounter {
54
+ font-family: var(--typography-heading-3-font-family);
55
+ font-size: var(--typography-heading-3-font-size);
56
+ font-weight: var(--typography-heading-3-font-weight);
57
+ letter-spacing: var(--typography-heading-3-letter-spacing);
58
+ }
57
59
  }
@@ -1,97 +1,99 @@
1
- .badge {
2
- border-radius: var(--spacing-12);
3
- color: var(--color-purple-800);
4
- display: inline-block;
5
- position: relative;
6
- font-family: var(--typography-paragraph-extra-small-font-family);
7
- font-size: var(--typography-paragraph-extra-small-font-size);
8
- font-weight: var(--typography-paragraph-bold-font-weight);
9
- letter-spacing: var(--typography-paragraph-extra-small-letter-spacing);
10
- line-height: var(--typography-paragraph-extra-small-line-height);
11
- padding: 1px var(--spacing-6);
12
- min-width: 8px;
13
- text-align: center;
14
- background-color: var(--badge-background-color, var(--color-gray-300));
15
- }
16
-
17
- .reversed {
18
- --badge-background-color: rgb(var(--color-white-rgb), 0.1);
19
-
20
- color: var(--color-white);
21
- }
22
-
23
- .reversed.active {
24
- --badge-background-color: var(--color-green-300);
25
-
26
- color: var(--color-purple-800);
27
- }
28
-
29
- .reversed.dark {
30
- --badge-background-color: var(--color-purple-700);
31
-
32
- color: var(--color-white);
33
- }
34
-
35
- .large {
36
- display: inline-flex;
37
- justify-content: center;
38
- border-radius: var(--spacing-48);
39
- font-size: var(--typography-data-medium-font-size);
40
- line-height: var(--typography-data-medium-line-height);
41
- letter-spacing: var(--typography-data-medium-letter-spacing);
42
- padding: 2px 1.875rem;
43
- width: 24px;
44
- }
45
-
46
- .active {
47
- --badge-background-color: var(--color-blue-500);
48
-
49
- color: var(--color-white);
50
- }
51
-
52
- .dark {
53
- --badge-background-color: rgb(var(--color-purple-700-rgb), 0.1);
54
-
55
- color: var(--color-purple-800);
56
- }
57
-
58
- .dot {
59
- --badge-background-color: var(--color-green-300);
60
-
61
- padding: var(--spacing-6);
62
- min-width: unset;
63
- }
64
-
65
- .dot.large {
66
- padding: 1.875rem;
67
- width: unset;
68
- }
69
-
70
- .animation {
71
- display: inherit;
72
- }
73
-
74
- .animation .badge {
75
- --badge-duration-timing: (var(--animation-duration-slow) / 2)
76
- var(--animation-easing-function-ease-in);
77
-
78
- transition:
79
- transform var(--badge-duration-timing),
80
- background-color var(--badge-duration-timing);
81
- transform-origin: center;
82
- transform: scale3d(1, 1, 1);
83
- }
84
-
85
- .animationOn .badge {
86
- transform: scale3d(1.35, 1.35, 1.35);
87
- }
88
-
89
- .animationOn .badge.dark {
90
- --badge-background-color: rgb(var(--color-purple-700-rgb), 0.2);
91
- }
92
-
93
- .animationOn .badge.active {
94
- --badge-background-color: var(--color-blue-500);
95
-
96
- color: var(--color-white);
1
+ @layer kz-components {
2
+ .badge {
3
+ border-radius: var(--spacing-12);
4
+ color: var(--color-purple-800);
5
+ display: inline-block;
6
+ position: relative;
7
+ font-family: var(--typography-paragraph-extra-small-font-family);
8
+ font-size: var(--typography-paragraph-extra-small-font-size);
9
+ font-weight: var(--typography-paragraph-bold-font-weight);
10
+ letter-spacing: var(--typography-paragraph-extra-small-letter-spacing);
11
+ line-height: var(--typography-paragraph-extra-small-line-height);
12
+ padding: 1px var(--spacing-6);
13
+ min-width: 8px;
14
+ text-align: center;
15
+ background-color: var(--badge-background-color, var(--color-gray-300));
16
+ }
17
+
18
+ .reversed {
19
+ --badge-background-color: rgb(var(--color-white-rgb), 0.1);
20
+
21
+ color: var(--color-white);
22
+ }
23
+
24
+ .reversed.active {
25
+ --badge-background-color: var(--color-green-300);
26
+
27
+ color: var(--color-purple-800);
28
+ }
29
+
30
+ .reversed.dark {
31
+ --badge-background-color: var(--color-purple-700);
32
+
33
+ color: var(--color-white);
34
+ }
35
+
36
+ .large {
37
+ display: inline-flex;
38
+ justify-content: center;
39
+ border-radius: var(--spacing-48);
40
+ font-size: var(--typography-data-medium-font-size);
41
+ line-height: var(--typography-data-medium-line-height);
42
+ letter-spacing: var(--typography-data-medium-letter-spacing);
43
+ padding: 2px 1.875rem;
44
+ width: 24px;
45
+ }
46
+
47
+ .active {
48
+ --badge-background-color: var(--color-blue-500);
49
+
50
+ color: var(--color-white);
51
+ }
52
+
53
+ .dark {
54
+ --badge-background-color: rgb(var(--color-purple-700-rgb), 0.1);
55
+
56
+ color: var(--color-purple-800);
57
+ }
58
+
59
+ .dot {
60
+ --badge-background-color: var(--color-green-300);
61
+
62
+ padding: var(--spacing-6);
63
+ min-width: unset;
64
+ }
65
+
66
+ .dot.large {
67
+ padding: 1.875rem;
68
+ width: unset;
69
+ }
70
+
71
+ .animation {
72
+ display: inherit;
73
+ }
74
+
75
+ .animation .badge {
76
+ --badge-duration-timing: (var(--animation-duration-slow) / 2)
77
+ var(--animation-easing-function-ease-in);
78
+
79
+ transition:
80
+ transform var(--badge-duration-timing),
81
+ background-color var(--badge-duration-timing);
82
+ transform-origin: center;
83
+ transform: scale3d(1, 1, 1);
84
+ }
85
+
86
+ .animationOn .badge {
87
+ transform: scale3d(1.35, 1.35, 1.35);
88
+ }
89
+
90
+ .animationOn .badge.dark {
91
+ --badge-background-color: rgb(var(--color-purple-700-rgb), 0.2);
92
+ }
93
+
94
+ .animationOn .badge.active {
95
+ --badge-background-color: var(--color-blue-500);
96
+
97
+ color: var(--color-white);
98
+ }
97
99
  }
@@ -1,4 +1,6 @@
1
- .img {
2
- max-inline-size: 100%;
3
- display: flex;
1
+ @layer kz-components {
2
+ .img {
3
+ max-inline-size: 100%;
4
+ display: flex;
5
+ }
4
6
  }