@kaizen/components 1.68.10 → 1.68.11

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.
Files changed (29) hide show
  1. package/dist/cjs/Tag/Tag.cjs +2 -33
  2. package/dist/cjs/Tag/Tag.module.scss.cjs +1 -8
  3. package/dist/cjs/Tag/subcomponents/LiveIcon/LiveIcon.cjs +56 -0
  4. package/dist/cjs/Tag/subcomponents/LiveIcon/LiveIcon.module.css.cjs +12 -0
  5. package/dist/cjs/Tile/TileGrid/TileGrid.cjs +19 -2
  6. package/dist/esm/Tag/Tag.mjs +2 -33
  7. package/dist/esm/Tag/Tag.module.scss.mjs +1 -8
  8. package/dist/esm/Tag/subcomponents/LiveIcon/LiveIcon.mjs +54 -0
  9. package/dist/esm/Tag/subcomponents/LiveIcon/LiveIcon.module.css.mjs +10 -0
  10. package/dist/esm/Tile/TileGrid/TileGrid.mjs +19 -2
  11. package/dist/styles.css +178 -162
  12. package/dist/types/Tag/subcomponents/LiveIcon/LiveIcon.d.ts +4 -0
  13. package/dist/types/Tag/subcomponents/LiveIcon/index.d.ts +1 -0
  14. package/dist/types/Tag/subcomponents/index.d.ts +1 -0
  15. package/dist/types/Tile/TileGrid/TileGrid.d.ts +1 -1
  16. package/package.json +1 -1
  17. package/src/Tag/Tag.module.scss +0 -92
  18. package/src/Tag/Tag.tsx +2 -37
  19. package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +91 -0
  20. package/src/Tag/subcomponents/LiveIcon/LiveIcon.tsx +48 -0
  21. package/src/Tag/subcomponents/LiveIcon/index.ts +1 -0
  22. package/src/Tag/subcomponents/index.ts +1 -0
  23. package/src/Tile/TileGrid/TileGrid.module.scss +1 -0
  24. package/src/Tile/TileGrid/TileGrid.tsx +32 -7
  25. package/src/Tile/TileGrid/_docs/TileGrid.stickersheet.stories.tsx +40 -0
  26. package/src/Tile/TileGrid/_docs/TileGrid.stories.tsx +78 -1
  27. package/src/Workflow/_docs/ProgressStepper.stickersheet.stories.tsx +59 -0
  28. package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +6 -0
  29. package/src/__future__/Tag/Tag/_docs/Tag-migration-guide.stories.tsx +24 -64
package/dist/styles.css CHANGED
@@ -1,37 +1,4 @@
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
-
35
2
  .MenuItem-module_item__uImZI {
36
3
  display: block;
37
4
  font-family: var(--typography-paragraph-body-font-family);
@@ -79,6 +46,39 @@
79
46
  opacity: 0.3;
80
47
  }
81
48
 
49
+ .Menu-module_menu__AowD8 {
50
+ background-color: var(--color-white);
51
+ color: var(--color-purple-800);
52
+ width: 248px;
53
+ max-height: 22rem;
54
+ overflow: auto;
55
+ padding-block: var(--spacing-6);
56
+ outline: none;
57
+ border-radius: var(--border-solid-border-radius);
58
+ box-shadow: var(--shadow-large-box-shadow);
59
+ }
60
+
61
+ .Menu-module_menu__AowD8 .react-aria-Header {
62
+ font-family: var(--typography-heading-6-font-family);
63
+ font-size: var(--typography-heading-6-font-size);
64
+ letter-spacing: var(--typography-heading-6-letter-spacing);
65
+ font-weight: var(--typography-heading-6-font-weight);
66
+ line-height: var(--typography-heading-6-line-height);
67
+ padding: var(--spacing-6) 10px;
68
+ margin-inline: var(--spacing-6);
69
+ }
70
+
71
+ .Menu-module_menu__AowD8 section:not(:last-of-type) {
72
+ &::after {
73
+ width: 100%;
74
+ height: 1px;
75
+ background-color: var(--border-solid-border-color);
76
+ content: '';
77
+ display: block;
78
+ margin-block: var(--spacing-6);
79
+ }
80
+ }
81
+
82
82
  .Button-module_button__vlUCI {
83
83
  /* RESET */
84
84
  appearance: none;
@@ -312,6 +312,26 @@
312
312
  visibility: hidden;
313
313
  }
314
314
 
