@kaizen/components 1.4.20-canary.3469 → 1.4.21

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 (121) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/esm/index.js +53 -0
  3. package/dist/iife/ActionButton.module-LHTIA2D3.scss +10 -0
  4. package/dist/iife/Avatar.module-GUG7HXMZ.scss +165 -0
  5. package/dist/iife/AvatarGroup.module-QAVTI4PR.scss +85 -0
  6. package/dist/iife/Base.module-DJPJNUQ5.scss +80 -0
  7. package/dist/iife/BaseButton.module-4FKZZLVI.scss +103 -0
  8. package/dist/iife/Brand.module-FCHTLJQK.scss +4 -0
  9. package/dist/iife/BrandMoment.module-4P7H2D3W.scss +196 -0
  10. package/dist/iife/Calendar.module-H7XBQXTA.scss +211 -0
  11. package/dist/iife/CalendarRange.module-QWW624PJ.scss +64 -0
  12. package/dist/iife/CalendarSingle.module-N2P3DWLM.scss +18 -0
  13. package/dist/iife/Card.module-VEUOO2LT.scss +38 -0
  14. package/dist/iife/Collapsible.module-ZJNVWQIB.scss +119 -0
  15. package/dist/iife/CollapsibleGroup.module-UR2SIYLJ.scss +10 -0
  16. package/dist/iife/ConfirmationModal.module-RN2H7KPL.scss +157 -0
  17. package/dist/iife/Content.module-6CTLBAHR.scss +25 -0
  18. package/dist/iife/ContextModal.module-TTFVPUPU.scss +77 -0
  19. package/dist/iife/DateInput.module-YBXARKD2.scss +3 -0
  20. package/dist/iife/DateInputDescription.module-SGAJNB7K.scss +19 -0
  21. package/dist/iife/DateInputField.module-2LG4I24X.scss +5 -0
  22. package/dist/iife/DateInputWithIconButton.module-RSUEQ345.scss +53 -0
  23. package/dist/iife/DateRangePicker.module-EIUGUIIA.scss +115 -0
  24. package/dist/iife/DropdownButton.module-WZ6FRRPS.scss +44 -0
  25. package/dist/iife/EditableRichTextContent.module-N2SFSI5C.scss +25 -0
  26. package/dist/iife/EmptyState.module-DOSURL5X.scss +156 -0
  27. package/dist/iife/ExpertAdviceCollapsible.module-L554JCXB.scss +47 -0
  28. package/dist/iife/FilterMenuButton.module-26EL5K3H.scss +19 -0
  29. package/dist/iife/FilterSplitButton.module-LMMEHFXQ.scss +133 -0
  30. package/dist/iife/FloatingCalendarWrapper.module-62NLSOUD.scss +12 -0
  31. package/dist/iife/GenericModal.module-DW6NSOGA.scss +110 -0
  32. package/dist/iife/GenericModalSection.module-MJ4MTMSP.scss +7 -0
  33. package/dist/iife/GenericNotification.module-DAERSOHE.scss +115 -0
  34. package/dist/iife/GenericTile.module-ZXQ4XWP4.scss +136 -0
  35. package/dist/iife/GuidanceBlock.module-FAHJFZMK.scss +324 -0
  36. package/dist/iife/HeroCard.module-LXHTKJTW.scss +106 -0
  37. package/dist/iife/InputEditModal.module-X3TLJPFO.scss +36 -0
  38. package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.js +398 -420
  39. package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.spec.js +404 -423
  40. package/dist/iife/KaizenProvider/ThemeProvider/index.js +412 -434
  41. package/dist/iife/KaizenProvider/index.js +414 -436
  42. package/dist/iife/LikertScaleLegacy.module-JYCJ5CON.scss +298 -0
  43. package/dist/iife/LinkPopover-7NCAPCQ3.scss +22 -0
  44. package/dist/iife/MainActions.module-T43D33YO.scss +16 -0
  45. package/dist/iife/MenuDropdown.module-DYV6JLT6.scss +26 -0
  46. package/dist/iife/MenuItem.module-LD7ZYX4T.scss +99 -0
  47. package/dist/iife/MenuList.module-44RMG7CF.scss +35 -0
  48. package/dist/iife/MobileActions.module-Z6PD4VIR.scss +198 -0
  49. package/dist/iife/ModalAccessibleDescription.module-NIJNKHHO.scss +3 -0
  50. package/dist/iife/ModalAccessibleLabel.module-NG26HDU4.scss +58 -0
  51. package/dist/iife/ModalFooter.module-TK3HAXMB.scss +69 -0
  52. package/dist/iife/ModalHeader.module-6SW7KZ22.scss +23 -0
  53. package/dist/iife/MultiActionTile.module-4Y2NA4H6.scss +3 -0
  54. package/dist/iife/NavigationTabs.module-VDIXMFXJ.scss +108 -0
  55. package/dist/iife/Pagination.module-U5S6WZ5K.scss +124 -0
  56. package/dist/iife/Popover.module-5ZQUBHXG.scss +264 -0
  57. package/dist/iife/ProgressBar.module-RL2UWVEH.scss +91 -0
  58. package/dist/iife/RichTextContent.module-4HA44IM4.scss +5 -0
  59. package/dist/iife/RichTextEditor.module-ZHXEK4XJ.scss +97 -0
  60. package/dist/iife/RoadblockModal.module-KVZCYLF2.scss +45 -0
  61. package/dist/iife/Select.module-6LHWOGGY.scss +391 -0
  62. package/dist/iife/Skirt.module-S3GPHMMQ.scss +32 -0
  63. package/dist/iife/SkirtCard.module-6YQ4PS2K.scss +16 -0
  64. package/dist/iife/SplitButton.module-WMGCIDDK.scss +4 -0
  65. package/dist/iife/StatelessMenu.module-SX2T5P4I.scss +3 -0
  66. package/dist/iife/Table.module-LCDRXCBP.scss +233 -0
  67. package/dist/iife/Tabs.module-BUPNPYW4.scss +172 -0
  68. package/dist/iife/Tag.module-T6PQJLSW.scss +268 -0
  69. package/dist/iife/TileGrid.module-NJQFVYRS.scss +23 -0
  70. package/dist/iife/TimeField.module-B4WNYAUE.scss +75 -0
  71. package/dist/iife/TimeSegment.module-TKOTKIXH.scss +53 -0
  72. package/dist/iife/TitleBlockMenuItem.module-LWVSMJTH.scss +99 -0
  73. package/dist/iife/TitleBlockZen.module-OK3QIC4Y.scss +695 -0
  74. package/dist/iife/ToastNotificationsList.module-EHDVGWDW.scss +26 -0
  75. package/dist/iife/ToggleIconButton.module-COM67MDC.scss +132 -0
  76. package/dist/iife/Toolbar.module-3BZYZE6H.scss +44 -0
  77. package/dist/iife/Toolbar.module-BP3GTBGW.scss +6 -0
  78. package/dist/iife/ToolbarSection.module-LZTHWGO7.scss +15 -0
  79. package/dist/iife/Well.module-4TIRC3HQ.scss +73 -0
  80. package/dist/iife/__future__/index.js +602 -915
  81. package/dist/iife/add-link.icon-2JH25LOT.svg +3 -0
  82. package/dist/iife/arrow-left.icon-RWWYLDT3.svg +17 -0
  83. package/dist/iife/arrow-right.icon-3ZGNCW3O.svg +17 -0
  84. package/dist/iife/bold.icon-FEZQ56AP.svg +3 -0
  85. package/dist/iife/bulletted-list.icon-ZDSXNO72.svg +3 -0
  86. package/dist/iife/caution.icon-BHBJMNMA.svg +1 -0
  87. package/dist/iife/clear-white.icon-O3ZK5Z2K.svg +18 -0
  88. package/dist/iife/close.icon-7H6W45MB.svg +1 -0
  89. package/dist/iife/date-start.icon-NV4EVRXI.svg +17 -0
  90. package/dist/iife/decrease-indent.icon-VAYQUHQG.svg +3 -0
  91. package/dist/iife/edit.icon-YJ4EIXHJ.svg +17 -0
  92. package/dist/iife/ellipsis.icon-DECY5OPU.svg +17 -0
  93. package/dist/iife/exclamation.icon-FJBHW7NP.svg +17 -0
  94. package/dist/iife/external-link.icon-7FNRTMN2.svg +17 -0
  95. package/dist/iife/hamburger.icon-YHQT7RB6.svg +17 -0
  96. package/dist/iife/increase-indent.icon-3XUPJEBD.svg +3 -0
  97. package/dist/iife/index.js +115236 -1958
  98. package/dist/iife/information-white.icon-3DXZDERC.svg +19 -0
  99. package/dist/iife/information.icon-5LHKLG66.svg +17 -0
  100. package/dist/iife/italics.icon-WWQDZP3S.svg +3 -0
  101. package/dist/iife/meatballs.icon-DECY5OPU.svg +17 -0
  102. package/dist/iife/numbered-list.icon-WPE4LE5R.svg +3 -0
  103. package/dist/iife/remove-link.icon-QMFTP7WO.svg +3 -0
  104. package/dist/iife/sort-ascending.icon-E24DTSHO.svg +17 -0
  105. package/dist/iife/sort-descending.icon-4SMPW2PG.svg +17 -0
  106. package/dist/iife/success-white.icon-VXFA2PUU.svg +18 -0
  107. package/dist/iife/underline.icon-ACYVVVSD.svg +3 -0
  108. package/dist/iife/user.icon-24JPACDP.svg +17 -0
  109. package/dist/index.d.ts +41 -1
  110. package/dist/index.js +54 -1
  111. package/dist/styles.css +98 -0
  112. package/package.json +32 -32
  113. package/dist/iife/Icon.module-VD7NKLAR-VD7NKLAR.scss +0 -72
  114. /package/dist/iife/{Dropdown.module-4CIBZTRZ-4CIBZTRZ.scss → Dropdown.module-4CIBZTRZ.scss} +0 -0
  115. /package/dist/iife/{Layout.module-MZ6JYT46-MZ6JYT46.scss → Layout.module-MZ6JYT46.scss} +0 -0
  116. /package/dist/iife/{Margin.module-DJURK5K7-DJURK5K7.scss → Margin.module-DJURK5K7.scss} +0 -0
  117. /package/dist/iife/{Menu.module-N76N74LN-N76N74LN.scss → Menu.module-N76N74LN.scss} +0 -0
  118. /package/dist/iife/{Padding.module-QSNUEZBU-QSNUEZBU.scss → Padding.module-QSNUEZBU.scss} +0 -0
  119. /package/dist/iife/{SkipLink.module-KAZA7PAL-KAZA7PAL.scss → SkipLink.module-KAZA7PAL.scss} +0 -0
  120. /package/dist/iife/{Text.module-SXGFOHGJ-SXGFOHGJ.scss → Text.module-SXGFOHGJ.scss} +0 -0
  121. /package/dist/iife/{VisuallyHidden.module-E5JUNEF5-E5JUNEF5.scss → VisuallyHidden.module-E5JUNEF5.scss} +0 -0
