frst-components 0.21.79 → 0.21.80
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 +10 -5
- package/dist/src/components/DS/steps-progress/index.d.ts +2 -1
- package/dist/src/components/DS/steps-progress/index.d.ts.map +1 -1
- package/dist/src/components/DS/steps-progress/stepsProgressStyles.d.ts +1 -0
- package/dist/src/components/DS/steps-progress/stepsProgressStyles.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2091,17 +2091,22 @@ const CicleStepName = styled__default["default"](material.Box) `
|
|
|
2091
2091
|
margin-top: 20px;
|
|
2092
2092
|
width: 70px;
|
|
2093
2093
|
text-align: center;
|
|
2094
|
-
color: ${({ variant }) => variant == 'disabled' ? ('#757575') : (variant == 'selected' ? '#F26818' : '#222')};
|
|
2094
|
+
color: ${({ variant }) => variant == 'disabled' ? ('#757575') : (variant == 'selected' ? '#F26818' : (variant == 'white' ? '#FFF' : '#222'))};
|
|
2095
2095
|
font-weight: ${({ variant }) => variant == 'selected' ? '600' : '400'};
|
|
2096
2096
|
cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
|
|
2097
2097
|
|
|
2098
|
+
${({ colorItemWhite }) => colorItemWhite &&
|
|
2099
|
+
`
|
|
2100
|
+
color:#fff;
|
|
2101
|
+
`}
|
|
2102
|
+
|
|
2098
2103
|
@media (max-width: 400px) {
|
|
2099
2104
|
font-size: 10px;
|
|
2100
2105
|
}
|
|
2101
2106
|
`;
|
|
2102
2107
|
|
|
2103
2108
|
// import { IAvatar } from './stepsProgress'
|
|
2104
|
-
function StepsProgress({ definedSteps, stepSelected, width = 600 }) {
|
|
2109
|
+
function StepsProgress({ definedSteps, stepSelected, width = 600, colorItemWhite = false }) {
|
|
2105
2110
|
const stepColor = definedSteps.filter(s => s.step !== 1);
|
|
2106
2111
|
return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsx(ProgressBar$2, { children: stepColor && Array.isArray(stepColor) ?
|
|
2107
2112
|
stepColor.map((item, index) => jsxRuntime.jsx(ProgressItem$1, { active: item?.active }, index))
|
|
@@ -2109,13 +2114,13 @@ function StepsProgress({ definedSteps, stepSelected, width = 600 }) {
|
|
|
2109
2114
|
definedSteps.map((item, index) => {
|
|
2110
2115
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [(item?.step == stepSelected) &&
|
|
2111
2116
|
jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'selected' }), (!(item?.step == stepSelected) && item?.active) &&
|
|
2112
|
-
jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'normal' }), (!item?.active) &&
|
|
2117
|
+
jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'normal', colorItemWhite: colorItemWhite }), (!item?.active) &&
|
|
2113
2118
|
jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'disabled' })] }));
|
|
2114
2119
|
})
|
|
2115
2120
|
: null })] }));
|
|
2116
2121
|
}
|
|
2117
|
-
function StepItem({ index, name, action, step, variant }) {
|
|
2118
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(material.Box, { children: [jsxRuntime.jsx(CicleStep, { variant: variant }), jsxRuntime.jsx(CicleStepChar, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: step }), jsxRuntime.jsx(CicleStepName, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: name })] }, index) }));
|
|
2122
|
+
function StepItem({ index, name, action, step, variant, colorItemWhite = false }) {
|
|
2123
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(material.Box, { children: [jsxRuntime.jsx(CicleStep, { variant: variant }), jsxRuntime.jsx(CicleStepChar, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: step }), jsxRuntime.jsx(CicleStepName, { variant: variant, colorItemWhite: colorItemWhite, onClick: () => variant != 'disabled' ? action() : () => { }, children: name })] }, index) }));
|
|
2119
2124
|
}
|
|
2120
2125
|
|
|
2121
2126
|
var css_248z$k = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.avatarWithInfo-module_container__Y-yUf {\n /* width: 100%; */\n height: fit-content;\n padding: 4px 16px 4px 4px;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n \n border: 1px solid #BDBDBD;\n border-radius: 25px;\n background-color: #FFF;\n font-size: 16px;\n \n flex-direction: row;\n flex-wrap: nowrap;\n font-family: 'Work Sans';\n flex-wrap: wrap;\n}";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import '../../../shared/global.css';
|
|
3
|
-
export default function StepsProgress({ definedSteps, stepSelected, width }: {
|
|
3
|
+
export default function StepsProgress({ definedSteps, stepSelected, width, colorItemWhite }: {
|
|
4
4
|
definedSteps: any;
|
|
5
5
|
stepSelected: any;
|
|
6
6
|
width?: number;
|
|
7
|
+
colorItemWhite?: boolean;
|
|
7
8
|
}): JSX.Element;
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/steps-progress/index.tsx"],"names":[],"mappings":";AAGA,OAAO,4BAA4B,CAAC;AAMpC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,KAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/steps-progress/index.tsx"],"names":[],"mappings":";AAGA,OAAO,4BAA4B,CAAC;AAMpC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,KAAW,EAAC,cAAoB,EAAC;;;;;CAAA,eAoDpG"}
|
|
@@ -11,5 +11,6 @@ export declare const CicleStepChar: import("styled-components").StyledComponent<
|
|
|
11
11
|
}, never>;
|
|
12
12
|
export declare const CicleStepName: import("styled-components").StyledComponent<import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material/").Theme>>, any, {
|
|
13
13
|
variant: any;
|
|
14
|
+
colorItemWhite: any;
|
|
14
15
|
}, never>;
|
|
15
16
|
//# sourceMappingURL=stepsProgressStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepsProgressStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/steps-progress/stepsProgressStyles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,qLAWvB,CAAA;AAED,eAAO,MAAM,YAAY;;SAOxB,CAAA;AAED,eAAO,MAAM,cAAc,qLAO1B,CAAA;AAED,eAAO,MAAM,SAAS;;SAarB,CAAA;AAED,eAAO,MAAM,aAAa;;SAmBzB,CAAA;AAED,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"stepsProgressStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/steps-progress/stepsProgressStyles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,qLAWvB,CAAA;AAED,eAAO,MAAM,YAAY;;SAOxB,CAAA;AAED,eAAO,MAAM,cAAc,qLAO1B,CAAA;AAED,eAAO,MAAM,SAAS;;SAarB,CAAA;AAED,eAAO,MAAM,aAAa;;SAmBzB,CAAA;AAED,eAAO,MAAM,aAAa;;;SAkBzB,CAAA"}
|
package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4BAA4B,CAAC;AAGrE,eAAO,MAAM,kBAAkB,mGAC5B,yBAAyB,gBAW3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,UAAU,8KAYpB,WAAW,gBAiGb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAIrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/index.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE;;;CAAA,eAiFnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
|