315
+ .ButtonContent-module_buttonContent__v5mHZ {
316
+ display: inline-flex;
317
+ align-items: center;
318
+ gap: var(--button-icon-gap, var(--spacing-6));
319
+ }
320
+
321
+ .ButtonContent-module_large__mLOdb {
322
+ --button-icon-gap: var(--spacing-8);
323
+ }
324
+
325
+ .ButtonContent-module_buttonLabel__T5XAq {
326
+ display: inline-flex;
327
+ align-items: center;
328
+ }
329
+
330
+ .ButtonContent-module_buttonIcon__qkAX- {
331
+ display: inline-flex;
332
+ align-items: center;
333
+ }
334
+
315
335
  .PendingContent-module_pendingContent__c4IFS {
316
336
  display: inline-flex;
317
337
  align-items: center;
@@ -329,26 +349,37 @@
329
349
  transform: translate(-50%, -50%);
330
350
  }
331
351
 
332
- .ButtonContent-module_buttonContent__v5mHZ {
333
- display: inline-flex;
334
- align-items: center;
335
- gap: var(--button-icon-gap, var(--spacing-6));
352
+ /** THIS IS AN AUTOGENERATED FILE **/
353
+ /** THIS IS AN AUTOGENERATED FILE **/
354
+ .OverlayArrow-module_overlayArrow__hoDyK {
355
+ display: flex;
356
+ padding: 8px;
336
357
  }
337
-
338
- .ButtonContent-module_large__mLOdb {
339
- --button-icon-gap: var(--spacing-8);
358
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
359
+ padding: 0 8px;
340
360
  }
341
-
342
- .ButtonContent-module_buttonLabel__T5XAq {
343
- display: inline-flex;
344
- align-items: center;
361
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
362
+ padding: 8px 0;
345
363
  }
346
-
347
- .ButtonContent-module_buttonIcon__qkAX- {
364
+ .OverlayArrow-module_overlayArrow__hoDyK path {
365
+ fill: var(--color-purple-800, #2f2438);
366
+ 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));
367
+ }
368
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
369
+ transform: rotate(90deg);
370
+ }
371
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
372
+ transform: rotate(180deg);
373
+ }
374
+ .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
375
+ transform: rotate(270deg);
376
+ }
377
+ .OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
378
+ fill: var(--color-white, #ffffff);
379
+ }
380
+ .Focusable-module_focusableWrapper__NfuIi {
348
381
  display: inline-flex;
349
- align-items: center;
350
382
  }
351
-
352
383
  /** THIS IS AN AUTOGENERATED FILE **/
353
384
  /** THIS IS AN AUTOGENERATED FILE **/
354
385
  /** THIS IS AN AUTOGENERATED FILE **/
@@ -405,37 +436,6 @@
405
436
  opacity: 1;
406
437
  }
407
438
  }
