@kaizen/components 2.3.7 → 2.4.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/dist/cjs/index.cjs +2 -0
- package/dist/cjs/src/Content/Content.cjs +1 -1
- package/dist/cjs/src/Content/{Content.module.scss.cjs → Content.module.css.cjs} +1 -1
- package/dist/cjs/src/Divider/Divider.cjs +1 -1
- package/dist/cjs/src/Divider/Divider.module.css.cjs +10 -0
- package/dist/cjs/src/ErrorPage/ErrorPage.cjs +1 -1
- package/dist/cjs/src/ErrorPage/ErrorPage.module.css.cjs +6 -0
- package/dist/cjs/src/Illustration/Spot/Spot.cjs +9 -0
- package/dist/cjs/src/Tag/Tag.cjs +1 -1
- package/dist/cjs/src/Tag/Tag.module.css.cjs +30 -0
- package/dist/cjs/src/TimeField/TimeField.cjs +6 -1
- package/dist/cjs/src/VisuallyHidden/VisuallyHidden.cjs +1 -1
- package/dist/cjs/src/VisuallyHidden/{VisuallyHidden.module.scss.cjs → VisuallyHidden.module.css.cjs} +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/src/Content/Content.mjs +1 -1
- package/dist/esm/src/Content/{Content.module.scss.mjs → Content.module.css.mjs} +1 -1
- package/dist/esm/src/Divider/Divider.mjs +1 -1
- package/dist/esm/src/Divider/Divider.module.css.mjs +8 -0
- package/dist/esm/src/ErrorPage/ErrorPage.mjs +1 -1
- package/dist/esm/src/ErrorPage/ErrorPage.module.css.mjs +4 -0
- package/dist/esm/src/Illustration/Spot/Spot.mjs +8 -1
- package/dist/esm/src/Tag/Tag.mjs +1 -1
- package/dist/esm/src/Tag/Tag.module.css.mjs +28 -0
- package/dist/esm/src/TimeField/TimeField.mjs +7 -2
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.mjs +1 -1
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.css.mjs +4 -0
- package/dist/styles.css +199 -136
- package/dist/types/Illustration/Spot/Spot.d.ts +5 -0
- package/package.json +1 -1
- package/src/Content/Content.module.css +15 -0
- package/src/Content/Content.tsx +1 -1
- package/src/Content/_docs/Content.stories.tsx +1 -1
- package/src/Content/_variables.css +5 -0
- package/src/Divider/Divider.module.css +41 -0
- package/src/Divider/Divider.tsx +1 -1
- package/src/ErrorPage/ErrorPage.module.css +5 -0
- package/src/ErrorPage/ErrorPage.tsx +1 -1
- package/src/Illustration/Spot/Spot.tsx +6 -0
- package/src/Illustration/Spot/_docs/Spot.stickersheet.stories.tsx +22 -0
- package/src/Tag/Tag.module.css +217 -0
- package/src/Tag/Tag.tsx +1 -1
- package/src/TimeField/TimeField.tsx +8 -2
- package/src/VisuallyHidden/VisuallyHidden.tsx +1 -1
- package/dist/cjs/src/Divider/Divider.module.scss.cjs +0 -10
- package/dist/cjs/src/ErrorPage/ErrorPage.module.scss.cjs +0 -6
- package/dist/cjs/src/Tag/Tag.module.scss.cjs +0 -30
- package/dist/esm/src/Divider/Divider.module.scss.mjs +0 -8
- package/dist/esm/src/ErrorPage/ErrorPage.module.scss.mjs +0 -4
- package/dist/esm/src/Tag/Tag.module.scss.mjs +0 -28
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.scss.mjs +0 -4
- package/src/Content/Content.module.scss +0 -17
- package/src/Content/_variables.scss +0 -3
- package/src/Divider/Divider.module.scss +0 -39
- package/src/ErrorPage/ErrorPage.module.scss +0 -7
- package/src/Tag/Tag.module.scss +0 -215
- /package/src/VisuallyHidden/{VisuallyHidden.module.scss → VisuallyHidden.module.css} +0 -0
package/dist/styles.css
CHANGED
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
@layer kz-components {
|
|
562
|
-
.VisuallyHidden-
|
|
562
|
+
.VisuallyHidden-module_srOnly__-f5sJ {
|
|
563
563
|
clip-path: rect(0 0 0 0);
|
|
564
564
|
height: 1px;
|
|
565
565
|
overflow: hidden;
|
|
@@ -568,6 +568,7 @@
|
|
|
568
568
|
width: 1px;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
+
|
|
571
572
|
@layer kz-components {
|
|
572
573
|
.LoadingSpinner-module_loadingSpinner__Zc2mJ {
|
|
573
574
|
--loading-spinner-size: 48px;
|
|
@@ -2704,20 +2705,22 @@
|
|
|
2704
2705
|
}
|
|
2705
2706
|
}
|
|
2706
2707
|
|
|
2707
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
2708
2708
|
@layer kz-components {
|
|
2709
|
-
.Content-
|
|
2710
|
-
max-width:
|
|
2711
|
-
margin: 0
|
|
2709
|
+
.Content-module_content__DUKqQ {
|
|
2710
|
+
max-width: var(--layout-content-max-width);
|
|
2711
|
+
margin: 0 var(--layout-content-side-margin);
|
|
2712
2712
|
width: 100%;
|
|
2713
|
+
|
|
2714
|
+
/* Setting a min-width: 0 will maintain the gutter margins when the inner contents has something wider than the page (e.g. scrollable table) */
|
|
2713
2715
|
min-width: 0;
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
margin: 0
|
|
2716
|
+
|
|
2717
|
+
/* Currently unable to do media query equations so using a fixed value instead */
|
|
2718
|
+
@media (width <= 1079px) {
|
|
2719
|
+
margin: 0 var(--content-margin-width-on-medium-and-small);
|
|
2718
2720
|
}
|
|
2719
2721
|
}
|
|
2720
2722
|
}
|
|
2723
|
+
|
|
2721
2724
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
2722
2725
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
2723
2726
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
@@ -3620,33 +3623,48 @@
|
|
|
3620
3623
|
}
|
|
3621
3624
|
/* stylelint-enable no-descending-specificity */
|
|
3622
3625
|
}
|
|
3623
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3624
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3625
3626
|
@layer kz-components {
|
|
3626
|
-
|
|
3627
|
+
/*
|
|
3628
|
+
Use different tokens with different opacities across the Zen and Heart themes, by assuming that when Zen is applied there won't be any CSS variables declared.
|
|
3629
|
+
*/
|
|
3630
|
+
|
|
3631
|
+
:root {
|
|
3632
|
+
--dt-content-border-color: rgb(var(--color-gray-600-rgb), 0.1);
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
.Divider-module_wrapper__AzvdU {
|
|
3627
3636
|
width: 100%;
|
|
3628
3637
|
border: 0;
|
|
3629
3638
|
margin: 0;
|
|
3630
|
-
border-radius: var(--border-solid-border-radius
|
|
3639
|
+
border-radius: var(--border-solid-border-radius);
|
|
3640
|
+
|
|
3641
|
+
/*
|
|
3642
|
+
This is here to protect against a global style in a consumer.
|
|
3643
|
+
https://github.com/cultureamp/murmur/blob/master/app/assets/stylesheets/legacy/modules/_body.scss
|
|
3644
|
+
*/
|
|
3631
3645
|
visibility: visible;
|
|
3632
3646
|
}
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3647
|
+
|
|
3648
|
+
.Divider-module_content__eq5aD,
|
|
3649
|
+
.Divider-module_menuSeparator__FAvna {
|
|
3650
|
+
border-top: 1px solid var(--dt-content-border-color);
|
|
3636
3651
|
}
|
|
3637
|
-
|
|
3652
|
+
|
|
3653
|
+
.Divider-module_canvas__G87W- {
|
|
3638
3654
|
border-top: 1px solid;
|
|
3639
3655
|
border-bottom: 1px solid;
|
|
3640
|
-
border-color:
|
|
3656
|
+
border-color: var(--dt-content-border-color);
|
|
3641
3657
|
}
|
|
3642
|
-
|
|
3643
|
-
|
|
3658
|
+
|
|
3659
|
+
.Divider-module_reversed__GuBmn {
|
|
3660
|
+
border-color: rgb(var(--color-white-rgb), 0.1);
|
|
3644
3661
|
}
|
|
3645
|
-
|
|
3646
|
-
|
|
3662
|
+
|
|
3663
|
+
.Divider-module_menuSeparator__FAvna {
|
|
3647
3664
|
margin: 5px 0;
|
|
3648
3665
|
}
|
|
3649
3666
|
}
|
|
3667
|
+
|
|
3650
3668
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3651
3669
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3652
3670
|
@layer kz-components {
|
|
@@ -3847,12 +3865,12 @@
|
|
|
3847
3865
|
}
|
|
3848
3866
|
}
|
|
3849
3867
|
|
|
3850
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3851
3868
|
@layer kz-components {
|
|
3852
|
-
.ErrorPage-
|
|
3853
|
-
padding: var(--spacing-24
|
|
3869
|
+
.ErrorPage-module_paragraphPadding__PJzGg {
|
|
3870
|
+
padding: var(--spacing-24) 0;
|
|
3854
3871
|
}
|
|
3855
3872
|
}
|
|
3873
|
+
|
|
3856
3874
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3857
3875
|
@layer kz-components {
|
|
3858
3876
|
.FieldGroup-module_group__74Z9M {
|
|
@@ -8483,179 +8501,224 @@
|
|
|
8483
8501
|
}
|
|
8484
8502
|
}
|
|
8485
8503
|
|
|
8486
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8487
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8488
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8489
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8490
8504
|
@layer kz-components {
|
|
8491
|
-
.Tag-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8505
|
+
.Tag-module_root__sGbnM {
|
|
8506
|
+
--medium: calc(var(--spacing-md) * 1.25);
|
|
8507
|
+
--small: var(--spacing-md);
|
|
8508
|
+
|
|
8509
|
+
margin-inline-end: calc(var(--spacing-md) * 0.5);
|
|
8510
|
+
font-size: var(--typography-paragraph-small-font-size);
|
|
8511
|
+
font-weight: var(--typography-paragraph-small-font-weight);
|
|
8512
|
+
letter-spacing: var(--typography-paragraph-small-letter-spacing);
|
|
8513
|
+
color: var(--color-purple-800);
|
|
8497
8514
|
display: inline-block;
|
|
8498
|
-
border: var(--border-borderless-border-width
|
|
8499
|
-
|
|
8500
|
-
|
|
8515
|
+
border: var(--border-borderless-border-width) var(--border-borderless-border-style)
|
|
8516
|
+
var(--border-borderless-border-color);
|
|
8517
|
+
border-radius: calc(var(--spacing-md) * 0.75);
|
|
8518
|
+
padding: 0 calc(var(--spacing-md) * 0.4);
|
|
8501
8519
|
box-sizing: border-box;
|
|
8520
|
+
|
|
8521
|
+
&.Tag-module_profile__lpDJR {
|
|
8522
|
+
padding-left: calc(var(--spacing-md) * 0.2);
|
|
8523
|
+
}
|
|
8502
8524
|
}
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
}
|
|
8506
|
-
.Tag-module_layoutContainer__pBLSz {
|
|
8525
|
+
|
|
8526
|
+
.Tag-module_layoutContainer__cPxSs {
|
|
8507
8527
|
height: 100%;
|
|
8508
8528
|
display: flex;
|
|
8509
8529
|
align-items: center;
|
|
8510
8530
|
}
|
|
8511
|
-
|
|
8531
|
+
|
|
8532
|
+
.Tag-module_validationIcon__i87BD {
|
|
8512
8533
|
align-items: center;
|
|
8513
8534
|
display: flex;
|
|
8514
|
-
color: var(--color-white
|
|
8515
|
-
margin-inline: calc(var(--spacing-md
|
|
8535
|
+
color: var(--color-white);
|
|
8536
|
+
margin-inline: calc(var(--spacing-md) * -0.15) var(--spacing-xs);
|
|
8516
8537
|
}
|
|
8517
|
-
|
|
8518
|
-
|
|
8538
|
+
|
|
8539
|
+
.Tag-module_profile__lpDJR {
|
|
8540
|
+
margin-inline: calc(var(--spacing-md) * -0.15) var(--spacing-xs);
|
|
8519
8541
|
display: inline-flex;
|
|
8520
8542
|
align-items: center;
|
|
8521
8543
|
}
|
|
8522
|
-
|
|
8544
|
+
|
|
8545
|
+
.Tag-module_textContent__61iwm {
|
|
8523
8546
|
margin-top: -1px;
|
|
8524
|
-
font-family: var(--typography-paragraph-small-font-family
|
|
8525
|
-
font-weight: var(--typography-paragraph-small-font-weight
|
|
8526
|
-
font-size: var(--typography-paragraph-small-font-size
|
|
8527
|
-
line-height: var(--typography-paragraph-small-line-height
|
|
8528
|
-
letter-spacing: var(--typography-paragraph-small-letter-spacing
|
|
8547
|
+
font-family: var(--typography-paragraph-small-font-family);
|
|
8548
|
+
font-weight: var(--typography-paragraph-small-font-weight);
|
|
8549
|
+
font-size: var(--typography-paragraph-small-font-size);
|
|
8550
|
+
line-height: var(--typography-paragraph-small-line-height);
|
|
8551
|
+
letter-spacing: var(--typography-paragraph-small-letter-spacing);
|
|
8529
8552
|
white-space: nowrap;
|
|
8530
8553
|
}
|
|
8531
|
-
|
|
8554
|
+
|
|
8555
|
+
.Tag-module_iconWrapper__gXgCb {
|
|
8532
8556
|
--icon-size: 16;
|
|
8557
|
+
|
|
8533
8558
|
position: relative;
|
|
8534
8559
|
height: 16px;
|
|
8535
8560
|
width: 16px;
|
|
8536
8561
|
}
|
|
8537
|
-
|
|
8562
|
+
|
|
8563
|
+
.Tag-module_dismissButton__MgLNJ {
|
|
8564
|
+
/* Replace @include button-reset to reset button's style */
|
|
8538
8565
|
appearance: none;
|
|
8539
|
-
display: inline;
|
|
8540
8566
|
background: transparent;
|
|
8541
|
-
color: inherit;
|
|
8542
8567
|
font: inherit;
|
|
8543
8568
|
margin: 0;
|
|
8544
|
-
padding: 0;
|
|
8545
8569
|
border: none;
|
|
8570
|
+
|
|
8571
|
+
/* Original style */
|
|
8546
8572
|
position: relative;
|
|
8547
8573
|
display: flex;
|
|
8548
8574
|
height: 100%;
|
|
8549
8575
|
align-items: center;
|
|
8550
|
-
padding: 0 var(--spacing-xs
|
|
8576
|
+
padding: 0 var(--spacing-xs);
|
|
8551
8577
|
margin-inline: -0.225rem -0.6625rem;
|
|
8552
|
-
color:
|
|
8578
|
+
color: rgb(var(--color-purple-800-rgb), 0.7);
|
|
8553
8579
|
cursor: pointer;
|
|
8580
|
+
|
|
8581
|
+
&:hover {
|
|
8582
|
+
color: var(--color-purple-800);
|
|
8583
|
+
}
|
|
8584
|
+
|
|
8585
|
+
&:active {
|
|
8586
|
+
color: var(--color-purple-800);
|
|
8587
|
+
}
|
|
8588
|
+
|
|
8589
|
+
svg {
|
|
8590
|
+
position: relative;
|
|
8591
|
+
}
|
|
8592
|
+
|
|
8593
|
+
&:focus {
|
|
8594
|
+
outline: none;
|
|
8595
|
+
}
|
|
8596
|
+
|
|
8597
|
+
&:focus-visible .Tag-module_iconWrapper__gXgCb {
|
|
8598
|
+
color: var(--color-purple-800);
|
|
8599
|
+
|
|
8600
|
+
&::after {
|
|
8601
|
+
--focus-ring-offset: calc((var(--border-focus-ring-border-width)));
|
|
8602
|
+
|
|
8603
|
+
content: '';
|
|
8604
|
+
position: absolute;
|
|
8605
|
+
background: transparent;
|
|
8606
|
+
border-radius: 50%;
|
|
8607
|
+
border-width: var(--border-focus-ring-border-width);
|
|
8608
|
+
border-style: var(--border-focus-ring-border-style);
|
|
8609
|
+
border-color: var(--color-blue-500);
|
|
8610
|
+
inset: calc(-1 * var(--focus-ring-offset));
|
|
8611
|
+
}
|
|
8612
|
+
}
|
|
8554
8613
|
}
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
}
|
|
8564
|
-
.Tag-module_dismissButton__rHv7r:focus {
|
|
8565
|
-
outline: none;
|
|
8566
|
-
}
|
|
8567
|
-
.Tag-module_dismissButton__rHv7r:focus-visible .Tag-module_iconWrapper__aPrKH {
|
|
8568
|
-
color: var(--color-purple-800, #2f2438);
|
|
8569
|
-
}
|
|
8570
|
-
.Tag-module_dismissButton__rHv7r:focus-visible .Tag-module_iconWrapper__aPrKH::after {
|
|
8571
|
-
content: "";
|
|
8572
|
-
position: absolute;
|
|
8573
|
-
background: transparent;
|
|
8574
|
-
border-radius: 50%;
|
|
8575
|
-
border-width: var(--border-focus-ring-border-width, 2px);
|
|
8576
|
-
border-style: var(--border-focus-ring-border-style, solid);
|
|
8577
|
-
border-color: var(--color-blue-500, #0168b3);
|
|
8578
|
-
inset: calc(-1 * calc((var(--border-focus-ring-border-width, 2px))));
|
|
8579
|
-
}
|
|
8580
|
-
.Tag-module_background__LkzGB {
|
|
8614
|
+
|
|
8615
|
+
.Tag-module_background__DaA0W {
|
|
8616
|
+
/*
|
|
8617
|
+
As our icons are only one-tone, this span places
|
|
8618
|
+
a white background under the dismissible icon to
|
|
8619
|
+
give the illusion of a background colour that is
|
|
8620
|
+
different to the rest of the tag
|
|
8621
|
+
*/
|
|
8581
8622
|
position: absolute;
|
|
8582
8623
|
display: inline-block;
|
|
8583
|
-
width: calc(var(--spacing-xs
|
|
8584
|
-
height: calc(var(--spacing-xs
|
|
8624
|
+
width: calc(var(--spacing-xs) + 0.125rem); /* optical adjustment */
|
|
8625
|
+
height: calc(var(--spacing-xs) + 0.125rem); /* optical adjustment */
|
|
8585
8626
|
background-color: white;
|
|
8586
8627
|
left: 10px;
|
|
8587
8628
|
top: 10px;
|
|
8588
8629
|
}
|
|
8589
|
-
|
|
8630
|
+
|
|
8631
|
+
.Tag-module_truncate__5kX5V {
|
|
8590
8632
|
text-overflow: ellipsis;
|
|
8591
8633
|
overflow-x: hidden;
|
|
8592
8634
|
white-space: nowrap;
|
|
8593
8635
|
}
|
|
8594
|
-
|
|
8636
|
+
|
|
8637
|
+
.Tag-module_inline__QQfqi {
|
|
8595
8638
|
margin: 0;
|
|
8596
8639
|
}
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
.Tag-module_small__-xyNk {
|
|
8601
|
-
height: var(--spacing-md, 1.5rem);
|
|
8602
|
-
}
|
|
8603
|
-
.Tag-module_default__6PVke {
|
|
8604
|
-
background-color: var(--color-gray-300, #eaeaec);
|
|
8605
|
-
}
|
|
8606
|
-
.Tag-module_sentimentPositive__nbqE1 {
|
|
8607
|
-
background-color: var(--color-green-100, #e8f8f4);
|
|
8608
|
-
}
|
|
8609
|
-
.Tag-module_sentimentNeutral__8BtD8 {
|
|
8610
|
-
background-color: var(--color-gray-300, #eaeaec);
|
|
8640
|
+
|
|
8641
|
+
.Tag-module_medium__PI53x {
|
|
8642
|
+
height: var(--medium);
|
|
8611
8643
|
}
|
|
8612
|
-
|
|
8613
|
-
|
|
8644
|
+
|
|
8645
|
+
.Tag-module_small__hcPrf {
|
|
8646
|
+
height: var(--small);
|
|
8614
8647
|
}
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8648
|
+
|
|
8649
|
+
.Tag-module_default__Wq9hK {
|
|
8650
|
+
background-color: var(--color-gray-300);
|
|
8618
8651
|
}
|
|
8619
|
-
|
|
8620
|
-
|
|
8652
|
+
|
|
8653
|
+
.Tag-module_sentimentPositive__M4lXI {
|
|
8654
|
+
background-color: var(--color-green-100);
|
|
8621
8655
|
}
|
|
8622
|
-
|
|
8623
|
-
|
|
8656
|
+
|
|
8657
|
+
.Tag-module_sentimentNeutral__uxZ6y {
|
|
8658
|
+
background-color: var(--color-gray-300);
|
|
8624
8659
|
}
|
|
8625
|
-
|
|
8626
|
-
|
|
8660
|
+
|
|
8661
|
+
.Tag-module_sentimentNegative__JxDtU {
|
|
8662
|
+
background-color: var(--color-red-100);
|
|
8627
8663
|
}
|
|
8628
|
-
|
|
8629
|
-
|
|
8664
|
+
|
|
8665
|
+
.Tag-module_sentimentNone__vDXoz {
|
|
8666
|
+
background-color: var(--color-white);
|
|
8667
|
+
border-color: var(--color-gray-300);
|
|
8630
8668
|
}
|
|
8631
|
-
|
|
8632
|
-
|
|
8669
|
+
|
|
8670
|
+
.Tag-module_validationPositive__KXW2z {
|
|
8671
|
+
background-color: var(--color-green-100);
|
|
8672
|
+
|
|
8673
|
+
.Tag-module_validationIcon__i87BD {
|
|
8674
|
+
color: var(--color-green-500);
|
|
8675
|
+
}
|
|
8633
8676
|
}
|
|
8634
|
-
|
|
8635
|
-
|
|
8677
|
+
|
|
8678
|
+
.Tag-module_validationInformative__wJlj5 {
|
|
8679
|
+
background-color: var(--color-blue-100);
|
|
8680
|
+
|
|
8681
|
+
.Tag-module_validationIcon__i87BD {
|
|
8682
|
+
color: var(--color-blue-500);
|
|
8683
|
+
}
|
|
8636
8684
|
}
|
|
8637
|
-
|
|
8638
|
-
|
|
8685
|
+
|
|
8686
|
+
.Tag-module_validationNegative__CEuAp {
|
|
8687
|
+
background-color: var(--color-red-100);
|
|
8688
|
+
|
|
8689
|
+
.Tag-module_validationIcon__i87BD {
|
|
8690
|
+
color: var(--color-red-500);
|
|
8691
|
+
}
|
|
8639
8692
|
}
|
|
8640
|
-
|
|
8641
|
-
|
|
8693
|
+
|
|
8694
|
+
.Tag-module_validationCautionary__ay3Dg {
|
|
8695
|
+
background-color: var(--color-yellow-100);
|
|
8696
|
+
|
|
8697
|
+
.Tag-module_validationIcon__i87BD {
|
|
8698
|
+
color: var(--color-yellow-700);
|
|
8699
|
+
}
|
|
8642
8700
|
}
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
color: var(--color-
|
|
8701
|
+
|
|
8702
|
+
.Tag-module_statusLive__Ycm63 {
|
|
8703
|
+
background-color: var(--color-green-100);
|
|
8704
|
+
color: var(--color-purple-800);
|
|
8646
8705
|
}
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
color: var(--color-
|
|
8706
|
+
|
|
8707
|
+
.Tag-module_statusAction__Gdpew {
|
|
8708
|
+
background-color: var(--color-orange-100);
|
|
8709
|
+
color: var(--color-purple-800);
|
|
8650
8710
|
}
|
|
8651
|
-
|
|
8652
|
-
|
|
8711
|
+
|
|
8712
|
+
.Tag-module_statusClosed__9Ggv1 {
|
|
8713
|
+
background-color: var(--color-red-100);
|
|
8653
8714
|
}
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
color: var(--color-
|
|
8715
|
+
|
|
8716
|
+
.Tag-module_statusDraft__m3ksY {
|
|
8717
|
+
background-color: var(--color-blue-100);
|
|
8718
|
+
color: var(--color-purple-800);
|
|
8657
8719
|
}
|
|
8658
8720
|
}
|
|
8721
|
+
|
|
8659
8722
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8660
8723
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8661
8724
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
@@ -10,6 +10,11 @@ export declare const Informative: ({ enableAspectRatio, ...restProps }: SpotProp
|
|
|
10
10
|
export declare const Negative: ({ enableAspectRatio, ...restProps }: SpotProps) => JSX.Element;
|
|
11
11
|
export declare const Positive: ({ enableAspectRatio, ...restProps }: SpotProps) => JSX.Element;
|
|
12
12
|
export declare const Assertive: ({ enableAspectRatio, ...restProps }: SpotProps) => JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Template Library / PCD
|
|
15
|
+
*/
|
|
16
|
+
export declare const PCDSurvey: ({ enableAspectRatio, ...restProps }: SpotProps) => JSX.Element;
|
|
17
|
+
export declare const PCDPulseSurvey: ({ enableAspectRatio, ...restProps }: SpotProps) => JSX.Element;
|
|
13
18
|
/**
|
|
14
19
|
* Template Library / Engagement
|
|
15
20
|
*/
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.content {
|
|
3
|
+
max-width: var(--layout-content-max-width);
|
|
4
|
+
margin: 0 var(--layout-content-side-margin);
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
/* Setting a min-width: 0 will maintain the gutter margins when the inner contents has something wider than the page (e.g. scrollable table) */
|
|
8
|
+
min-width: 0;
|
|
9
|
+
|
|
10
|
+
/* Currently unable to do media query equations so using a fixed value instead */
|
|
11
|
+
@media (width <= 1079px) {
|
|
12
|
+
margin: 0 var(--content-margin-width-on-medium-and-small);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/src/Content/Content.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type HTMLAttributes } from 'react'
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
4
|
-
import styles from './Content.module.
|
|
4
|
+
import styles from './Content.module.css'
|
|
5
5
|
|
|
6
6
|
export type ContentProps = {
|
|
7
7
|
children?: React.ReactNode
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
/*
|
|
3
|
+
Use different tokens with different opacities across the Zen and Heart themes, by assuming that when Zen is applied there won't be any CSS variables declared.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--dt-content-border-color: rgb(var(--color-gray-600-rgb), 0.1);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.wrapper {
|
|
11
|
+
width: 100%;
|
|
12
|
+
border: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
border-radius: var(--border-solid-border-radius);
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
This is here to protect against a global style in a consumer.
|
|
18
|
+
https://github.com/cultureamp/murmur/blob/master/app/assets/stylesheets/legacy/modules/_body.scss
|
|
19
|
+
*/
|
|
20
|
+
visibility: visible;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.content,
|
|
24
|
+
.menuSeparator {
|
|
25
|
+
border-top: 1px solid var(--dt-content-border-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.canvas {
|
|
29
|
+
border-top: 1px solid;
|
|
30
|
+
border-bottom: 1px solid;
|
|
31
|
+
border-color: var(--dt-content-border-color);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.reversed {
|
|
35
|
+
border-color: rgb(var(--color-white-rgb), 0.1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.menuSeparator {
|
|
39
|
+
margin: 5px 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
package/src/Divider/Divider.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type HTMLAttributes } from 'react'
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
4
|
-
import styles from './Divider.module.
|
|
4
|
+
import styles from './Divider.module.css'
|
|
5
5
|
|
|
6
6
|
export type DividerProps = {
|
|
7
7
|
variant: 'content' | 'canvas' | 'menuSeparator'
|
|
@@ -7,7 +7,7 @@ import { BrandMomentError } from '~components/Illustration'
|
|
|
7
7
|
import { Text } from '~components/Text'
|
|
8
8
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
9
9
|
import { useErrorMessages, type ErrorStatuses } from './hooks'
|
|
10
|
-
import styles from './ErrorPage.module.
|
|
10
|
+
import styles from './ErrorPage.module.css'
|
|
11
11
|
|
|
12
12
|
const getMailToHref = (code: ErrorStatuses): string => {
|
|
13
13
|
const supportEmail = 'support@cultureamp.com'
|
|
@@ -26,6 +26,12 @@ const createSpotIllustration =
|
|
|
26
26
|
/* prettier-ignore */ export const Positive = createSpotIllustration("moods-positive.svg")
|
|
27
27
|
/* prettier-ignore */ export const Assertive = createSpotIllustration("moods-assertive.svg")
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Template Library / PCD
|
|
31
|
+
*/
|
|
32
|
+
/* prettier-ignore */ export const PCDSurvey = createSpotIllustration("template-library-pcq-survey-full.svg")
|
|
33
|
+
/* prettier-ignore */ export const PCDPulseSurvey = createSpotIllustration("template-library-pcq-survey-pulse.svg")
|
|
34
|
+
|
|
29
35
|
/**
|
|
30
36
|
* Template Library / Engagement
|
|
31
37
|
*/
|
|
@@ -79,6 +79,8 @@ import {
|
|
|
79
79
|
NewYork,
|
|
80
80
|
Objective,
|
|
81
81
|
OneOnOne,
|
|
82
|
+
PCDPulseSurvey,
|
|
83
|
+
PCDSurvey,
|
|
82
84
|
PaperPen,
|
|
83
85
|
PartialImport,
|
|
84
86
|
PerformanceDiagnostics,
|
|
@@ -145,6 +147,17 @@ export default {
|
|
|
145
147
|
},
|
|
146
148
|
} satisfies Meta
|
|
147
149
|
|
|
150
|
+
const performanceCultureDiagnosticSpots = [
|
|
151
|
+
{
|
|
152
|
+
Component: PCDSurvey,
|
|
153
|
+
name: 'PCDSurvey',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
Component: PCDPulseSurvey,
|
|
157
|
+
name: 'PCDPulseSurvey',
|
|
158
|
+
},
|
|
159
|
+
]
|
|
160
|
+
|
|
148
161
|
const engagementSpots = [
|
|
149
162
|
{
|
|
150
163
|
Component: BenefitsSurvey,
|
|
@@ -706,6 +719,15 @@ const IllustrationExampleTile = ({
|
|
|
706
719
|
const StickerSheetTemplate: StickerSheetStory = {
|
|
707
720
|
render: () => (
|
|
708
721
|
<div className="grid gap-24">
|
|
722
|
+
<div>
|
|
723
|
+
<Heading variant="heading-3">Performance Culture Diagnostic</Heading>
|
|
724
|
+
<div className="flex flex-wrap ">
|
|
725
|
+
{performanceCultureDiagnosticSpots.map((props, i) => (
|
|
726
|
+
<IllustrationExampleTile key={`engagement-${i}`} {...props} />
|
|
727
|
+
))}
|
|
728
|
+
</div>
|
|
729
|
+
</div>
|
|
730
|
+
|
|
709
731
|
<div>
|
|
710
732
|
<Heading variant="heading-3">Engagement</Heading>
|
|
711
733
|
<div className="flex flex-wrap ">
|