@kaizen/components 2.3.5 → 2.3.7

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.
@@ -3,7 +3,7 @@
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var Container_module = require('./Container.module.scss.cjs');
6
+ var Container_module = require('./Container.module.css.cjs');
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var styles = {
4
- "container": "Container-module_container__jSUGk"
4
+ "container": "Container-module_container__Aj6o8"
5
5
  };
6
6
  module.exports = styles;
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import classnames from 'classnames';
4
- import styles from './Container.module.scss.mjs';
4
+ import styles from './Container.module.css.mjs';
5
5
 
6
6
  /**
7
7
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout Guidance} |
@@ -0,0 +1,4 @@
1
+ var styles = {
2
+ "container": "Container-module_container__Aj6o8"
3
+ };
4
+ export { styles as default };
package/dist/styles.css CHANGED
@@ -2689,15 +2689,21 @@
2689
2689
  }
2690
2690
  }
2691
2691
  @layer kz-components {
2692
- .Container-module_container__jSUGk {
2692
+ .Container-module_container__Aj6o8 {
2693
2693
  display: flex;
2694
2694
  width: 100%;
2695
2695
  justify-content: center;
2696
- }
2697
- .Container-module_container__jSUGk *, .Container-module_container__jSUGk *::after, .Container-module_container__jSUGk *::before {
2698
- box-sizing: border-box;
2696
+
2697
+ * {
2698
+ &,
2699
+ &::after,
2700
+ &::before {
2701
+ box-sizing: border-box;
2702
+ }
2703
+ }
2699
2704
  }
2700
2705
  }
2706
+
2701
2707
  /** THIS IS AN AUTOGENERATED FILE **/