@@ -0,0 +1,695 @@
1
+ @import "~@kaizen/design-tokens/sass/spacing";
2
+ @import "~@kaizen/design-tokens/sass/typography";
3
+ @import "~@kaizen/design-tokens/sass/color";
4
+ @import "~@kaizen/design-tokens/sass/layout";
5
+ @import "~@kaizen/component-library/styles/grid";
6
+ @import "~@kaizen/component-library/styles/layers";
7
+ @import "~@kaizen/deprecated-component-library-helpers/styles/layout";
8
+ @import "./mixins";
9
+ @import "./variables";
10
+
11
+ $title-block-margin-width-on-medium-and-small: 12px;
12
+ $breadcrumb-circle-width: 48px;
13
+ $breadcrumb-breakpoint-width: $layout-content-max-width +
14
+ $layout-content-side-margin * 2 + $breadcrumb-circle-width * 2.25;
15
+ $title-block-separator-height: 0.1875rem;
16
+ $tab-container-height-default: $ca-grid * 3;
17
+ $tab-container-height-small: $ca-grid * 2.5;
18
+ $tab-container-height-default-collapsed: 0;
19
+ $tab-container-height-medium-and-small-collapsed: 0;
20
+
21
+ .titleBlock {
22
+ position: relative;
23
+ -webkit-font-smoothing: antialiased;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ background-color: $dt-color-background-color-default;
26
+ width: 100%;
27
+ display: flex;
28
+ justify-content: center;
29
+ flex-direction: column;
30
+
31
+ &.educationVariant {
32
+ background-color: $dt-color-background-color-eduction;
33
+ }
34
+
35
+ &.adminVariant {
36
+ background-color: $dt-color-background-color-admin;
37
+ }
38
+
39
+ @media print {
40
+ display: none;
41
+ }
42
+ }
43
+
44
+ .titleRow,
45
+ .rowBelowSeparator {
46
+ display: flex;
47
+ width: 100%;
48
+ justify-content: center;
49
+ }
50
+
51
+ .adminVariant .titleRow {
52
+ background-color: $color-white;
53
+ }
54
+
55
+ %titleBlockInner {
56
+ max-width: $layout-content-max-width;
57
+ margin: 0 $layout-content-side-margin;
58
+ display: flex;
59
+ flex-direction: column;
60
+ width: 100%;
61
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
62
+
63
+ @include title-block-medium-and-small {
64
+ margin: 0 $title-block-margin-width-on-medium-and-small;
65
+ }
66
+ }
67
+
68
+ .titleRowInner {
69
+ @extend %titleBlockInner;
70
+ }
71
+
72
+ .rowBelowSeparatorInner {
73
+ @extend %titleBlockInner;
74
+ }
75
+
76
+ .titleRowInnerContent {
77
+ position: relative;
78
+ display: flex;
79
+ width: 100%;
80
+ align-items: center;
81
+ min-height: $ca-grid * 3.5;
82
+ justify-content: space-between;
83
+ border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
84
+
85
+ .educationVariant & {
86
+ border-bottom-color: rgba($color-purple-700-rgb, 0.2);
87
+ }
88
+
89
+ .adminVariant &,
90
+ .collapseNavigationArea & {
91
+ border-bottom-color: transparent;
92
+ }
93
+
94
+ @include title-block-medium-and-small {
95
+ border-bottom: none;
96
+ }
97
+ }
98
+
99
+ .title {
100
+ display: flex;
101
+ align-items: center;
102
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
103
+
104
+ // Applying width 100% when the title is *not* long and is followed by a subtitle
105
+ // causes misalignment of both.
106
+ @include title-block-under-1366 {
107
+ width: 100%;
108
+ }
109
+ }
110
+
111
+ .titleAndSubtitle {
112
+ display: flex;
113
+ align-items: center;
114
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
115
+ z-index: $ca-z-index-dropdown; // this ensures the page switcher dropdown sits over nav tabs
116
+
117
+ .hasSubtitle & {
118
+ @include title-block-under-1366 {
119
+ transform: translateY(-0.38333em);
120
+ }
121
+ }
122
+ transform: translateY(-0.0833333em);
123
+ }
124
+
125
+ .titleAndSubtitleInner {
126
+ display: flex;
127
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
128
+
129
+ // TODO: removing .hasLongTitle here fixes the alignment on Performance story, but we should be able to not wrap subtitle.
130
+ .hasSubtitle.hasLongTitle.hasLongSubtitle & {
131
+ align-items: center;
132
+
133
+ @include title-block-under-1366 {
134
+ align-items: baseline;
135
+ }
136
+ }
137
+
138
+ .hasPageSwitcherSelect & {
139
+ @include title-block-medium-and-small {
140
+ align-items: normal;
141
+ flex-direction: column;
142
+ justify-content: space-between;
143
+ transform: translateY(calc(#{$ca-grid} / 3));
144
+ }
145
+ }
146
+
147
+ .hasSubtitle & {
148
+ align-items: baseline;
149
+ overflow: hidden;
150
+
151
+ @include title-block-under-1366 {
152
+ align-items: normal;
153
+ flex-direction: column;
154
+ justify-content: space-between;
155
+ transform: translateY(calc(#{$ca-grid} / 3));
156
+
157
+ .hasLongTitle.hasLongSubtitle & {
158
+ align-items: baseline;
159
+ }
160
+ }
161
+
162
+ @include title-block-medium-and-small {
163
+ transform: translateY(calc(#{$ca-grid} / 2));
164
+ }
165
+ }
166
+ }
167
+
168
+ .titleTextOverride.titleTextOverride {
169
+ padding: 4px 0;
170
+
171
+ @media (max-width: $breadcrumb-breakpoint-width) {
172
+ font-family: $typography-heading-2-font-family;
173
+ font-weight: $typography-heading-2-font-weight;
174
+ font-size: $typography-heading-2-font-size;
175
+ line-height: $typography-heading-2-line-height;
176
+ letter-spacing: $typography-heading-2-letter-spacing;
177
+ }
178
+ @include title-block-under-1366 {
179
+ font-family: $typography-heading-2-font-family;
180
+ font-weight: $typography-heading-2-font-weight;
181
+ font-size: $typography-heading-2-font-size;
182
+ line-height: $typography-heading-2-line-height;
183
+ letter-spacing: $typography-heading-2-letter-spacing;
184
+ padding: 2px 0;
185
+ }
186
+ .hasLongTitle & {
187
+ @include title-block-under-1366 {
188
+ font-family: $typography-heading-3-font-family;
189
+ font-weight: $typography-heading-3-font-weight;
190
+ font-size: $typography-heading-3-font-size;
191
+ line-height: $typography-heading-3-line-height;
192
+ letter-spacing: $typography-heading-3-letter-spacing;
193
+ padding: 2px 0;
194
+ }
195
+ }
196
+
197
+ @include title-block-medium-and-small {
198
+ font-family: $typography-heading-4-font-family;
199
+ font-weight: $typography-heading-4-font-weight;
200
+ font-size: $typography-heading-4-font-size;
201
+ line-height: $typography-heading-4-line-height;
202
+ letter-spacing: $typography-heading-4-letter-spacing;
203
+ padding: 0;
204
+ }
205
+ }
206
+
207
+ .avatar {
208
+ display: none;
209
+ box-sizing: border-box;
210
+ overflow: hidden;
211
+ height: $ca-grid * 2;
212
+ width: $ca-grid * 2;
213
+ @include ca-margin($end: calc(#{$ca-grid} / 2));
214
+
215
+ > * {
216
+ max-width: 100%;
217
+ }
218
+
219
+ @media (min-width: $layout-breakpoints-large) {
220
+ display: block;
221
+ }
222
+
223
+ &.withBorder {
224
+ border: 3px solid $color-white;
225
+ border-radius: 50%;
226
+ }
227
+
228
+ .hasLongTitle & {
229
+ display: none;
230
+ }
231
+ }
232
+
233
+ .hamburger {
234
+ display: none;
235
+ @include ca-margin($end: $spacing-xs);
236
+
237
+ @include title-block-medium-and-small {
238
+ display: flex;
239
+ align-items: center;
240
+ }
241
+ }
242
+
243
+ .subtitle {
244
+ display: flex;
245
+ align-items: center;
246
+ color: $color-white;
247
+ font-family: $typography-paragraph-small-font-family;
248
+ font-weight: $typography-paragraph-small-font-weight;
249
+ font-size: $typography-paragraph-small-font-size;
250
+ line-height: $typography-paragraph-small-line-height;
251
+ letter-spacing: $typography-paragraph-small-letter-spacing;
252
+ max-width: 230px;
253
+
254
+ .adminVariant & {
255
+ color: $color-purple-800;
256
+ }
257
+
258
+ @include ca-margin($start: calc(#{$ca-grid} / 2));
259
+
260
+ @include title-block-under-1366 {
261
+ white-space: nowrap;
262
+ text-overflow: ellipsis;
263
+ overflow: hidden;
264
+ max-width: none;
265
+ margin: ($ca-grid / 5) 0;
266
+ }
267
+ }
268
+
269
+ .subtitleText {
270
+ @include title-block-under-1366 {
271
+ max-width: 42vw;
272
+ white-space: nowrap;
273
+ text-overflow: ellipsis;
274
+ overflow: hidden;
275
+ }
276
+
277
+ @include title-block-small {
278
+ max-width: 88vw;
279
+ }
280
+ }
281
+
282
+ .sectionTitleContainer {
283
+ display: flex;
284
+ align-items: center;
285
+ padding: ($ca-grid * 3/4) 0;
286
+ }
287
+
288
+ .sectionTitleInner {
289
+ display: flex;
290
+ flex-direction: column;
291
+ }
292
+
293
+ .sectionTitleOverride.sectionTitleOverride {
294
+ white-space: nowrap;
295
+
296
+ @include ca-margin($end: $ca-grid);
297
+
298
+ font-family: $typography-heading-2-font-family;
299
+ font-weight: $typography-heading-2-font-weight;
300
+ font-size: $typography-heading-2-font-size;
301
+ line-height: $typography-heading-2-line-height;
302
+ letter-spacing: $typography-heading-2-letter-spacing;
303
+
304
+ @include title-block-under-1645 {
305
+ font-family: $typography-heading-3-font-family;
306
+ font-weight: $typography-heading-3-font-weight;
307
+ font-size: $typography-heading-3-font-size;
308
+ line-height: $typography-heading-3-line-height;
309
+ letter-spacing: $typography-heading-3-letter-spacing;
310
+ }
311
+ @include title-block-medium-and-small {
312
+ font-family: $typography-heading-4-font-family;
313
+ font-weight: $typography-heading-4-font-weight;
314
+ font-size: $typography-heading-4-font-size;
315
+ line-height: $typography-heading-4-line-height;
316
+ letter-spacing: $typography-heading-4-letter-spacing;
317
+ }
318
+ }
319
+
320
+ .sectionTitle {
321
+ display: block;
322
+ }
323
+
324
+ .sectionTitleDescription {
325
+ .sectionTitle + & {
326
+ margin-top: $ca-grid / 4;
327
+ }
328
+
329
+ color: $color-white;
330
+ max-width: 780px;
331
+ font-family: $typography-paragraph-small-font-family;
332
+ font-weight: $typography-paragraph-small-font-weight;
333
+ font-size: $typography-paragraph-small-font-size;
334
+ line-height: $typography-paragraph-small-line-height;
335
+ letter-spacing: $typography-paragraph-small-letter-spacing;
336
+
337
+ &.dark {
338
+ color: rgba($color-purple-800-rgb, 0.7);
339
+ }
340
+ }
341
+
342
+ .rowBelowSeparatorInnerContent {
343
+ display: flex;
344
+ width: 100%;
345
+ margin-top: -$title-block-separator-height;
346
+ justify-content: space-between;
347
+ }
348
+
349
+ .titleAndAdjacent {
350
+ display: flex;
351
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
352
+ }
353
+
354
+ .titleAndAdjacentNotBreadcrumb {
355
+ display: flex;
356
+ transition: opacity 0.3s ease;
357
+ min-width: 0; // this is an important trick to prevent flexbox items from overflowing
358
+ align-items: center;
359
+
360
+ .breadcrumb:hover ~ &,
361
+ .breadcrumb:focus ~ &,
362
+ .breadcrumbTextLink:hover ~ &,
363
+ .breadcrumbTextLink:focus ~ & {
364
+ opacity: 0;
365
+ }
366
+ }
367
+
368
+ .tag {
369
+ @include ca-margin($start: calc(#{$ca-grid} / 2));
370
+ display: flex;
371
+ align-items: center;
372
+
373
+ @include title-block-medium-and-small {
374
+ display: none;
375
+ }
376
+
377
+ + .pageSwitcherSelectNextToTitle {
378
+ @include ca-margin($start: 0);
379
+ }
380
+ }
381
+
382
+ .pageSwitcherSelectNextToTitle {
383
+ @include ca-margin($start: calc(#{$ca-grid} / 2));
384
+ flex-shrink: 0;
385
+ width: 10 * $ca-grid;
386
+ }
387
+
388
+ .pageSwitcherSelectUnderneathTitle {
389
+ flex-shrink: 0;
390
+ max-width: 10 * $ca-grid;
391
+ }
392
+
393
+ .navigationTabsContainer {
394
+ display: flex;
395
+ height: $tab-container-height-default;
396
+
397
+ @include title-block-small {
398
+ height: $tab-container-height-small;
399
+ }
400
+ }
401
+
402
+ .navigationTabsContainerCollapsed {
403
+ height: $tab-container-height-default-collapsed;
404
+ @include title-block-medium-and-small {
405
+ height: $tab-container-height-medium-and-small-collapsed;
406
+ }
407
+ }
408
+
409
+ .navigationTabScrollerContainer {
410
+ .hasNavigationTabs & {
411
+ @include title-block-small {
412
+ display: block;
413
+ overflow-x: scroll;
414
+ scrollbar-width: none;
415
+ width: 100vw;
416
+
417
+ &::-webkit-scrollbar {
418
+ display: none;
419
+ }
420
+ }
421
+ }
422
+ }
423
+
424
+ .navigationTabEdgeShadow {
425
+ display: none;
426
+ pointer-events: none;
427
+
428
+ @include title-block-small {
429
+ display: block;
430
+ position: absolute;
431
+ top: $tab-container-height-small - $title-block-separator-height;
432
+ width: $tab-container-height-small;
433
+ height: $tab-container-height-small;
434
+ background: linear-gradient(
435
+ 0,
436
+ $color-purple-600,
437
+ rgba($color-purple-600-rgb, 0)
438
+ );
439
+ z-index: $ca-z-index-sticky;
440
+ }
441
+
442
+ .adminVariant & {
443
+ @include title-block-small {
444
+ background: linear-gradient(
445
+ 0,
446
+ $color-gray-100,
447
+ rgba($color-gray-100-rgb, 0)
448
+ );
449
+ }
450
+ }
451
+
452
+ .educationVariant & {
453
+ @include title-block-small {
454
+ background: linear-gradient(
455
+ 0,
456
+ $color-blue-200,
457
+ rgba($color-blue-200-rgb, 0)
458
+ );
459
+ }
460
+ }
461
+ }
462
+
463
+ .navigationTabEdgeShadowLeft {
464
+ composes: navigationTabEdgeShadow;
465
+ transform: rotate(90deg);
466
+ left: 0;
467
+ top: calc(100% - #{$tab-container-height-default});
468
+
469
+ @include title-block-small {
470
+ top: calc(100% - #{$tab-container-height-small});
471
+ }
472
+ }
473
+
474
+ .navigationTabEdgeShadowRight {
475
+ composes: navigationTabEdgeShadow;
476
+ transform: rotate(-90deg);
477
+ right: 0;
478
+ top: calc(100% - #{$tab-container-height-default});
479
+
480
+ @include title-block-small {
481
+ top: calc(100% - #{$tab-container-height-small});
482
+ }
483
+ }
484
+
485
+ // This should be in SecondaryAction.module.scss,
486
+ // but the variants prevent us from breaking this out.
487
+ .secondaryActionsContainer {
488
+ display: flex;
489
+ align-items: flex-start;
490
+ justify-content: flex-end;
491
+ padding: (calc(#{$ca-grid} / 2)) 0;
492
+ @include ca-margin($start: $ca-grid * 1.5);
493
+
494
+ // To be removed eventually – the Dropdown does not
495
+ // currently set its own color, and we want it
496
+ // to be Cluny like the default secondary buttons
497
+ .educationVariant &,
498
+ .adminVariant & {
499
+ color: $color-blue-500;
500
+ }
501
+
502
+ @include title-block-medium-and-small {
503
+ display: none;
504
+ }
505
+ }
506
+
507
+ .buttonReset {
508
+ appearance: none;
509
+ display: inline;
510
+ background: transparent;
511
+ color: inherit;
512
+ font: inherit;
513
+ cursor: pointer;
514
+ margin: 0;
515
+ padding: 0;
516
+ border: none;
517
+ }
518
+
519
+ .breadcrumb {
520
+ composes: buttonReset;
521
+ cursor: pointer;
522
+ display: flex;
523
+ position: absolute;
524
+ z-index: $ca-z-index-sticky;
525
+ align-items: center;
526
+ top: 50%;
527
+ transform: translateY(-50%);
528
+ @include ca-position(
529
+ $start: calc(-#{$breadcrumb-circle-width} - #{$ca-grid})
530
+ );
531
+ align-self: normal;
532
+
533
+ &:hover .breadcrumbTextLink {
534
+ text-decoration: underline;
535
+ }
536
+
537
+ @media only screen and (max-width: $breadcrumb-breakpoint-width) {
538
+ position: relative;
539
+ @include ca-margin($end: calc(#{$ca-grid} / 2));
540
+ @include ca-position($start: 0);
541
+ transform: translateY(0);
542
+ }
543
+
544
+ @include title-block-medium-and-small {
545
+ display: none;
546
+ }
547
+ }
548
+
549
+ @mixin visually-hidden {
550
+ clip: rect(0 0 0 0);
551
+ clip-path: inset(50%);
552
+ height: 1px;
553
+ overflow: hidden;
554
+ position: absolute;
555
+ white-space: nowrap;
556
+ width: 1px;
557
+ }
558
+
559
+ @mixin visually-hidden-reset {
560
+ clip: initial;
561
+ clip-path: initial;
562
+ height: initial;
563
+ overflow: initial;
564
+ position: initial;
565
+ white-space: initial;
566
+ width: initial;
567
+ }
568
+
569
+ .breadcrumbTextLink {
570
+ // We are using visually hidden here instead of display:none so that a screen reader
571
+ // navigating via 'read mode' (which doesn't trigger hover/focus) will still hear this link name
572
+ @include visually-hidden;
573
+ z-index: $ca-z-index-sticky - 1;
574
+ @include ca-position($start: -2 * $ca-grid);
575
+ position: absolute;
576
+
577
+ @include title-block-under-1645 {
578
+ @include ca-position($start: $ca-grid);
579
+ }
580
+
581
+ @media only screen and (min-width: $breadcrumb-breakpoint-width) {
582
+ @include ca-position(
583
+ $start: calc(#{$breadcrumb-circle-width} - #{$ca-grid})
584
+ );
585
+ }
586
+
587
+ &:hover,
588
+ &:focus,
589
+ .breadcrumb:hover &,
590
+ .breadcrumb:focus & {
591
+ @include visually-hidden-reset;
592
+ // ^be careful of this mixin unsetting values you need
593
+ // e.g. I needed to set position:absolute again below
594
+ position: absolute;
595
+ display: block;
596
+ animation: slide-fade 0.4s;
597
+
598
+ [dir="rtl"] & {
599
+ animation: reverse-slide-fade 0.4s;
600
+ }
601
+ }
602
+ }
603
+
604
+ .breadcrumbText {
605
+ margin-inline-start: $spacing-xl;
606
+ white-space: nowrap;
607
+ font-family: $typography-heading-5-font-family;
608
+ font-weight: $typography-heading-5-font-weight;
609
+ font-size: $typography-heading-5-font-size;
610
+ line-height: $typography-heading-5-line-height;
611
+ letter-spacing: $typography-heading-5-letter-spacing;
612
+ }
613
+
614
+ .breadcrumb,
615
+ .breadcrumb:hover,
616
+ .breadcrumbText {
617
+ color: $color-white;
618
+ .educationVariant &,
619
+ .adminVariant & {
620
+ color: $color-purple-800;
621
+ }
622
+ }
623
+
624
+ .circle {
625
+ $border-width: 3px;
626
+ flex: 0 0 $breadcrumb-circle-width;
627
+ box-sizing: border-box;
628
+ width: $breadcrumb-circle-width;
629
+ height: $breadcrumb-circle-width;
630
+ color: $color-white;
631
+ border-color: rgba($color-white-rgb, 0.5);
632
+ border-width: 2px;
633
+ border-radius: 50%;
634
+ border-style: solid;
635
+ display: flex;
636
+ align-items: center;
637
+ justify-content: center;
638
+ transition: background-color 0.3s ease, transform 0.3s ease;
639
+
640
+ .breadcrumb:hover &,
641
+ .breadcrumb:focus & {
642
+ transform: scale(1.1);
643
+ border-color: $color-white;
644
+ color: $color-white;
645
+ background-color: rgba($color-white-rgb, 0.1);
646
+ }
647
+
648
+ .educationVariant &,
649
+ .adminVariant & {
650
+ color: $color-blue-500;
651
+ border-color: $color-blue-300;
652
+ border-width: $border-width;
653
+ }
654
+
655
+ .educationVariant .breadcrumb:hover &,
656
+ .educationVariant .breadcrumb:focus &,
657
+ .adminVariant .breadcrumb:hover &,
658
+ .adminVariant .breadcrumb:focus & {
659
+ border-color: $color-blue-500;
660
+ color: $color-blue-500;
661
+ background-color: rgba($color-blue-500-rgb, 0.1);
662
+ }
663
+ }
664
+
665
+ @keyframes slide-fade {
666
+ 0% {
667
+ display: none;
668
+ opacity: 0;
669
+ }
670
+ 1% {
671
+ display: block;
672
+ opacity: 0;
673
+ transform: translateX(-30px);
674
+ }
675
+ 100% {
676
+ opacity: 1;
677
+ transform: translateX(0px);
678
+ }
679
+ }
680
+
681
+ @keyframes reverse-slide-fade {
682
+ 0% {
683
+ display: none;
684
+ opacity: 0;
685
+ }
686
+ 1% {
687
+ display: block;
688
+ opacity: 0;
689
+ transform: translateX(30px);
690
+ }
691
+ 100% {
692
+ opacity: 1;
693
+ transform: translateX(0px);
694
+ }
695
+ }
@@ -0,0 +1,26 @@
1
+ @import "~@kaizen/design-tokens/sass/spacing";
2
+ @import "~@kaizen/design-tokens/sass/layout";
3
+
4
+ .list {
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: flex-end;
8
+ bottom: 0;
9
+ overflow: hidden;
10
+ padding-bottom: 0;
11
+ padding-top: 160px + 12px;
12
+ position: fixed;
13
+ right: $spacing-md;
14
+ top: 0;
15
+ bottom: 0;
16
+ z-index: 1030;
17
+ max-width: 100%;
18
+ pointer-events: none;
19
+
20
+ @media (max-width: ($layout-breakpoints-large - 1px)) {
21
+ padding-top: 108px;
22
+ }
23
+ @media (max-width: ($layout-breakpoints-medium - 1px)) {
24
+ left: $spacing-md;
25
+ }
26
+ }