408
- .Focusable-module_focusableWrapper__NfuIi {
409
- display: inline-flex;
410
- }
411
- /** THIS IS AN AUTOGENERATED FILE **/
412
- /** THIS IS AN AUTOGENERATED FILE **/
413
- .OverlayArrow-module_overlayArrow__hoDyK {
414
- display: flex;
415
- padding: 8px;
416
- }
417
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
418
- padding: 0 8px;
419
- }
420
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
421
- padding: 8px 0;
422
- }
423
- .OverlayArrow-module_overlayArrow__hoDyK path {
424
- fill: var(--color-purple-800, #2f2438);
425
- 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));
426
- }
427
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
428
- transform: rotate(90deg);
429
- }
430
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
431
- transform: rotate(180deg);
432
- }
433
- .OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
434
- transform: rotate(270deg);
435
- }
436
- .OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
437
- fill: var(--color-white, #ffffff);
438
- }
439
439
  /*
440
440
  * This is taken from the Material Symbols CDN
441
441
  * font-weight & font-size removed as overridden in .icon
@@ -8649,6 +8649,98 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
8649
8649
  display: block;
8650
8650
  margin-bottom: var(--spacing-xs, 0.375rem);
8651
8651
  }
8652
+ .LiveIcon-module_liveIcon__v6FG- {
8653
+ display: inline-block;
8654
+ position: relative;
8655
+ width: 20px;
8656
+ height: 20px;
8657
+ margin-inline-start: 0.25rem;
8658
+ color: var(--color-green-500);
8659
+ }
8660
+
8661
+ .LiveIcon-module_liveIcon_base__Kagqm {
8662
+ opacity: 0.3;
8663
+ display: block;
8664
+ }
8665
+
8666
+ .LiveIcon-module_liveIcon_1__ye1Qk,
8667
+ .LiveIcon-module_liveIcon_2__p6f55,
8668
+ .LiveIcon-module_liveIcon_3__JmRFR {
8669
+ display: block;
8670
+ position: absolute;
8671
+ top: 0;
8672
+ left: 0;
8673
+ width: 100%;
8674
+ height: 100%;
8675
+ aspect-ratio: 1;
8676
+ overflow: hidden;
8677
+ }
8678
+
8679
+ .LiveIcon-module_liveIcon_1__ye1Qk {
8680
+ clip-path: circle(16%);
8681
+ }
8682
+
8683
+ .LiveIcon-module_liveIcon_2__p6f55,
8684
+ .LiveIcon-module_liveIcon_3__JmRFR {
8685
+ animation-duration: 3s;
8686
+ animation-iteration-count: 3;
8687
+ animation-delay: 1s;
8688
+ }
8689
+
8690
+ .LiveIcon-module_liveIcon_2__p6f55 {
8691
+ clip-path: circle(32%);
8692
+ animation-name: LiveIcon-module_pulse-inner__EGliV;
8693
+ }
8694
+
8695
+ .LiveIcon-module_liveIcon_3__JmRFR {
8696
+ clip-path: circle(50%);
8697
+ animation-name: LiveIcon-module_pulse-outer__bxHMh;
8698
+ }
8699
+
8700
+ @keyframes LiveIcon-module_pulse-inner__EGliV {
8701
+ 0% {
8702
+ opacity: 0;
8703
+ }
8704
+
8705
+ 25% {
8706
+ opacity: 0;
8707
+ }
8708
+
8709
+ 50% {
8710
+ opacity: 1;
8711
+ }
8712
+
8713
+ 75% {
8714
+ opacity: 1;
8715
+ }
8716
+
8717
+ 100% {
8718
+ opacity: 1;
8719
+ }
8720
+ }
8721
+
8722
+ @keyframes LiveIcon-module_pulse-outer__bxHMh {
8723
+ 0% {
8724
+ opacity: 0;
8725
+ }
8726
+
8727
+ 25% {
8728
+ opacity: 0;
8729
+ }
8730
+
8731
+ 50% {
8732
+ opacity: 0;
8733
+ }
8734
+
8735
+ 75% {
8736
+ opacity: 1;
8737
+ }
8738
+
8739
+ 100% {
8740
+ opacity: 1;
8741
+ }
8742
+ }
8743
+
8652
8744
  /** THIS IS AN AUTOGENERATED FILE **/
8653
8745
  /** THIS IS AN AUTOGENERATED FILE **/
8654
8746
  /** THIS IS AN AUTOGENERATED FILE **/
