@kaizen/components 1.67.1 → 1.67.3

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 (60) hide show
  1. package/dist/cjs/Filter/FilterBar/context/FilterBarContext.cjs +17 -2
  2. package/dist/cjs/Filter/FilterBar/context/reducer/filterBarStateReducer.cjs +4 -0
  3. package/dist/cjs/Filter/FilterBar/context/reducer/setupFilterBarState.cjs +2 -1
  4. package/dist/cjs/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.cjs +12 -1
  5. package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.cjs +12 -1
  6. package/dist/cjs/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.cjs +13 -2
  7. package/dist/cjs/Filter/FilterMultiSelect/FilterMultiSelect.cjs +4 -2
  8. package/dist/cjs/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.cjs +4 -2
  9. package/dist/cjs/TextField/TextField.cjs +2 -2
  10. package/dist/cjs/TextField/TextField.module.scss.cjs +4 -6
  11. package/dist/esm/Filter/FilterBar/context/FilterBarContext.mjs +17 -2
  12. package/dist/esm/Filter/FilterBar/context/reducer/filterBarStateReducer.mjs +4 -0
  13. package/dist/esm/Filter/FilterBar/context/reducer/setupFilterBarState.mjs +2 -1
  14. package/dist/esm/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.mjs +13 -2
  15. package/dist/esm/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.mjs +13 -2
  16. package/dist/esm/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.mjs +14 -3
  17. package/dist/esm/Filter/FilterMultiSelect/FilterMultiSelect.mjs +4 -2
  18. package/dist/esm/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.mjs +4 -2
  19. package/dist/esm/TextField/TextField.mjs +2 -2
  20. package/dist/esm/TextField/TextField.module.scss.mjs +4 -6
  21. package/dist/styles.css +252 -465
  22. package/dist/types/Filter/FilterBar/context/FilterBarContext.d.ts +2 -0
  23. package/dist/types/Filter/FilterBar/context/reducer/filterBarStateReducer.d.ts +3 -0
  24. package/dist/types/Filter/FilterBar/context/types.d.ts +1 -0
  25. package/dist/types/Filter/FilterMultiSelect/FilterMultiSelect.d.ts +2 -1
  26. package/dist/types/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.d.ts +2 -1
  27. package/package.json +3 -3
  28. package/src/Avatar/Avatar.module.scss +4 -4
  29. package/src/Checkbox/Checkbox/Checkbox.module.scss +2 -2
  30. package/src/Filter/FilterBar/FilterBar.spec.tsx +87 -0
  31. package/src/Filter/FilterBar/context/FilterBarContext.tsx +11 -2
  32. package/src/Filter/FilterBar/context/reducer/filterBarStateReducer.ts +7 -0
  33. package/src/Filter/FilterBar/context/reducer/setupFilterBarState.ts +1 -0
  34. package/src/Filter/FilterBar/context/types.ts +1 -0
  35. package/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.tsx +12 -2
  36. package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.tsx +10 -2
  37. package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.tsx +18 -3
  38. package/src/Filter/FilterMultiSelect/FilterMultiSelect.tsx +3 -1
  39. package/src/Filter/FilterMultiSelect/context/MenuTriggerProvider/MenuTriggerProvider.tsx +4 -1
  40. package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +9 -10
  41. package/src/GuidanceBlock/GuidanceBlock.module.scss +4 -5
  42. package/src/Input/InputRange/InputRange.module.scss +4 -4
  43. package/src/Input/InputSearch/InputSearch.module.scss +21 -21
  44. package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +7 -8
  45. package/src/Modal/ContextModal/ContextModal.module.scss +4 -4
  46. package/src/Modal/GenericModal/GenericModal.module.scss +8 -8
  47. package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +2 -2
  48. package/src/Modal/InputEditModal/InputEditModal.module.scss +4 -4
  49. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +7 -8
  50. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +2 -2
  51. package/src/Select/Select.module.scss +7 -7
  52. package/src/Table/Table.module.scss +11 -7
  53. package/src/TextArea/TextArea.module.scss +4 -4
  54. package/src/TextField/TextField.module.scss +10 -36
  55. package/src/TextField/TextField.tsx +2 -4
  56. package/src/TextField/_docs/TextField.stickersheet.stories.tsx +9 -1
  57. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +7 -8
  58. package/src/TitleBlockZen/TitleBlockZen.module.scss +14 -21
  59. package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +2 -2
  60. package/src/__future__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +1 -2