2702
2708
  @layer kz-components {
2703
2709
  .Content-module_content__ZeTRs {
@@ -7190,6 +7196,7 @@
7190
7196
  font-weight: var(--typography-paragraph-small-font-weight, 400);
7191
7197
  line-height: var(--typography-paragraph-small-line-height, 1.125rem);
7192
7198
  white-space: nowrap;
7199
+ min-height: var(--spacing-20, 1.25rem);
7193
7200
  }
7194
7201
  .Tag-module_iconContainer__CR-xK {
7195
7202
  display: inline-flex;
@@ -10060,11 +10067,9 @@
10060
10067
  }
10061
10068
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRow__Ifqiu {
10062
10069
  background-color: var(--color-white, #ffffff);
10063
- margin-bottom: 0.063rem;
10064
10070
  }
10065
10071
  .TitleBlock-module_adminVariant__s95nS .TitleBlock-module_titleRow__Ifqiu {
10066
10072
  background-color: var(--color-white, #ffffff);
10067
- margin-bottom: 0.063rem;
10068
10073
  }
10069
10074
  .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10070
10075
  box-sizing: border-box;
@@ -10082,7 +10087,7 @@
10082
10087
  }
10083
10088
  }
10084
10089
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRowInner__SlArS {
10085
- border-bottom: 1px solid var(--color-gray-300, #eaeaec);
10090
+ box-shadow: inset 0 -0.0625rem 0 0 var(--color-gray-300, #eaeaec);
10086
10091
  }
10087
10092
  .TitleBlock-module_rowBelowSeparatorInner__3gNec {
10088
10093
  padding: 0 4px 0 12px;
@@ -10095,24 +10100,28 @@
10095
10100
  }
10096
10101
  .TitleBlock-module_titleRowInnerContent__NhTHV {
10097
10102
  box-sizing: border-box;
10103
+ min-height: 88px;
10098
10104
  position: relative;
10099
10105
  display: flex;
10100
10106
  width: 100%;
10101
10107
  align-items: center;
10102
10108
  gap: 12px;
10103
- padding-block: 20px 19px;
10109
+ padding-block: 20px;
10104
10110
  justify-content: space-between;
10105
- border-bottom: 0.063rem solid rgba(var(--color-white-rgb, 255, 255, 255), 0.1);
10111
+ box-shadow: inset 0 -0.0625rem 0 0 rgba(var(--color-white-rgb, 255, 255, 255), 0.1);
10106
10112
  }
10107
10113
  .TitleBlock-module_educationVariant__YvpWa .TitleBlock-module_titleRowInnerContent__NhTHV {
10108
- border-bottom-color: rgba(var(--color-purple-700-rgb, 74, 35, 77), 0.2);
10114
+ box-shadow: inset 0 -0.0625rem 0 0 rgba(var(--color-purple-700-rgb, 74, 35, 77), 0.2);
10109
10115
  }
10110
10116
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRowInnerContent__NhTHV, .TitleBlock-module_adminVariant__s95nS .TitleBlock-module_titleRowInnerContent__NhTHV, .TitleBlock-module_collapseNavigationArea__x9hzQ .TitleBlock-module_titleRowInnerContent__NhTHV {
10111
- border-bottom-color: transparent;
10117
+ box-shadow: none;
10112
10118
  }
10113
10119
  @container (max-width: calc(1080px - 1px)) {
10114
10120
  .TitleBlock-module_titleRowInnerContent__NhTHV {
10115
- border-bottom: none;
10121
+ box-shadow: none;
10122
+ }
10123
+ .TitleBlock-module_educationVariant__YvpWa .TitleBlock-module_titleRowInnerContent__NhTHV {
10124
+ box-shadow: none;
10116
10125
  }
10117
10126
  }
10118
10127
  @container (max-width: 576px) {
@@ -10392,7 +10401,6 @@
10392
10401
  .TitleBlock-module_rowBelowSeparatorInnerContent__g5H9w {
10393
10402
  display: flex;
10394
10403
  width: 100%;
10395
- margin-top: -0.063rem;
10396
10404
  justify-content: space-between;
10397
10405
  }
10398
10406
  .TitleBlock-module_titleAndAdjacent__Q7W-m {
@@ -10455,7 +10463,6 @@
10455
10463
  }
10456
10464
  @container (max-width: calc(768px - 1px)) {
10457
10465
  .TitleBlock-module_hasNavigationTabs__v09jL .TitleBlock-module_navigationTabScrollerContainer__o234q {
10458
- margin-top: 0.063rem;
10459
10466
  height: 3.75rem;
10460
10467
  display: block;
10461
10468
  overflow-x: scroll;
@@ -10484,7 +10491,7 @@
10484
10491
  .TitleBlock-module_navigationTabEdgeShadowRight__xkIWc, .TitleBlock-module_navigationTabEdgeShadowLeft__9pGhR {
10485
10492
  display: block;
10486
10493
  position: absolute;
10487
- top: 3.687rem;
10494
+ top: 3.75rem;
10488
10495
  width: 3.75rem;
10489
10496
  height: 3.75rem;
10490
10497
  background: linear-gradient(0deg, var(--color-purple-600, #5f3361), rgba(var(--color-purple-600-rgb, 95, 51, 97), 0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
  import classnames from 'classnames'
3
3
  import { type ContentProps } from '~components/Content'
4
- import styles from './Container.module.scss'
4
+ import styles from './Container.module.css'
5
5
 
6
6
  /**
7
7
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout Guidance} |
@@ -16,7 +16,7 @@
16
16
  $breadcrumb-circle-width: 48px;
17
17
  $breadcrumb-breakpoint-width: $layout-content-max-width + $layout-content-side-margin * 2 +
18
18
  $breadcrumb-circle-width * 2.25;
19
- $title-block-separator-height: 0.063rem;
19
+ $title-block-separator-height: 0.0625rem;
20
20
  $tab-container-height-default: $ca-grid * 3;
21
21
  $tab-container-height-small: $ca-grid * 2.5;
22
22
  $tab-container-height-default-collapsed: 0;
@@ -65,12 +65,10 @@
65
65
 
66
66
  .lightVariant .titleRow {
67
67
  background-color: $color-white;
68
- margin-bottom: $title-block-separator-height;
69
68
  }
70
69
 
71
70
  .adminVariant .titleRow {
72
71
  background-color: $color-white;
73
- margin-bottom: $title-block-separator-height;
74
72
  }
75
73
 
76
74
  %titleBlockInner {
@@ -93,7 +91,7 @@
93
91
  }
94
92
 
95
93
  .lightVariant .titleRowInner {
96
- border-bottom: 1px solid $color-gray-300;
94
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0 $color-gray-300;
97
95
  }
98
96
 
99
97
  %rowBelowSeparatorInnerMarginOverride {
@@ -112,27 +110,33 @@
112
110
 
113
111
  .titleRowInnerContent {
114
112
  box-sizing: border-box;
113
+ min-height: 88px;
115
114
  position: relative;
116
115
  display: flex;
117
116
  width: 100%;
118
117
  align-items: center;
119
118
  gap: $title-block-gap-default;
120
- padding-block: $title-block-spacing-default 19px;
119
+ padding-block: $title-block-spacing-default;
121
120
  justify-content: space-between;
122
- border-bottom: $title-block-separator-height solid rgba($color-white-rgb, 0.1);
121
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0 rgba($color-white-rgb, 0.1);
123
122
 
124
123
  .educationVariant & {
125
- border-bottom-color: rgba($color-purple-700-rgb, 0.2);
124
+ box-shadow: inset 0 calc(-1 * $title-block-separator-height) 0 0
125
+ rgba($color-purple-700-rgb, 0.2);
126
126
  }
127
127
 
128
128
  .lightVariant &,
129
129
  .adminVariant &,
130
130
  .collapseNavigationArea & {
131
- border-bottom-color: transparent;
131
+ box-shadow: none;
132
132
  }
133
133
 
134
134
  @include title-block-medium-and-small {
135
- border-bottom: none;
135
+ box-shadow: none;
136
+
137
+ .educationVariant & {
138
+ box-shadow: none;
139
+ }
136
140
  }
137
141
 
138
142
  @include title-block-under-576 {
@@ -425,7 +429,6 @@
425
429
  .rowBelowSeparatorInnerContent {
426
430
  display: flex;
427
431
  width: 100%;
428
- margin-top: -$title-block-separator-height;
429
432
  justify-content: space-between;
430
433
  }
431
434
 
@@ -496,7 +499,6 @@
496
499
  .navigationTabScrollerContainer {
497
500
  .hasNavigationTabs & {
498
501
  @include title-block-small {
499
- margin-top: $title-block-separator-height;
500
502
  height: $tab-container-height-small;
501
503
  display: block;
502
504
  overflow-x: scroll;
@@ -529,7 +531,7 @@
529
531
  @include title-block-small {
530
532
  display: block;
531
533
  position: absolute;
532
- top: $tab-container-height-small - $title-block-separator-height;
534
+ top: $tab-container-height-small;
533
535
  width: $tab-container-height-small;
534
536
  height: $tab-container-height-small;
535
537
  background: linear-gradient(0deg, $color-purple-600, rgba($color-purple-600-rgb, 0));
@@ -14,6 +14,7 @@
14
14
  font-weight: $typography-paragraph-small-font-weight;
15
15
  line-height: $typography-paragraph-small-line-height;
16
16
  white-space: nowrap;
17
+ min-height: $spacing-20;
17
18
  }
18
19
 
19
20
  .iconContainer {
@@ -1,4 +0,0 @@
1
- var styles = {
2
- "container": "Container-module_container__jSUGk"
3
- };
4
- export { styles as default };