@kaizen/components 0.0.0-canary-titleblock-20251217102057 → 0.0.0-canary-02-18-UUXP-55-20251218012602

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/dist/styles.css CHANGED
@@ -10015,15 +10015,24 @@
10015
10015
  justify-content: flex-end;
10016
10016
  flex-grow: 1;
10017
10017
  flex-shrink: 0;
10018
+ margin-inline-end: 0;
10019
+ margin-inline-start: calc(1.5rem / 2);
10018
10020
  }
10019
10021
  .MainActions-module_mainActionsContainer__pk-78 .MainActions-module_defaultActionButtonMinimized__XePRS {
10020
10022
  display: none;
10021
10023
  margin-inline-end: 0;
10022
10024
  }
10023
- @container (max-width: calc(768px - 1px)) {
10025
+ @container (max-width: 511px) {
10024
10026
  .MainActions-module_mainActionsContainer__pk-78 {
10027
+ padding-top: 12px;
10025
10028
  justify-content: flex-start;
10026
- padding-left: 2.75rem;
10029
+ padding-left: 1.25rem;
10030
+ }
10031
+ @media (max-width: 511px) {
10032
+ .MainActions-module_mainActionsContainer__pk-78 {
10033
+ padding-top: 0;
10034
+ padding-left: 3.375rem;
10035
+ }
10027
10036
  }
10028
10037
  @media (max-width: 360px) {
10029
10038
  .MainActions-module_mainActionsContainer__pk-78 .MainActions-module_defaultActionButton__VbER1 {
@@ -10092,9 +10101,11 @@
10092
10101
  }
10093
10102
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRow__Ifqiu {
10094
10103
  background-color: var(--color-white, #ffffff);
10104
+ margin-bottom: 1px;
10095
10105
  }
10096
10106
  .TitleBlock-module_adminVariant__s95nS .TitleBlock-module_titleRow__Ifqiu {
10097
10107
  background-color: var(--color-white, #ffffff);
10108
+ margin-bottom: 1px;
10098
10109
  }
10099
10110
  .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10100
10111
  max-width: 1392px;
@@ -10106,18 +10117,7 @@
10106
10117
  }
10107
10118
  @container (max-width: calc(1080px - 1px)) {
10108
10119
  .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10109
- padding-right: 20px;
10110
- margin: 0;
10111
- }
10112
- @media (max-width: 1079px) {
10113
- .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10114
- padding-left: 20px;
10115
- }
10116
- }
10117
- @media (max-width: 759px) {
10118
- .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10119
- padding-left: 0;
10120
- }
10120
+ margin: 0 12px;
10121
10121
  }
10122
10122
  }
10123
10123
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRowInner__SlArS {
@@ -10129,11 +10129,11 @@
10129
10129
  }
10130
10130
  }
10131
10131
  .TitleBlock-module_titleRowInnerContent__NhTHV {
10132
- padding-block: 20px;
10133
10132
  position: relative;
10134
10133
  display: flex;
10135
10134
  width: 100%;
10136
10135
  align-items: center;
10136
+ min-height: 5.25rem;
10137
10137
  justify-content: space-between;
10138
10138
  border-bottom: 0.083rem solid rgba(var(--color-white-rgb, 255, 255, 255), 0.1);
10139
10139
  }
@@ -10267,6 +10267,8 @@
10267
10267
  }
10268
10268
  .TitleBlock-module_hamburger__qe4R0 {
10269
10269
  display: none;
10270
+ margin-inline-end: var(--spacing-xs, 0.375rem);
10271
+ margin-inline-start: 0;
10270
10272
  }