@@ -8844,89 +8936,6 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
8844
8936
  background-color: var(--color-blue-100, #e6f6ff);
8845
8937
  color: var(--color-purple-800, #2f2438);
8846
8938
  }
8847
-
8848
- .Tag-module_liveIcon__URtak {
8849
- display: inline-block;
8850
- position: relative;
8851
- width: 20px;
8852
- height: 20px;
8853
- margin-inline-start: 0.25rem;
8854
- color: var(--color-green-500, #3f9a86);
8855
- }
8856
-
8857
- .Tag-module_liveIcon_base__Nk5um {
8858
- opacity: 30%;
8859
- display: block;
8860
- }
8861
-
8862
- .Tag-module_liveIcon_1__STFJY,
8863
- .Tag-module_liveIcon_2__rko-D,
8864
- .Tag-module_liveIcon_3__fL71y {
8865
- display: block;
8866
- position: absolute;
8867
- top: 0;
8868
- left: 0;
8869
- width: 100%;
8870
- height: 100%;
8871
- aspect-ratio: 1;
8872
- overflow: hidden;
8873
- }
8874
-
8875
- .Tag-module_liveIcon_1__STFJY {
8876
- clip-path: circle(16%);
8877
- }
8878
-
8879
- .Tag-module_liveIcon_2__rko-D,
8880
- .Tag-module_liveIcon_3__fL71y {
8881
- animation-duration: 3s;
8882
- animation-iteration-count: 3;
8883
- animation-delay: 1s;
8884
- }
8885
-
8886
- .Tag-module_liveIcon_2__rko-D {
8887
- clip-path: circle(32%);
8888
- animation-name: Tag-module_pulse-inner__0-JFL;
8889
- }
8890
-
8891
- .Tag-module_liveIcon_3__fL71y {
8892
- clip-path: circle(50%);
8893
- animation-name: Tag-module_pulse-outer__f9Oox;
8894
- }
8895
-
8896
- @keyframes Tag-module_pulse-inner__0-JFL {
8897
- 0% {
8898
- opacity: 0%;
8899
- }
8900
- 25% {
8901
- opacity: 0%;
8902
- }
8903
- 50% {
8904
- opacity: 100%;
8905
- }
8906
- 75% {
8907
- opacity: 100%;
8908
- }
8909
- 100% {
8910
- opacity: 100%;
8911
- }
8912
- }
8913
- @keyframes Tag-module_pulse-outer__f9Oox {
8914
- 0% {
8915
- opacity: 0%;
8916
- }
8917
- 25% {
8918
- opacity: 0%;
8919
- }
8920
- 50% {
8921
- opacity: 0%;
8922
- }
8923
- 75% {
8924
- opacity: 100%;
8925
- }
8926
- 100% {
8927
- opacity: 100%;
8928
- }
8929
- }
8930
8939
  /** THIS IS AN AUTOGENERATED FILE **/
8931
8940
  /** THIS IS AN AUTOGENERATED FILE **/
8932
8941
  /** THIS IS AN AUTOGENERATED FILE **/
@@ -10105,6 +10114,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
10105
10114
  }
10106
10115
  /** THIS IS AN AUTOGENERATED FILE **/
10107
10116
  .TileGrid-module_grid__1WCNc {
10117
+ list-style-type: none;
10108
10118
  display: grid;
10109
10119
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
10110
10120
  grid-gap: var(--spacing-md, 1.5rem);
@@ -11690,6 +11700,12 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
11690
11700
  /* sets fron the bottom to the centre of the dot */
11691
11701
  top: calc(100% - calc(var(--progress-stepper-indicator-size) / 2));
11692
11702
  transform: translateX(-50%);
11703
+
11704
+ :dir(rtl) & {
11705
+ left: unset;
11706
+ right: 100%;
11707
+ transform: translateX(50%);
11708
+ }
11693
11709
  }
11694
11710
 
11695
11711
  .ProgressStepper-module_stepperDescription__KplV3 {
@@ -0,0 +1,4 @@
1
+ export declare const LiveIcon: {
2
+ (): JSX.Element;
3
+ displayName: string;
4
+ };
@@ -0,0 +1 @@
1
+ export * from './LiveIcon';
@@ -0,0 +1 @@
1
+ export * from './LiveIcon';
@@ -4,7 +4,7 @@ import { InformationTileProps } from '../InformationTile';
4
4
  import { MultiActionTileProps } from '../MultiActionTile';
5
5
  type TileProps = InformationTileProps | MultiActionTileProps;
6
6
  export type TileElement = ReactElement<TileProps>;
7
- export interface TileGridProps extends OverrideClassName<HTMLAttributes<HTMLDivElement>> {
7
+ export interface TileGridProps extends OverrideClassName<HTMLAttributes<HTMLUListElement>> {
8
8
  children: TileElement[] | TileElement;
9
9
  }
10
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.68.10",
3
+ "version": "1.68.11",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -211,95 +211,3 @@ $small: $spacing-md;
211
211
  background-color: $color-blue-100;
212
212
  color: $color-purple-800;
213
213
  }
214
-
215
- .liveIcon {
216
- display: inline-block;
217
- position: relative;
218
- width: 20px;
219
- height: 20px;
220
- margin-inline-start: 0.25rem;
221
- color: $color-green-500;
222
- }
223
-
224
- .liveIcon_base {
225
- opacity: 30%;
226
- display: block;
227
- }
228
-
229
- .liveIcon_1,
230
- .liveIcon_2,
231
- .liveIcon_3 {
232
- display: block;
233
- position: absolute;
234
- top: 0;
235
- left: 0;
236
- width: 100%;
237
- height: 100%;
238
- aspect-ratio: 1;
239
- overflow: hidden;
240
- }
241
-
242
- .liveIcon_1 {
243
- clip-path: circle(16%);
244
- }
245
-
246
- .liveIcon_2,
247
- .liveIcon_3 {
248
- animation-duration: 3s;
249
- animation-iteration-count: 3;
250
- animation-delay: 1s;
251
- }
252
-
253
- .liveIcon_2 {
254
- clip-path: circle(32%);
255
- animation-name: pulse-inner;
256
- }
257
-
258
- .liveIcon_3 {
259
- clip-path: circle(50%);
260
- animation-name: pulse-outer;
261
- }
262
-
263
- @keyframes pulse-inner {
264
- 0% {
265
- opacity: 0%;
266
- }
267
-
268
- 25% {
269
- opacity: 0%;
270
- }
271
-
272
- 50% {
273
- opacity: 100%;
274
- }
275
-
276
- 75% {
277
- opacity: 100%;
278
- }
279
-
280
- 100% {
281
- opacity: 100%;
282
- }
283
- }
284
-
285
- @keyframes pulse-outer {
286
- 0% {
287
- opacity: 0%;
288
- }
289
-
290
- 25% {
291
- opacity: 0%;
292
- }
293
-
294
- 50% {
295
- opacity: 0%;
296
- }
297
-
298
- 75% {
299
- opacity: 100%;
300
- }
301
-
302
- 100% {
303
- opacity: 100%;
304
- }
305
- }
package/src/Tag/Tag.tsx CHANGED
@@ -1,8 +1,8 @@
1
1
  import React from 'react'
2
2
  import classnames from 'classnames'
3
3
  import { Avatar, AvatarProps } from '~components/Avatar'
4
- import { LiveIcon } from '~components/Icon'
5
4
  import { Icon } from '~components/__future__/Icon'
5
+ import { LiveIcon } from './subcomponents/LiveIcon/LiveIcon'
6
6
  import { TagVariants } from './types'
7
7
  import styles from './Tag.module.scss'
8
8
 
@@ -130,42 +130,7 @@ export const Tag = (props: TagProps): JSX.Element => {
130
130
  </button>
131
131
  </>
132
132
  )}
133
- {variant === 'statusLive' && (
134
- <span className={styles.liveIcon}>
135
- <LiveIcon
136
- role="presentation"
137
- classNameOverride={styles.liveIcon_base}
138
- width="16"
139
- height="16"
140
- viewBox="0 0 16 16"
141
- fill="none"
142
- />
143
- <LiveIcon
144
- role="presentation"
145
- classNameOverride={styles.liveIcon_1}
146
- width="16"
147
- height="16"
148
- viewBox="0 0 16 16"
149
- fill="none"
150
- />
151
- <LiveIcon
152
- role="presentation"
153
- classNameOverride={styles.liveIcon_2}
154
- width="16"
155
- height="16"
156
- viewBox="0 0 16 16"
157
- fill="none"
158
- />
159
- <LiveIcon
160
- role="presentation"
161
- classNameOverride={styles.liveIcon_3}
162
- width="16"
163
- height="16"
164
- viewBox="0 0 16 16"
165
- fill="none"
166
- />
167
- </span>
168
- )}
133
+ {variant === 'statusLive' && <LiveIcon />}
169
134
  </>
170
135
  </div>
171
136
  </div>
@@ -0,0 +1,91 @@
1
+ .liveIcon {
2
+ display: inline-block;
3
+ position: relative;
4
+ width: 20px;
5
+ height: 20px;
6
+ margin-inline-start: 0.25rem;
7
+ color: var(--color-green-500);
8
+ }
9
+
10
+ .liveIcon_base {
11
+ opacity: 0.3;
12
+ display: block;
13
+ }
14
+
15
+ .liveIcon_1,
16
+ .liveIcon_2,
17
+ .liveIcon_3 {
18
+ display: block;
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ width: 100%;
23
+ height: 100%;
24
+ aspect-ratio: 1;
25
+ overflow: hidden;
26
+ }
27
+
28
+ .liveIcon_1 {
29
+ clip-path: circle(16%);
30
+ }
31
+
32
+ .liveIcon_2,
33
+ .liveIcon_3 {
34
+ animation-duration: 3s;
35
+ animation-iteration-count: 3;
36
+ animation-delay: 1s;
37
+ }
38
+
39
+ .liveIcon_2 {
40
+ clip-path: circle(32%);
41
+ animation-name: pulse-inner;
42
+ }
43
+
44
+ .liveIcon_3 {
45
+ clip-path: circle(50%);
46
+ animation-name: pulse-outer;
47
+ }
48
+
49
+ @keyframes pulse-inner {
50
+ 0% {
51
+ opacity: 0;
52
+ }
53
+
54
+ 25% {
55
+ opacity: 0;
56
+ }
57
+
58
+ 50% {
59
+ opacity: 1;
60
+ }
61
+
62
+ 75% {
63
+ opacity: 1;
64
+ }
65
+
66
+ 100% {
67
+ opacity: 1;
68
+ }
69
+ }
70
+
71
+ @keyframes pulse-outer {
72
+ 0% {
73
+ opacity: 0;
74
+ }
75
+
76
+ 25% {
77
+ opacity: 0;
78
+ }
79
+
80
+ 50% {
81
+ opacity: 0;
82
+ }
83
+
84
+ 75% {
85
+ opacity: 1;
86
+ }
87
+
88
+ 100% {
89
+ opacity: 1;
90
+ }
91
+ }