odaptos_design_system 1.4.193 → 1.4.195
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/odaptos_design_system.cjs.development.js +20 -19
- 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 +20 -19
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Interviews/Chat.tsx +1 -1
- package/src/Interviews/Scenario.tsx +11 -12
- package/src/Interviews/Task.tsx +27 -4
- package/src/Tag/Tag.modules.scss +7 -0
|
@@ -9629,7 +9629,7 @@ const Chat = ({
|
|
|
9629
9629
|
description: scenario.name ?? scenario.description,
|
|
9630
9630
|
buttonText: scenario.url ? startInterviewBtnTitle : undefined,
|
|
9631
9631
|
buttonIcon: scenario.url ? startInterviewIcon : undefined,
|
|
9632
|
-
url:
|
|
9632
|
+
url: scenario.url ?? '',
|
|
9633
9633
|
disabled: disabledScenario
|
|
9634
9634
|
});
|
|
9635
9635
|
} else return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
@@ -9966,18 +9966,12 @@ const Scenario = ({
|
|
|
9966
9966
|
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
9967
9967
|
text: description,
|
|
9968
9968
|
size: "sm"
|
|
9969
|
-
}), buttonIcon && buttonText && /*#__PURE__*/React__default.createElement(
|
|
9970
|
-
href: disabled ? 'javascript:void(0)' : url,
|
|
9971
|
-
target: "_blank",
|
|
9972
|
-
rel: "noopener noreferrer",
|
|
9973
|
-
style: {
|
|
9974
|
-
pointerEvents: disabled ? 'none' : 'auto'
|
|
9975
|
-
}
|
|
9976
|
-
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
9969
|
+
}), buttonIcon && buttonText && /*#__PURE__*/React__default.createElement(Button, {
|
|
9977
9970
|
text: buttonText,
|
|
9978
9971
|
iconRight: buttonIcon ?? /*#__PURE__*/React__default.createElement(SendIcon, null),
|
|
9979
|
-
disabled: disabled
|
|
9980
|
-
|
|
9972
|
+
disabled: disabled,
|
|
9973
|
+
onClick: () => window.open(url.includes('https://') ? url : `https://${url}`, '_blank')
|
|
9974
|
+
}));
|
|
9981
9975
|
};
|
|
9982
9976
|
|
|
9983
9977
|
var css_248z$l = ".Task-modules_task_container__Iaqc-{align-items:flex-start;background:var(--color-neutral-basics-white,#fff);border:1px solid var(--color-neutral-dark-shades-950,#26292e);border-radius:.5rem;display:flex;flex-direction:column;gap:.5rem;justify-content:center;max-width:100%;padding:0}.Task-modules_task_container__Iaqc- .Task-modules_header__f15OM{max-width:100%}.Task-modules_task_container__Iaqc- .Task-modules_header__f15OM .Task-modules_header_left__JJTGR{height:100%}.Task-modules_task_container__Iaqc- .Task-modules_header__f15OM .Task-modules_header_left__JJTGR:hover{background:var(--color-neutral-clear-shades-150,#eee);border-radius:.5rem 0 0 .5rem}.Task-modules_task_container__Iaqc- .Task-modules_header__f15OM .Task-modules_header_right__AymtU:hover{background:var(--color-neutral-clear-shades-150,#eee);border-radius:0 .5rem .5rem 0}.Task-modules_header__f15OM{align-items:center;display:flex;height:100%;justify-content:space-between;max-width:100%;width:100%}.Task-modules_header_left_interviewer__WHqee{align-items:flex-start;cursor:pointer;display:flex;flex-direction:column;justify-content:center;min-width:calc(100% - 3.5rem);padding:.3125rem .3125rem .3125rem .62rem;width:100%}.Task-modules_header_left_interviewer__WHqee .Task-modules_title__-OmPh{max-width:98%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Task-modules_header_left_interviewee__TmMkM{align-items:flex-start;display:flex;flex-direction:column;justify-content:center;min-width:calc(100% - 3.5rem);padding:.3125rem .3125rem .3125rem .62rem;width:100%}.Task-modules_header_left_interviewee__TmMkM .Task-modules_title__-OmPh{max-width:98%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Task-modules_header_right__AymtU{align-items:center;background:var(--color-neutral-basics-white,#fff);border:none;border-left:1px solid var(--color-neutral-dark-shades-950,#26292e);border-radius:0 .5rem .5rem 0;display:flex;gap:.5rem;height:100%;justify-content:center;max-width:calc(100% - 3.5rem);padding:1.4rem .75rem}.Task-modules_header_right__AymtU svg{fill:#000;height:1rem;width:1rem}.Task-modules_clickable__BIHxK{cursor:pointer}.Task-modules_disabled_task__NI6LL{align-items:flex-start;background:var(--color-neutral-basics-white,#fff);border:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);border-radius:.5rem;cursor:not-allowed;display:flex;flex-direction:column;gap:.5rem;justify-content:center;max-width:100%;padding:0}.Task-modules_disabled_task__NI6LL .Task-modules_header__f15OM{max-width:100%;width:100%}.Task-modules_disabled_task__NI6LL .Task-modules_header__f15OM .Task-modules_header_left__JJTGR{border-color:var(--color-neutral-clear-shades-300,#d5d5d6);cursor:not-allowed;opacity:.5;width:100%}.Task-modules_disabled_task__NI6LL .Task-modules_header__f15OM .Task-modules_header_right__AymtU{border-color:var(--color-neutral-clear-shades-300,#d5d5d6);cursor:not-allowed;opacity:.5}.Task-modules_active_task__l-n9Q{align-items:flex-start;background:var(--color-neutral-basics-white,#fff);border:1px solid #07f;border-radius:.5rem;display:flex;flex-direction:column;gap:.5rem;justify-content:center;max-width:100%;padding:0}.Task-modules_active_task__l-n9Q .Task-modules_header__f15OM{border-bottom:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);max-width:100%;width:100%}.Task-modules_active_task__l-n9Q .Task-modules_header__f15OM .Task-modules_header_left__JJTGR,.Task-modules_active_task__l-n9Q .Task-modules_header__f15OM .Task-modules_header_right__AymtU{border-color:var(--color-neutral-clear-shades-300,#d5d5d6)}.Task-modules_taskContent__v3Cm1{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:.5rem;padding:.5rem .75rem .25rem}.Task-modules_taskPopover__S07XU{align-items:flex-start;background:var(--color-neutral-basics-white,#fff);border:1px solid var(--color-neutral-dark-shades-950,#26292e);border-radius:.5rem;display:flex;flex-direction:column;overflow:hidden;padding:.5rem .75rem .75rem;width:25.5625rem}.Task-modules_notesContainer__dz0Me{align-items:flex-start;align-self:stretch;border-top:1px solid var(--color-neutral-clear-shades-300,#d5d5d6);display:flex;flex-direction:column;gap:.25rem;padding-top:.5rem}.Task-modules_actionBtnsContainer__Dz-1j{align-items:flex-start;align-self:stretch;display:flex;gap:.5rem;justify-content:flex-end;padding-top:8px}.Task-modules_popover_paper__Re-kl .Task-modules_MuiPopover-paper__7p4Tk,.Task-modules_popover_paper__Re-kl .Task-modules_MuiPopover-root__w6O-O{background:transparent;border-radius:.5rem}";
|
|
@@ -10043,11 +10037,15 @@ const Task = ({
|
|
|
10043
10037
|
text: "URL",
|
|
10044
10038
|
size: "xs",
|
|
10045
10039
|
italic: true
|
|
10046
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
10040
|
+
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
10047
10041
|
text: url,
|
|
10048
|
-
|
|
10042
|
+
textDecoration: "underline",
|
|
10049
10043
|
size: "sm",
|
|
10050
|
-
|
|
10044
|
+
color: colors.blue_500,
|
|
10045
|
+
style: {
|
|
10046
|
+
cursor: 'pointer !important'
|
|
10047
|
+
},
|
|
10048
|
+
onClick: () => window.open(url.includes('https://') ? url : `https://${url}`, '_blank')
|
|
10051
10049
|
})), notes && isInterviewer && /*#__PURE__*/React__default.createElement("div", {
|
|
10052
10050
|
className: styles$l.notesContainer
|
|
10053
10051
|
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -10063,7 +10061,6 @@ const Task = ({
|
|
|
10063
10061
|
sx: {
|
|
10064
10062
|
bgcolor: 'transparent',
|
|
10065
10063
|
padding: 0,
|
|
10066
|
-
pointerEvents: 'none',
|
|
10067
10064
|
borderRadius: '0.5rem',
|
|
10068
10065
|
'& .MuiTooltip-arrow': {
|
|
10069
10066
|
color: 'transparent'
|
|
@@ -10104,11 +10101,15 @@ const Task = ({
|
|
|
10104
10101
|
text: "URL",
|
|
10105
10102
|
size: "xs",
|
|
10106
10103
|
italic: true
|
|
10107
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
10104
|
+
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
10108
10105
|
text: url,
|
|
10109
|
-
|
|
10106
|
+
textDecoration: "underline",
|
|
10110
10107
|
size: "sm",
|
|
10111
|
-
|
|
10108
|
+
color: colors.blue_500,
|
|
10109
|
+
style: {
|
|
10110
|
+
cursor: 'pointer !important'
|
|
10111
|
+
},
|
|
10112
|
+
onClick: () => window.open(url.includes('https://') ? url : `https://${url}`, '_blank')
|
|
10112
10113
|
})), notes && isInterviewer && /*#__PURE__*/React__default.createElement("div", {
|
|
10113
10114
|
className: styles$l.notesContainer
|
|
10114
10115
|
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -12525,7 +12526,7 @@ const TabsUnderline = ({
|
|
|
12525
12526
|
})));
|
|
12526
12527
|
};
|
|
12527
12528
|
|
|
12528
|
-
var css_248z$L = ".Tag-modules_tag__H7-4Y{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag_idle__Fq6m8{background:var(--color-neutral-dark-shades-600,#717376)}.Tag-modules_tag_idle__Fq6m8 svg{stroke:#fff!important;fill:#fff!important}.Tag-modules_tag_info__aMPRZ{background:var(--color-primary-100,#e5f1ff)}.Tag-modules_tag_info__aMPRZ svg{stroke:#004799!important;fill:#004799!important}.Tag-modules_tag_violet__fcKoT{background:var(--Color-Extended-Purple-100,#e9d3fd)}.Tag-modules_tag_violet__fcKoT svg{stroke:#5c1994!important;fill:#5c1994!important}.Tag-modules_tag_light__OskUB{background:var(--Color-Neutral-Clear-Shades-150,#eee)}.Tag-modules_tag_light__OskUB svg{stroke:#32353a!important;fill:#32353a!important}.Tag-modules_tag_success__2LvMD{background:var(--color-extended-green-100,#e8f5ea)}.Tag-modules_tag_success__2LvMD svg{stroke:#3c743d!important;fill:#3c743d!important}.Tag-modules_tag_warning__AIt1v{background:var(--color-extended-yellow-100,#fff3d6)}.Tag-modules_tag_warning__AIt1v svg{stroke:#6e4f00!important;fill:#6e4f00!important}.Tag-modules_tag_critical__LQoYS{background:var(--color-extended-red-100,#fddbdb)}.Tag-modules_tag_critical__LQoYS svg{stroke:#98312e!important;fill:#98312e!important}.Tag-modules_tag_sm__6woOo{height:1.25rem}.Tag-modules_tag_sm__6woOo svg{height:.75rem;width:.75rem}.Tag-modules_tag_base__NFJol{height:1.75rem}.Tag-modules_tag_base__NFJol svg{height:1rem;width:1rem}";
|
|
12529
|
+
var css_248z$L = ".Tag-modules_tag__H7-4Y{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;padding:0 .375rem;width:-moz-fit-content;width:fit-content}.Tag-modules_tag__H7-4Y p{max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.Tag-modules_tag_idle__Fq6m8{background:var(--color-neutral-dark-shades-600,#717376)}.Tag-modules_tag_idle__Fq6m8 svg{stroke:#fff!important;fill:#fff!important}.Tag-modules_tag_info__aMPRZ{background:var(--color-primary-100,#e5f1ff)}.Tag-modules_tag_info__aMPRZ svg{stroke:#004799!important;fill:#004799!important}.Tag-modules_tag_violet__fcKoT{background:var(--Color-Extended-Purple-100,#e9d3fd)}.Tag-modules_tag_violet__fcKoT svg{stroke:#5c1994!important;fill:#5c1994!important}.Tag-modules_tag_light__OskUB{background:var(--Color-Neutral-Clear-Shades-150,#eee)}.Tag-modules_tag_light__OskUB svg{stroke:#32353a!important;fill:#32353a!important}.Tag-modules_tag_success__2LvMD{background:var(--color-extended-green-100,#e8f5ea)}.Tag-modules_tag_success__2LvMD svg{stroke:#3c743d!important;fill:#3c743d!important}.Tag-modules_tag_warning__AIt1v{background:var(--color-extended-yellow-100,#fff3d6)}.Tag-modules_tag_warning__AIt1v svg{stroke:#6e4f00!important;fill:#6e4f00!important}.Tag-modules_tag_critical__LQoYS{background:var(--color-extended-red-100,#fddbdb)}.Tag-modules_tag_critical__LQoYS svg{stroke:#98312e!important;fill:#98312e!important}.Tag-modules_tag_sm__6woOo{height:1.25rem}.Tag-modules_tag_sm__6woOo svg{height:.75rem;width:.75rem}.Tag-modules_tag_base__NFJol{height:1.75rem}.Tag-modules_tag_base__NFJol svg{height:1rem;width:1rem}";
|
|
12529
12530
|
var styles$L = {"tag":"Tag-modules_tag__H7-4Y","tag_idle":"Tag-modules_tag_idle__Fq6m8","tag_info":"Tag-modules_tag_info__aMPRZ","tag_violet":"Tag-modules_tag_violet__fcKoT","tag_light":"Tag-modules_tag_light__OskUB","tag_success":"Tag-modules_tag_success__2LvMD","tag_warning":"Tag-modules_tag_warning__AIt1v","tag_critical":"Tag-modules_tag_critical__LQoYS","tag_sm":"Tag-modules_tag_sm__6woOo","tag_base":"Tag-modules_tag_base__NFJol"};
|
|
12530
12531
|
styleInject(css_248z$L);
|
|
12531
12532
|
|