@kaizen/components 2.2.3 → 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.
- package/codemods/migrateGuidanceBlockActionsToActionsSlot/migrateGuidanceBlockActionsToActionsSlot.spec.ts +209 -26
- package/codemods/migrateGuidanceBlockActionsToActionsSlot/migrateGuidanceBlockActionsToActionsSlot.ts +24 -1
- package/codemods/migrateGuidanceBlockActionsToActionsSlot/transformActionsToActionsSlot.spec.ts +107 -1
- package/codemods/migrateGuidanceBlockActionsToActionsSlot/transformActionsToActionsSlot.ts +20 -0
- package/codemods/runV1Codemods/__snapshots__/runV1Codemods.spec.ts.snap +2 -3
- package/codemods/runV1Codemods/runV1Codemods.spec.ts +2 -3
- package/codemods/utils/transformV1ButtonPropsToButtonOrLinkButton.ts +44 -14
- package/dist/cjs/src/MenuV1/index.cjs +4 -3
- package/dist/cjs/src/TitleBlock/TitleBlock.cjs +26 -36
- package/dist/cjs/src/TitleBlock/TitleBlock.module.scss.cjs +3 -0
- package/dist/cjs/src/TitleBlock/subcomponents/MainActions.cjs +90 -45
- package/dist/cjs/src/TitleBlock/subcomponents/MainActions.module.scss.cjs +3 -1
- package/dist/cjs/src/TitleBlock/subcomponents/SecondaryActions.cjs +51 -14
- package/dist/esm/src/MenuV1/index.mjs +5 -3
- package/dist/esm/src/TitleBlock/TitleBlock.mjs +27 -37
- package/dist/esm/src/TitleBlock/TitleBlock.module.scss.mjs +3 -0
- package/dist/esm/src/TitleBlock/subcomponents/MainActions.mjs +92 -47
- package/dist/esm/src/TitleBlock/subcomponents/MainActions.module.scss.mjs +3 -1
- package/dist/esm/src/TitleBlock/subcomponents/SecondaryActions.mjs +51 -14
- package/dist/styles.css +51 -201
- package/dist/types/TitleBlock/TitleBlock.d.ts +1 -1
- package/dist/types/TitleBlock/subcomponents/MainActions.d.ts +4 -3
- package/package.json +1 -1
- package/src/TitleBlock/TitleBlock.module.scss +28 -10
- package/src/TitleBlock/TitleBlock.spec.tsx +33 -461
- package/src/TitleBlock/TitleBlock.tsx +4 -24
- package/src/TitleBlock/_docs/TitleBlock.stories.tsx +25 -5
- package/src/TitleBlock/_mixins.scss +6 -0
- package/src/TitleBlock/subcomponents/MainActions.module.scss +27 -2
- package/src/TitleBlock/subcomponents/MainActions.tsx +127 -70
- package/src/TitleBlock/subcomponents/SecondaryActions.tsx +105 -45
- package/src/TitleBlock/subcomponents/Toolbar.tsx +1 -0
- package/dist/cjs/src/MenuV1/subcomponents/MenuHeading/MenuHeading.cjs +0 -27
- package/dist/cjs/src/MenuV1/subcomponents/MenuHeading/MenuHeading.module.scss.cjs +0 -6
- package/dist/cjs/src/TitleBlock/subcomponents/MobileActions.cjs +0 -306
- package/dist/cjs/src/TitleBlock/subcomponents/MobileActions.module.scss.cjs +0 -16
- package/dist/esm/src/MenuV1/subcomponents/MenuHeading/MenuHeading.mjs +0 -21
- package/dist/esm/src/MenuV1/subcomponents/MenuHeading/MenuHeading.module.scss.mjs +0 -4
- package/dist/esm/src/TitleBlock/subcomponents/MobileActions.mjs +0 -300
- package/dist/esm/src/TitleBlock/subcomponents/MobileActions.module.scss.mjs +0 -14
- package/dist/types/TitleBlock/subcomponents/MobileActions.d.ts +0 -14
- package/src/TitleBlock/subcomponents/MobileActions.module.scss +0 -208
- package/src/TitleBlock/subcomponents/MobileActions.spec.tsx +0 -210
- 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-
|
|
206
|
-
line-height: $typography-heading-
|
|
207
|
-
letter-spacing: $typography-heading-
|
|
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
|
-
|
|
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
|
}
|