@kaizen/components 1.67.21 → 1.67.22

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
@@ -1,4 +1,37 @@
1
1
  @layer tokens, normalize, reset;@layer tokens{:root{--theme-key:heart;--animation-easing-function-ease-in-out:cubic-bezier(0.455,0.03,0.515,0.955);--animation-easing-function-ease-in:cubic-bezier(0.55,0.085,0.68,0.53);--animation-easing-function-ease-out:cubic-bezier(0.25,0.46,0.45,0.94);--animation-easing-function-linear:linear;--animation-easing-function-bounce-in:cubic-bezier(0.485,0.155,0.24,1.245);--animation-easing-function-bounce-out:cubic-bezier(0.485,0.155,0.515,0.845);--animation-easing-function-bounce-in-out:cubic-bezier(0.76,-0.245,0.24,1.245);--animation-duration-instant:0ms;--animation-duration-immediate:100ms;--animation-duration-rapid:200ms;--animation-duration-fast:300ms;--animation-duration-slow:400ms;--animation-duration-deliberate:700ms;--border-solid-border-width:2px;--border-solid-border-radius:7px;--border-solid-border-style:solid;--border-solid-border-color:#e1e2ea;--border-solid-border-color-rgb:225,226,234;--border-dashed-border-width:2px;--border-dashed-border-radius:7px;--border-dashed-border-style:dashed;--border-borderless-border-width:2px;--border-borderless-border-radius:7px;--border-borderless-border-style:solid;--border-borderless-border-color:transparent;--border-borderless-border-color-rgb:0,0,0;--border-focus-ring-border-width:2px;--border-focus-ring-border-radius:10px;--border-focus-ring-border-style:solid;--border-width-1:1px;--color-purple-100:#f4edf8;--color-purple-100-rgb:244,237,248;--color-purple-200:#dfc9ea;--color-purple-200-rgb:223,201,234;--color-purple-300:#c9a5dd;--color-purple-300-rgb:201,165,221;--color-purple-400:#ae67b1;--color-purple-400-rgb:174,103,177;--color-purple-500:#844587;--color-purple-500-rgb:132,69,135;--color-purple-600:#5f3361;--color-purple-600-rgb:95,51,97;--color-purple-700:#4a234d;--color-purple-700-rgb:74,35,77;--color-purple-800:#2f2438;--color-purple-800-rgb:47,36,56;--color-blue-100:#e6f6ff;--color-blue-100-rgb:230,246,255;--color-blue-200:#bde2f5;--color-blue-200-rgb:189,226,245;--color-blue-300:#73c0e8;--color-blue-300-rgb:115,192,232;--color-blue-400:#008bd6;--color-blue-400-rgb:0,139,214;--color-blue-500:#0168b3;--color-blue-500-rgb:1,104,179;--color-blue-600:#004970;--color-blue-600-rgb:0,73,112;--color-blue-700:#003157;--color-blue-700-rgb:0,49,87;--color-green-100:#e8f8f4;--color-green-100-rgb:232,248,244;--color-green-200:#c4ede2;--color-green-200-rgb:196,237,226;--color-green-300:#8fdbc7;--color-green-300-rgb:143,219,199;--color-green-400:#5dcaad;--color-green-400-rgb:93,202,173;--color-green-500:#3f9a86;--color-green-500-rgb:63,154,134;--color-green-600:#2c7d67;--color-green-600-rgb:44,125,103;--color-green-700:#22594a;--color-green-700-rgb:34,89,74;--color-yellow-100:#fff9e4;--color-yellow-100-rgb:255,249,228;--color-yellow-200:#ffeeb3;--color-yellow-200-rgb:255,238,179;--color-yellow-300:#ffe36e;--color-yellow-300-rgb:255,227,110;--color-yellow-400:#ffca4d;--color-yellow-400-rgb:255,202,77;--color-yellow-500:#ffb600;--color-yellow-500-rgb:255,182,0;--color-yellow-600:#c68600;--color-yellow-600-rgb:198,134,0;--color-yellow-700:#876400;--color-yellow-700-rgb:135,100,0;--color-red-100:#fdeaee;--color-red-100-rgb:253,234,238;--color-red-200:#f9c2cb;--color-red-200-rgb:249,194,203;--color-red-300:#f597a8;--color-red-300-rgb:245,151,168;--color-red-400:#e0707d;--color-red-400-rgb:224,112,125;--color-red-500:#c93b55;--color-red-500-rgb:201,59,85;--color-red-600:#a82433;--color-red-600-rgb:168,36,51;--color-red-700:#6c1e20;--color-red-700-rgb:108,30,32;--color-orange-100:#fff0e8;--color-orange-100-rgb:255,240,232;--color-orange-200:#ffd1b9;--color-orange-200-rgb:255,209,185;--color-orange-300:#ffb08a;--color-orange-300-rgb:255,176,138;--color-orange-400:#ff9461;--color-orange-400-rgb:255,148,97;--color-orange-500:#e96c2f;--color-orange-500-rgb:233,108,47;--color-orange-600:#b74302;--color-orange-600-rgb:183,67,2;--color-orange-700:#903c00;--color-orange-700-rgb:144,60,0;--color-gray-100:#f9f9f9;--color-gray-100-rgb:249,249,249;--color-gray-200:#f4f4f5;--color-gray-200-rgb:244,244,245;--color-gray-300:#eaeaec;--color-gray-300-rgb:234,234,236;--color-gray-400:#cdcdd0;--color-gray-400-rgb:205,205,208;--color-gray-500:#878792;--color-gray-500-rgb:135,135,146;--color-gray-600:#524e56;--color-gray-600-rgb:82,78,86;--color-white:#fff;--color-white-rgb:255,255,255;--color-black:#000;--color-black-rgb:0,0,0;--data-viz-favorable:#7dd5bd;--data-viz-favorable-rgb:125,213,189;--data-viz-unfavorable:#e68d97;--data-viz-unfavorable-rgb:230,141,151;--layout-content-max-width:1392px;--layout-content-max-width-with-sidebar:1080px;--layout-content-side-margin:72px;--layout-mobile-actions-drawer-height:60px;--layout-navigation-bar-height:72px;--layout-breakpoints-medium:768px;--layout-breakpoints-large:1080px;--shadow-small-box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 3px 16px 0 rgba(0,0,0,.06);--shadow-large-box-shadow:0 3px 9px 0 rgba(0,0,0,.1),0 8px 40px 0 rgba(0,0,0,.08);--spacing-0:0;--spacing-1:.0625rem;--spacing-2:.125rem;--spacing-4:.25rem;--spacing-6:.375rem;--spacing-8:.5rem;--spacing-12:.75rem;--spacing-16:1rem;--spacing-20:1.25rem;--spacing-24:1.5rem;--spacing-32:2rem;--spacing-40:2.5rem;--spacing-48:3rem;--spacing-56:3.5rem;--spacing-64:4rem;--spacing-72:4.5rem;--spacing-80:5rem;--spacing-96:6rem;--spacing-112:7rem;--spacing-128:8rem;--spacing-160:10rem;--spacing-200:12.5rem;--spacing-240:15rem;--spacing-280:17.5rem;--spacing-320:20rem;--spacing-xs:0.375rem;--spacing-sm:0.75rem;--spacing-md:1.5rem;--spacing-lg:2.25rem;--spacing-xl:3rem;--spacing-xxl:3.75rem;--spacing-xxxl:4.5rem;--spacing-xxxxl:5.25rem;--spacing-xxxxxl:6rem;--typography-data-large-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-font-weight:700;--typography-data-large-font-size:5.25rem;--typography-data-large-line-height:5.25rem;--typography-data-large-letter-spacing:normal;--typography-data-large-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-units-font-weight:700;--typography-data-large-units-font-size:2.625rem;--typography-data-large-units-line-height:5.25rem;--typography-data-large-units-letter-spacing:normal;--typography-data-medium-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-font-weight:700;--typography-data-medium-font-size:3rem;--typography-data-medium-line-height:5rem;--typography-data-medium-letter-spacing:normal;--typography-data-medium-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-units-font-weight:700;--typography-data-medium-units-font-size:1.5rem;--typography-data-medium-units-line-height:5rem;--typography-data-medium-units-letter-spacing:normal;--typography-data-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-font-weight:700;--typography-data-small-font-size:1.5rem;--typography-data-small-line-height:1.5rem;--typography-data-small-letter-spacing:normal;--typography-data-small-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-units-font-weight:700;--typography-data-small-units-font-size:1.125rem;--typography-data-small-units-line-height:1.5rem;--typography-data-small-units-letter-spacing:normal;--typography-display-0-font-family:"Tiempos Headline",Georgia,serif;--typography-display-0-font-weight:800;--typography-display-0-font-size:4.5rem;--typography-display-0-line-height:5.25rem;--typography-display-0-letter-spacing:0em;--typography-heading-1-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-1-font-weight:500;--typography-heading-1-font-size:2.125rem;--typography-heading-1-line-height:2.625rem;--typography-heading-1-letter-spacing:normal;--typography-heading-2-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-2-font-weight:600;--typography-heading-2-font-size:1.75rem;--typography-heading-2-line-height:2.25rem;--typography-heading-2-letter-spacing:normal;--typography-heading-3-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-3-font-weight:600;--typography-heading-3-font-size:1.375rem;--typography-heading-3-line-height:1.875rem;--typography-heading-3-letter-spacing:normal;--typography-heading-4-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-4-font-weight:600;--typography-heading-4-font-size:1.125rem;--typography-heading-4-line-height:1.5rem;--typography-heading-4-letter-spacing:normal;--typography-heading-5-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-5-font-weight:600;--typography-heading-5-font-size:1rem;--typography-heading-5-line-height:1.5rem;--typography-heading-5-letter-spacing:normal;--typography-heading-6-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-6-font-weight:600;--typography-heading-6-font-size:0.875rem;--typography-heading-6-line-height:1.5rem;--typography-heading-6-letter-spacing:normal;--typography-paragraph-intro-lede-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-intro-lede-font-weight:400;--typography-paragraph-intro-lede-font-size:1.25rem;--typography-paragraph-intro-lede-line-height:1.875rem;--typography-paragraph-intro-lede-letter-spacing:0;--typography-paragraph-intro-lede-max-width:975px;--typography-paragraph-body-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-body-font-weight:400;--typography-paragraph-body-font-size:1rem;--typography-paragraph-body-line-height:1.5rem;--typography-paragraph-body-letter-spacing:normal;--typography-paragraph-body-max-width:780px;--typography-paragraph-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-small-font-weight:400;--typography-paragraph-small-font-size:0.875rem;--typography-paragraph-small-line-height:1.125rem;--typography-paragraph-small-letter-spacing:normal;--typography-paragraph-small-max-width:680px;--typography-paragraph-extra-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-extra-small-font-weight:400;--typography-paragraph-extra-small-font-size:0.75rem;--typography-paragraph-extra-small-line-height:1.125rem;--typography-paragraph-extra-small-letter-spacing:normal;--typography-paragraph-extra-small-max-width:600px;--typography-paragraph-bold-font-weight:600;--typography-button-primary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-primary-font-weight:500;--typography-button-primary-font-size:1.125rem;--typography-button-primary-line-height:1.5rem;--typography-button-primary-letter-spacing:normal;--typography-button-secondary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-secondary-font-weight:500;--typography-button-secondary-font-size:1rem;--typography-button-secondary-line-height:1.5rem;--typography-button-secondary-letter-spacing:normal}}@layer normalize{html{text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}}@layer reset{@font-face{font-family:Tiempos Headline;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff)}@font-face{font-family:Tiempos Headline;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff)}@font-face{font-family:Greycliff CF;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-light.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-regular.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-medium.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-extra-bold.woff) format("woff")}@font-face{font-family:Inter;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff)}@font-face{font-family:Inter;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff)}@font-face{font-family:Inter;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff)}@font-face{font-family:Inter;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff)}@font-face{font-family:Inter;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff)}@font-face{font-family:Inter;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff)}@font-face{font-family:IBM Plex Mono;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff)}}@layer reset{*,:after,:before{border-color:var(--border-solid-border-color,"currentColor");border-style:solid;border-width:0}}
2
+ .Menu-module_menu__AowD8 {
3
+ background-color: var(--color-white);
4
+ color: var(--color-purple-800);
5
+ width: 248px;
6
+ max-height: 22rem;
7
+ overflow: auto;
8
+ padding-block: var(--spacing-6);
9
+ outline: none;
10
+ border-radius: var(--border-solid-border-radius);
11
+ box-shadow: var(--shadow-large-box-shadow);
12
+ }
13
+
14
+ .Menu-module_menu__AowD8 .react-aria-Header {
15
+ font-family: var(--typography-heading-6-font-family);
16
+ font-size: var(--typography-heading-6-font-size);
17
+ letter-spacing: var(--typography-heading-6-letter-spacing);
18
+ font-weight: var(--typography-heading-6-font-weight);
19
+ line-height: var(--typography-heading-6-line-height);
20
+ padding: var(--spacing-6) 10px;
21
+ margin-inline: var(--spacing-6);
22
+ }
23
+
24
+ .Menu-module_menu__AowD8 section:not(:last-of-type) {
25
+ &::after {
26
+ width: 100%;
27
+ height: 1px;
28
+ background-color: var(--border-solid-border-color);
29
+ content: "";
30
+ display: block;
31
+ margin-block: var(--spacing-6);
32
+ }
33
+ }
34
+
2
35
  .MenuItem-module_item__uImZI {
3
36
  display: block;
4
37
  font-family: var(--typography-paragraph-body-font-family);
@@ -39,66 +72,61 @@
39
72
  opacity: 0.3;
40
73
  }
41
74
 
42
- .Menu-module_menu__AowD8 {
43
- background-color: var(--color-white);
44
- color: var(--color-purple-800);
45
- width: 248px;
46
- max-height: 22rem;
47
- overflow: auto;
48
- padding-block: var(--spacing-6);
49
- outline: none;
50
- border-radius: var(--border-solid-border-radius);
51
- box-shadow: var(--shadow-large-box-shadow);
52
- }
53
-
54
- .Menu-module_menu__AowD8 .react-aria-Header {
55
- font-family: var(--typography-heading-6-font-family);
56
- font-size: var(--typography-heading-6-font-size);
57
- letter-spacing: var(--typography-heading-6-letter-spacing);
58
- font-weight: var(--typography-heading-6-font-weight);
59
- line-height: var(--typography-heading-6-line-height);
60
- padding: var(--spacing-6) 10px;
61
- margin-inline: var(--spacing-6);
62
- }
63
-
64
- .Menu-module_menu__AowD8 section:not(:last-of-type) {
65
- &::after {
66
- width: 100%;
67
- height: 1px;
68
- background-color: var(--border-solid-border-color);
69
- content: "";
70
- display: block;
71
- margin-block: var(--spacing-6);
72
- }
73
- }
74
-
75
75
  /** THIS IS AN AUTOGENERATED FILE **/
76
76
  /** THIS IS AN AUTOGENERATED FILE **/
77
- .OverlayArrow-module_overlayArrow__hoDyK {
78
- display: flex;
79
- padding: 8px;
77
+ /** THIS IS AN AUTOGENERATED FILE **/
78
+ /** THIS IS AN AUTOGENERATED FILE **/
79
+ /** THIS IS AN AUTOGENERATED FILE **/
80
+ /** THIS IS AN AUTOGENERATED FILE **/
81
+ .Tooltip-module_tooltip__efL1m {
82
+ max-width: 200px;
83
+ padding: var(--spacing-8, 0.5rem) var(--spacing-12, 0.75rem);
84
+ color: var(--color-white, #ffffff);
85
+ text-align: center;
86
+ font-family: var(--typography-paragraph-extra-small-font-family, "Inter", "Noto Sans", Helvetica, Arial, sans-serif);
87
+ font-size: var(--typography-paragraph-extra-small-font-size, 0.75rem);
88
+ font-weight: var(--typography-paragraph-extra-small-font-weight, 400);
89
+ letter-spacing: var(--typography-paragraph-extra-small-letter-spacing, normal);
90
+ line-height: var(--typography-paragraph-extra-small-line-height, 1.125rem);
91
+ border-radius: var(--border-solid-border-radius, 7px);
92
+ box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
93
+ background-color: var(--color-purple-800, #2f2438);
94
+ text-wrap: pretty;
95
+ /* fixes FF gap */
96
+ transform: translate3d(0, 0, 0);
80
97
  }
81
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
82
- padding: 0 8px;
98
+ .Tooltip-module_tooltip__efL1m.Tooltip-module_reversed__NnCbZ {
99
+ background-color: var(--color-white, #ffffff);
100
+ color: var(--color-purple-800, #2f2438);
83
101
  }
84
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
85
- padding: 8px 0;
102
+ .Tooltip-module_tooltip__efL1m[data-placement=top] {
103
+ --origin: translateY(4px);
86
104
  }
87
- .OverlayArrow-module_overlayArrow__hoDyK path {
88
- fill: var(--color-purple-800, #2f2438);
89
- box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
105
+ .Tooltip-module_tooltip__efL1m[data-placement=bottom] {
106
+ --origin: translateY(-4px);
90
107
  }
91
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
92
- transform: rotate(90deg);
108
+ .Tooltip-module_tooltip__efL1m[data-placement=right] {
109
+ --origin: translateX(-4px);
93
110
  }
94
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
95
- transform: rotate(180deg);
111
+ .Tooltip-module_tooltip__efL1m[data-placement=left] {
112
+ --origin: translateX(4px);
96
113
  }
97
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
98
- transform: rotate(270deg);
114
+ .Tooltip-module_tooltip__efL1m[data-entering] {
115
+ animation: Tooltip-module_slide__lFdGA var(--animation-duration-fast, 300ms);
99
116
  }
100
- .OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
101
- fill: var(--color-white, #ffffff);
117
+ .Tooltip-module_tooltip__efL1m[data-exiting] {
118
+ animation: Tooltip-module_slide__lFdGA var(--animation-duration-fast, 300ms) reverse var(--animation-easing-function-ease-in, cubic-bezier(0.55, 0.085, 0.68, 0.53));
119
+ }
120
+
121
+ @keyframes Tooltip-module_slide__lFdGA {
122
+ from {
123
+ transform: var(--origin);
124
+ opacity: 0;
125
+ }
126
+ to {
127
+ transform: translateY(0);
128
+ opacity: 1;
129
+ }
102
130
  }
103
131
  .Button-module_button__QOSYH {
104
132
  --button-min-height-width: var(--spacing-48);
@@ -193,59 +221,31 @@
193
221
  }
194
222
  /** THIS IS AN AUTOGENERATED FILE **/
195
223
  /** THIS IS AN AUTOGENERATED FILE **/
196
- /** THIS IS AN AUTOGENERATED FILE **/
197
- /** THIS IS AN AUTOGENERATED FILE **/
198
- /** THIS IS AN AUTOGENERATED FILE **/
199
- /** THIS IS AN AUTOGENERATED FILE **/
200
- .Tooltip-module_tooltip__efL1m {
201
- max-width: 200px;
202
- padding: var(--spacing-8, 0.5rem) var(--spacing-12, 0.75rem);
203
- color: var(--color-white, #ffffff);
204
- text-align: center;
205
- font-family: var(--typography-paragraph-extra-small-font-family, "Inter", "Noto Sans", Helvetica, Arial, sans-serif);
206
- font-size: var(--typography-paragraph-extra-small-font-size, 0.75rem);
207
- font-weight: var(--typography-paragraph-extra-small-font-weight, 400);
208
- letter-spacing: var(--typography-paragraph-extra-small-letter-spacing, normal);
209
- line-height: var(--typography-paragraph-extra-small-line-height, 1.125rem);
210
- border-radius: var(--border-solid-border-radius, 7px);
211
- box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
212
- background-color: var(--color-purple-800, #2f2438);
213
- text-wrap: pretty;
214
- /* fixes FF gap */
215
- transform: translate3d(0, 0, 0);
216
- }
217
- .Tooltip-module_tooltip__efL1m.Tooltip-module_reversed__NnCbZ {
218
- background-color: var(--color-white, #ffffff);
219
- color: var(--color-purple-800, #2f2438);
224
+ .OverlayArrow-module_overlayArrow__hoDyK {
225
+ display: flex;
226
+ padding: 8px;
220
227
  }
221
- .Tooltip-module_tooltip__efL1m[data-placement=top] {
222
- --origin: translateY(4px);
228
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
229
+ padding: 0 8px;
223
230
  }
224
- .Tooltip-module_tooltip__efL1m[data-placement=bottom] {
225
- --origin: translateY(-4px);
231
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
232
+ padding: 8px 0;
226
233
  }
227
- .Tooltip-module_tooltip__efL1m[data-placement=right] {
228
- --origin: translateX(-4px);
234
+ .OverlayArrow-module_overlayArrow__hoDyK path {
235
+ fill: var(--color-purple-800, #2f2438);
236
+ box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
229
237
  }
230
- .Tooltip-module_tooltip__efL1m[data-placement=left] {
231
- --origin: translateX(4px);
238
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
239
+ transform: rotate(90deg);
232
240
  }
233
- .Tooltip-module_tooltip__efL1m[data-entering] {
234
- animation: Tooltip-module_slide__lFdGA var(--animation-duration-fast, 300ms);
241
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
242
+ transform: rotate(180deg);
235
243
  }
236
- .Tooltip-module_tooltip__efL1m[data-exiting] {
237
- animation: Tooltip-module_slide__lFdGA var(--animation-duration-fast, 300ms) reverse var(--animation-easing-function-ease-in, cubic-bezier(0.55, 0.085, 0.68, 0.53));
244
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
245
+ transform: rotate(270deg);
238
246
  }
239
-
240
- @keyframes Tooltip-module_slide__lFdGA {
241
- from {
242
- transform: var(--origin);
243
- opacity: 0;
244
- }
245
- to {
246
- transform: translateY(0);
247
- opacity: 1;
248
- }
247
+ .OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
248
+ fill: var(--color-white, #ffffff);
249
249
  }
250
250
  /*
251
251
  * This is taken from the Material Symbols CDN
@@ -3879,192 +3879,121 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
3879
3879
  white-space: nowrap;
3880
3880
  border: 0;
3881
3881
  }
3882
- /** THIS IS AN AUTOGENERATED FILE **/
3883
- /** THIS IS AN AUTOGENERATED FILE **/
3884
- /** THIS IS AN AUTOGENERATED FILE **/
3885
- /** THIS IS AN AUTOGENERATED FILE **/
3886
- .EmptyState-module_container__-B5OU {
3882
+ .EmptyState-module_container__0kOpV {
3887
3883
  --empty-state-border-width: var(--border-width-1);
3888
- display: flex;
3884
+ --empty-state-illustration-max-height: 366px;
3885
+ --empty-state-illustration-max-width: 420px;
3886
+ --empty-state-text-container-max-width: 426px;
3887
+
3888
+ container-type: inline-size;
3889
3889
  width: 100%;
3890
- box-sizing: border-box;
3891
- justify-content: space-around;
3892
- padding: calc(2% - var(--empty-state-border-width)) calc(var(--spacing-24) - var(--empty-state-border-width));
3893
- color: var(--color-purple-800, #2f2438);
3894
3890
  border: var(--empty-state-border-width) solid var(--empty-state-border-color);
3895
3891
  border-radius: var(--border-solid-border-radius);
3896
3892
  background-color: var(--empty-state-background-color);
3897
- flex-wrap: wrap;
3898
- }
3899
- @media (max-width: 815px) {
3900
- .EmptyState-module_container__-B5OU {
3901
- flex-direction: column;
3902
- align-items: center;
3903
- padding: calc(var(--spacing-24) - var(--empty-state-border-width));
3904
- }
3893
+ color: var(--color-purple-800);
3905
3894
  }
3906
- .EmptyState-module_container__-B5OU.EmptyState-module_straightCorners__Aeou0 {
3895
+
3896
+ .EmptyState-module_straightCorners__BNh-9 {
3907
3897
  border-radius: 0;
3908
3898
  }
3909
- @media (min-width: 1416px) {
3910
- .EmptyState-module_container__-B5OU.EmptyState-module_sidebarAndContent__Eysay {
3911
- padding-top: var(--spacing-md, 1.5rem);
3912
- padding-bottom: var(--spacing-md, 1.5rem);
3913
- }
3914
- }
3915
- @media (min-width: 1128px) {
3916
- .EmptyState-module_container__-B5OU.EmptyState-module_contentOnly__RWVVX {
3917
- padding-top: var(--spacing-md, 1.5rem);
3918
- padding-bottom: var(--spacing-md, 1.5rem);
3919
- }
3920
- }
3921
3899
 
3922
3900
  /** @deprecated */
3923
- .EmptyState-module_positive__o3dXR {
3901
+ .EmptyState-module_positive__Z2a3J {
3924
3902
  --empty-state-border-color: var(--color-green-500);
3925
3903
  --empty-state-background-color: var(--color-green-100);
3926
3904
  }
3927
3905
 
3928
- .EmptyState-module_negative__e5ci6,
3929
- .EmptyState-module_action__OdsgJ {
3906
+ .EmptyState-module_negative__mSmjN,
3907
+ .EmptyState-module_action__l1243 {
3930
3908
  --empty-state-border-color: var(--color-red-500);
3931
3909
  --empty-state-background-color: var(--color-red-100);
3932
3910
  }
3933
3911
 
3934
- .EmptyState-module_neutral__L6fBb {
3912
+ .EmptyState-module_neutral__i9IVq {
3935
3913
  --empty-state-border-color: var(--color-purple-400);
3936
3914
  --empty-state-background-color: var(--color-purple-100);
3937
3915
  }
3938
3916
 
3939
3917
  /** end @deprecated */
3940
- .EmptyState-module_success__y7jKP {
3918
+ .EmptyState-module_success__w9nvN {
3941
3919
  --empty-state-border-color: var(--color-green-500);
3942
3920
  --empty-state-background-color: var(--color-green-100);
3943
3921
  }
3944
3922
 
3945
- .EmptyState-module_warning__-PrRp {
3923
+ .EmptyState-module_warning__vdEBx {
3946
3924
  --empty-state-border-color: var(--color-red-500);
3947
3925
  --empty-state-background-color: var(--color-red-100);
3948
3926
  }
3949
3927
 
3950
- .EmptyState-module_informative__x0GSr {
3928
+ .EmptyState-module_informative__aeHUD {
3951
3929
  --empty-state-border-color: var(--color-blue-400);
3952
3930
  --empty-state-background-color: var(--color-blue-100);
3953
3931
  }
3954
3932
 
3955
- .EmptyState-module_expert-advice__VVB8i {
3933
+ .EmptyState-module_expert-advice__05WOw {
3956
3934
  --empty-state-border-color: var(--color-purple-400);
3957
3935
  --empty-state-background-color: var(--color-purple-100);
3958
3936
  }
3959
3937
 
3960
- .EmptyState-module_illustrationSide__ZSjF3,
3961
- .EmptyState-module_textSide__tv54w {
3962
- display: flex;
3963
- box-sizing: border-box;
3938
+ .EmptyState-module_content__dggps {
3939
+ justify-content: center;
3940
+ display: grid;
3941
+ grid-template-columns: minmax(auto, var(--empty-state-illustration-max-width)) minmax(
3942
+ auto,
3943
+ var(--empty-state-text-container-max-width)
3944
+ );
3945
+ grid-template-rows: minmax(auto, var(--empty-state-illustration-max-height)) auto;
3946
+ padding: var(--spacing-24);
3947
+ grid-column-gap: var(--spacing-32);
3964
3948
  }
3965
3949
 
3966
- .EmptyState-module_illustrationSide__ZSjF3 {
3967
- justify-content: center;
3950
+ .EmptyState-module_illustrationContainer__2Ch-u {
3951
+ display: flex;
3968
3952
  align-items: center;
3969
- flex: 0 1 auto;
3970
- min-width: 0;
3971
- max-width: 100%;
3972
- margin-bottom: var(--spacing-md, 1.5rem);
3973
- }
3974
- @media (max-width: 815px) {
3975
- .EmptyState-module_illustrationSide__ZSjF3 {
3976
- width: 100%;
3977
- max-width: 224px;
3978
- }
3979
- }
3980
- @media (min-width: 816px) {
3981
- .EmptyState-module_illustrationSide__ZSjF3 {
3982
- flex-direction: column;
3983
- justify-content: center;
3984
- align-items: flex-end;
3985
- margin-bottom: 0;
3986
- width: auto;
3987
- max-width: 40%;
3988
- padding-inline-end: var(--spacing-md, 1.5rem);
3989
- }
3990
- }
3991
- @media (min-width: 1416px) {
3992
- .EmptyState-module_sidebarAndContent__Eysay .EmptyState-module_illustrationSide__ZSjF3 {
3993
- flex-shrink: 1;
3994
- flex-basis: auto;
3995
- }
3996
- }
3997
- @media (min-width: 1128px) {
3998
- .EmptyState-module_contentOnly__RWVVX .EmptyState-module_illustrationSide__ZSjF3 {
3999
- flex-shrink: 1;
4000
- flex-basis: auto;
4001
- }
4002
3953
  }
4003
3954
 
4004
- .EmptyState-module_illustration__HyD2k,
4005
- .EmptyState-module_illustrationSide__ZSjF3 video {
3955
+ .EmptyState-module_illustration__QSUZA,
3956
+ .EmptyState-module_illustrationContainer__2Ch-u video {
4006
3957
  max-width: 100%;
4007
- max-height: 366px;
3958
+ max-height: var(--empty-state-illustration-max-height);
3959
+ height: 100%;
4008
3960
  width: auto;
4009
- height: auto;
4010
- min-height: 196px;
4011
- }
4012
- @media (max-width: 815px) {
4013
- .EmptyState-module_illustration__HyD2k,
4014
- .EmptyState-module_illustrationSide__ZSjF3 video {
4015
- max-height: 196px;
4016
- width: 100%;
4017
- }
4018
3961
  }
4019
3962
 
4020
- .EmptyState-module_textSide__tv54w {
4021
- flex: 1 1 auto;
4022
- min-width: 0;
4023
- max-width: 100%;
4024
- align-items: center;
4025
- -webkit-font-smoothing: antialiased;
3963
+ .EmptyState-module_textContainer__jJ9NS {
3964
+ display: flex;
3965
+ flex-direction: column;
3966
+ justify-content: center;
3967
+ gap: var(--spacing-24);
4026
3968
  }
4027
- @media (min-width: 816px) {
4028
- .EmptyState-module_textSide__tv54w {
4029
- flex: 0 1 50%;
3969
+
3970
+ @container (width <=1024px) {
3971
+ .EmptyState-module_content__dggps {
3972
+ padding: var(--spacing-16);
4030
3973
  }
4031
3974
  }
4032
3975
 
4033
- .EmptyState-module_textSideInner__Yynhi {
4034
- width: 100%;
4035
- max-width: 100%;
4036
- box-sizing: border-box;
4037
- margin: 0 var(--spacing-sm, 0.75rem);
4038
- word-wrap: break-word;
4039
- overflow-wrap: break-word;
4040
- }
4041
- @media (max-width: 815px) {
4042
- .EmptyState-module_textSideInner__Yynhi {
4043
- margin-bottom: 0;
3976
+ @container (width <=560px) {
3977
+ .EmptyState-module_content__dggps {
3978
+ grid-template-columns: 1fr;
3979
+ grid-template-rows: auto;
3980
+ grid-column-gap: unset;
3981
+ grid-row-gap: var(--spacing-24);
3982
+ padding: var(--spacing-24);
4044
3983
  }
4045
- }
4046
- @media (min-width: 816px) {
4047
- .EmptyState-module_textSideInner__Yynhi {
4048
- max-width: 426px;
3984
+
3985
+ .EmptyState-module_illustrationContainer__2Ch-u {
3986
+ --empty-state-illustration-max-height: 210px;
3987
+
3988
+ justify-content: center;
4049
3989
  }
4050
- }
4051
3990
 
4052
- .EmptyState-module_heading__y-yvC {
4053
- margin-bottom: var(--spacing-md, 1.5rem);
4054
- max-width: 100%;
4055
- }
4056
- @media (max-width: 375px) {
4057
- .EmptyState-module_heading__y-yvC {
3991
+ .EmptyState-module_heading__pEPi3 {
4058
3992
  font-size: 1.25rem;
4059
3993
  line-height: 1.5rem;
4060
- font-weight: 700;
4061
3994
  }
4062
3995
  }
4063
3996
 
4064
- .EmptyState-module_description__fsJOc {
4065
- margin-bottom: var(--spacing-md, 1.5rem);
4066
- max-width: 100%;
4067
- }
4068
3997
  /** THIS IS AN AUTOGENERATED FILE **/
4069
3998
  .ErrorPage-module_paragraphPadding__-L-qy {
4070
3999
  padding: var(--spacing-24, 1.5rem) 0;
@@ -17,6 +17,7 @@ export type EmptyStateProps = {
17
17
  * @default informative
18
18
  */
19
19
  variant?: "success" | "warning" | "informative" | "expert-advice";
20
+ /** @deprecated - This prop no longer has any effect */
20
21
  layoutContext?: "sidebarAndContent" | "contentOnly";
21
22
  bodyText: string | React.ReactNode;
22
23
  straightCorners?: boolean;
@@ -27,6 +28,6 @@ export type EmptyStateProps = {
27
28
  * {@link https://cultureamp.design/?path=/docs/components-empty-state--docs Storybook}
28
29
  */
29
30
  export declare const EmptyState: {
30
- ({ children, id, illustrationType, variant, layoutContext, headingProps, bodyText, straightCorners, isAnimated, loop, classNameOverride, ...props }: EmptyStateProps): JSX.Element;
31
+ ({ children, id, illustrationType, variant, layoutContext: _, headingProps, bodyText, straightCorners, isAnimated, loop, classNameOverride, ...props }: EmptyStateProps): JSX.Element;
31
32
  displayName: string;
32
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.67.21",
3
+ "version": "1.67.22",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -0,0 +1,114 @@
1
+ .container {
2
+ --empty-state-border-width: var(--border-width-1);
3
+ --empty-state-illustration-max-height: 366px;
4
+ --empty-state-illustration-max-width: 420px;
5
+ --empty-state-text-container-max-width: 426px;
6
+
7
+ container-type: inline-size;
8
+ width: 100%;
9
+ border: var(--empty-state-border-width) solid var(--empty-state-border-color);
10
+ border-radius: var(--border-solid-border-radius);
11
+ background-color: var(--empty-state-background-color);
12
+ color: var(--color-purple-800);
13
+ }
14
+
15
+ .straightCorners {
16
+ border-radius: 0;
17
+ }
18
+
19
+ /** @deprecated */
20
+ .positive {
21
+ --empty-state-border-color: var(--color-green-500);
22
+ --empty-state-background-color: var(--color-green-100);
23
+ }
24
+
25
+ .negative,
26
+ .action {
27
+ --empty-state-border-color: var(--color-red-500);
28
+ --empty-state-background-color: var(--color-red-100);
29
+ }
30
+
31
+ .neutral {
32
+ --empty-state-border-color: var(--color-purple-400);
33
+ --empty-state-background-color: var(--color-purple-100);
34
+ }
35
+
36
+ /** end @deprecated */
37
+ .success {
38
+ --empty-state-border-color: var(--color-green-500);
39
+ --empty-state-background-color: var(--color-green-100);
40
+ }
41
+
42
+ .warning {
43
+ --empty-state-border-color: var(--color-red-500);
44
+ --empty-state-background-color: var(--color-red-100);
45
+ }
46
+
47
+ .informative {
48
+ --empty-state-border-color: var(--color-blue-400);
49
+ --empty-state-background-color: var(--color-blue-100);
50
+ }
51
+
52
+ .expert-advice {
53
+ --empty-state-border-color: var(--color-purple-400);
54
+ --empty-state-background-color: var(--color-purple-100);
55
+ }
56
+
57
+ .content {
58
+ justify-content: center;
59
+ display: grid;
60
+ grid-template-columns: minmax(auto, var(--empty-state-illustration-max-width)) minmax(
61
+ auto,
62
+ var(--empty-state-text-container-max-width)
63
+ );
64
+ grid-template-rows: minmax(auto, var(--empty-state-illustration-max-height)) auto;
65
+ padding: var(--spacing-24);
66
+ grid-column-gap: var(--spacing-32);
67
+ }
68
+
69
+ .illustrationContainer {
70
+ display: flex;
71
+ align-items: center;
72
+ }
73
+
74
+ .illustration,
75
+ .illustrationContainer video {
76
+ max-width: 100%;
77
+ max-height: var(--empty-state-illustration-max-height);
78
+ height: 100%;
79
+ width: auto;
80
+ }
81
+
82
+ .textContainer {
83
+ display: flex;
84
+ flex-direction: column;
85
+ justify-content: center;
86
+ gap: var(--spacing-24);
87
+ }
88
+
89
+ @container (width <=1024px) {
90
+ .content {
91
+ padding: var(--spacing-16);
92
+ }
93
+ }
94
+
95
+ @container (width <=560px) {
96
+ .content {
97
+ grid-template-columns: 1fr;
98
+ grid-template-rows: auto;
99
+ grid-column-gap: unset;
100
+ grid-row-gap: var(--spacing-24);
101
+ padding: var(--spacing-24);
102
+ }
103
+
104
+ .illustrationContainer {
105
+ --empty-state-illustration-max-height: 210px;
106
+
107
+ justify-content: center;
108
+ }
109
+
110
+ .heading {
111
+ font-size: 1.25rem;
112
+ line-height: 1.5rem;
113
+ }
114
+ }