@kaizen/components 2.2.4 → 2.3.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 (37) hide show
  1. package/dist/cjs/src/MenuV1/index.cjs +4 -3
  2. package/dist/cjs/src/TitleBlock/TitleBlock.cjs +26 -36
  3. package/dist/cjs/src/TitleBlock/TitleBlock.module.scss.cjs +3 -0
  4. package/dist/cjs/src/TitleBlock/subcomponents/MainActions.cjs +90 -45
  5. package/dist/cjs/src/TitleBlock/subcomponents/MainActions.module.scss.cjs +3 -1
  6. package/dist/cjs/src/TitleBlock/subcomponents/SecondaryActions.cjs +51 -14
  7. package/dist/esm/src/MenuV1/index.mjs +5 -3
  8. package/dist/esm/src/TitleBlock/TitleBlock.mjs +27 -37
  9. package/dist/esm/src/TitleBlock/TitleBlock.module.scss.mjs +3 -0
  10. package/dist/esm/src/TitleBlock/subcomponents/MainActions.mjs +92 -47
  11. package/dist/esm/src/TitleBlock/subcomponents/MainActions.module.scss.mjs +3 -1
  12. package/dist/esm/src/TitleBlock/subcomponents/SecondaryActions.mjs +51 -14
  13. package/dist/styles.css +51 -201
  14. package/dist/types/TitleBlock/TitleBlock.d.ts +1 -1
  15. package/dist/types/TitleBlock/subcomponents/MainActions.d.ts +4 -3
  16. package/package.json +1 -1
  17. package/src/TitleBlock/TitleBlock.module.scss +28 -10
  18. package/src/TitleBlock/TitleBlock.spec.tsx +33 -461
  19. package/src/TitleBlock/TitleBlock.tsx +4 -24
  20. package/src/TitleBlock/_docs/TitleBlock.stories.tsx +25 -5
  21. package/src/TitleBlock/_mixins.scss +6 -0
  22. package/src/TitleBlock/subcomponents/MainActions.module.scss +27 -2
  23. package/src/TitleBlock/subcomponents/MainActions.tsx +127 -70
  24. package/src/TitleBlock/subcomponents/SecondaryActions.tsx +105 -45
  25. package/src/TitleBlock/subcomponents/Toolbar.tsx +1 -0
  26. package/dist/cjs/src/MenuV1/subcomponents/MenuHeading/MenuHeading.cjs +0 -27
  27. package/dist/cjs/src/MenuV1/subcomponents/MenuHeading/MenuHeading.module.scss.cjs +0 -6
  28. package/dist/cjs/src/TitleBlock/subcomponents/MobileActions.cjs +0 -306
  29. package/dist/cjs/src/TitleBlock/subcomponents/MobileActions.module.scss.cjs +0 -16
  30. package/dist/esm/src/MenuV1/subcomponents/MenuHeading/MenuHeading.mjs +0 -21
  31. package/dist/esm/src/MenuV1/subcomponents/MenuHeading/MenuHeading.module.scss.mjs +0 -4
  32. package/dist/esm/src/TitleBlock/subcomponents/MobileActions.mjs +0 -300
  33. package/dist/esm/src/TitleBlock/subcomponents/MobileActions.module.scss.mjs +0 -14
  34. package/dist/types/TitleBlock/subcomponents/MobileActions.d.ts +0 -14
  35. package/src/TitleBlock/subcomponents/MobileActions.module.scss +0 -208
  36. package/src/TitleBlock/subcomponents/MobileActions.spec.tsx +0 -210
  37. package/src/TitleBlock/subcomponents/MobileActions.tsx +0 -472
@@ -84,6 +84,10 @@
84
84
 
85
85
  .lightVariant .titleRowInner {
86
86
  border-bottom: 1px solid $color-gray-300;
87
+
88
+ @include title-block-xsmall {
89
+ padding-bottom: 12px;
90
+ }
87
91
  }
88
92
 
89
93
  .rowBelowSeparatorInner {
@@ -112,6 +116,10 @@
112
116
  @include title-block-medium-and-small {
113
117
  border-bottom: none;
114
118
  }
119
+
120
+ @include title-block-xsmall {
121
+ flex-wrap: wrap;
122
+ }
115
123
  }
116
124
 
117
125
  .title {
@@ -202,10 +210,10 @@
202
210
  }
203
211
 
204
212
  @include title-block-medium-and-small {
205
- font-size: $typography-heading-4-font-size;
206
- line-height: $typography-heading-4-line-height;
207
- letter-spacing: $typography-heading-4-letter-spacing;
208
- padding: 0;
213
+ font-size: $typography-heading-3-font-size;
214
+ line-height: $typography-heading-3-line-height;
215
+ letter-spacing: $typography-heading-3-letter-spacing;
216
+ padding: 8px 0;
209
217
  }
210
218
  }
211
219
 
@@ -243,7 +251,6 @@
243
251
 
244
252
  @include title-block-medium-and-small {
245
253
  display: flex;
246
- align-items: center;
247
254
  }
248
255
  }
249
256
 
@@ -518,9 +525,20 @@
518
525
  color: $color-blue-500;
519
526
  }
520
527
 
521
- @include title-block-medium-and-small {
528
+ .secondaryOverflowCombinedMenu {
522
529
  display: none;
523
530
  }
531
+
532
+ @include title-block-medium-and-small {
533
+ .secondaryButtonContainer,
534
+ .secondaryOverflowMenu {
535
+ display: none;
536
+ }
537
+
538
+ .secondaryOverflowCombinedMenu {
539
+ display: flex;
540
+ }
541
+ }
524
542
  }
525
543
 
526
544
  .breadcrumb {
@@ -570,10 +588,6 @@
570
588
  @include ca-position($start: 0);
571
589
  }
572
590
  }
573
-
574
- @include title-block-medium-and-small {
575
- display: none;
576
- }
577
591
  }
578
592
 
579
593
  @mixin visually-hidden {
@@ -696,6 +710,10 @@
696
710
  color: $color-blue-500;
697
711
  background-color: rgba($color-blue-500-rgb, 0.1);
698
712
  }
713
+
714
+ @include title-block-medium-and-small {
715
+ display: none;
716
+ }
699
717
  }
700
718
  /* stylelint-enable no-descending-specificity */
701
719
  }