frst-components 0.29.3 → 0.29.5
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +249 -197
- package/dist/public/customIcons/WarningIcon.d.ts +6 -0
- package/dist/public/customIcons/WarningIcon.d.ts.map +1 -0
- package/dist/public/customIcons/index.d.ts +1 -0
- package/dist/public/customIcons/index.d.ts.map +1 -1
- package/dist/src/components/DS/toast-v2/index.d.ts +1 -1
- package/dist/src/components/DS/toast-v2/index.d.ts.map +1 -1
- package/dist/src/components/EBR/rating/index.d.ts +0 -3
- package/dist/src/components/EBR/rating/index.d.ts.map +1 -1
- package/dist/src/components/FI/feedInteraction/index.d.ts +3 -3
- package/dist/src/components/FI/feedInteraction/index.d.ts.map +1 -1
- package/dist/src/components/FI/notificationCard/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/public/customIcons/WarningIcon.tsx +21 -0
- package/public/customIcons/index.ts +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -99,8 +99,8 @@ export { default as ChallengeCard } from './src/components/challenge-cards';
|
|
|
99
99
|
export { default as SearchBox } from './src/components/FI/searchBox';
|
|
100
100
|
export { default as BannerSRG } from './src/components/FI/bannerSRG';
|
|
101
101
|
export { default as LateralMenu } from './src/components/lateral-menu';
|
|
102
|
-
export { default as BannerProblemFeed } from './src/components/FI/bannerProblemFeed';
|
|
103
102
|
export { default as FeedInteraction } from './src/components/FI/feedInteraction';
|
|
103
|
+
export { default as BannerProblemFeed } from './src/components/FI/bannerProblemFeed';
|
|
104
104
|
export { default as SessionFilters } from './src/components/FI/sessionFilters';
|
|
105
105
|
export { default as SmallSRGBanner } from './src/components/FI/smallSRGBanner';
|
|
106
106
|
export { default as PostFeed } from './src/components/FI/postFeed';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,aAAa,EACb,KAAK,EACL,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EACb,MAAM,EACN,SAAS,EACT,YAAY,EACZ,eAAe,EACf,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,wBAAwB,EAC3B,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAGnF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAChF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC1E,OA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,sCAAsC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wCAAwC,CAAA;AACjF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oCAAoC,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -138,7 +138,7 @@ function Check_circle({ fill, width, height }) {
|
|
|
138
138
|
function EditIcon({ fill, width, height }) {
|
|
139
139
|
return (jsxRuntime.jsx("svg", { width: width ? width : '20', height: height ? height : '20', viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.1788 1.92286C16.3858 1.71638 16.667 1.6 16.9607 1.6C17.2544 1.6 17.5356 1.71638 17.7426 1.92286C17.9496 2.12928 18.0654 2.4088 18.0654 2.69981C18.0654 2.99083 17.9496 3.27034 17.7426 3.47676L9.5855 11.6127C9.4439 11.7539 9.26546 11.8543 9.07141 11.9027C8.26586 12.1036 7.52969 11.3753 7.73154 10.57C7.78007 10.3765 7.88036 10.1997 8.02166 10.0588L16.1788 1.92286ZM16.9607 0C16.244 0 15.5563 0.283939 15.0489 0.790021L6.5187 9.29803C6.41591 9.40055 6.34296 9.52912 6.30766 9.66994L5.40975 13.2523C5.34143 13.5248 5.42113 13.8133 5.61971 14.0121C5.81829 14.2109 6.10663 14.291 6.3793 14.223L9.97094 13.3274C10.1114 13.2924 10.2398 13.2199 10.3423 13.1176L18.8725 4.6096C19.38 4.10345 19.6654 3.41652 19.6654 2.69981C19.6654 1.9831 19.38 1.29617 18.8725 0.790021C18.3651 0.283939 17.6774 0 16.9607 0ZM2.59582 1.89842C1.90804 1.89842 1.24801 2.17091 0.761035 2.65662C0.273994 3.1424 0 3.80169 0 4.48958V17.0277C0 17.7156 0.273995 18.3749 0.761035 18.8607C1.24801 19.3464 1.90804 19.6188 2.59582 19.6188H15.1666C15.8544 19.6188 16.5144 19.3464 17.0014 18.8607C17.4884 18.3749 17.7624 17.7156 17.7624 17.0277V10.7586C17.7624 10.3168 17.4042 9.95864 16.9624 9.95864C16.5206 9.95864 16.1624 10.3168 16.1624 10.7586V17.0277C16.1624 17.2899 16.058 17.5418 15.8715 17.7278C15.6849 17.9139 15.4314 18.0189 15.1666 18.0189H2.59582C2.33104 18.0189 2.07753 17.9139 1.89093 17.7278C1.70441 17.5418 1.6 17.2899 1.6 17.0277V4.48958C1.6 4.22738 1.70441 3.9755 1.89093 3.78946C2.07753 3.60335 2.33104 3.49842 2.59582 3.49842H8.8812C9.32303 3.49842 9.6812 3.14025 9.6812 2.69842C9.6812 2.25659 9.32303 1.89842 8.8812 1.89842H2.59582Z", fill: fill ?? '#0645AD', strokeWidth: "1.2" }) }));
|
|
140
140
|
}
|
|
141
|
-
function WarningIcon$
|
|
141
|
+
function WarningIcon$2({ fill, width, height }) {
|
|
142
142
|
return (jsxRuntime.jsx("svg", { width: width ? width : '24', height: height ? height : '20', viewBox: "0 0 24 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M22.9209 17.2636L12.8305 0.814496C12.1589 -0.281702 11.0604 -0.266316 10.3889 0.829881L0.298445 17.2567C-0.37312 18.3537 0.128439 19.2006 1.41311 19.2006H21.8055C23.0909 19.2006 23.5925 18.359 22.9209 17.2636ZM11.6012 4.45541C12.2474 4.45541 12.7474 5.16929 12.7143 6.04163L12.5097 11.2988C12.4766 12.1703 12.0666 12.8842 11.5989 12.8842C11.1312 12.8842 10.7204 12.1703 10.6873 11.2988L10.485 6.04163C10.4519 5.16929 10.9535 4.45541 11.6012 4.45541ZM11.6012 16.8444C10.7858 16.8444 10.2265 16.2482 10.2435 15.4335C10.2435 14.6012 10.8043 14.0227 11.6012 14.0227C12.432 14.0227 12.9574 14.6012 12.9751 15.4335C12.9751 16.2482 12.432 16.8444 11.6012 16.8444Z", fill: fill ?? '#F3D224' }) }));
|
|
143
143
|
}
|
|
144
144
|
function FRSTLogo({ fill, width, height }) {
|
|
@@ -1888,7 +1888,7 @@ function CalendarCard(props) {
|
|
|
1888
1888
|
jsxRuntime.jsxs(ContainerDescription, { children: [jsxRuntime.jsx(TextDescription$2, { children: t('calendar.card.description') }), jsxRuntime.jsx(FormControlSelect, { fullWidth: true, children: jsxRuntime.jsx(DropDownList$2, { id: "module-id", value: module, onChange: handleChange, children: props.trails?.map((item, index) => {
|
|
1889
1889
|
return jsxRuntime.jsxs(material.MenuItem, { value: index, children: [item.name, " - ", item.moduleID] }, index);
|
|
1890
1890
|
}) }) })] }), moduleEvents?.length === 0 &&
|
|
1891
|
-
jsxRuntime.jsxs("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', marginTop: '140px', paddingBottom: '32px' }, children: [jsxRuntime.jsx(WarningIcon$
|
|
1891
|
+
jsxRuntime.jsxs("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', marginTop: '140px', paddingBottom: '32px' }, children: [jsxRuntime.jsx(WarningIcon$2, {}), jsxRuntime.jsx("span", { style: { paddingLeft: '8px' }, children: t('calendar.notAvailable') })] }), moduleEvents && jsxRuntime.jsx(StepsComponent, { events: moduleEvents, short: props.short }), moduleEvents && moduleEvents.length > 0 &&
|
|
1892
1892
|
jsxRuntime.jsx(BoxLabelTimeMentoring, { children: props.trails[module]?.nextEvent ?
|
|
1893
1893
|
jsxRuntime.jsxs(LabelTimeMentoring, { children: [t('calendar.card.mentoringSchedule'), " ", t(`calendar.weekdays.${props.trails[module].nextEvent.weekday}`), " @ ", props.trails[module]?.nextEvent.hour] })
|
|
1894
1894
|
:
|
|
@@ -3046,7 +3046,7 @@ function ErrorIcon() {
|
|
|
3046
3046
|
*
|
|
3047
3047
|
* @componente
|
|
3048
3048
|
*/
|
|
3049
|
-
function WarningIcon() {
|
|
3049
|
+
function WarningIcon$1() {
|
|
3050
3050
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("svg", { width: "2", height: "12", viewBox: "0 0 2 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M1 0.666992V8.00033", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M1 10.667L1 11.3337", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }) }));
|
|
3051
3051
|
}
|
|
3052
3052
|
|
|
@@ -3066,7 +3066,7 @@ function MessageBox(props) {
|
|
|
3066
3066
|
];
|
|
3067
3067
|
const MapIconList = [
|
|
3068
3068
|
jsxRuntime.jsx(SuccessIcon, {}),
|
|
3069
|
-
jsxRuntime.jsx(WarningIcon, {}),
|
|
3069
|
+
jsxRuntime.jsx(WarningIcon$1, {}),
|
|
3070
3070
|
jsxRuntime.jsx(ErrorIcon, {}),
|
|
3071
3071
|
jsxRuntime.jsx(SaveIcon, {}),
|
|
3072
3072
|
jsxRuntime.jsx(SaveIcon, { fill: 'red' })
|
|
@@ -3137,6 +3137,10 @@ const SwitchVoteIcon = ({ style, width = '16', height = '17', stroke = '#444444'
|
|
|
3137
3137
|
return (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M3.3335 4.36444V7.05746H5.87895", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M12.6665 11.5459V8.85284H10.1211", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M11.602 6.60864C11.3868 5.96536 11.0211 5.39023 10.5391 4.93691C10.057 4.4836 9.47421 4.16687 8.84513 4.01628C8.21606 3.86569 7.56118 3.88616 6.9416 4.07576C6.32202 4.26536 5.75793 4.61792 5.30198 5.10055L3.3335 7.05748M12.6668 8.85282L10.6983 10.8097C10.2424 11.2924 9.67831 11.6449 9.05873 11.8345C8.43915 12.0241 7.78427 12.0446 7.15519 11.894C6.52612 11.7434 5.94335 11.4267 5.46127 10.9734C4.97919 10.5201 4.61351 9.94493 4.39834 9.30166", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
3138
3138
|
};
|
|
3139
3139
|
|
|
3140
|
+
const WarningIcon = ({ width = '22', height = '22', fill = '#F18624' }) => {
|
|
3141
|
+
return (jsxRuntime.jsxs("svg", { width: width, height: height, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("rect", { width: width, height: height, rx: "11", fill: fill }), jsxRuntime.jsx("path", { d: "M9.952 13H11.772V6H9.952V13ZM9.686 14.974C9.686 15.2447 9.784 15.4733 9.98 15.66C10.1853 15.856 10.4653 15.954 10.82 15.954C11.1747 15.954 11.4593 15.856 11.674 15.66C11.898 15.4733 12.01 15.2447 12.01 14.974C12.01 14.7033 11.898 14.4747 11.674 14.288C11.4593 14.1107 11.1747 14.022 10.82 14.022C10.4653 14.022 10.1853 14.1107 9.98 14.288C9.784 14.4747 9.686 14.7033 9.686 14.974Z", fill: "#F8FAFC" })] }));
|
|
3142
|
+
};
|
|
3143
|
+
|
|
3140
3144
|
const fadeInRight = styled.keyframes `
|
|
3141
3145
|
0% {
|
|
3142
3146
|
opacity: 0;
|
|
@@ -3241,8 +3245,8 @@ const StyledContainer = styled__default["default"](reactToastify.ToastContainer)
|
|
|
3241
3245
|
}
|
|
3242
3246
|
`;
|
|
3243
3247
|
|
|
3244
|
-
const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles }) => {
|
|
3245
|
-
let iconComponent;
|
|
3248
|
+
const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles, startICon }) => {
|
|
3249
|
+
let iconComponent = startICon;
|
|
3246
3250
|
switch (type) {
|
|
3247
3251
|
case 'error':
|
|
3248
3252
|
iconComponent = jsxRuntime.jsx(ErrorInCicleIcon, { fill: "#C00F00", width: "22", height: "22" });
|
|
@@ -3251,7 +3255,7 @@ const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles }) =
|
|
|
3251
3255
|
iconComponent = jsxRuntime.jsx(CircledCheck, { width: "22", height: "22" });
|
|
3252
3256
|
break;
|
|
3253
3257
|
case 'warning':
|
|
3254
|
-
iconComponent = jsxRuntime.jsx(
|
|
3258
|
+
iconComponent = jsxRuntime.jsx(WarningIcon, { width: "22", height: "22" });
|
|
3255
3259
|
break;
|
|
3256
3260
|
default:
|
|
3257
3261
|
iconComponent = undefined;
|
|
@@ -3259,8 +3263,14 @@ const showToastV2 = ({ type = 'success', message, showBySeconds = 5, styles }) =
|
|
|
3259
3263
|
const toastOptions = {
|
|
3260
3264
|
position: 'top-right',
|
|
3261
3265
|
autoClose: showBySeconds * 1000,
|
|
3262
|
-
closeButton: (jsxRuntime.jsx("span", { style: {
|
|
3263
|
-
|
|
3266
|
+
closeButton: (jsxRuntime.jsx("span", { style: {
|
|
3267
|
+
display: 'flex',
|
|
3268
|
+
marginTop: 'auto',
|
|
3269
|
+
marginBottom: 'auto',
|
|
3270
|
+
marginRight: '20px',
|
|
3271
|
+
marginLeft: '4px'
|
|
3272
|
+
}, children: jsxRuntime.jsx(CloseIcon, { width: "14", height: "14" }) })),
|
|
3273
|
+
icon: startICon ? startICon : iconComponent,
|
|
3264
3274
|
hideProgressBar: true,
|
|
3265
3275
|
closeOnClick: true,
|
|
3266
3276
|
pauseOnHover: true,
|
|
@@ -9662,63 +9672,74 @@ const Raiting = styled__default["default"].p `
|
|
|
9662
9672
|
margin-left: 16.5px;
|
|
9663
9673
|
`;
|
|
9664
9674
|
|
|
9665
|
-
/**
|
|
9666
|
-
* @componente
|
|
9667
|
-
*/
|
|
9668
9675
|
function Rating({ variant = 'primary', rating, isVisibleNumberRating, qtdStars, marginStars, handleRating, sizeStars, orientation, disabled }) {
|
|
9669
|
-
React.useState(rating + 1);
|
|
9670
9676
|
const [hoverRaiting, setHoverRaiting] = React.useState(-1);
|
|
9671
|
-
const
|
|
9672
|
-
|
|
9673
|
-
const handleClick = (
|
|
9674
|
-
if (!disabled)
|
|
9675
|
-
handleRating(
|
|
9677
|
+
const renderStars = () => {
|
|
9678
|
+
const groupStars = [];
|
|
9679
|
+
const handleClick = (value) => {
|
|
9680
|
+
if (!disabled) {
|
|
9681
|
+
handleRating(value);
|
|
9682
|
+
}
|
|
9676
9683
|
};
|
|
9677
9684
|
const getStatusActive = (id) => {
|
|
9678
9685
|
if (id < hoverRaiting)
|
|
9679
9686
|
return true;
|
|
9680
|
-
else if (hoverRaiting
|
|
9687
|
+
else if (hoverRaiting !== -1)
|
|
9681
9688
|
return false;
|
|
9682
9689
|
else if (id < rating)
|
|
9683
9690
|
return true;
|
|
9691
|
+
return false;
|
|
9684
9692
|
};
|
|
9685
|
-
for (
|
|
9693
|
+
for (let i = 0; i < qtdStars; i++) {
|
|
9686
9694
|
groupStars.push(jsxRuntime.jsx(StarRatingComponent, { variant: variant, isEmpty: rating <= 0, id: i + 1, active: getStatusActive(i), setOnHover: setHoverRaiting, handleClick: handleClick, sizeStars: sizeStars, marginStars: marginStars, disabled: disabled }, i));
|
|
9687
9695
|
}
|
|
9688
9696
|
return groupStars;
|
|
9689
9697
|
};
|
|
9690
|
-
return (jsxRuntime.jsxs(WrapperStars, { orientation: orientation, children: [
|
|
9698
|
+
return (jsxRuntime.jsxs(WrapperStars, { orientation: orientation, children: [renderStars(), isVisibleNumberRating && jsxRuntime.jsx(Raiting, { children: rating.toFixed(1) })] }));
|
|
9691
9699
|
}
|
|
9692
9700
|
function StarRatingComponent({ id, variant, isEmpty, active, handleClick, sizeStars, marginStars, setOnHover, disabled }) {
|
|
9693
9701
|
const [actionArea, setActionArea] = React.useState(false);
|
|
9694
|
-
const
|
|
9695
|
-
|
|
9696
|
-
return '#FFC200';
|
|
9697
|
-
else
|
|
9698
|
-
return '#757575';
|
|
9699
|
-
};
|
|
9702
|
+
const clickTimeout = React.useRef(null);
|
|
9703
|
+
const getColorStarPrimary = () => active ? '#FFC200' : '#757575';
|
|
9700
9704
|
const getColorStarSecondary = () => {
|
|
9701
9705
|
if (isEmpty && !active)
|
|
9702
9706
|
return 'transparent';
|
|
9703
|
-
|
|
9704
|
-
return '#FDD836';
|
|
9705
|
-
else
|
|
9706
|
-
return '#BDBDBD';
|
|
9707
|
+
return active ? '#FDD836' : '#BDBDBD';
|
|
9707
9708
|
};
|
|
9708
9709
|
React.useEffect(() => {
|
|
9709
|
-
setTimeout(() => {
|
|
9710
|
+
const timer = setTimeout(() => {
|
|
9710
9711
|
if (actionArea)
|
|
9711
9712
|
setOnHover(id);
|
|
9712
9713
|
else
|
|
9713
9714
|
setOnHover(-1);
|
|
9714
9715
|
}, 150);
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
|
|
9716
|
+
return () => clearTimeout(timer);
|
|
9717
|
+
}, [actionArea, id, setOnHover]);
|
|
9718
|
+
const onClickHandler = () => {
|
|
9719
|
+
if (disabled)
|
|
9720
|
+
return;
|
|
9721
|
+
if (clickTimeout.current !== null)
|
|
9722
|
+
return;
|
|
9723
|
+
clickTimeout.current = setTimeout(() => {
|
|
9724
|
+
handleClick(id);
|
|
9725
|
+
clickTimeout.current = null;
|
|
9726
|
+
}, 250);
|
|
9727
|
+
};
|
|
9728
|
+
const onDoubleClickHandler = () => {
|
|
9729
|
+
if (disabled)
|
|
9730
|
+
return;
|
|
9731
|
+
if (clickTimeout.current) {
|
|
9732
|
+
clearTimeout(clickTimeout.current);
|
|
9733
|
+
clickTimeout.current = null;
|
|
9734
|
+
}
|
|
9735
|
+
handleClick(0);
|
|
9736
|
+
};
|
|
9737
|
+
return (jsxRuntime.jsx("div", { onMouseOver: () => !disabled && setActionArea(true), onMouseOut: () => !disabled && setActionArea(false), onClick: onClickHandler, onDoubleClick: onDoubleClickHandler, style: {
|
|
9738
|
+
display: 'flex',
|
|
9739
|
+
justifyContent: 'center',
|
|
9740
|
+
alignItems: 'center',
|
|
9741
|
+
padding: marginStars || '3.5px'
|
|
9742
|
+
}, children: variant === 'primary' ? (jsxRuntime.jsx(StarRating, { width: sizeStars || 30, height: sizeStars || 29, fill: getColorStarPrimary(), fillOpacity: disabled ? '0.6' : '1' })) : (jsxRuntime.jsx(StarRatingRondedTips, { width: sizeStars || 30, height: sizeStars || 28, stroke: isEmpty && !active ? '#BDBDBD' : 'transparent', strokeWidth: isEmpty && !active ? '1' : '0', fill: getColorStarSecondary(), fillOpacity: disabled ? '0.6' : '1' })) }));
|
|
9722
9743
|
}
|
|
9723
9744
|
|
|
9724
9745
|
function Video({ videoId, privateHash, width, height, autoplay, quality, timeStart, showSpeedControl, controls, loop, keyboard, style }) {
|
|
@@ -17971,159 +17992,6 @@ function BannerSRG(props) {
|
|
|
17971
17992
|
jsxRuntime.jsxs(FrstSocials, { children: [props.social.onClickSite && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickSite(), children: [" ", jsxRuntime.jsx(SiteIcon, {}), " "] }), props.social.onClickLinkedin && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickLinkedin(), children: [" ", jsxRuntime.jsx(LinkedinIcon, {}), " "] }), props.social.onClickInstagram && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickInstagram(), children: [" ", jsxRuntime.jsx(InstagramIcon, {}), " "] }), props.social.onClickYoutube && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickYoutube(), children: [" ", jsxRuntime.jsx(YoutubeIcon, {}), " "] }), props.social.onClickSpotify && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickSpotify(), children: [" ", jsxRuntime.jsx(SpotifyIcon, {}), " "] }), props.social.onClickPodCast && jsxRuntime.jsxs(ItemFrstSocials, { onClick: () => props.social.onClickPodCast(), children: [" ", jsxRuntime.jsx(PodCastIcon, {}), " "] })] }), jsxRuntime.jsx(LateralMenu, { variant: 'primary', channel: '', name: props.lateralMenu.name, hiddenButtonHeader: true, avatar: props.lateralMenu.avatar, button: props.lateralMenu.button, listOptions: props.lateralMenu.listOptions })] }), jsxRuntime.jsx(WrapperContent$3, { children: jsxRuntime.jsx("img", { src: props.logoSRG }) }), jsxRuntime.jsxs(WrapperContentMain, { children: [jsxRuntime.jsx(TitleSRG, { children: props?.labels?.textTitle ? props?.labels?.textTitle : 'Space Race Game' }), jsxRuntime.jsx(DescriptionSRG, { children: props?.labels?.textDescription }), jsxRuntime.jsx(Button$5, { variant: 'primary', label: props?.newProject?.label ? props.newProject?.label : 'Criar novo projeto', handleClick: () => props.newProject.action(), startIcon: jsxRuntime.jsx(AddIcon, { fill: '#FFFFFF' }) })] }), jsxRuntime.jsxs(WrapperContentHelper, { children: [jsxRuntime.jsxs(SpeechBubble, { children: [jsxRuntime.jsx(HelperText$1, { children: props.labels.textHelperDescription }), jsxRuntime.jsx(Button$5, { variant: 'link', label: props?.acessHere?.label ? props.acessHere.label : 'Acesse aqui', handleClick: () => props.acessHere.action(), style: { color: '#21bffc' } })] }), jsxRuntime.jsx("img", { src: props.avatarSRG })] }), jsxRuntime.jsx(WrapperContent$3, { children: jsxRuntime.jsx(Button$5, { variant: 'primary', label: props?.newProject?.label ? props.newProject?.label : 'Criar novo projeto', handleClick: () => props.newProject.action(), startIcon: jsxRuntime.jsx(AddIcon, { fill: '#FFFFFF' }) }) })] }), jsxRuntime.jsx(VersionExtended, { isExtendedVersion: props.isExtendedVersion, heightExtended: props.heightExtended })] }) }));
|
|
17972
17993
|
}
|
|
17973
17994
|
|
|
17974
|
-
const achievementHeader = styled__default["default"].div `
|
|
17975
|
-
display: flex;
|
|
17976
|
-
justify-content: flex-start;
|
|
17977
|
-
align-items: center;
|
|
17978
|
-
flex-direction: row;
|
|
17979
|
-
|
|
17980
|
-
height: 96px;
|
|
17981
|
-
padding: 20px 32px;
|
|
17982
|
-
border-top-left-radius: 8px;
|
|
17983
|
-
border-top-right-radius: 8px;
|
|
17984
|
-
word-wrap: break-word;
|
|
17985
|
-
|
|
17986
|
-
${({ theme }) => theme.fonts.textMessageComponentsBodyBold};
|
|
17987
|
-
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
17988
|
-
`;
|
|
17989
|
-
const bannerContainer = styled__default["default"].div `
|
|
17990
|
-
display: flex;
|
|
17991
|
-
justify-content: flex-start;
|
|
17992
|
-
align-items: center;
|
|
17993
|
-
flex-direction: column;
|
|
17994
|
-
border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
17995
|
-
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
17996
|
-
padding: 24px;
|
|
17997
|
-
position: relative;
|
|
17998
|
-
`;
|
|
17999
|
-
const headerContent$1 = styled__default["default"].div `
|
|
18000
|
-
display: flex;
|
|
18001
|
-
justify-content: center;
|
|
18002
|
-
align-items: center;
|
|
18003
|
-
flex-direction: row;
|
|
18004
|
-
`;
|
|
18005
|
-
const userInfo$1 = styled__default["default"].div `
|
|
18006
|
-
display: flex;
|
|
18007
|
-
justify-content: center;
|
|
18008
|
-
align-items: flex-start;
|
|
18009
|
-
flex-direction: column;
|
|
18010
|
-
|
|
18011
|
-
font-family: 'Work Sans';
|
|
18012
|
-
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18013
|
-
margin-left: 16px;
|
|
18014
|
-
`;
|
|
18015
|
-
const problemTitle = styled__default["default"].div `
|
|
18016
|
-
font-family: 'Work Sans';
|
|
18017
|
-
color: ${({ theme }) => theme.colors.primary1};
|
|
18018
|
-
font-size: 24px;
|
|
18019
|
-
font-weight: 600;
|
|
18020
|
-
text-align: center;
|
|
18021
|
-
margin-top: 24px;
|
|
18022
|
-
word-wrap: break-word;
|
|
18023
|
-
`;
|
|
18024
|
-
const tagContent = styled__default["default"].div `
|
|
18025
|
-
display: flex;
|
|
18026
|
-
justify-content: center;
|
|
18027
|
-
align-items: center;
|
|
18028
|
-
flex-wrap: wrap;
|
|
18029
|
-
margin-top: 24px;
|
|
18030
|
-
gap: 8px;
|
|
18031
|
-
`;
|
|
18032
|
-
const lastUpdatedText = styled__default["default"].div `
|
|
18033
|
-
display: flex;
|
|
18034
|
-
justify-content: flex-start;
|
|
18035
|
-
align-items: center;
|
|
18036
|
-
flex-direction: row;
|
|
18037
|
-
${({ theme }) => theme.fonts.textMessageComponentsBodySmall};
|
|
18038
|
-
margin-top: 16px;
|
|
18039
|
-
`;
|
|
18040
|
-
const stepsContainer = styled__default["default"].div `
|
|
18041
|
-
display: flex;
|
|
18042
|
-
justify-content: flex-start;
|
|
18043
|
-
align-items: flex-start;
|
|
18044
|
-
flex-direction: column;
|
|
18045
|
-
width: 100%;
|
|
18046
|
-
border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
18047
|
-
border-radius: 8px;
|
|
18048
|
-
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
18049
|
-
padding: 24px;
|
|
18050
|
-
margin-bottom: 24px;
|
|
18051
|
-
`;
|
|
18052
|
-
const stepsTitle = styled__default["default"].span `
|
|
18053
|
-
${({ theme }) => theme.fonts.header2};
|
|
18054
|
-
font-size: 24px !important;
|
|
18055
|
-
`;
|
|
18056
|
-
const stepsLabel = styled__default["default"].span `
|
|
18057
|
-
font-family: 'Work Sans';
|
|
18058
|
-
font-size: 16px;
|
|
18059
|
-
font-weight: 700;
|
|
18060
|
-
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18061
|
-
margin-top: 16px;
|
|
18062
|
-
word-wrap: break-word;
|
|
18063
|
-
`;
|
|
18064
|
-
const stepsValueText = styled__default["default"].span `
|
|
18065
|
-
font-family: 'Work Sans';
|
|
18066
|
-
font-size: 16px;
|
|
18067
|
-
font-weight: 400;
|
|
18068
|
-
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18069
|
-
margin-top: 8px;
|
|
18070
|
-
word-wrap: break-word;
|
|
18071
|
-
`;
|
|
18072
|
-
const topHeaderTag = styled__default["default"].span `
|
|
18073
|
-
display: flex;
|
|
18074
|
-
flex-direction: row;
|
|
18075
|
-
justify-content: center;
|
|
18076
|
-
align-items: center;
|
|
18077
|
-
padding: 4px 16px;
|
|
18078
|
-
gap: 10px;
|
|
18079
|
-
|
|
18080
|
-
position: absolute;
|
|
18081
|
-
right: -1px;
|
|
18082
|
-
top: -1px;
|
|
18083
|
-
|
|
18084
|
-
background: ${({ background }) => background || '#940059'};
|
|
18085
|
-
color: ${({ color }) => color || '#FFFFFF'};
|
|
18086
|
-
border-radius: 0px 8px;
|
|
18087
|
-
|
|
18088
|
-
`;
|
|
18089
|
-
styled__default["default"].div `
|
|
18090
|
-
position: absolute;
|
|
18091
|
-
top: 0;
|
|
18092
|
-
left: 0;
|
|
18093
|
-
width: 100%;
|
|
18094
|
-
height: 100%;
|
|
18095
|
-
background-color: rgba(0, 0, 0, 0.2);
|
|
18096
|
-
color: white;
|
|
18097
|
-
display: flex;
|
|
18098
|
-
justify-content: center;
|
|
18099
|
-
align-items: center;
|
|
18100
|
-
z-index: 9999;
|
|
18101
|
-
opacity: ${props => props?.show ? '1' : '0'};
|
|
18102
|
-
transition: opacity 0.2s ease-in-out;
|
|
18103
|
-
border-radius: 8px;
|
|
18104
|
-
user-select: none;
|
|
18105
|
-
`;
|
|
18106
|
-
styled__default["default"].img `
|
|
18107
|
-
transform: rotate(180deg);
|
|
18108
|
-
transform: scaleY(-1);
|
|
18109
|
-
width: 30%;
|
|
18110
|
-
background-color: rgba(255, 255, 255, 0.8);
|
|
18111
|
-
|
|
18112
|
-
border-radius: 50%;
|
|
18113
|
-
user-select: none;
|
|
18114
|
-
padding: 1%;
|
|
18115
|
-
|
|
18116
|
-
// border: 0.5vw solid #0645ad;
|
|
18117
|
-
`;
|
|
18118
|
-
const WorkInfo = styled__default["default"].span `
|
|
18119
|
-
font-weight: 400;
|
|
18120
|
-
font-size: 16;
|
|
18121
|
-
max-width: 21ch;
|
|
18122
|
-
overflow: hidden;
|
|
18123
|
-
white-space: nowrap;
|
|
18124
|
-
text-overflow: ellipsis;
|
|
18125
|
-
`;
|
|
18126
|
-
|
|
18127
17995
|
const Container$7 = styled__default["default"].div `
|
|
18128
17996
|
padding: 1px 24px 0px 24px;
|
|
18129
17997
|
display: flex;
|
|
@@ -18257,13 +18125,25 @@ function FeedInteraction(props) {
|
|
|
18257
18125
|
const [openReview, setOpenReview] = React.useState(false);
|
|
18258
18126
|
const [openComments, setOpenComments] = React.useState(false);
|
|
18259
18127
|
const [isVisibleComments, setIsVisibleComments] = React.useState(!props?.hideComments);
|
|
18128
|
+
const [stateTotalComments, setStateTotalComments] = React.useState(props.qtdComments);
|
|
18129
|
+
const [ratingImpacto, setRatingImpacto] = React.useState(props.ratingImpacto || 0);
|
|
18130
|
+
const [ratingRelevancia, setRatingRelevancia] = React.useState(props.ratingRelevancia || 0);
|
|
18131
|
+
const [ratingPostReview, setRatingPostReview] = React.useState(props.ratingPostReview || 0);
|
|
18260
18132
|
React.useEffect(() => {
|
|
18261
18133
|
setIsVisibleComments(!props?.hideComments);
|
|
18262
18134
|
}, [props?.hideComments]);
|
|
18263
|
-
const [stateTotalComments, setStateTotalComments] = React.useState(props.qtdComments);
|
|
18264
18135
|
React.useEffect(() => {
|
|
18265
18136
|
setStateTotalComments(props.qtdComments);
|
|
18266
18137
|
}, [props.qtdComments]);
|
|
18138
|
+
React.useEffect(() => {
|
|
18139
|
+
setRatingImpacto(props.ratingImpacto || 0);
|
|
18140
|
+
}, [props.ratingImpacto]);
|
|
18141
|
+
React.useEffect(() => {
|
|
18142
|
+
setRatingRelevancia(props.ratingRelevancia || 0);
|
|
18143
|
+
}, [props.ratingRelevancia]);
|
|
18144
|
+
React.useEffect(() => {
|
|
18145
|
+
setRatingPostReview(props.ratingPostReview || 0);
|
|
18146
|
+
}, [props.ratingPostReview]);
|
|
18267
18147
|
const OnReviewClick = () => {
|
|
18268
18148
|
setOpenReview(!openReview);
|
|
18269
18149
|
setOpenComments(false);
|
|
@@ -18272,7 +18152,16 @@ function FeedInteraction(props) {
|
|
|
18272
18152
|
setOpenComments(!openComments);
|
|
18273
18153
|
setOpenReview(false);
|
|
18274
18154
|
};
|
|
18275
|
-
|
|
18155
|
+
const handleImpactoChange = (value) => {
|
|
18156
|
+
setRatingImpacto(value);
|
|
18157
|
+
};
|
|
18158
|
+
const handleRelevanciaChange = (value) => {
|
|
18159
|
+
setRatingRelevancia(value);
|
|
18160
|
+
};
|
|
18161
|
+
const handlePostReviewChange = (value) => {
|
|
18162
|
+
setRatingPostReview(value);
|
|
18163
|
+
};
|
|
18164
|
+
return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(Container$7, { style: { ...props.style }, id: props.id, children: [!props.textTotalView && (props.qtdLikes || stateTotalComments) ? (jsxRuntime.jsxs(infoContent, { children: [props?.qtdLikes ? (jsxRuntime.jsxs(info, { style: { left: 0 }, children: [jsxRuntime.jsx(ThumbsUpCovered, {}), " \u00A0", jsxRuntime.jsx("span", { onClick: () => props?.handleShowLikes?.(), style: {
|
|
18276
18165
|
cursor: 'pointer',
|
|
18277
18166
|
color: '#0645AD',
|
|
18278
18167
|
fontFamily: 'PT Sans',
|
|
@@ -18280,7 +18169,7 @@ function FeedInteraction(props) {
|
|
|
18280
18169
|
lineHeight: '17.6px',
|
|
18281
18170
|
fontWeight: 400,
|
|
18282
18171
|
textDecoration: 'underline'
|
|
18283
|
-
}, children: props.qtdLikes })] })) : null, stateTotalComments ? jsxRuntime.jsx(info, { style: { right: 0 }, children: stateTotalComments }) : null] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: (props.textTotalView || props.qtdLikes || stateTotalComments) && (jsxRuntime.jsxs(infoContentWithView, { children: [jsxRuntime.jsxs("div", { style: { display: 'flex', flexDirection: 'row', gap: '5px' }, children: [props.qtdLikes && (jsxRuntime.jsxs(infoWithView, { onClick: () => props?.handleShowLikes?.(), children: [
|
|
18172
|
+
}, children: props.qtdLikes })] })) : null, stateTotalComments ? (jsxRuntime.jsx(info, { style: { right: 0 }, children: stateTotalComments })) : null] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: (props.textTotalView || props.qtdLikes || stateTotalComments) && (jsxRuntime.jsxs(infoContentWithView, { children: [jsxRuntime.jsxs("div", { style: { display: 'flex', flexDirection: 'row', gap: '5px' }, children: [props.qtdLikes && (jsxRuntime.jsxs(infoWithView, { onClick: () => props?.handleShowLikes?.(), children: [jsxRuntime.jsx(ThumbsUpCovered, {}), " \u00A0", jsxRuntime.jsx("span", { onClick: () => props?.handleShowLikes?.(), style: {
|
|
18284
18173
|
cursor: 'pointer',
|
|
18285
18174
|
color: '#0645AD',
|
|
18286
18175
|
fontFamily: 'PT Sans',
|
|
@@ -18288,15 +18177,178 @@ function FeedInteraction(props) {
|
|
|
18288
18177
|
lineHeight: '17.6px',
|
|
18289
18178
|
fontWeight: 400,
|
|
18290
18179
|
textDecoration: 'underline'
|
|
18291
|
-
}, children: props.qtdLikes })] })), props?.qtdLikes && stateTotalComments && jsxRuntime.jsx("div", { children: "\u2022" }), stateTotalComments && jsxRuntime.jsxs(infoWithView, { children: [" ", stateTotalComments, " "] })] }), props.textTotalView && (jsxRuntime.jsx(infoWithView, { style: { color: '#0645AD', fontWeight: 700, cursor: 'pointer' }, onClick: () => props.handleClickTextTotalViews(), children: props.textTotalView }))] })) })), jsxRuntime.jsxs(buttonsContent, { children: [props.isLiked ? (jsxRuntime.jsx(buttons, { children: jsxRuntime.jsx(Button$5, { startIcon: jsxRuntime.jsx(ThumbsUpIcon, { fill: 'currentColor' }), label: props.textDeslike, variant: "link", handleClick: props.handleLikeClick }) })) : (jsxRuntime.jsx(buttons, { children: jsxRuntime.jsx(Button$5, { startIcon: jsxRuntime.jsx(ThumbsUpIcon, { fill: 'currentColor' }), label: props.textLikes, variant: "link", handleClick: props.handleLikeClick }) })), isVisibleComments && (jsxRuntime.jsxs(buttons, { onClick: OnCommentsClick, style: { color: openComments && FRSTTheme['colors'].linkPressed }, children: [jsxRuntime.jsx(TalkIcon, { fill: 'currentColor' }), " ", props.textComments] })), jsxRuntime.jsxs(buttons, { onClick: OnReviewClick, style: { color: openReview && FRSTTheme['colors'].linkPressed }, children: [jsxRuntime.jsx(StarOutlined, { fill: 'currentColor' }), " ", props.textAvaluation] })] }), openReview && (jsxRuntime.jsxs(reviewContainer, { children: [props.textAvaluationTitle, jsxRuntime.jsxs(reviewContent, { children: [props.isChallengeReview && (jsxRuntime.jsxs("div", { style: {
|
|
18180
|
+
}, children: props.qtdLikes })] })), props?.qtdLikes && stateTotalComments && jsxRuntime.jsx("div", { children: "\u2022" }), stateTotalComments && jsxRuntime.jsxs(infoWithView, { children: [" ", stateTotalComments, " "] })] }), props.textTotalView && (jsxRuntime.jsx(infoWithView, { style: { color: '#0645AD', fontWeight: 700, cursor: 'pointer' }, onClick: () => props.handleClickTextTotalViews?.(), children: props.textTotalView }))] })) })), jsxRuntime.jsxs(buttonsContent, { children: [props.isLiked ? (jsxRuntime.jsx(buttons, { children: jsxRuntime.jsx(Button$5, { startIcon: jsxRuntime.jsx(ThumbsUpIcon, { fill: 'currentColor' }), label: props.textDeslike, variant: "link", handleClick: props.handleLikeClick }) })) : (jsxRuntime.jsx(buttons, { children: jsxRuntime.jsx(Button$5, { startIcon: jsxRuntime.jsx(ThumbsUpIcon, { fill: 'currentColor' }), label: props.textLikes, variant: "link", handleClick: props.handleLikeClick }) })), isVisibleComments && (jsxRuntime.jsxs(buttons, { onClick: OnCommentsClick, style: { color: openComments && FRSTTheme['colors'].linkPressed }, children: [jsxRuntime.jsx(TalkIcon, { fill: 'currentColor' }), " ", props.textComments] })), jsxRuntime.jsxs(buttons, { onClick: OnReviewClick, style: { color: openReview && FRSTTheme['colors'].linkPressed }, children: [jsxRuntime.jsx(StarOutlined, { fill: 'currentColor' }), " ", props.textAvaluation] })] }), openReview && (jsxRuntime.jsxs(reviewContainer, { children: [props.textAvaluationTitle, jsxRuntime.jsxs(reviewContent, { children: [props.isChallengeReview && (jsxRuntime.jsxs("div", { style: {
|
|
18181
|
+
display: 'flex',
|
|
18182
|
+
justifyContent: 'center',
|
|
18183
|
+
alignItems: 'center',
|
|
18184
|
+
flexDirection: 'column'
|
|
18185
|
+
}, children: [jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: "horizontal", qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: ratingImpacto, handleRating: handleImpactoChange }), jsxRuntime.jsx("span", { children: props.textImpacto })] })), props.isChallengeReview && (jsxRuntime.jsxs("div", { style: {
|
|
18292
18186
|
display: 'flex',
|
|
18293
18187
|
justifyContent: 'center',
|
|
18294
18188
|
alignItems: 'center',
|
|
18295
18189
|
flexDirection: 'column',
|
|
18296
18190
|
marginLeft: 24
|
|
18297
|
-
}, children: [jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: "horizontal", qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating:
|
|
18191
|
+
}, children: [jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: "horizontal", qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: ratingRelevancia, handleRating: handleRelevanciaChange }), jsxRuntime.jsx("span", { children: props.textRelevancia })] })), props.isPostReview && (jsxRuntime.jsx("div", { style: {
|
|
18192
|
+
display: 'flex',
|
|
18193
|
+
justifyContent: 'center',
|
|
18194
|
+
alignItems: 'center',
|
|
18195
|
+
flexDirection: 'column'
|
|
18196
|
+
}, children: jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: "horizontal", qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: ratingPostReview, handleRating: handlePostReviewChange }) }))] })] })), openComments && props?.isCommentV2 && jsxRuntime.jsx("div", { children: props?.childrenCommentV2 })] }) }));
|
|
18298
18197
|
}
|
|
18299
18198
|
|
|
18199
|
+
const achievementHeader = styled__default["default"].div `
|
|
18200
|
+
display: flex;
|
|
18201
|
+
justify-content: flex-start;
|
|
18202
|
+
align-items: center;
|
|
18203
|
+
flex-direction: row;
|
|
18204
|
+
|
|
18205
|
+
height: 96px;
|
|
18206
|
+
padding: 20px 32px;
|
|
18207
|
+
border-top-left-radius: 8px;
|
|
18208
|
+
border-top-right-radius: 8px;
|
|
18209
|
+
word-wrap: break-word;
|
|
18210
|
+
|
|
18211
|
+
${({ theme }) => theme.fonts.textMessageComponentsBodyBold};
|
|
18212
|
+
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
18213
|
+
`;
|
|
18214
|
+
const bannerContainer = styled__default["default"].div `
|
|
18215
|
+
display: flex;
|
|
18216
|
+
justify-content: flex-start;
|
|
18217
|
+
align-items: center;
|
|
18218
|
+
flex-direction: column;
|
|
18219
|
+
border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
18220
|
+
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
18221
|
+
padding: 24px;
|
|
18222
|
+
position: relative;
|
|
18223
|
+
`;
|
|
18224
|
+
const headerContent$1 = styled__default["default"].div `
|
|
18225
|
+
display: flex;
|
|
18226
|
+
justify-content: center;
|
|
18227
|
+
align-items: center;
|
|
18228
|
+
flex-direction: row;
|
|
18229
|
+
`;
|
|
18230
|
+
const userInfo$1 = styled__default["default"].div `
|
|
18231
|
+
display: flex;
|
|
18232
|
+
justify-content: center;
|
|
18233
|
+
align-items: flex-start;
|
|
18234
|
+
flex-direction: column;
|
|
18235
|
+
|
|
18236
|
+
font-family: 'Work Sans';
|
|
18237
|
+
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18238
|
+
margin-left: 16px;
|
|
18239
|
+
`;
|
|
18240
|
+
const problemTitle = styled__default["default"].div `
|
|
18241
|
+
font-family: 'Work Sans';
|
|
18242
|
+
color: ${({ theme }) => theme.colors.primary1};
|
|
18243
|
+
font-size: 24px;
|
|
18244
|
+
font-weight: 600;
|
|
18245
|
+
text-align: center;
|
|
18246
|
+
margin-top: 24px;
|
|
18247
|
+
word-wrap: break-word;
|
|
18248
|
+
`;
|
|
18249
|
+
const tagContent = styled__default["default"].div `
|
|
18250
|
+
display: flex;
|
|
18251
|
+
justify-content: center;
|
|
18252
|
+
align-items: center;
|
|
18253
|
+
flex-wrap: wrap;
|
|
18254
|
+
margin-top: 24px;
|
|
18255
|
+
gap: 8px;
|
|
18256
|
+
`;
|
|
18257
|
+
const lastUpdatedText = styled__default["default"].div `
|
|
18258
|
+
display: flex;
|
|
18259
|
+
justify-content: flex-start;
|
|
18260
|
+
align-items: center;
|
|
18261
|
+
flex-direction: row;
|
|
18262
|
+
${({ theme }) => theme.fonts.textMessageComponentsBodySmall};
|
|
18263
|
+
margin-top: 16px;
|
|
18264
|
+
`;
|
|
18265
|
+
const stepsContainer = styled__default["default"].div `
|
|
18266
|
+
display: flex;
|
|
18267
|
+
justify-content: flex-start;
|
|
18268
|
+
align-items: flex-start;
|
|
18269
|
+
flex-direction: column;
|
|
18270
|
+
width: 100%;
|
|
18271
|
+
border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
18272
|
+
border-radius: 8px;
|
|
18273
|
+
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
18274
|
+
padding: 24px;
|
|
18275
|
+
margin-bottom: 24px;
|
|
18276
|
+
`;
|
|
18277
|
+
const stepsTitle = styled__default["default"].span `
|
|
18278
|
+
${({ theme }) => theme.fonts.header2};
|
|
18279
|
+
font-size: 24px !important;
|
|
18280
|
+
`;
|
|
18281
|
+
const stepsLabel = styled__default["default"].span `
|
|
18282
|
+
font-family: 'Work Sans';
|
|
18283
|
+
font-size: 16px;
|
|
18284
|
+
font-weight: 700;
|
|
18285
|
+
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18286
|
+
margin-top: 16px;
|
|
18287
|
+
word-wrap: break-word;
|
|
18288
|
+
`;
|
|
18289
|
+
const stepsValueText = styled__default["default"].span `
|
|
18290
|
+
font-family: 'Work Sans';
|
|
18291
|
+
font-size: 16px;
|
|
18292
|
+
font-weight: 400;
|
|
18293
|
+
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
18294
|
+
margin-top: 8px;
|
|
18295
|
+
word-wrap: break-word;
|
|
18296
|
+
`;
|
|
18297
|
+
const topHeaderTag = styled__default["default"].span `
|
|
18298
|
+
display: flex;
|
|
18299
|
+
flex-direction: row;
|
|
18300
|
+
justify-content: center;
|
|
18301
|
+
align-items: center;
|
|
18302
|
+
padding: 4px 16px;
|
|
18303
|
+
gap: 10px;
|
|
18304
|
+
|
|
18305
|
+
position: absolute;
|
|
18306
|
+
right: -1px;
|
|
18307
|
+
top: -1px;
|
|
18308
|
+
|
|
18309
|
+
background: ${({ background }) => background || '#940059'};
|
|
18310
|
+
color: ${({ color }) => color || '#FFFFFF'};
|
|
18311
|
+
border-radius: 0px 8px;
|
|
18312
|
+
|
|
18313
|
+
`;
|
|
18314
|
+
styled__default["default"].div `
|
|
18315
|
+
position: absolute;
|
|
18316
|
+
top: 0;
|
|
18317
|
+
left: 0;
|
|
18318
|
+
width: 100%;
|
|
18319
|
+
height: 100%;
|
|
18320
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
18321
|
+
color: white;
|
|
18322
|
+
display: flex;
|
|
18323
|
+
justify-content: center;
|
|
18324
|
+
align-items: center;
|
|
18325
|
+
z-index: 9999;
|
|
18326
|
+
opacity: ${props => props?.show ? '1' : '0'};
|
|
18327
|
+
transition: opacity 0.2s ease-in-out;
|
|
18328
|
+
border-radius: 8px;
|
|
18329
|
+
user-select: none;
|
|
18330
|
+
`;
|
|
18331
|
+
styled__default["default"].img `
|
|
18332
|
+
transform: rotate(180deg);
|
|
18333
|
+
transform: scaleY(-1);
|
|
18334
|
+
width: 30%;
|
|
18335
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
18336
|
+
|
|
18337
|
+
border-radius: 50%;
|
|
18338
|
+
user-select: none;
|
|
18339
|
+
padding: 1%;
|
|
18340
|
+
|
|
18341
|
+
// border: 0.5vw solid #0645ad;
|
|
18342
|
+
`;
|
|
18343
|
+
const WorkInfo = styled__default["default"].span `
|
|
18344
|
+
font-weight: 400;
|
|
18345
|
+
font-size: 16;
|
|
18346
|
+
max-width: 21ch;
|
|
18347
|
+
overflow: hidden;
|
|
18348
|
+
white-space: nowrap;
|
|
18349
|
+
text-overflow: ellipsis;
|
|
18350
|
+
`;
|
|
18351
|
+
|
|
18300
18352
|
function BannerProblemFeed(props) {
|
|
18301
18353
|
const [selectedStep, setSelectedStep] = React.useState(props.stepActive);
|
|
18302
18354
|
const learningIcon = 'https://i.gyazo.com/4e0807b581bf9780f07a27516a809a21.png';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WarningIcon.d.ts","sourceRoot":"","sources":["../../../public/customIcons/WarningIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;WAKb,MAAM;YACL,MAAM;aACL,MAAM;6CAWlB,CAAA"}
|
|
@@ -9,4 +9,5 @@ export { NewVoteIcon } from './newVoteIcon';
|
|
|
9
9
|
export { CheckIcon } from './CheckIcon';
|
|
10
10
|
export { CloseIcon } from './CloseIcon';
|
|
11
11
|
export { SwitchVoteIcon } from './SwitchVoteIcon';
|
|
12
|
+
export { WarningIcon } from './WarningIcon';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../public/customIcons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../public/customIcons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToastProps } from './toast-v2.types';
|
|
2
|
-
export declare const showToastV2: ({ type, message, showBySeconds, styles }: ToastProps) => void;
|
|
2
|
+
export declare const showToastV2: ({ type, message, showBySeconds, styles, startICon }: ToastProps) => void;
|
|
3
3
|
export declare const ToastV2: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,wDAAyE,UAAU,SAyD1G,CAAA;AAED,eAAO,MAAM,OAAO,+CAMnB,CAAA"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { IRating } from './rating';
|
|
2
|
-
/**
|
|
3
|
-
* @componente
|
|
4
|
-
*/
|
|
5
2
|
export default function Rating({ variant, rating, isVisibleNumberRating, qtdStars, marginStars, handleRating, sizeStars, orientation, disabled }: IRating): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/EBR/rating/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/EBR/rating/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,OAAmB,EACnB,MAAM,EACN,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,SAAS,EACT,WAAW,EACX,QAAQ,EACT,EAAE,OAAO,2CA4CT"}
|
|
@@ -23,9 +23,9 @@ interface IFeedInteraction {
|
|
|
23
23
|
handleLikeClick?: () => void;
|
|
24
24
|
handleShowLikes?: () => void;
|
|
25
25
|
tooltipLikesText?: string;
|
|
26
|
-
handleImpactoChange?:
|
|
27
|
-
handleRelevanciaChange?:
|
|
28
|
-
handlePostReviewChange?:
|
|
26
|
+
handleImpactoChange?: (value: number) => void;
|
|
27
|
+
handleRelevanciaChange?: (value: number) => void;
|
|
28
|
+
handlePostReviewChange?: (value: number) => void;
|
|
29
29
|
hideComments?: any;
|
|
30
30
|
textTotalView?: string;
|
|
31
31
|
handleClickTextTotalViews?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/feedInteraction/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/feedInteraction/index.tsx"],"names":[],"mappings":";AAQA,UAAU,gBAA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;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,gBAAgB,2CAyO9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/index.tsx"],"names":[],"mappings":";AAUA,UAAU,iBAAiB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/index.tsx"],"names":[],"mappings":";AAUA,UAAU,iBAAiB;IACvB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IAExB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAE3B,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;CAC/B;AAUD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CAuFhE"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
export const WarningIcon = ({
|
|
4
|
+
width = '22',
|
|
5
|
+
height = '22',
|
|
6
|
+
fill = '#F18624'
|
|
7
|
+
}: {
|
|
8
|
+
fill?: string
|
|
9
|
+
width?: string
|
|
10
|
+
height?: string
|
|
11
|
+
}) => {
|
|
12
|
+
return (
|
|
13
|
+
<svg width={width} height={height} viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
14
|
+
<rect width={width} height={height} rx="11" fill={fill} />
|
|
15
|
+
<path
|
|
16
|
+
d="M9.952 13H11.772V6H9.952V13ZM9.686 14.974C9.686 15.2447 9.784 15.4733 9.98 15.66C10.1853 15.856 10.4653 15.954 10.82 15.954C11.1747 15.954 11.4593 15.856 11.674 15.66C11.898 15.4733 12.01 15.2447 12.01 14.974C12.01 14.7033 11.898 14.4747 11.674 14.288C11.4593 14.1107 11.1747 14.022 10.82 14.022C10.4653 14.022 10.1853 14.1107 9.98 14.288C9.784 14.4747 9.686 14.7033 9.686 14.974Z"
|
|
17
|
+
fill="#F8FAFC"
|
|
18
|
+
/>
|
|
19
|
+
</svg>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { SmallTrash } from './SmallTrash'
|
|
2
|
-
export { TagAlert } from './TagAlert'
|
|
3
|
-
export { CircledCheck } from './CircledCheck'
|
|
1
|
+
export { SmallTrash } from './SmallTrash'
|
|
2
|
+
export { TagAlert } from './TagAlert'
|
|
3
|
+
export { CircledCheck } from './CircledCheck'
|
|
4
4
|
export { CircledAlert } from './CircledAlert'
|
|
5
|
-
export { VoteIcon } from './VoteIcon'
|
|
6
|
-
export { ExcludeVoteIcon } from './ExcludeVoteIcon'
|
|
7
|
-
export { VoteCurrentIcon } from './VoteCurrentIcon'
|
|
5
|
+
export { VoteIcon } from './VoteIcon'
|
|
6
|
+
export { ExcludeVoteIcon } from './ExcludeVoteIcon'
|
|
7
|
+
export { VoteCurrentIcon } from './VoteCurrentIcon'
|
|
8
8
|
export { NewVoteIcon } from './newVoteIcon'
|
|
9
9
|
export { CheckIcon } from './CheckIcon'
|
|
10
10
|
export { CloseIcon } from './CloseIcon'
|
|
11
11
|
export { SwitchVoteIcon } from './SwitchVoteIcon'
|
|
12
|
+
export { WarningIcon } from './WarningIcon'
|