frst-components 0.28.9 → 0.28.10
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.js
CHANGED
|
@@ -24654,7 +24654,7 @@ function NewChallengeCard({ selected, avatar, name, role, description, lastStep,
|
|
|
24654
24654
|
} }) }), jsxRuntime.jsxs(contentWrapper, { children: [jsxRuntime.jsxs(headerContent, { children: [jsxRuntime.jsx(Tooltip$2, { direction: "bottom", content: 'Visitar perfil', trigger: 'hover', width: '101px', height: '32px', style: { top: '10px', textAlign: 'center' }, children: jsxRuntime.jsxs(userInfo, { onClick: onClickAvatar, children: [jsxRuntime.jsx(Avatar, { size: '40px', src: avatar, isActiveClick: true, onClick: onClickAvatar }), jsxRuntime.jsxs(namePositionInfo, { children: [jsxRuntime.jsx(material.Typography, { component: 'h6', children: abbreviateMiddleSurnames(name) }), jsxRuntime.jsx(material.Typography, { component: 'p', children: role })] })] }) }), jsxRuntime.jsx(MenuMore, { options: options, closeAfterClick: true })] }), jsxRuntime.jsxs(contentDescription, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsx(material.Typography, { component: 'h6', children: (lastStep == "3-aprendizados-e-resultados" || lastStep == "4-proximos-passos") && indicatorCurrent ? `RESULTADO ${resultNumber === 1 ? '' : resultNumber}` : "DESAFIO" }), jsxRuntime.jsx(material.Typography, { component: 'p', children: description })] }), (lastStep == "3-aprendizados-e-resultados" || lastStep == "4-proximos-passos") && indicatorCurrent ?
|
|
24655
24655
|
jsxRuntime.jsx(wrapperResults, { onClick: () => handleClickChallenge?.(), children: jsxRuntime.jsx(ProgressGoalBar, { start: indicatorStart || 0, current: indicatorCurrent || 0, goal: indicatorGoal || 0, isVisibleMessage: false }) })
|
|
24656
24656
|
:
|
|
24657
|
-
jsxRuntime.jsxs(wrapperStepTag, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsxs(wrapperRating, { children: [jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", impact ? Math.floor(impact) : "0", " - Impacto"] }), jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", relevance ? Math.floor(relevance) : "0", " - Relev\u00E2ncia "] })] }), jsxRuntime.jsx(contentUpdatedChallenge, { style: { background: getStepName(lastStep)
|
|
24657
|
+
jsxRuntime.jsxs(wrapperStepTag, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsxs(wrapperRating, { children: [jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", impact ? Math.floor(impact) : "0", " - Impacto"] }), jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", relevance ? Math.floor(relevance) : "0", " - Relev\u00E2ncia "] })] }), jsxRuntime.jsx(contentUpdatedChallenge, { style: { background: getStepName(lastStep)?.color }, children: jsxRuntime.jsx(material.Typography, { component: 'p', children: getStepName(lastStep)?.name }) })] })] })] })] }));
|
|
24658
24658
|
}
|
|
24659
24659
|
|
|
24660
24660
|
const ArticleContainer = styled__default["default"]('div') `
|
|
@@ -24995,6 +24995,7 @@ const HeaderInfo = styled__default["default"]('div') `
|
|
|
24995
24995
|
const UserInfo = styled__default["default"]('div') `
|
|
24996
24996
|
display: flex;
|
|
24997
24997
|
flex-direction: column;
|
|
24998
|
+
gap: 4px;
|
|
24998
24999
|
|
|
24999
25000
|
.title {
|
|
25000
25001
|
font-family: 'PT Sans';
|
|
@@ -25002,7 +25003,6 @@ const UserInfo = styled__default["default"]('div') `
|
|
|
25002
25003
|
font-weight: 600;
|
|
25003
25004
|
line-height: 1.1;
|
|
25004
25005
|
color: #222222;
|
|
25005
|
-
margin-bottom: 4px;
|
|
25006
25006
|
}
|
|
25007
25007
|
|
|
25008
25008
|
p {
|
|
@@ -25011,6 +25011,7 @@ const UserInfo = styled__default["default"]('div') `
|
|
|
25011
25011
|
font-weight: 400;
|
|
25012
25012
|
line-height: 1.3;
|
|
25013
25013
|
color: #757575;
|
|
25014
|
+
margin: 0;
|
|
25014
25015
|
}
|
|
25015
25016
|
`;
|
|
25016
25017
|
const ButtonsList = styled__default["default"]('div') `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAmBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAmBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAqBpB,CAAA;AAED,eAAO,MAAM,WAAW,oEAGvB,CAAA;AAED,eAAO,MAAM,UAAU,oEAiBtB,CAAA"}
|
|
@@ -15,7 +15,7 @@ export declare const LoginIconCustom: import("styled-components").StyledComponen
|
|
|
15
15
|
muiName: string;
|
|
16
16
|
}, any, {}, never>;
|
|
17
17
|
export declare const FormControlSelect: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/FormControl").FormControlTypeMap<{}, "div">>, any, {}, never>;
|
|
18
|
-
export declare const DropDownList: import("styled-components").StyledComponent<(<Value = unknown>(props: import("@mui/material/Select").SelectProps<Value>) => JSX.Element) & {
|
|
18
|
+
export declare const DropDownList: import("styled-components").StyledComponent<(<Value = unknown>(props: import("@mui/material/Select").SelectProps<Value>) => import("react").JSX.Element) & {
|
|
19
19
|
muiName: string;
|
|
20
20
|
}, any, {}, never>;
|
|
21
21
|
export declare const LabelDateStepper: import("styled-components").StyledComponent<"label", any, {}, never>;
|