@kaizen/components 2.3.6 → 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 {
@@ -10061,11 +10067,9 @@
10061
10067
  }
10062
10068
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRow__Ifqiu {
10063
10069
  background-color: var(--color-white, #ffffff);
10064
- margin-bottom: 0.063rem;
10065
10070
  }
10066
10071
  .TitleBlock-module_adminVariant__s95nS .TitleBlock-module_titleRow__Ifqiu {
10067
10072
  background-color: var(--color-white, #ffffff);
10068
- margin-bottom: 0.063rem;
10069
10073
  }
10070
10074
  .TitleBlock-module_rowBelowSeparatorInner__3gNec, .TitleBlock-module_titleRowInner__SlArS {
10071
10075
  box-sizing: border-box;
@@ -10083,7 +10087,7 @@
10083
10087
  }
10084
10088
  }
10085
10089
  .TitleBlock-module_lightVariant__1EeLV .TitleBlock-module_titleRowInner__SlArS {
10086
- border-bottom: 1px solid var(--color-gray-300, #eaeaec);
10090
+ box-shadow: inset 0 -0.0625rem 0 0 var(--color-gray-300, #eaeaec);
10087
10091
  }
10088
10092
  .TitleBlock-module_rowBelowSeparatorInner__3gNec {
10089
10093
  padding: 0 4px 0 12px;
@@ -10096,24 +10100,28 @@
10096
10100
  }
10097
10101
  .TitleBlock-module_titleRowInnerContent__NhTHV {
10098
10102
  box-sizing: border-box;
10103
+ min-height: 88px;
10099
10104
  position: relative;
10100
10105
  display: flex;
10101
10106
  width: 100%;
10102
10107
  align-items: center;
10103
10108
  gap: 12px;
10104
- padding-block: 20px 19px;
10109
+ padding-block: 20px;
10105
10110
  justify-content: space-between;
10106
- 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);
10107
10112
  }
10108
10113
  .TitleBlock-module_educationVariant__YvpWa .TitleBlock-module_titleRowInnerContent__NhTHV {
10109
- 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);
10110
10115
  }
10111
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 {
10112
- border-bottom-color: transparent;
10117
+ box-shadow: none;
10113
10118
  }
10114
10119
  @container (max-width: calc(1080px - 1px)) {
10115
10120
  .TitleBlock-module_titleRowInnerContent__NhTHV {
10116
- border-bottom: none;
10121
+ box-shadow: none;
10122
+ }
10123
+ .TitleBlock-module_educationVariant__YvpWa .TitleBlock-module_titleRowInnerContent__NhTHV {
10124
+ box-shadow: none;
10117
10125
  }
10118
10126
  }
10119
10127
  @container (max-width: 576px) {
@@ -10393,7 +10401,6 @@
10393
10401
  .TitleBlock-module_rowBelowSeparatorInnerContent__g5H9w {
10394
10402
  display: flex;
10395
10403
  width: 100%;
10396
- margin-top: -0.063rem;
10397
10404
  justify-content: space-between;
10398
10405
  }
10399
10406
  .TitleBlock-module_titleAndAdjacent__Q7W-m {
@@ -10456,7 +10463,6 @@
10456
10463
  }
10457
10464
  @container (max-width: calc(768px - 1px)) {
10458
10465
  .TitleBlock-module_hasNavigationTabs__v09jL .TitleBlock-module_navigationTabScrollerContainer__o234q {
10459
- margin-top: 0.063rem;
10460
10466
  height: 3.75rem;
10461
10467
  display: block;
10462
10468
  overflow-x: scroll;
@@ -10485,7 +10491,7 @@
10485
10491
  .TitleBlock-module_navigationTabEdgeShadowRight__xkIWc, .TitleBlock-module_navigationTabEdgeShadowLeft__9pGhR {
10486
10492
  display: block;
10487
10493
  position: absolute;
10488
- top: 3.687rem;
10494
+ top: 3.75rem;
10489
10495
  width: 3.75rem;
10490
10496
  height: 3.75rem;
10491
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.6",
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));
@@ -1,4 +0,0 @@
1
- var styles = {
2
- "container": "Container-module_container__jSUGk"
3
- };
4
- export { styles as default };