10271
10273
  @media (max-width: 1079px) {
10272
10274
  .TitleBlock-module_hamburger__qe4R0 {
@@ -10371,13 +10373,9 @@
10371
10373
  .TitleBlock-module_rowBelowSeparatorInnerContent__g5H9w {
10372
10374
  display: flex;
10373
10375
  width: 100%;
10376
+ margin-top: -0.083rem;
10374
10377
  justify-content: space-between;
10375
10378
  }
10376
- @container (max-width: calc(768px - 1px)) {
10377
- .TitleBlock-module_rowBelowSeparatorInnerContent__g5H9w {
10378
- height: 3.75rem;
10379
- }
10380
- }
10381
10379
  .TitleBlock-module_titleAndAdjacent__Q7W-m {
10382
10380
  display: flex;
10383
10381
  min-width: 0;
@@ -10523,11 +10521,6 @@
10523
10521
  display: flex;
10524
10522
  }
10525
10523
  }
10526
- @container (max-width: calc(768px - 1px)) {
10527
- .TitleBlock-module_secondaryActionsContainer__-4q0l {
10528
- margin-top: -3px;
10529
- }
10530
- }
10531
10524
  .TitleBlock-module_breadcrumb__lVNKz {
10532
10525
  appearance: none;
10533
10526
  display: inline;
@@ -10564,11 +10557,6 @@
10564
10557
  border-style: var(--border-focus-ring-border-style, solid);
10565
10558
  inset: calc(-2 * var(--border-focus-ring-border-width, 2px) - var(--border-focus-ring-border-width, 2px));
10566
10559
  }
10567
- @media (max-width: 1079px) {
10568
- .TitleBlock-module_breadcrumb__lVNKz {
10569
- display: none;
10570
- }
10571
- }
10572
10560
  @media only screen {
10573
10561
  @container (max-width: 1644px) {
10574
10562
  .TitleBlock-module_breadcrumb__lVNKz {
@@ -10581,7 +10569,6 @@
10581
10569
  }
10582
10570
  }
10583
10571
  .TitleBlock-module_breadcrumbTextLink__ngx82 {
10584
- display: none;
10585
10572
  clip-path: rect(0 0 0 0);
10586
10573
  height: 1px;
10587
10574
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "0.0.0-canary-titleblock-20251217102057",
3
+ "version": "0.0.0-canary-02-18-UUXP-55-20251218012602",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -10,6 +10,7 @@
10
10
  @import './variables';
11
11
 
12
12
  @layer kz-components {
13
+ $title-block-margin-width-on-medium-and-small: 12px;
13
14
  $breadcrumb-circle-width: 48px;
14
15
  $breadcrumb-breakpoint-width: $layout-content-max-width + $layout-content-side-margin * 2 +
15
16
  $breadcrumb-circle-width * 2.25;
@@ -56,10 +57,12 @@
56
57
 
57
58
  .lightVariant .titleRow {
58
59
  background-color: $color-white;
60
+ margin-bottom: 1px; // needed to correctly position the active tab label :after element
59
61
  }
60
62
 
61
63
  .adminVariant .titleRow {
62
64
  background-color: $color-white;
65
+ margin-bottom: 1px; // needed to correctly position the active tab label :after element
63
66
  }
64
67
 
65
68
  %titleBlockInner {
@@ -71,16 +74,7 @@
71
74
  min-width: 0; // this is an important trick to prevent flexbox items from overflowing
72
75
 
73
76
  @include title-block-medium-and-small {
74
- padding-right: 20px;
75
- margin: 0;
76
-
77
- @media (max-width: 1079px) {
78
- padding-left: 20px;
79
- }
80
-
81
- @media (max-width: 759px) {
82
- padding-left: 0;
83
- }
77
+ margin: 0 $title-block-margin-width-on-medium-and-small;
84
78
  }
85
79
  }
86
80
 
@@ -101,11 +95,11 @@
101
95
  }
102
96
 
103
97
  .titleRowInnerContent {
104
- padding-block: 20px;
105
98
  position: relative;
106
99
  display: flex;
107
100
  width: 100%;
108
101
  align-items: center;
102
+ min-height: $ca-grid * 3.5;
109
103
  justify-content: space-between;
110
104
  border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
111
105
 
@@ -253,6 +247,8 @@
253
247
  .hamburger {
254
248
  display: none;
255
249
 
250
+ @include ca-margin($end: $spacing-xs);
251
+
256
252
  @media (max-width: 1079px) {
257
253
  display: flex;
258
254
  align-items: center;
@@ -363,11 +359,8 @@
363
359
  .rowBelowSeparatorInnerContent {
364
360
  display: flex;
365
361
  width: 100%;
362
+ margin-top: -$title-block-separator-height;
366
363
  justify-content: space-between;
367
-
368
- @include title-block-small {
369
- height: $tab-container-height-small;
370
- }
371
364
  }
372
365
 
373
366
  .titleAndAdjacent {
@@ -547,10 +540,6 @@
547
540
  display: flex;
548
541
  }
549
542
  }
550
-
551
- @include title-block-small {
552
- margin-top: -3px;
553
- }
554
543
  }
555
544
 
556
545
  .breadcrumb {
@@ -591,10 +580,6 @@
591
580
  }
592
581
  }
593
582
 
594
- @media (max-width: 1079px) {
595
- display: none;
596
- }
597
-
598
583
  @media only screen {
599
584
  @container (max-width: #{$breadcrumb-breakpoint-width}) {
600
585
  position: relative;
@@ -625,7 +610,6 @@
625
610
  }
626
611
 
627
612
  .breadcrumbTextLink {
628
- display: none;
629
613
  // We are using visually hidden here instead of display:none so that a screen reader
630
614
  // navigating via 'read mode' (which doesn't trigger hover/focus) will still hear this link name
631
615
  @include visually-hidden;
@@ -14,9 +14,17 @@
14
14
  margin-inline-end: 0;
15
15
  }
16
16
 
17
- @include title-block-small {
17
+ @include ca-margin($start: calc(#{$ca-grid} / 2));
18
+
19
+ @include title-block-xsmall {
20
+ padding-top: 12px;
18
21
  justify-content: flex-start;
19
- padding-left: 2.75rem;
22
+ padding-left: 1.25rem;
23
+
24
+ @media (max-width: 511px) {
25
+ padding-top: 0;
26
+ padding-left: 3.375rem;
27
+ }
20
28
 
21
29
  @media (max-width: 360px) {
22
30
  .defaultActionButton {