@@ -14,19 +14,19 @@
14
14
  }
15
15
 
16
16
  .animatingEnter & {
17
- @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
18
-
19
17
  animation-duration: $ca-duration-fast;
20
18
  animation-fill-mode: forwards;
21
19
  animation-timing-function: $ca-bounce-in;
20
+
21
+ @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
22
22
  }
23
23
 
24
24
  .animatingLeave & {
25
- @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
26
-
27
25
  animation-duration: $ca-duration-rapid;
28
26
  animation-fill-mode: forwards;
29
27
  animation-timing-function: $ca-bounce-out;
28
+
29
+ @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
30
30
  }
31
31
  }
32
32
 
@@ -14,22 +14,22 @@
14
14
  }
15
15
 
16
16
  .backdropLayer {
17
- @include ca-position($start: 0, $end: 0, $top: 0, $bottom: 0);
18
-
19
17
  position: fixed;
20
18
  background-color: #000;
21
19
  opacity: 50%;
22
20
  z-index: $ca-z-index-modal-backdrop;
23
- }
24
21
 
25
- .scrollLayer {
26
22
  @include ca-position($start: 0, $end: 0, $top: 0, $bottom: 0);
23
+ }
27
24
 
25
+ .scrollLayer {
28
26
  position: fixed;
29
27
  display: flex;
30
28
  align-items: center;
31
29
  z-index: $ca-z-index-modal;
32
30
  overflow-y: auto;
31
+
32
+ @include ca-position($start: 0, $end: 0, $top: 0, $bottom: 0);
33
33
  }
34
34
 
35
35
  .modalLayer {
@@ -84,11 +84,11 @@
84
84
  }
85
85
 
86
86
  [data-modal] {
87
- @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
88
-
89
87
  animation-duration: $ca-duration-fast;
90
88
  animation-fill-mode: forwards;
91
89
  animation-timing-function: $ca-bounce-in;
90
+
91
+ @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
92
92
  }
93
93
  }
94
94
 
@@ -104,11 +104,11 @@
104
104
  }
105
105
 
106
106
  [data-modal] {
107
- @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
108
-
109
107
  animation-duration: $ca-duration-rapid;
110
108
  animation-fill-mode: forwards;
111
109
  animation-timing-function: $ca-bounce-out;
110
+
111
+ @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
112
112
  }
113
113
  }
114
114
 
@@ -3,10 +3,10 @@
3
3
  @import "../../../../../styles/utils/layers";
4
4
 
5
5
  .dismissButton {
6
- @include ca-position($end: 0, $top: 0);
7
-
8
6
  position: absolute;
9
7
  z-index: $ca-z-index-popover;
8
+
9
+ @include ca-position($end: 0, $top: 0);
10
10
  }
11
11
 
12
12
  .layout {
@@ -10,19 +10,19 @@
10
10
  max-width: 600px;
11
11
 
12
12
  .animatingEnter & {
13
- @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
14
-
15
13
  animation-duration: $ca-duration-fast;
16
14
  animation-fill-mode: forwards;
17
15
  animation-timing-function: $ca-bounce-in;
16
+
17
+ @include ca-animation(fade($from: 0, $to: 1), zoom($from: 0.5, $to: 1));
18
18
  }
19
19
 
20
20
  .animatingLeave & {
21
- @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
22
-
23
21
  animation-duration: $ca-duration-rapid;
24
22
  animation-fill-mode: forwards;
25
23
  animation-timing-function: $ca-bounce-out;
24
+
25
+ @include ca-animation(fade($from: 1, $to: 0), zoom($from: 1, $to: 0.5));
26
26
  }
27
27
  }
28
28
 
