@kaizen/components 1.64.4 → 1.64.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/Brand/Brand.cjs
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var classnames = require('classnames');
|
|
5
6
|
var hostedAssets = require('../utils/hostedAssets.cjs');
|
|
6
7
|
var BrandCollectiveIntelligence = require('./BrandCollectiveIntelligence/BrandCollectiveIntelligence.cjs');
|
|
7
8
|
var Brand_module = require('./Brand.module.scss.cjs');
|
|
@@ -11,6 +12,7 @@ function _interopDefault(e) {
|
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
15
|
+
var classnames__default = /*#__PURE__*/_interopDefault(classnames);
|
|
14
16
|
var isSVG = function (variant, restProps) {
|
|
15
17
|
return variant === "collective-intelligence";
|
|
16
18
|
};
|
|
@@ -42,11 +44,10 @@ var Brand = function (_a) {
|
|
|
42
44
|
}
|
|
43
45
|
var alt = restProps.alt,
|
|
44
46
|
classNameOverride = restProps.classNameOverride,
|
|
45
|
-
|
|
47
|
+
style = restProps.style,
|
|
48
|
+
otherProps = tslib.__rest(restProps, ["alt", "classNameOverride", "style"]);
|
|
46
49
|
var brandTheme = reversed ? "-reversed" : "-default";
|
|
47
|
-
return React__default.default.createElement("picture", tslib.__assign({
|
|
48
|
-
className: classNameOverride
|
|
49
|
-
}, otherProps), React__default.default.createElement("source", {
|
|
50
|
+
return React__default.default.createElement("picture", tslib.__assign({}, otherProps), React__default.default.createElement("source", {
|
|
50
51
|
srcSet: hostedAssets.assetUrl("brand/".concat(variant, "-reversed.svg")),
|
|
51
52
|
media: "(forced-colors: active) and (prefers-color-scheme: dark)"
|
|
52
53
|
}), React__default.default.createElement("source", {
|
|
@@ -55,7 +56,8 @@ var Brand = function (_a) {
|
|
|
55
56
|
}), React__default.default.createElement("img", {
|
|
56
57
|
src: hostedAssets.assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")),
|
|
57
58
|
alt: alt,
|
|
58
|
-
className: Brand_module.img
|
|
59
|
+
className: classnames__default.default(Brand_module.img, classNameOverride),
|
|
60
|
+
style: style
|
|
59
61
|
}));
|
|
60
62
|
};
|
|
61
63
|
Brand.displayName = "Brand";
|
package/dist/esm/Brand/Brand.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import classnames from 'classnames';
|
|
3
4
|
import { assetUrl } from '../utils/hostedAssets.mjs';
|
|
4
5
|
import { BrandCollectiveIntelligence } from './BrandCollectiveIntelligence/BrandCollectiveIntelligence.mjs';
|
|
5
6
|
import styles from './Brand.module.scss.mjs';
|
|
@@ -35,11 +36,10 @@ const Brand = /*#__PURE__*/function () {
|
|
|
35
36
|
}
|
|
36
37
|
var alt = restProps.alt,
|
|
37
38
|
classNameOverride = restProps.classNameOverride,
|
|
38
|
-
|
|
39
|
+
style = restProps.style,
|
|
40
|
+
otherProps = __rest(restProps, ["alt", "classNameOverride", "style"]);
|
|
39
41
|
var brandTheme = reversed ? "-reversed" : "-default";
|
|
40
|
-
return /*#__PURE__*/React.createElement("picture", __assign({
|
|
41
|
-
className: classNameOverride
|
|
42
|
-
}, otherProps), /*#__PURE__*/React.createElement("source", {
|
|
42
|
+
return /*#__PURE__*/React.createElement("picture", __assign({}, otherProps), /*#__PURE__*/React.createElement("source", {
|
|
43
43
|
srcSet: assetUrl("brand/".concat(variant, "-reversed.svg")),
|
|
44
44
|
media: "(forced-colors: active) and (prefers-color-scheme: dark)"
|
|
45
45
|
}), /*#__PURE__*/React.createElement("source", {
|
|
@@ -48,7 +48,8 @@ const Brand = /*#__PURE__*/function () {
|
|
|
48
48
|
}), /*#__PURE__*/React.createElement("img", {
|
|
49
49
|
src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")),
|
|
50
50
|
alt: alt,
|
|
51
|
-
className: styles.img
|
|
51
|
+
className: classnames(styles.img, classNameOverride),
|
|
52
|
+
style: style
|
|
52
53
|
}));
|
|
53
54
|
};
|
|
54
55
|
Brand.displayName = "Brand";
|
package/dist/styles.css
CHANGED
|
@@ -1,93 +1,61 @@
|
|
|
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:700;--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:700;--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:700;--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:700;--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:700;--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
2
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
3
3
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
8
|
-
.Tooltip-module_tooltip__efL1m {
|
|
9
|
-
max-width: 200px;
|
|
10
|
-
padding: var(--spacing-8, 0.5rem) var(--spacing-12, 0.75rem);
|
|
11
|
-
color: var(--color-white, #ffffff);
|
|
12
|
-
text-align: center;
|
|
13
|
-
font-family: var(--typography-paragraph-extra-small-font-family, "Inter", "Noto Sans", Helvetica, Arial, sans-serif);
|
|
14
|
-
font-size: var(--typography-paragraph-extra-small-font-size, 0.75rem);
|
|
15
|
-
font-weight: var(--typography-paragraph-extra-small-font-weight, 400);
|
|
16
|
-
letter-spacing: var(--typography-paragraph-extra-small-letter-spacing, normal);
|
|
17
|
-
line-height: var(--typography-paragraph-extra-small-line-height, 1.125rem);
|
|
18
|
-
border-radius: var(--border-solid-border-radius, 7px);
|
|
19
|
-
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));
|
|
20
|
-
background-color: var(--color-purple-800, #2f2438);
|
|
21
|
-
text-wrap: pretty;
|
|
22
|
-
/* fixes FF gap */
|
|
23
|
-
transform: translate3d(0, 0, 0);
|
|
24
|
-
}
|
|
25
|
-
.Tooltip-module_tooltip__efL1m.Tooltip-module_reversed__NnCbZ {
|
|
26
|
-
background-color: var(--color-white, #ffffff);
|
|
27
|
-
color: var(--color-purple-800, #2f2438);
|
|
28
|
-
}
|
|
29
|
-
.Tooltip-module_tooltip__efL1m[data-placement=top] {
|
|
30
|
-
--origin: translateY(4px);
|
|
4
|
+
.OverlayArrow-module_overlayArrow__hoDyK {
|
|
5
|
+
display: flex;
|
|
6
|
+
padding: 8px;
|
|
31
7
|
}
|
|
32
|
-
.
|
|
33
|
-
|
|
8
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
|
|
9
|
+
padding: 0 8px;
|
|
34
10
|
}
|
|
35
|
-
.
|
|
36
|
-
|
|
11
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
|
|
12
|
+
padding: 8px 0;
|
|
37
13
|
}
|
|
38
|
-
.
|
|
39
|
-
|
|
14
|
+
.OverlayArrow-module_overlayArrow__hoDyK path {
|
|
15
|
+
fill: var(--color-purple-800, #2f2438);
|
|
16
|
+
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));
|
|
40
17
|
}
|
|
41
|
-
.
|
|
42
|
-
|
|
18
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
|
|
19
|
+
transform: rotate(90deg);
|
|
43
20
|
}
|
|
44
|
-
.
|
|
45
|
-
|
|
21
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
|
|
22
|
+
transform: rotate(180deg);
|
|
46
23
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
from {
|
|
50
|
-
transform: var(--origin);
|
|
51
|
-
opacity: 0;
|
|
52
|
-
}
|
|
53
|
-
to {
|
|
54
|
-
transform: translateY(0);
|
|
55
|
-
opacity: 1;
|
|
56
|
-
}
|
|
24
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
|
|
25
|
+
transform: rotate(270deg);
|
|
57
26
|
}
|
|
58
|
-
.
|
|
59
|
-
|
|
60
|
-
font-size: var(--typography-paragraph-body-font-size);
|
|
61
|
-
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
62
|
-
font-weight: var(--typography-paragraph-body-font-weight);
|
|
63
|
-
line-height: var(--typography-paragraph-body-line-height);
|
|
64
|
-
color: rgba(var(--color-purple-800-rgb), 0.7);
|
|
65
|
-
padding: var(--spacing-6) var(--spacing-8);
|
|
66
|
-
border: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style) transparent;
|
|
67
|
-
border-radius: 4px;
|
|
68
|
-
display: flex;
|
|
69
|
-
gap: 0 var(--spacing-8);
|
|
70
|
-
align-items: center;
|
|
71
|
-
margin-inline: var(--spacing-6);
|
|
72
|
-
text-decoration: none;
|
|
73
|
-
cursor: pointer;
|
|
27
|
+
.OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
|
|
28
|
+
fill: var(--color-white, #ffffff);
|
|
74
29
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
30
|
+
.Menu-module_menu__iHYqh {
|
|
31
|
+
background-color: var(--color-white);
|
|
32
|
+
color: var(--color-purple-800);
|
|
33
|
+
width: 248px;
|
|
34
|
+
max-height: 22rem;
|
|
35
|
+
overflow: auto;
|
|
36
|
+
padding-block: var(--spacing-6);
|
|
37
|
+
outline: none;
|
|
38
|
+
border-radius: var(--border-solid-border-radius);
|
|
39
|
+
box-shadow: var(--shadow-large-box-shadow);
|
|
80
40
|
}
|
|
81
41
|
|
|
82
|
-
.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
42
|
+
.Menu-module_menu__iHYqh .react-aria-Header {
|
|
43
|
+
font-family: var(--typography-heading-6-font-family);
|
|
44
|
+
font-size: var(--typography-heading-6-font-size);
|
|
45
|
+
letter-spacing: var(--typography-heading-6-letter-spacing);
|
|
46
|
+
font-weight: var(--typography-heading-6-font-weight);
|
|
47
|
+
line-height: var(--typography-heading-6-line-height);
|
|
48
|
+
padding: var(--spacing-6) 10px;
|
|
49
|
+
margin-inline: var(--spacing-6);
|
|
87
50
|
}
|
|
88
51
|
|
|
89
|
-
.
|
|
90
|
-
|
|
52
|
+
.Menu-module_menu__iHYqh section:not(:last-of-type)::after {
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 1px;
|
|
55
|
+
background-color: var(--border-solid-border-color);
|
|
56
|
+
content: "";
|
|
57
|
+
display: block;
|
|
58
|
+
margin-block: var(--spacing-6);
|
|
91
59
|
}
|
|
92
60
|
.Button-module_button__QOSYH {
|
|
93
61
|
--button-min-height-width: var(--spacing-48);
|
|
@@ -177,66 +145,98 @@
|
|
|
177
145
|
--button-icon-size: var(--spacing-16);
|
|
178
146
|
gap: var(--spacing-8);
|
|
179
147
|
}
|
|
180
|
-
.
|
|
181
|
-
|
|
148
|
+
.MenuItem-module_item__DPerF {
|
|
149
|
+
font-family: var(--typography-paragraph-body-font-family);
|
|
150
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
151
|
+
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
152
|
+
font-weight: var(--typography-paragraph-body-font-weight);
|
|
153
|
+
line-height: var(--typography-paragraph-body-line-height);
|
|
154
|
+
color: rgba(var(--color-purple-800-rgb), 0.7);
|
|
155
|
+
padding: var(--spacing-6) var(--spacing-8);
|
|
156
|
+
border: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style) transparent;
|
|
157
|
+
border-radius: 4px;
|
|
158
|
+
display: flex;
|
|
159
|
+
gap: 0 var(--spacing-8);
|
|
160
|
+
align-items: center;
|
|
161
|
+
margin-inline: var(--spacing-6);
|
|
162
|
+
text-decoration: none;
|
|
163
|
+
cursor: pointer;
|
|
182
164
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
overflow: auto;
|
|
189
|
-
padding-block: var(--spacing-6);
|
|
190
|
-
outline: none;
|
|
191
|
-
border-radius: var(--border-solid-border-radius);
|
|
192
|
-
box-shadow: var(--shadow-large-box-shadow);
|
|
165
|
+
|
|
166
|
+
.MenuItem-module_iconWrapper__bRdQN {
|
|
167
|
+
flex-shrink: 0;
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
193
170
|
}
|
|
194
171
|
|
|
195
|
-
.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
line-height: var(--typography-heading-6-line-height);
|
|
201
|
-
padding: var(--spacing-6) 10px;
|
|
202
|
-
margin-inline: var(--spacing-6);
|
|
172
|
+
.MenuItem-module_item__DPerF[data-focused] {
|
|
173
|
+
background-color: var(--color-blue-100);
|
|
174
|
+
color: var(--color-blue-500);
|
|
175
|
+
outline: none;
|
|
176
|
+
border-color: var(--color-blue-500);
|
|
203
177
|
}
|
|
204
178
|
|
|
205
|
-
.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
display: block;
|
|
211
|
-
margin-block: var(--spacing-6);
|
|
179
|
+
.MenuItem-module_item__DPerF[data-disabled] {
|
|
180
|
+
opacity: 0.3;
|
|
181
|
+
}
|
|
182
|
+
.Focusable-module_focusableWrapper__NfuIi {
|
|
183
|
+
display: inline-flex;
|
|
212
184
|
}
|
|
213
185
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
214
186
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
187
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
188
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
189
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
190
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
191
|
+
.Tooltip-module_tooltip__efL1m {
|
|
192
|
+
max-width: 200px;
|
|
193
|
+
padding: var(--spacing-8, 0.5rem) var(--spacing-12, 0.75rem);
|
|
194
|
+
color: var(--color-white, #ffffff);
|
|
195
|
+
text-align: center;
|
|
196
|
+
font-family: var(--typography-paragraph-extra-small-font-family, "Inter", "Noto Sans", Helvetica, Arial, sans-serif);
|
|
197
|
+
font-size: var(--typography-paragraph-extra-small-font-size, 0.75rem);
|
|
198
|
+
font-weight: var(--typography-paragraph-extra-small-font-weight, 400);
|
|
199
|
+
letter-spacing: var(--typography-paragraph-extra-small-letter-spacing, normal);
|
|
200
|
+
line-height: var(--typography-paragraph-extra-small-line-height, 1.125rem);
|
|
201
|
+
border-radius: var(--border-solid-border-radius, 7px);
|
|
202
|
+
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));
|
|
203
|
+
background-color: var(--color-purple-800, #2f2438);
|
|
204
|
+
text-wrap: pretty;
|
|
205
|
+
/* fixes FF gap */
|
|
206
|
+
transform: translate3d(0, 0, 0);
|
|
218
207
|
}
|
|
219
|
-
.
|
|
220
|
-
|
|
208
|
+
.Tooltip-module_tooltip__efL1m.Tooltip-module_reversed__NnCbZ {
|
|
209
|
+
background-color: var(--color-white, #ffffff);
|
|
210
|
+
color: var(--color-purple-800, #2f2438);
|
|
221
211
|
}
|
|
222
|
-
.
|
|
223
|
-
|
|
212
|
+
.Tooltip-module_tooltip__efL1m[data-placement=top] {
|
|
213
|
+
--origin: translateY(4px);
|
|
224
214
|
}
|
|
225
|
-
.
|
|
226
|
-
|
|
227
|
-
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));
|
|
215
|
+
.Tooltip-module_tooltip__efL1m[data-placement=bottom] {
|
|
216
|
+
--origin: translateY(-4px);
|
|
228
217
|
}
|
|
229
|
-
.
|
|
230
|
-
|
|
218
|
+
.Tooltip-module_tooltip__efL1m[data-placement=right] {
|
|
219
|
+
--origin: translateX(-4px);
|
|
231
220
|
}
|
|
232
|
-
.
|
|
233
|
-
|
|
221
|
+
.Tooltip-module_tooltip__efL1m[data-placement=left] {
|
|
222
|
+
--origin: translateX(4px);
|
|
234
223
|
}
|
|
235
|
-
.
|
|
236
|
-
|
|
224
|
+
.Tooltip-module_tooltip__efL1m[data-entering] {
|
|
225
|
+
animation: Tooltip-module_slide__lFdGA var(--animation-duration-fast, 300ms);
|
|
237
226
|
}
|
|
238
|
-
.
|
|
239
|
-
|
|
227
|
+
.Tooltip-module_tooltip__efL1m[data-exiting] {
|
|
228
|
+
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));
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@keyframes Tooltip-module_slide__lFdGA {
|
|
232
|
+
from {
|
|
233
|
+
transform: var(--origin);
|
|
234
|
+
opacity: 0;
|
|
235
|
+
}
|
|
236
|
+
to {
|
|
237
|
+
transform: translateY(0);
|
|
238
|
+
opacity: 1;
|
|
239
|
+
}
|
|
240
240
|
}
|
|
241
241
|
.SVG-module_icon__8J5Ev {
|
|
242
242
|
width: 20px;
|
|
@@ -12384,19 +12384,18 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
|
|
|
12384
12384
|
}
|
|
12385
12385
|
|
|
12386
12386
|
.Branding-module_branding__g3OoE {
|
|
12387
|
-
justify-content: center;
|
|
12388
12387
|
grid-area: branding;
|
|
12389
12388
|
display: flex;
|
|
12390
|
-
|
|
12389
|
+
justify-content: center;
|
|
12391
12390
|
padding-top: var(--spacing-4);
|
|
12392
12391
|
|
|
12393
|
-
@media (width >=
|
|
12392
|
+
@media (width >=768px) {
|
|
12394
12393
|
justify-content: unset;
|
|
12395
12394
|
}
|
|
12396
12395
|
}
|
|
12397
12396
|
|
|
12398
12397
|
.Branding-module_logo__yLHfs {
|
|
12399
|
-
|
|
12398
|
+
width: 7.5rem;
|
|
12400
12399
|
}
|
|
12401
12400
|
|
|
12402
12401
|
.Root-module_root__-1P72 {
|
package/package.json
CHANGED
package/src/Brand/Brand.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes, SVGAttributes } from "react"
|
|
2
|
+
import classnames from "classnames"
|
|
2
3
|
import { OverrideClassName } from "~components/types/OverrideClassName"
|
|
3
4
|
import { assetUrl } from "~components/utils/hostedAssets"
|
|
4
5
|
import { BrandCollectiveIntelligence } from "./BrandCollectiveIntelligence"
|
|
@@ -58,11 +59,11 @@ export const Brand = ({
|
|
|
58
59
|
)
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
const { alt, classNameOverride, ...otherProps } = restProps
|
|
62
|
+
const { alt, classNameOverride, style, ...otherProps } = restProps
|
|
62
63
|
const brandTheme = reversed ? "-reversed" : "-default"
|
|
63
64
|
|
|
64
65
|
return (
|
|
65
|
-
<picture
|
|
66
|
+
<picture {...otherProps}>
|
|
66
67
|
<source
|
|
67
68
|
srcSet={assetUrl(`brand/${variant}-reversed.svg`)}
|
|
68
69
|
media="(forced-colors: active) and (prefers-color-scheme: dark)"
|
|
@@ -74,7 +75,8 @@ export const Brand = ({
|
|
|
74
75
|
<img
|
|
75
76
|
src={assetUrl(`brand/${variant}${brandTheme}.svg`)}
|
|
76
77
|
alt={alt}
|
|
77
|
-
className={styles.img}
|
|
78
|
+
className={classnames(styles.img, classNameOverride)}
|
|
79
|
+
style={style}
|
|
78
80
|
/>
|
|
79
81
|
</picture>
|
|
80
82
|
)
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
.branding {
|
|
2
|
-
justify-content: center;
|
|
3
2
|
grid-area: branding;
|
|
4
3
|
display: flex;
|
|
5
|
-
|
|
4
|
+
justify-content: center;
|
|
6
5
|
padding-top: var(--spacing-4);
|
|
7
6
|
|
|
8
|
-
@media (width >=
|
|
7
|
+
@media (width >=768px) {
|
|
9
8
|
justify-content: unset;
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.logo {
|
|
14
|
-
|
|
13
|
+
width: 7.5rem;
|
|
15
14
|
}
|