odaptos_design_system 1.4.162 → 1.4.164
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/Buttons/Button.d.ts +1 -1
- package/dist/Tooltip/Layout/TooltipCustomLayout.d.ts +2 -1
- package/dist/odaptos_design_system.cjs.development.js +15 -13
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +15 -13
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Buttons/Button.modules.scss +62 -1
- package/src/Buttons/Button.tsx +2 -0
- package/src/MultiSelect/MultiSelect.tsx +0 -1
- package/src/SingleSelect/SingleSelect.tsx +0 -1
- package/src/Tooltip/Layout/TooltipCustomLayout.module.scss +0 -1
- package/src/Tooltip/Layout/TooltipCustomLayout.tsx +4 -7
- package/src/Tooltip/Tooltip.tsx +9 -2
package/dist/Buttons/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
2
|
export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
variant?: 'primary' | 'secondary' | 'tertiary' | 'tertiary-alt' | 'alert' | 'success';
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'tertiary-alt' | 'upsell' | 'alert' | 'success';
|
|
4
4
|
size?: 'sm' | 'base' | 'lg';
|
|
5
5
|
customBackground?: string;
|
|
6
6
|
iconLeft?: JSX.Element;
|
|
@@ -17,6 +17,7 @@ interface TooltipLayoutProps {
|
|
|
17
17
|
buttonTwoIconRight?: JSX.Element;
|
|
18
18
|
buttonOneOnClick?: () => void;
|
|
19
19
|
buttonTwoOnClick?: () => void;
|
|
20
|
+
isTooltipSimplified?: boolean;
|
|
20
21
|
}
|
|
21
|
-
export declare const TooltipLayout: ({ tooltipTitle, closeButton, onClickClose, tooltipDescription, optionalUrl, optionalUrlText, customContent, buttonOneText, buttonTwoText, buttonOneIconLeft, buttonTwoIconLeft, buttonOneIconRight, buttonTwoIconRight, buttonOneVariant, buttonTwoVariant, buttonOneOnClick, buttonTwoOnClick, }: TooltipLayoutProps) => React.JSX.Element;
|
|
22
|
+
export declare const TooltipLayout: ({ tooltipTitle, closeButton, onClickClose, tooltipDescription, optionalUrl, optionalUrlText, customContent, buttonOneText, buttonTwoText, buttonOneIconLeft, buttonTwoIconLeft, buttonOneIconRight, buttonTwoIconRight, buttonOneVariant, buttonTwoVariant, buttonOneOnClick, buttonTwoOnClick, isTooltipSimplified, }: TooltipLayoutProps) => React.JSX.Element;
|
|
22
23
|
export {};
|
|
@@ -8274,8 +8274,8 @@ const TextForButton = ({
|
|
|
8274
8274
|
}), text);
|
|
8275
8275
|
};
|
|
8276
8276
|
|
|
8277
|
-
var css_248z$5 = ".Button-modules_button__sRnp1{align-items:center;cursor:pointer;display:inline-flex;gap:.5rem;justify-content:center}.Button-modules_button_primary__H-HCf{background:var(--color-neutral-basics-black,#00040a);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_primary__H-HCf:hover{background:var(--color-neutral-dark-shades-900,#32353a);border:1px solid var(--color-neutral-dark-shades-900,#32353a)}.Button-modules_button_primary__H-HCf:active{background:var(--color-neutral-dark-shades-800,#4b4e52);border:1px solid var(--color-neutral-dark-shades-800,#4b4e52)}.Button-modules_button_primary__H-HCf:disabled{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-clear-shades-300,#d5d5d6)}.Button-modules_button_primary__H-HCf p{color:#fff!important}.Button-modules_button_primary__H-HCf svg{stroke:#fff!important;fill:#fff!important}.Button-modules_button_secondary__qlR87{background:transparent;border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:hover{background:var(--color-neutral-clear-shades-200,#e1e1e2);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:active{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:disabled{background:transparent;border:1px solid var(--Color-Neutral-Dark-Shades-500,#96989a);opacity:.5}.Button-modules_button_secondary__qlR87:disabled p{color:#96989a!important}.Button-modules_button_secondary__qlR87:disabled svg{stroke:#96989a!important;fill:#96989a!important}.Button-modules_button_secondary__qlR87 p{color:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_secondary__qlR87 svg{stroke:var(--color-neutral-basics-black,#00040a)!important;fill:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_tertiary__aBxX8{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary__aBxX8:hover{background:var(--color-neutral-clear-shades-200,#e1e1e2);border:1px solid var(--color-neutral-clear-shades-200,#e1e1e2)}.Button-modules_button_tertiary__aBxX8:active{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-clear-shades-300,#d5d5d6)}.Button-modules_button_tertiary__aBxX8:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary__aBxX8:disabled p{color:#96989a!important}.Button-modules_button_tertiary__aBxX8:disabled svg{stroke:#96989a!important;fill:#96989a!important}.Button-modules_button_tertiary__aBxX8 p{color:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_tertiary__aBxX8 svg{stroke:var(--color-neutral-basics-black,#00040a)!important;fill:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_tertiary_alt__Ve3aw{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary_alt__Ve3aw:hover{background:var(--color-neutral-clear-shades-150,#eee);border:1px solid var(--color-neutral-clear-shades-150,#eee)}.Button-modules_button_tertiary_alt__Ve3aw:active{background:var(--color-neutral-clear-shades-100,#fafafa);border:1px solid var(--color-neutral-clear-shades-100,#fafafa)}.Button-modules_button_tertiary_alt__Ve3aw:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary_alt__Ve3aw:disabled p{color:#99c9ff!important}.Button-modules_button_tertiary_alt__Ve3aw:disabled svg{stroke:#99c9ff!important;fill:#99c9ff!important}.Button-modules_button_tertiary_alt__Ve3aw p{color:#07f!important}.Button-modules_button_tertiary_alt__Ve3aw svg{stroke:#07f!important;fill:#07f!important}.Button-modules_button_alert__yt9Yr{background:transparent;border:1px solid transparent}.Button-modules_button_alert__yt9Yr:hover{background:var(--color-extended-red-50,#fff6f6);border:1px solid var(--color-extended-red-50,#fff6f6)}.Button-modules_button_alert__yt9Yr:active{background:var(--color-extended-red-100,#fddbdb);border:1px solid var(--color-extended-red-100,#fddbdb)}.Button-modules_button_alert__yt9Yr:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_alert__yt9Yr:disabled p{color:#fbb7b7!important}.Button-modules_button_alert__yt9Yr:disabled svg{stroke:#fbb7b7!important;fill:#fbb7b7!important}.Button-modules_button_alert__yt9Yr p{color:#f54c4c!important}.Button-modules_button_alert__yt9Yr svg{stroke:#f54c4c!important;fill:#f54c4c!important}.Button-modules_button_success__vQC8w{background:var(--color-extended-green-400,#7dc984);border:1px solid var(--color-extended-green-400,#7dc984)}.Button-modules_button_success__vQC8w:hover{background:var(--color-extended-green-300,#9dd6a3);border:1px solid var(--color-extended-green-300,#9dd6a3)}.Button-modules_button_success__vQC8w:active{background:var(--color-extended-green-500,#5cbb65);border:1px solid var(--color-extended-green-500,#5cbb65)}.Button-modules_button_success__vQC8w:disabled{background:var(--color-extended-green-200,#d5edd8);border:1px solid var(--color-extended-green-200,#d5edd8)}.Button-modules_button_success__vQC8w p{color:#fff!important}.Button-modules_button_success__vQC8w svg{stroke:#fff!important;fill:#fff!important}.Button-modules_button_sm__uB5fx{border-radius:.375rem;padding:0 1rem}.Button-modules_button_sm__uB5fx svg{height:.75rem;width:.75rem}.Button-modules_button_base__SytaD{border-radius:.5rem;padding:.25rem 1rem}.Button-modules_button_base__SytaD svg{height:1rem;width:1rem}.Button-modules_button_lg__n22vb{border-radius:.5rem;padding:.25rem 1.25rem .375rem}.Button-modules_button_lg__n22vb svg{height:1.25rem;width:1.25rem}";
|
|
8278
|
-
var styles$5 = {"button":"Button-modules_button__sRnp1","button_primary":"Button-modules_button_primary__H-HCf","button_secondary":"Button-modules_button_secondary__qlR87","button_tertiary":"Button-modules_button_tertiary__aBxX8","button_tertiary_alt":"Button-modules_button_tertiary_alt__Ve3aw","button_alert":"Button-modules_button_alert__yt9Yr","button_success":"Button-modules_button_success__vQC8w","button_sm":"Button-modules_button_sm__uB5fx","button_base":"Button-modules_button_base__SytaD","button_lg":"Button-modules_button_lg__n22vb"};
|
|
8277
|
+
var css_248z$5 = ".Button-modules_button__sRnp1{align-items:center;cursor:pointer;display:inline-flex;gap:.5rem;justify-content:center}.Button-modules_button_primary__H-HCf{background:var(--color-neutral-basics-black,#00040a);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_primary__H-HCf:hover{background:var(--color-neutral-dark-shades-900,#32353a);border:1px solid var(--color-neutral-dark-shades-900,#32353a)}.Button-modules_button_primary__H-HCf:active{background:var(--color-neutral-dark-shades-800,#4b4e52);border:1px solid var(--color-neutral-dark-shades-800,#4b4e52)}.Button-modules_button_primary__H-HCf:disabled{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-clear-shades-300,#d5d5d6)}.Button-modules_button_primary__H-HCf p{color:#fff!important}.Button-modules_button_primary__H-HCf svg{stroke:#fff!important;fill:#fff!important}.Button-modules_button_secondary__qlR87{background:transparent;border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:hover{background:var(--color-neutral-clear-shades-200,#e1e1e2);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:active{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-basics-black,#00040a)}.Button-modules_button_secondary__qlR87:disabled{background:transparent;border:1px solid var(--Color-Neutral-Dark-Shades-500,#96989a);opacity:.5}.Button-modules_button_secondary__qlR87:disabled p{color:#96989a!important}.Button-modules_button_secondary__qlR87:disabled svg{stroke:#96989a!important;fill:#96989a!important}.Button-modules_button_secondary__qlR87 p{color:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_secondary__qlR87 svg{stroke:var(--color-neutral-basics-black,#00040a)!important;fill:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_tertiary__aBxX8{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary__aBxX8:hover{background:var(--color-neutral-clear-shades-200,#e1e1e2);border:1px solid var(--color-neutral-clear-shades-200,#e1e1e2)}.Button-modules_button_tertiary__aBxX8:active{background:var(--color-neutral-clear-shades-300,#d5d5d6);border:1px solid var(--color-neutral-clear-shades-300,#d5d5d6)}.Button-modules_button_tertiary__aBxX8:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary__aBxX8:disabled p{color:#96989a!important}.Button-modules_button_tertiary__aBxX8:disabled svg{stroke:#96989a!important;fill:#96989a!important}.Button-modules_button_tertiary__aBxX8 p{color:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_tertiary__aBxX8 svg{stroke:var(--color-neutral-basics-black,#00040a)!important;fill:var(--color-neutral-basics-black,#00040a)!important}.Button-modules_button_upsell__D0Xtx{background:var(--Color-Gradients-003,linear-gradient(135deg,#07f 0,#9024f6 98.4%));border:none}.Button-modules_button_upsell__D0Xtx:hover{background:var(--color-neutral-clear-shades-200,#e1e1e2);border:1px solid var(--color-neutral-clear-shades-200,#e1e1e2)}.Button-modules_button_upsell__D0Xtx p{color:var(--Color-Neutral-Basics-White,#fff)!important}.Button-modules_button_upsell__D0Xtx svg{stroke:#e1e1e2!important;fill:#e1e1e2!important}.Button-modules_button_tertiary_alt__Ve3aw{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary_alt__Ve3aw:hover{background:var(--color-neutral-clear-shades-150,#eee);border:1px solid var(--color-neutral-clear-shades-150,#eee)}.Button-modules_button_tertiary_alt__Ve3aw:active{background:var(--color-neutral-clear-shades-100,#fafafa);border:1px solid var(--color-neutral-clear-shades-100,#fafafa)}.Button-modules_button_tertiary_alt__Ve3aw:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_tertiary_alt__Ve3aw:disabled p{color:#99c9ff!important}.Button-modules_button_tertiary_alt__Ve3aw:disabled svg{stroke:#99c9ff!important;fill:#99c9ff!important}.Button-modules_button_tertiary_alt__Ve3aw p{color:#07f!important}.Button-modules_button_tertiary_alt__Ve3aw svg{stroke:#07f!important;fill:#07f!important}.Button-modules_button_alert__yt9Yr{background:transparent;border:1px solid transparent}.Button-modules_button_alert__yt9Yr:hover{background:var(--color-extended-red-50,#fff6f6);border:1px solid var(--color-extended-red-50,#fff6f6)}.Button-modules_button_alert__yt9Yr:active{background:var(--color-extended-red-100,#fddbdb);border:1px solid var(--color-extended-red-100,#fddbdb)}.Button-modules_button_alert__yt9Yr:disabled{background:transparent;border:1px solid transparent}.Button-modules_button_alert__yt9Yr:disabled p{color:#fbb7b7!important}.Button-modules_button_alert__yt9Yr:disabled svg{stroke:#fbb7b7!important;fill:#fbb7b7!important}.Button-modules_button_alert__yt9Yr p{color:#f54c4c!important}.Button-modules_button_alert__yt9Yr svg{stroke:#f54c4c!important;fill:#f54c4c!important}.Button-modules_button_success__vQC8w{background:var(--color-extended-green-400,#7dc984);border:1px solid var(--color-extended-green-400,#7dc984)}.Button-modules_button_success__vQC8w:hover{background:var(--color-extended-green-300,#9dd6a3);border:1px solid var(--color-extended-green-300,#9dd6a3)}.Button-modules_button_success__vQC8w:active{background:var(--color-extended-green-500,#5cbb65);border:1px solid var(--color-extended-green-500,#5cbb65)}.Button-modules_button_success__vQC8w:disabled{background:var(--color-extended-green-200,#d5edd8);border:1px solid var(--color-extended-green-200,#d5edd8)}.Button-modules_button_success__vQC8w p{color:#fff!important}.Button-modules_button_success__vQC8w svg{stroke:#fff!important;fill:#fff!important}.Button-modules_button_sm__uB5fx{border-radius:.375rem;padding:0 1rem}.Button-modules_button_sm__uB5fx svg{height:.75rem;width:.75rem}.Button-modules_button_base__SytaD{border-radius:.5rem;padding:.25rem 1rem}.Button-modules_button_base__SytaD svg{height:1rem;width:1rem}.Button-modules_button_lg__n22vb{border-radius:.5rem;padding:.25rem 1.25rem .375rem}.Button-modules_button_lg__n22vb svg{height:1.25rem;width:1.25rem}";
|
|
8278
|
+
var styles$5 = {"button":"Button-modules_button__sRnp1","button_primary":"Button-modules_button_primary__H-HCf","button_secondary":"Button-modules_button_secondary__qlR87","button_tertiary":"Button-modules_button_tertiary__aBxX8","button_upsell":"Button-modules_button_upsell__D0Xtx","button_tertiary_alt":"Button-modules_button_tertiary_alt__Ve3aw","button_alert":"Button-modules_button_alert__yt9Yr","button_success":"Button-modules_button_success__vQC8w","button_sm":"Button-modules_button_sm__uB5fx","button_base":"Button-modules_button_base__SytaD","button_lg":"Button-modules_button_lg__n22vb"};
|
|
8279
8279
|
styleInject(css_248z$5);
|
|
8280
8280
|
|
|
8281
8281
|
/** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=131-253&mode=dev */
|
|
@@ -8291,7 +8291,7 @@ const Button = ({
|
|
|
8291
8291
|
...props
|
|
8292
8292
|
}) => {
|
|
8293
8293
|
const getStylesByVariant = () => {
|
|
8294
|
-
if (variant === 'primary') return styles$5.button_primary;else if (variant === 'secondary') return styles$5.button_secondary;else if (variant === 'tertiary') return styles$5.button_tertiary;else if (variant === 'tertiary-alt') return styles$5.button_tertiary_alt;else if (variant === 'alert') return styles$5.button_alert;else if (variant === 'success') return styles$5.button_success;else return styles$5.button_primary;
|
|
8294
|
+
if (variant === 'primary') return styles$5.button_primary;else if (variant === 'secondary') return styles$5.button_secondary;else if (variant === 'tertiary') return styles$5.button_tertiary;else if (variant === 'tertiary-alt') return styles$5.button_tertiary_alt;else if (variant === 'alert') return styles$5.button_alert;else if (variant === 'success') return styles$5.button_success;else if (variant === 'upsell') return styles$5.button_upsell;else return styles$5.button_primary;
|
|
8295
8295
|
};
|
|
8296
8296
|
const getStylesBySize = () => {
|
|
8297
8297
|
if (size === 'sm') return styles$5.button_sm;else if (size === 'base') return styles$5.button_base;else if (size === 'lg') return styles$5.button_lg;else return styles$5.button_base;
|
|
@@ -8910,7 +8910,7 @@ const RowCell = ({
|
|
|
8910
8910
|
}));
|
|
8911
8911
|
};
|
|
8912
8912
|
|
|
8913
|
-
var css_248z$c = ".TooltipCustomLayout-module_tooltip_layout__o1GBH{align-items:flex-start;
|
|
8913
|
+
var css_248z$c = ".TooltipCustomLayout-module_tooltip_layout__o1GBH{align-items:flex-start;border-radius:.25rem;display:flex;flex-direction:column;gap:1rem;padding:1rem}.TooltipCustomLayout-module_tooltip_layout_header__v6S3f{align-items:center;align-self:stretch;display:flex;justify-content:space-between}.TooltipCustomLayout-module_tooltip_layout_optional_url__MR5aM{color:var(--Color-Primary-500,#07f);font-family:OpenSans;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;text-decoration-line:underline}.TooltipCustomLayout-module_tooltip_layout_optional_url__MR5aM:visited{color:var(--Color-Primary-500,#07f)}.TooltipCustomLayout-module_tooltip_layout_actions__CMSoi{align-items:flex-start;align-self:stretch;display:flex;gap:.5rem;justify-content:flex-end}.TooltipCustomLayout-module_tooltip_simplified__EZJQv{padding:.25rem .5rem}";
|
|
8914
8914
|
var styles$c = {"tooltip_layout":"TooltipCustomLayout-module_tooltip_layout__o1GBH","tooltip_layout_header":"TooltipCustomLayout-module_tooltip_layout_header__v6S3f","tooltip_layout_optional_url":"TooltipCustomLayout-module_tooltip_layout_optional_url__MR5aM","tooltip_layout_actions":"TooltipCustomLayout-module_tooltip_layout_actions__CMSoi","tooltip_simplified":"TooltipCustomLayout-module_tooltip_simplified__EZJQv"};
|
|
8915
8915
|
styleInject(css_248z$c);
|
|
8916
8916
|
|
|
@@ -8931,11 +8931,11 @@ const TooltipLayout = ({
|
|
|
8931
8931
|
buttonOneVariant,
|
|
8932
8932
|
buttonTwoVariant,
|
|
8933
8933
|
buttonOneOnClick,
|
|
8934
|
-
buttonTwoOnClick
|
|
8934
|
+
buttonTwoOnClick,
|
|
8935
|
+
isTooltipSimplified
|
|
8935
8936
|
}) => {
|
|
8936
|
-
const tooltipSimplified = !tooltipTitle && !closeButton && !(buttonOneText || buttonTwoText) && !customContent;
|
|
8937
8937
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
8938
|
-
className: `${styles$c.tooltip_layout} ${
|
|
8938
|
+
className: `${styles$c.tooltip_layout} ${isTooltipSimplified ? styles$c.tooltip_simplified : ''}`
|
|
8939
8939
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", {
|
|
8940
8940
|
className: styles$c.tooltip_layout_header
|
|
8941
8941
|
}, tooltipTitle && /*#__PURE__*/React__default.createElement(Title, {
|
|
@@ -8950,7 +8950,8 @@ const TooltipLayout = ({
|
|
|
8950
8950
|
})), tooltipDescription && /*#__PURE__*/React__default.createElement(Text, {
|
|
8951
8951
|
text: tooltipDescription,
|
|
8952
8952
|
size: "xs",
|
|
8953
|
-
className: styles$c.tooltip_layout_description
|
|
8953
|
+
className: styles$c.tooltip_layout_description,
|
|
8954
|
+
color: isTooltipSimplified ? '#fff' : '#000'
|
|
8954
8955
|
}), optionalUrl && optionalUrlText && /*#__PURE__*/React__default.createElement("a", {
|
|
8955
8956
|
href: optionalUrl,
|
|
8956
8957
|
target: "_blank",
|
|
@@ -9010,6 +9011,7 @@ const Tooltip = ({
|
|
|
9010
9011
|
isTooltipActive = true
|
|
9011
9012
|
}) => {
|
|
9012
9013
|
const [open, setOpen] = React.useState(isOpen ?? false);
|
|
9014
|
+
const isTooltipSimplified = !title && !closeButton && !(buttonOneText || buttonTwoText) && !customContent;
|
|
9013
9015
|
const handleClose = () => {
|
|
9014
9016
|
if (isOpen) return;else {
|
|
9015
9017
|
setOpen(false);
|
|
@@ -9031,11 +9033,12 @@ const Tooltip = ({
|
|
|
9031
9033
|
componentsProps: {
|
|
9032
9034
|
tooltip: {
|
|
9033
9035
|
sx: {
|
|
9034
|
-
|
|
9036
|
+
//If is TooltipSimplified, then the tooltip will have a different background color
|
|
9037
|
+
bgcolor: isTooltipSimplified ? '#4B4E52' : '#fff',
|
|
9035
9038
|
padding: 0,
|
|
9036
9039
|
boxShadow: '0px 4px 12px 6px rgba(0, 0, 0, 0.08), 0px 4px 4px 0px rgba(0, 0, 0, 0.15)',
|
|
9037
9040
|
'& .MuiTooltip-arrow': {
|
|
9038
|
-
color: '
|
|
9041
|
+
color: isTooltipSimplified ? '#4B4E52' : '#fff'
|
|
9039
9042
|
}
|
|
9040
9043
|
}
|
|
9041
9044
|
}
|
|
@@ -9057,7 +9060,8 @@ const Tooltip = ({
|
|
|
9057
9060
|
buttonOneIconRight: buttonOneIconRight,
|
|
9058
9061
|
buttonTwoIconRight: buttonTwoIconRight,
|
|
9059
9062
|
buttonOneOnClick: buttonOneOnClick,
|
|
9060
|
-
buttonTwoOnClick: buttonTwoOnClick
|
|
9063
|
+
buttonTwoOnClick: buttonTwoOnClick,
|
|
9064
|
+
isTooltipSimplified: isTooltipSimplified
|
|
9061
9065
|
}),
|
|
9062
9066
|
arrow: arrow,
|
|
9063
9067
|
followCursor: followCursor
|
|
@@ -10132,7 +10136,6 @@ const MultiSelect = ({
|
|
|
10132
10136
|
value: 0,
|
|
10133
10137
|
year: 100
|
|
10134
10138
|
}],
|
|
10135
|
-
placeholder: label,
|
|
10136
10139
|
multiple: true,
|
|
10137
10140
|
autoComplete: options.length > 10,
|
|
10138
10141
|
size: "small",
|
|
@@ -11462,7 +11465,6 @@ const SingleSelect = ({
|
|
|
11462
11465
|
onChange(e);
|
|
11463
11466
|
},
|
|
11464
11467
|
options: options,
|
|
11465
|
-
placeholder: label,
|
|
11466
11468
|
multiple: false,
|
|
11467
11469
|
autoComplete: options.length > 10,
|
|
11468
11470
|
size: "small",
|