@@ -282,13 +282,16 @@ $notification-slide-right: transform 300ms ease-out;
282
282
  }
283
283
 
284
284
  %ca-notification__cancel {
285
+ cursor: pointer;
285
286
  appearance: none;
286
- background: transparent;
287
- border: none;
288
- font: inherit;
287
+ transition: none;
288
+ transform: none;
289
289
  margin: 0;
290
290
  padding: 0;
291
- transition: none;
291
+ border: none;
292
+ background: transparent;
293
+ font: inherit;
294
+ color: $color-purple-800;
292
295
 
293
296
  .icon {
294
297
  opacity: 70%;
@@ -319,10 +322,6 @@ $notification-slide-right: transform 300ms ease-out;
319
322
  }
320
323
  }
321
324
 
322
- cursor: pointer;
323
- color: $color-purple-800;
324
- transform: none;
325
-
326
325
  &:active {
327
326
  transform: translateY(1px);
328
327
  }
@@ -6,8 +6,6 @@
6
6
  @import "../mixins";
7
7
 
8
8
  .editor > :global(.ProseMirror) {
9
- @include content-styles;
10
-
11
9
  border-radius: $border-solid-border-radius;
12
10
  padding: $spacing-sm calc(#{$spacing-xs} * 3);
13
11
  position: relative;
@@ -15,6 +13,8 @@
15
13
  background-color $animation-duration-immediate,
16
14
  border-color $animation-duration-immediate;
17
15
 
16
+ @include content-styles;
17
+
18
18
  &:hover,
19
19
  &:focus-visible {
20
20
  border-color: $color-gray-600;
@@ -47,15 +47,15 @@ $focus-border-color: $color-blue-500;
47
47
  }
48
48
 
49
49
  .control {
50
- &.disabled {
51
- opacity: 30%;
52
- }
53
-
54
50
  min-height: $input-height;
55
51
  border: $border-solid-border-width $border-solid-border-style
56
52
  $color-gray-500;
57
53
  border-radius: $border-solid-border-radius;
58
54
 
55
+ &.disabled {
56
+ opacity: 30%;
57
+ }
58
+
59
59
  &:hover {
60
60
  border-color: $color-gray-600;
61
61
  background-color: $color-gray-100;
@@ -148,12 +148,12 @@ $focus-border-color: $color-blue-500;
148
148
  }
149
149
 
150
150
  .selectedOption {
151
+ font-weight: $typography-paragraph-bold-font-weight;
152
+ color: $color-blue-500;
153
+
151
154
  &:not(.focusedOption) {
152
155
  background-color: transparent;
153
156
  }
154
-
155
- font-weight: $typography-paragraph-bold-font-weight;
156
- color: $color-blue-500;
157
157
  }
158
158
 
159
159
  .disabledOption {
@@ -14,7 +14,9 @@ $row-height-data-variant: 48px;
14
14
  text-decoration: none;
15
15
  color: $color-purple-800;
16
16
  display: block;
17
+ }
17
18
 
19
+ @mixin anchor-reset-pseudo-states {
18
20
  &:hover,
19
21
  &:active,
20
22
  &:focus {
@@ -94,6 +96,8 @@ $row-height-data-variant: 48px;
94
96
  // Ensures that the 100% doesn't go outside of the `headerRowCell` width
95
97
  box-sizing: border-box;
96
98
 
99
+ @include anchor-reset-pseudo-states;
100
+
97
101
  &:focus-visible {
98
102
  outline: none;
99
103
  position: relative;
@@ -161,8 +165,12 @@ $row-height-data-variant: 48px;
161
165
 
162
166
  .card {
163
167
  @include button-reset;
168
+ // These css properties are required for when the rows are anchor elements
169
+ @include anchor-reset;
164
170
 
165
- background: $color-white;
171
+ // This is an optical hack to stop the card shadow from overlapping over
172
+ // the proceeding cards
173
+ box-shadow: 0 4px 6px rgba(53, 55, 74, 0.04);
166
174
  border: solid 1px rgba($color-purple-700-rgb, 0.1);
167
175
  transition:
168
176
  box-shadow $animation-duration-rapid,
@@ -170,13 +178,9 @@ $row-height-data-variant: 48px;
170
178
  margin $animation-duration-rapid,
171
179
  padding $animation-duration-rapid,
172
180
  width $animation-duration-rapid;
181
+ background: $color-white;
173
182
 
174
- // This is an optical hack to stop the card shadow from overlapping over
175
- // the proceeding cards
176
- box-shadow: 0 4px 6px rgba(53, 55, 74, 0.04);
177
-
178
- // These css properties are required for when the rows are anchor elements
179
- @include anchor-reset;
183
+ @include anchor-reset-pseudo-states;
180
184
 
181
185
  &:not(:first-child) {
182
186
  margin-top: -1px;
@@ -91,15 +91,15 @@ $input-disabled-border-alpha: 50%;
91
91
 
92
92
  // Reversed (Dark Backgrounds)
93
93
  .textarea.reversed {
94
+ border-color: rgba($color-white-rgb, 0.65);
95
+ background: transparent;
96
+ color: $color-white;
97
+
94
98
  @include form-input-focus-state {
95
99
  background: rgba($color-white-rgb, 0.1);
96
100
  border-color: $color-white;
97
101
  }
98
102
 
99
- border-color: rgba($color-white-rgb, 0.65);
100
- background: transparent;
101
- color: $color-white;
102
-
103
103
  @include form-input-placeholder {
104
104
  line-height: 1.5;
105
105
  color: $color-white;
@@ -1,49 +1,23 @@
1
- @import "~@kaizen/design-tokens/sass/color";
2
1
  @import "../../styles/utils/animation";
3
- @import "../../styles/utils/legacy/layout";
4
- @import "../../styles/utils/legacy/type";
5
-
6
- @mixin input-icon($color, $reversed) {
7
- color: $color;
8
-
9
- .withReversed & {
10
- color: $reversed;
11
- }
12
- }
13
2
 
14
3
  .input {
15
- margin-top: $spacing-6;
4
+ margin-top: var(--spacing-6);
16
5
  }
17
6
 
18
- $input-disabled-opacity: 0.3;
7
+ .icon {
8
+ color: var(--textfield-icon-color);
19
9
 
20
- ///////////////////////////////////////////////////
21
- // VALIDATION STYLES
22
- ///////////////////////////////////////////////////
23
- .success {
24
- @include input-icon($color-green-500, $color-green-400);
25
10
  @include ca-animation-fade(in);
26
-
27
- &.disabled {
28
- @include input-icon(
29
- rgba($color-green-500-rgb, $input-disabled-opacity),
30
- rgba($color-green-400-rgb, $input-disabled-opacity)
31
- );
32
- }
33
11
  }
34
12
 
35
- .error {
36
- @include input-icon($color-red-100, $color-purple-700);
37
- @include ca-animation-fade(in);
38
- }
13
+ .success {
14
+ --textfield-icon-color: var(--color-green-500);
39
15
 
40
- .caution {
41
- @include input-icon($color-yellow-200, $color-purple-700);
42
- @include ca-animation-fade(in);
16
+ .reversed & {
17
+ --textfield-icon-color: var(--color-green-400);
18
+ }
43
19
  }
44
20
 
45
- .message {
46
- &.disabled {
47
- opacity: $input-disabled-opacity;
48
- }
21
+ .disabled {
22
+ opacity: 0.3;
49
23
  }
@@ -62,10 +62,7 @@ export const TextField = ({
62
62
  id={`${id}-field-group`}
63
63
  data-testid={`${id}-field-group`}
64
64
  inline={inline}
65
- classNameOverride={classnames(
66
- styles.withLabel,
67
- disabled && styles.withDisabled
68
- )}
65
+ classNameOverride={classnames(reversed && styles.reversed)}
69
66
  >
70
67
  <Label
71
68
  id={`${id}-field-label`}
@@ -88,6 +85,7 @@ export const TextField = ({
88
85
  status === "success" && (
89
86
  <div
90
87
  className={classnames(
88
+ styles.icon,
91
89
  styles.success,
92
90
  disabled && styles.disabled
93
91
  )}
@@ -34,7 +34,7 @@ const StickerSheetTemplate: StickerSheetStory = {
34
34
  render: ({ isReversed }) => (
35
35
  <StickerSheet isReversed={isReversed}>
36
36
  <StickerSheet.Header
37
- headings={["Default", "Hover", "Active", "Focus"]}
37
+ headings={["Default", "Hover", "Active", "Focus", "Disabled"]}
38
38
  hasVerticalHeadings
39
39
  />
40
40
  <StickerSheet.Body>
@@ -71,6 +71,14 @@ const StickerSheetTemplate: StickerSheetStory = {
71
71
  validationMessage="A valid question"
72
72
  data-sb-pseudo-styles="focus"
73
73
  />
74
+ <TextFieldExampleGroup
75
+ reversed={isReversed}
76
+ labelText="TextField"
77
+ description="A short description"
78
+ status={status}
79
+ validationMessage="A valid question"
80
+ disabled
81
+ />
74
82
  </StickerSheet.Row>
75
83
  ))}
76
84
  </StickerSheet.Body>
@@ -13,19 +13,18 @@ $tilePaddingTop: $spacing-xl;
13
13
  }
14
14
 
15
15
  .tile {
16
+ position: relative;
16
17
  width: $tileWidth;
17
-
18
- [data-tile-grid] & {
19
- width: auto;
20
- }
21
-
22
18
  height: $tileHeight;
23
- position: relative;
24
- box-shadow: $shadow-small-box-shadow;
25
- background-color: $color-white;
26
19
  transition: transform $ca-duration-slow $ca-default;
27
20
  transform-style: preserve-3d;
21
+ box-shadow: $shadow-small-box-shadow;
28
22
  border-radius: 7px;
23
+ background-color: $color-white;
24
+
25
+ [data-tile-grid] & {
26
+ width: auto;
27
+ }
29
28
 
30
29
  @include ca-media-mobile {
31
30
  width: 100%;
@@ -115,14 +115,13 @@ $tab-container-height-medium-and-small-collapsed: 0;
115
115
  align-items: center;
116
116
  min-width: 0; // this is an important trick to prevent flexbox items from overflowing
117
117
  z-index: $ca-z-index-dropdown; // this ensures the page switcher dropdown sits over nav tabs
118
+ transform: translateY(-0.0833em);
118
119
 
119
120
  .hasSubtitle & {
120
121
  @include title-block-under-1366 {
121
122
  transform: translateY(-0.3833em);
122
123
  }
123
124
  }
124
-
125
- transform: translateY(-0.0833em);
126
125
  }
127
126
 
128
127
  .titleAndSubtitleInner {
@@ -243,13 +242,12 @@ $tab-container-height-medium-and-small-collapsed: 0;
243
242
  line-height: $typography-paragraph-small-line-height;
244
243
  letter-spacing: $typography-paragraph-small-letter-spacing;
245
244
  max-width: 230px;
245
+ margin-inline: var(--spacing-12) 0;
246
246
 
247
247
  .adminVariant & {
248
248
  color: $color-purple-800;
249
249
  }
250
250
 
251
- @include ca-margin($start: calc(#{$ca-grid} / 2));
252
-
253
251
  @include title-block-under-1366 {
254
252
  white-space: nowrap;
255
253
  text-overflow: ellipsis;
@@ -285,9 +283,7 @@ $tab-container-height-medium-and-small-collapsed: 0;
285
283
 
286
284
  .sectionTitleOverride.sectionTitleOverride {
287
285
  white-space: nowrap;
288
-
289
- @include ca-margin($end: $ca-grid);
290
-
286
+ margin-inline: 0 var(--spacing-24);
291
287
  font-family: $typography-heading-2-font-family;
292
288
  font-weight: $typography-heading-2-font-weight;
293
289
  font-size: $typography-heading-2-font-size;
@@ -316,10 +312,6 @@ $tab-container-height-medium-and-small-collapsed: 0;
316
312
  }
317
313
 
318
314
  .sectionTitleDescription {
319
- .sectionTitle + & {
320
- margin-top: calc(#{$ca-grid} / 4);
321
- }
322
-
323
315
  color: $color-white;
324
316
  max-width: 780px;
325
317
  font-family: $typography-paragraph-small-font-family;
@@ -328,6 +320,10 @@ $tab-container-height-medium-and-small-collapsed: 0;
328
320
  line-height: $typography-paragraph-small-line-height;
329
321
  letter-spacing: $typography-paragraph-small-letter-spacing;
330
322
 
323
+ .sectionTitle + & {
324
+ margin-top: var(--spacing-6);
325
+ }
326
+
331
327
  &.dark {
332
328
  color: rgba($color-purple-800-rgb, 0.7);
333
329
  }
@@ -360,30 +356,28 @@ $tab-container-height-medium-and-small-collapsed: 0;
360
356
  }
361
357
 
362
358
  .tag {
363
- @include ca-margin($start: calc(#{$ca-grid} / 2));
364
-
365
359
  display: flex;
366
360
  align-items: center;
361
+ margin-inline: var(--spacing-12) 0;
367
362
 
368
363
  @include title-block-medium-and-small {
369
364
  display: none;
370
365
  }
371
366
 
372
367
  + .pageSwitcherSelectNextToTitle {
373
- @include ca-margin($start: 0);
368
+ margin-inline-start: 0;
374
369
  }
375
370
  }
376
371
 
377
372
  .pageSwitcherSelectNextToTitle {
378
- @include ca-margin($start: calc(#{$ca-grid} / 2));
379
-
380
373
  flex-shrink: 0;
381
- width: 10 * $ca-grid;
374
+ width: var(--spacing-240);
375
+ margin-inline: var(--spacing-12) 0;
382
376
  }
383
377
 
384
378
  .pageSwitcherSelectUnderneathTitle {
385
379
  flex-shrink: 0;
386
- max-width: 10 * $ca-grid;
380
+ max-width: var(--spacing-240);
387
381
  }
388
382
 
389
383
  .navigationTabsContainer {
@@ -558,11 +552,10 @@ $tab-container-height-medium-and-small-collapsed: 0;
558
552
 
559
553
  @media only screen and (max-width: $breadcrumb-breakpoint-width) {
560
554
  position: relative;
555
+ transform: translateY(0);
556
+ margin-inline: 0 var(--spacing-12);
561
557
 
562
- @include ca-margin($end: calc(#{$ca-grid} / 2));
563
558
  @include ca-position($start: 0);
564
-
565
- transform: translateY(0);
566
559
  }
567
560
 
568
561
  @include title-block-medium-and-small {
@@ -77,8 +77,6 @@ $slide-up-duration: 0.4s;
77
77
  }
78
78
 
79
79
  .mobileActionsPrimaryLabel {
80
- @include ca-padding($start: $ca-grid * 0.75);
81
-
82
80
  text-align: left;
83
81
  text-decoration: none;
84
82
  color: $color-white;
@@ -87,6 +85,8 @@ $slide-up-duration: 0.4s;
87
85
  font-size: $typography-button-primary-font-size;
88
86
  line-height: $typography-button-primary-line-height;
89
87
  letter-spacing: $typography-button-primary-letter-spacing;
88
+
89
+ @include ca-padding($start: $ca-grid * 0.75);
90
90
  }
91
91
 
92
92
  .mobileActionsPrimaryButton,
@@ -8,6 +8,7 @@
8
8
  position: relative;
9
9
  display: inline-flex;
10
10
  border-radius: 50%;
11
+ color: rgba($color-purple-800-rgb, 0.7);
11
12
 
12
13
  &:focus,
13
14
  &:focus-visible {
@@ -34,8 +35,6 @@
34
35
  border-radius: 50%;
35
36
  }
36
37
 
37
- color: rgba($color-purple-800-rgb, 0.7);
38
-
39
38
  &:hover,
40
39
  &:focus,
41
40
  &:focus-visible {