@kaizen/components 1.80.0 → 1.80.2
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 +25 -22
- package/package.json +36 -36
- package/src/Filter/FilterMultiSelect/_docs/FilterMultiSelect.stories.tsx +34 -0
- package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.css +2 -1
- package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx +2 -1
- package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +4 -1
- package/src/Notification/ToastNotification/_docs/ToastNotification.stickersheet.stories.tsx +20 -6
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +5 -3
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer tokens, normalize, reset, kz-components;@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:auto}[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:auto;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{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}}
|
|
1
|
+
@layer tokens, normalize, reset, kz-components;@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:auto}[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:auto;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
2
|
@layer kz-components {
|
|
3
3
|
.SingleSelect-module_popover__ZjL9n {
|
|
4
4
|
background-color: var(--color-white);
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@layer kz-components {
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
.ListSection-module_listSectionHeader__bptHg {
|
|
14
|
+
font-family: var(--typography-heading-5-font-family);
|
|
15
|
+
font-weight: var(--typography-heading-5-font-weight);
|
|
16
|
+
font-size: var(--typography-heading-5-font-size);
|
|
17
|
+
line-height: var(--typography-heading-5-line-height);
|
|
18
|
+
letter-spacing: var(--typography-heading-5-letter-spacing);
|
|
17
19
|
}
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
@layer kz-components {
|
|
21
|
-
.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
line-height: var(--typography-paragraph-body-line-height);
|
|
26
|
-
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
23
|
+
.List-module_list__bbFPn {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: var(--spacing-16);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@layer kz-components {
|
|
50
|
-
.
|
|
51
|
-
font-family: var(--typography-
|
|
52
|
-
font-weight: var(--typography-
|
|
53
|
-
font-size: var(--typography-
|
|
54
|
-
line-height: var(--typography-
|
|
55
|
-
letter-spacing: var(--typography-
|
|
50
|
+
.ListItem-module_listItem__xGr6A {
|
|
51
|
+
font-family: var(--typography-paragraph-body-font-family);
|
|
52
|
+
font-weight: var(--typography-paragraph-body-font-weight);
|
|
53
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
54
|
+
line-height: var(--typography-paragraph-body-line-height);
|
|
55
|
+
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -3871,6 +3871,7 @@
|
|
|
3871
3871
|
@layer kz-components {
|
|
3872
3872
|
.MenuPopup-module_menuPopup__QgGEa {
|
|
3873
3873
|
/* from $ca-z-index-dropdown */
|
|
3874
|
+
position: absolute;
|
|
3874
3875
|
z-index: 1000;
|
|
3875
3876
|
box-sizing: border-box;
|
|
3876
3877
|
background: var(--color-white);
|
|
@@ -3881,10 +3882,10 @@
|
|
|
3881
3882
|
margin-top: var(--spacing-6);
|
|
3882
3883
|
text-align: start;
|
|
3883
3884
|
width: var(--menu-container-width, 294px);
|
|
3884
|
-
max-height: var(--menu-container-height, 500px);
|
|
3885
3885
|
}
|
|
3886
3886
|
|
|
3887
3887
|
.MenuPopup-module_menuPopup__QgGEa[popover]:popover-open {
|
|
3888
|
+
max-height: var(--menu-container-height, 500px);
|
|
3888
3889
|
z-index: unset;
|
|
3889
3890
|
margin: 0;
|
|
3890
3891
|
inset: unset;
|
|
@@ -5773,13 +5774,15 @@
|
|
|
5773
5774
|
line-height: var(--typography-paragraph-body-line-height, 1.5rem);
|
|
5774
5775
|
letter-spacing: var(--typography-paragraph-body-letter-spacing, normal);
|
|
5775
5776
|
}
|
|
5776
|
-
.GenericNotification-module_text__X-5ld a[href] {
|
|
5777
|
+
.GenericNotification-module_text__X-5ld a[href]:not([data-rac]) {
|
|
5778
|
+
border-bottom: var(--spacing-1) solid var(--color-blue-500, #0168b3);
|
|
5779
|
+
text-decoration: none;
|
|
5777
5780
|
color: var(--color-blue-500, #0168b3);
|
|
5778
|
-
text-decoration: underline;
|
|
5779
5781
|
}
|
|
5780
|
-
.GenericNotification-module_text__X-5ld a[href]:hover {
|
|
5781
|
-
color: var(--color-blue-500, #0168b3);
|
|
5782
|
+
.GenericNotification-module_text__X-5ld a[href]:not([data-rac]):hover {
|
|
5782
5783
|
text-decoration: none;
|
|
5784
|
+
color: var(--color-blue-600, #004970);
|
|
5785
|
+
border-bottom: var(--spacing-1) solid var(--color-blue-600, #004970);
|
|
5783
5786
|
}
|
|
5784
5787
|
.GenericNotification-module_text__X-5ld strong {
|
|
5785
5788
|
font-weight: var(--typography-button-secondary-font-weight, 500);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.80.
|
|
3
|
+
"version": "1.80.2",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -102,26 +102,26 @@
|
|
|
102
102
|
"kaizen-codemod": "./bin/codemod.sh"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@floating-ui/react-dom": "^2.1.
|
|
106
|
-
"@headlessui/react": "^2.2.
|
|
107
|
-
"@internationalized/date": "^3.8.
|
|
105
|
+
"@floating-ui/react-dom": "^2.1.4",
|
|
106
|
+
"@headlessui/react": "^2.2.6",
|
|
107
|
+
"@internationalized/date": "^3.8.2",
|
|
108
108
|
"@popperjs/core": "^2.11.8",
|
|
109
109
|
"@reach/tabs": "^0.18.0",
|
|
110
|
-
"@react-aria/button": "^3.13.
|
|
111
|
-
"@react-aria/datepicker": "^3.14.
|
|
112
|
-
"@react-aria/focus": "^3.20.
|
|
113
|
-
"@react-aria/i18n": "^3.12.
|
|
114
|
-
"@react-aria/listbox": "^3.14.
|
|
115
|
-
"@react-aria/menu": "^3.18.
|
|
116
|
-
"@react-aria/overlays": "^3.27.
|
|
117
|
-
"@react-aria/select": "^3.15.
|
|
118
|
-
"@react-aria/utils": "^3.29.
|
|
119
|
-
"@react-stately/collections": "^3.12.
|
|
120
|
-
"@react-stately/datepicker": "^3.14.
|
|
121
|
-
"@react-stately/list": "^3.12.
|
|
122
|
-
"@react-stately/menu": "^3.9.
|
|
123
|
-
"@react-stately/select": "^3.6.
|
|
124
|
-
"@react-types/shared": "^3.
|
|
110
|
+
"@react-aria/button": "^3.13.3",
|
|
111
|
+
"@react-aria/datepicker": "^3.14.5",
|
|
112
|
+
"@react-aria/focus": "^3.20.5",
|
|
113
|
+
"@react-aria/i18n": "^3.12.10",
|
|
114
|
+
"@react-aria/listbox": "^3.14.6",
|
|
115
|
+
"@react-aria/menu": "^3.18.5",
|
|
116
|
+
"@react-aria/overlays": "^3.27.3",
|
|
117
|
+
"@react-aria/select": "^3.15.7",
|
|
118
|
+
"@react-aria/utils": "^3.29.1",
|
|
119
|
+
"@react-stately/collections": "^3.12.5",
|
|
120
|
+
"@react-stately/datepicker": "^3.14.2",
|
|
121
|
+
"@react-stately/list": "^3.12.3",
|
|
122
|
+
"@react-stately/menu": "^3.9.5",
|
|
123
|
+
"@react-stately/select": "^3.6.14",
|
|
124
|
+
"@react-types/shared": "^3.30.0",
|
|
125
125
|
"classnames": "^2.5.1",
|
|
126
126
|
"date-fns": "^4.1.0",
|
|
127
127
|
"lodash.debounce": "^4.0.8",
|
|
@@ -130,24 +130,24 @@
|
|
|
130
130
|
"prosemirror-history": "^1.4.1",
|
|
131
131
|
"prosemirror-inputrules": "^1.5.0",
|
|
132
132
|
"prosemirror-keymap": "^1.2.3",
|
|
133
|
-
"prosemirror-model": "^1.25.
|
|
133
|
+
"prosemirror-model": "^1.25.2",
|
|
134
134
|
"prosemirror-schema-basic": "^1.2.4",
|
|
135
135
|
"prosemirror-schema-list": "^1.5.1",
|
|
136
136
|
"prosemirror-state": "^1.4.3",
|
|
137
137
|
"prosemirror-transform": "^1.10.4",
|
|
138
138
|
"prosemirror-utils": "^1.2.2",
|
|
139
|
-
"prosemirror-view": "^1.
|
|
139
|
+
"prosemirror-view": "^1.40.1",
|
|
140
140
|
"react-animate-height": "^3.2.3",
|
|
141
|
-
"react-aria": "^3.
|
|
142
|
-
"react-aria-components": "^1.
|
|
141
|
+
"react-aria": "^3.41.1",
|
|
142
|
+
"react-aria-components": "^1.10.1",
|
|
143
143
|
"react-day-picker": "9.6.7",
|
|
144
144
|
"react-focus-lock": "^2.13.6",
|
|
145
|
-
"react-focus-on": "^3.
|
|
145
|
+
"react-focus-on": "^3.10.0",
|
|
146
146
|
"react-popper": "^2.3.0",
|
|
147
|
-
"react-select": "^5.10.
|
|
147
|
+
"react-select": "^5.10.2",
|
|
148
148
|
"react-textfit": "^1.1.1",
|
|
149
149
|
"resize-observer-polyfill": "^1.5.1",
|
|
150
|
-
"use-debounce": "^10.0.
|
|
150
|
+
"use-debounce": "^10.0.5",
|
|
151
151
|
"uuid": "^11.1.0"
|
|
152
152
|
},
|
|
153
153
|
"dependenciesComments": {
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
},
|
|
156
156
|
"devDependencies": {
|
|
157
157
|
"@cultureamp/frontend-apis": "13.3.0",
|
|
158
|
-
"@cultureamp/i18n-react-intl": "^2.
|
|
158
|
+
"@cultureamp/i18n-react-intl": "^2.12.2",
|
|
159
159
|
"@cultureamp/package-bundler": "^2.3.2",
|
|
160
|
-
"@testing-library/dom": "^10.4.
|
|
160
|
+
"@testing-library/dom": "^10.4.1",
|
|
161
161
|
"@types/jest-axe": "^3.5.9",
|
|
162
162
|
"@types/lodash.debounce": "^4.0.9",
|
|
163
163
|
"@types/react-highlight": "^0.12.8",
|
|
@@ -169,23 +169,23 @@
|
|
|
169
169
|
"jest-axe": "^10.0.0",
|
|
170
170
|
"lodash.isempty": "^4.4.0",
|
|
171
171
|
"normalize.css": "^8.0.1",
|
|
172
|
-
"postcss": "^8.5.
|
|
172
|
+
"postcss": "^8.5.6",
|
|
173
173
|
"postcss-cli": "^11.0.1",
|
|
174
|
-
"postcss-import": "^16.1.
|
|
175
|
-
"postcss-preset-env": "^10.
|
|
174
|
+
"postcss-import": "^16.1.1",
|
|
175
|
+
"postcss-preset-env": "^10.2.4",
|
|
176
176
|
"postcss-scss": "^4.0.9",
|
|
177
|
-
"query-string": "^9.2.
|
|
178
|
-
"react": "^19.
|
|
179
|
-
"react-dom": "^19.
|
|
177
|
+
"query-string": "^9.2.2",
|
|
178
|
+
"react": "^19.1.0",
|
|
179
|
+
"react-dom": "^19.1.0",
|
|
180
180
|
"react-highlight": "^0.15.0",
|
|
181
181
|
"react-intl": "^7.1.11",
|
|
182
|
-
"rollup": "^4.
|
|
182
|
+
"rollup": "^4.46.1",
|
|
183
183
|
"sass": "1.79.6",
|
|
184
184
|
"serialize-query-params": "^2.0.2",
|
|
185
185
|
"svgo": "^3.3.2",
|
|
186
186
|
"tslib": "^2.8.1",
|
|
187
187
|
"ts-patch": "^3.3.0",
|
|
188
|
-
"tsx": "^4.
|
|
188
|
+
"tsx": "^4.20.3",
|
|
189
189
|
"@kaizen/design-tokens": "10.10.0"
|
|
190
190
|
},
|
|
191
191
|
"devDependenciesComments": {
|
|
@@ -3,6 +3,7 @@ import type { Selection } from '@react-types/shared'
|
|
|
3
3
|
import type { Meta, StoryObj } from '@storybook/react'
|
|
4
4
|
import { expect, userEvent, waitFor, within } from '@storybook/test'
|
|
5
5
|
import isChromatic from 'chromatic'
|
|
6
|
+
import { Card } from '~components/Card'
|
|
6
7
|
import { InlineNotification } from '~components/Notification'
|
|
7
8
|
import { TextField } from '~components/TextField'
|
|
8
9
|
import { FilterMultiSelect, getSelectedOptionLabels } from '..'
|
|
@@ -323,6 +324,39 @@ const sourceCode = `
|
|
|
323
324
|
</FilterMultiSelect>
|
|
324
325
|
`
|
|
325
326
|
|
|
327
|
+
export const WithContentBelow: Story = {
|
|
328
|
+
...FilterMultiSelectTemplate,
|
|
329
|
+
decorators: [
|
|
330
|
+
(Story) => (
|
|
331
|
+
<div>
|
|
332
|
+
<Story />
|
|
333
|
+
<Card classNameOverride="mt-24 p-12" isElevated>
|
|
334
|
+
<p>
|
|
335
|
+
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Veritatis libero dolore
|
|
336
|
+
pariatur enim voluptates aperiam, delectus, harum cum earum quibusdam quos porro
|
|
337
|
+
explicabo quisquam sapiente cupiditate quae hic, minus nam.
|
|
338
|
+
</p>
|
|
339
|
+
</Card>
|
|
340
|
+
</div>
|
|
341
|
+
),
|
|
342
|
+
],
|
|
343
|
+
parameters: {
|
|
344
|
+
chromatic: {
|
|
345
|
+
disable: false,
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
play: async ({ canvasElement, step }) => {
|
|
349
|
+
const canvas = within(canvasElement.parentElement!)
|
|
350
|
+
const triggerButton = await canvas.findByRole('button', {
|
|
351
|
+
name: /Engineer/i,
|
|
352
|
+
})
|
|
353
|
+
await step('Trigger opens the FilterMultiSelect dialog', async () => {
|
|
354
|
+
await userEvent.click(triggerButton)
|
|
355
|
+
await waitFor(() => expect(canvas.getByRole('option', { name: /Front-End/i })).toBeVisible())
|
|
356
|
+
})
|
|
357
|
+
},
|
|
358
|
+
}
|
|
359
|
+
|
|
326
360
|
export const AboveIfAvailable: Story = {
|
|
327
361
|
...WithSectionNotification,
|
|
328
362
|
name: 'With customMenuPopup and vertical placement',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@layer kz-components {
|
|
2
2
|
.menuPopup {
|
|
3
3
|
/* from $ca-z-index-dropdown */
|
|
4
|
+
position: absolute;
|
|
4
5
|
z-index: 1000;
|
|
5
6
|
box-sizing: border-box;
|
|
6
7
|
background: var(--color-white);
|
|
@@ -11,10 +12,10 @@
|
|
|
11
12
|
margin-top: var(--spacing-6);
|
|
12
13
|
text-align: start;
|
|
13
14
|
width: var(--menu-container-width, 294px);
|
|
14
|
-
max-height: var(--menu-container-height, 500px);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.menuPopup[popover]:popover-open {
|
|
18
|
+
max-height: var(--menu-container-height, 500px);
|
|
18
19
|
z-index: unset;
|
|
19
20
|
margin: 0;
|
|
20
21
|
inset: unset;
|
package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/Link'
|
|
3
4
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { GlobalNotification, type GlobalNotificationProps } from '../GlobalNotification'
|
|
5
6
|
|
|
@@ -72,7 +73,7 @@ const StickerSheetTemplate: StickerSheetStory = {
|
|
|
72
73
|
children: (
|
|
73
74
|
<span>
|
|
74
75
|
{"This survey status has been changed to 'Archived'. "}
|
|
75
|
-
<
|
|
76
|
+
<Link href="/">View all</Link>
|
|
76
77
|
</span>
|
|
77
78
|
),
|
|
78
79
|
} satisfies Partial<GlobalNotificationProps>
|
package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/index'
|
|
3
4
|
import { StickerSheet, type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { InlineNotification, type InlineNotificationProps } from '../InlineNotification'
|
|
5
6
|
|
|
@@ -19,7 +20,9 @@ const DEFAULT_PROPS = {
|
|
|
19
20
|
children: (
|
|
20
21
|
<span>
|
|
21
22
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
22
|
-
<
|
|
23
|
+
<Link href="/" size="small">
|
|
24
|
+
Manage users is now available
|
|
25
|
+
</Link>
|
|
23
26
|
</span>
|
|
24
27
|
),
|
|
25
28
|
} satisfies Partial<InlineNotificationProps>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { type Meta } from '@storybook/react'
|
|
3
|
+
import { Link } from '~components/Link'
|
|
3
4
|
import { type StickerSheetStory } from '~storybook/components/StickerSheet'
|
|
4
5
|
import { ToastNotification } from '../ToastNotification'
|
|
5
6
|
|
|
@@ -16,27 +17,40 @@ const StickerSheetTemplate: StickerSheetStory = {
|
|
|
16
17
|
<>
|
|
17
18
|
<ToastNotification variant="success" title="Success">
|
|
18
19
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
19
|
-
<
|
|
20
|
+
<Link href="/" size="small">
|
|
21
|
+
Manage users is now available
|
|
22
|
+
</Link>
|
|
20
23
|
</ToastNotification>
|
|
21
24
|
<ToastNotification type="positive" title="Positive (Deprecated)">
|
|
22
25
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
23
|
-
<
|
|
26
|
+
<Link href="/" size="small">
|
|
27
|
+
Manage users is now available
|
|
28
|
+
</Link>
|
|
24
29
|
</ToastNotification>
|
|
25
30
|
<ToastNotification variant="informative" title="Informative">
|
|
26
31
|
New user data is currently being processed. We'll let you know when the process is
|
|
27
|
-
completed.
|
|
32
|
+
completed.{' '}
|
|
33
|
+
<Link href="/" size="small">
|
|
34
|
+
Manage users
|
|
35
|
+
</Link>
|
|
28
36
|
</ToastNotification>
|
|
29
37
|
<ToastNotification variant="cautionary" title="Cautionary">
|
|
30
38
|
New user data, imported by mackenzie@hooli.com has uploaded with some minor issues.{' '}
|
|
31
|
-
<
|
|
39
|
+
<Link href="/" size="small">
|
|
40
|
+
View issues
|
|
41
|
+
</Link>
|
|
32
42
|
</ToastNotification>
|
|
33
43
|
<ToastNotification variant="warning" title="Warning">
|
|
34
44
|
Results hidden to protect confidentiality of individuals and small groups.{' '}
|
|
35
|
-
<
|
|
45
|
+
<Link href="/" size="small">
|
|
46
|
+
Learn more
|
|
47
|
+
</Link>
|
|
36
48
|
</ToastNotification>
|
|
37
49
|
<ToastNotification type="negative" title="Negative (Deprecated)">
|
|
38
50
|
New user data, imported by mackenzie@hooli.com has successfully uploaded.{' '}
|
|
39
|
-
<
|
|
51
|
+
<Link href="/" size="small">
|
|
52
|
+
Manage users is now available
|
|
53
|
+
</Link>
|
|
40
54
|
</ToastNotification>
|
|
41
55
|
<ToastNotification
|
|
42
56
|
variant="security"
|
|
@@ -262,13 +262,15 @@ $notification-slide-right: transform 300ms ease-out;
|
|
|
262
262
|
letter-spacing: $typography-paragraph-body-letter-spacing;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
a[href] {
|
|
265
|
+
a[href]:not([data-rac]) {
|
|
266
|
+
border-bottom: var(--spacing-1) solid $color-blue-500;
|
|
267
|
+
text-decoration: none;
|
|
266
268
|
color: $color-blue-500;
|
|
267
|
-
text-decoration: underline;
|
|
268
269
|
|
|
269
270
|
&:hover {
|
|
270
|
-
color: $color-blue-500;
|
|
271
271
|
text-decoration: none;
|
|
272
|
+
color: $color-blue-600;
|
|
273
|
+
border-bottom: var(--spacing-1) solid $color-blue-600;
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
|