frst-components 0.23.11 → 0.23.12
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 +37 -7
- package/dist/src/components/DS/cardUser/cardUser.styles.d.ts +7 -2
- package/dist/src/components/DS/cardUser/cardUser.styles.d.ts.map +1 -1
- package/dist/src/components/DS/cardUser/index.d.ts +1 -1
- package/dist/src/components/DS/cardUser/index.d.ts.map +1 -1
- package/dist/src/components/DS/dropdown-Multiselect/styles/multiselectStyles.d.ts.map +1 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.d.ts.map +1 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/index.d.ts.map +1 -1
- package/dist/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.d.ts.map +1 -1
- package/dist/src/components/DS/select/styles/StylesSelect.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/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts.map +1 -1
- package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts.map +1 -1
- package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts.map +1 -1
- package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.d.ts.map +1 -1
- package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.d.ts.map +1 -1
- package/dist/src/components/global-menu/components/customMenu/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ var StepConnector = require('@mui/material/StepConnector');
|
|
|
24
24
|
var styles = require('@mui/material/styles');
|
|
25
25
|
var Select$4 = require('react-select');
|
|
26
26
|
var usehooksTs = require('usehooks-ts');
|
|
27
|
+
var CloseIcon$1 = require('@mui/icons-material/Close');
|
|
27
28
|
var reactColor = require('react-color');
|
|
28
29
|
var dnd = require('@hello-pangea/dnd');
|
|
29
30
|
var LinearProgress = require('@material-ui/core/LinearProgress');
|
|
@@ -98,6 +99,7 @@ var Step__default = /*#__PURE__*/_interopDefaultLegacy(Step);
|
|
|
98
99
|
var CardActions__default = /*#__PURE__*/_interopDefaultLegacy(CardActions);
|
|
99
100
|
var StepConnector__default = /*#__PURE__*/_interopDefaultLegacy(StepConnector);
|
|
100
101
|
var Select__default$1 = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
102
|
+
var CloseIcon__default = /*#__PURE__*/_interopDefaultLegacy(CloseIcon$1);
|
|
101
103
|
var LinearProgress__default = /*#__PURE__*/_interopDefaultLegacy(LinearProgress);
|
|
102
104
|
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
103
105
|
var Rating__default = /*#__PURE__*/_interopDefaultLegacy(Rating$2);
|
|
@@ -6927,7 +6929,6 @@ function OnboardingProgressMenu(props) {
|
|
|
6927
6929
|
const UserContainer = styled__default["default"].div `
|
|
6928
6930
|
width: 100%;
|
|
6929
6931
|
display: flex;
|
|
6930
|
-
min-height: 208px;
|
|
6931
6932
|
position: relative;
|
|
6932
6933
|
flex-direction:column;
|
|
6933
6934
|
align-items:center;
|
|
@@ -6935,10 +6936,20 @@ const UserContainer = styled__default["default"].div `
|
|
|
6935
6936
|
background:${({ theme }) => theme.colors.shadeWhite};
|
|
6936
6937
|
border-radius: 12px;
|
|
6937
6938
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6939
|
+
|
|
6940
|
+
${(props) => props.variant ? styled.css `
|
|
6941
|
+
padding-top: 12px;
|
|
6942
|
+
padding-left:16px;
|
|
6943
|
+
padding-right: 16px;
|
|
6944
|
+
padding-bottom: 16px;
|
|
6945
|
+
min-height: 231px;
|
|
6946
|
+
` : styled.css `
|
|
6947
|
+
padding-top: 18px;
|
|
6948
|
+
padding-left:16px;
|
|
6949
|
+
padding-right: 16px;
|
|
6950
|
+
padding-bottom: 22px;
|
|
6951
|
+
min-height: 208px;
|
|
6952
|
+
`}
|
|
6942
6953
|
`;
|
|
6943
6954
|
const Headers = styled__default["default"].div `
|
|
6944
6955
|
display: flex;
|
|
@@ -6946,6 +6957,17 @@ const Headers = styled__default["default"].div `
|
|
|
6946
6957
|
flex-direction: column;
|
|
6947
6958
|
|
|
6948
6959
|
`;
|
|
6960
|
+
const UserInfo$2 = styled__default["default"].p `
|
|
6961
|
+
font-weight: 600;
|
|
6962
|
+
font-size: 14px;
|
|
6963
|
+
text-align: center;
|
|
6964
|
+
font-family: 'Work Sans';
|
|
6965
|
+
${(props) => props.variant ? styled.css `
|
|
6966
|
+
margin-top: 12px;
|
|
6967
|
+
` : styled.css `
|
|
6968
|
+
margin-top: 8px;
|
|
6969
|
+
`}
|
|
6970
|
+
`;
|
|
6949
6971
|
const InfoBottom = styled__default["default"].div `
|
|
6950
6972
|
display: flex;
|
|
6951
6973
|
flex-direction: column;
|
|
@@ -6962,10 +6984,18 @@ const InfoDescription = styled__default["default"].div `
|
|
|
6962
6984
|
text-align:center;
|
|
6963
6985
|
margin-bottom:3px;
|
|
6964
6986
|
color:#757575;
|
|
6987
|
+
${(props) => props.variant ? styled.css `
|
|
6988
|
+
font-family: 'PT Sans';
|
|
6989
|
+
font-weight: 400;
|
|
6990
|
+
line-height: 130%;
|
|
6991
|
+
` : styled.css `
|
|
6992
|
+
font-family: 'Work Sans'
|
|
6993
|
+
`}
|
|
6965
6994
|
`;
|
|
6966
6995
|
|
|
6967
|
-
function CarUser({ style, userInfo, handleLinkProfile }) {
|
|
6968
|
-
return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(UserContainer, { id:
|
|
6996
|
+
function CarUser({ style, userInfo, handleLinkProfile, hasButton, labelButton, handleInvite, handleRemove }) {
|
|
6997
|
+
return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(UserContainer, { id: "userContainer", style: { ...style }, variant: Boolean(hasButton), children: [jsxRuntime.jsxs(Headers, { children: [jsxRuntime.jsx(Avatar, { src: userInfo.avatar, size: hasButton ? '56px' : '74px', onClick: handleLinkProfile, isActiveClick: true }), jsxRuntime.jsx(UserInfo$2, { variant: Boolean(hasButton), children: userInfo.name }), hasButton &&
|
|
6998
|
+
jsxRuntime.jsx("div", { style: { position: 'absolute', top: '8px', right: '8px', cursor: 'pointer' }, onClick: handleRemove, children: jsxRuntime.jsx(CloseIcon__default["default"], { htmlColor: '#BDBDBD', fontSize: 'small' }) })] }), jsxRuntime.jsxs(InfoDescription, { variant: Boolean(hasButton), children: [jsxRuntime.jsx("p", { children: userInfo.profession }), jsxRuntime.jsx("p", { style: { marginTop: '3px' }, children: userInfo.education })] }), hasButton ? (jsxRuntime.jsx(Button$4, { label: labelButton, variant: 'primary', handleClick: handleInvite, style: { width: '160px', height: '36px', marginTop: '24px' } })) : (jsxRuntime.jsx(InfoBottom, { children: jsxRuntime.jsxs("p", { children: [userInfo.activeSice, " ", jsxRuntime.jsx("b", { children: userInfo.date })] }) }))] }) }));
|
|
6969
6999
|
}
|
|
6970
7000
|
|
|
6971
7001
|
const Container$g = styled__default["default"].div `
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
interface ContainerProps {
|
|
2
|
+
variant: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const UserContainer: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
|
|
2
5
|
export declare const Headers: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const UserInfo: import("styled-components").StyledComponent<"p", any, ContainerProps, never>;
|
|
3
7
|
export declare const InfoBottom: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const InfoDescription: import("styled-components").StyledComponent<"div", any,
|
|
8
|
+
export declare const InfoDescription: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
|
|
9
|
+
export {};
|
|
5
10
|
//# sourceMappingURL=cardUser.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cardUser.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/cardUser/cardUser.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"cardUser.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/cardUser/cardUser.styles.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACpB,OAAO,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,gFA0BzB,CAAA;AAED,eAAO,MAAM,OAAO,oEAKnB,CAAA;AAED,eAAO,MAAM,QAAQ,8EAYpB,CAAA;AAED,eAAO,MAAM,UAAU,oEASlB,CAAA;AACL,eAAO,MAAM,eAAe,gFAe3B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ICardUser } from './cardUser';
|
|
3
|
-
export default function CarUser({ style, userInfo, handleLinkProfile }: ICardUser): JSX.Element;
|
|
3
|
+
export default function CarUser({ style, userInfo, handleLinkProfile, hasButton, labelButton, handleInvite, handleRemove }: ICardUser): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/cardUser/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/cardUser/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAKtC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAC,EAAE,SAAS,eA+BnI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselectStyles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"multiselectStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/dropdown-Multiselect/styles/multiselectStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,oEAiB3B,CAAA;AAED,eAAO,MAAM,YAAY,oEAexB,CAAA;AAED,eAAO,MAAM,YAAY,oEA0CxB,CAAA;AAED,eAAO,MAAM,eAAe,oEAI3B,CAAA;AAED,eAAO,MAAM,UAAU,oEAStB,CAAA;AAED,eAAO,MAAM,SAAS,oEA4BrB,CAAA;AAED,eAAO,MAAM,YAAY,oEAmBxB,CAAA;AAED,eAAO,MAAM,cAAc,oEAc1B,CAAA;AAED,eAAO,MAAM,WAAW,oEASvB,CAAA;AAED,eAAO,MAAM,YAAY,oEAkBxB,CAAA;AAED,eAAO,MAAM,UAAU,oEAMtB,CAAA;AAED,eAAO,MAAM,SAAS,oEAMrB,CAAA;AAED,eAAO,MAAM,eAAe,oEAM3B,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA"}
|
package/dist/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonControlStyles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"buttonControlStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAGD,eAAO,MAAM,oBAAoB,gFAmChC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/index.tsx"],"names":[],"mappings":";AAMA,wBAAgB,cAAc,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,WAAW,EACX,UAAU,EACV,MAAM,EACT;;;;;;;;CAAA,eAuBF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPress.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"useLongPress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/scroll-container-v2/ButtonControl/useLongPress.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,CAAC,QAAQ,aAAW,EAAE,EAAE,SAAO;;;;;;EAsB1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"StylesSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/select/styles/StylesSelect.tsx"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,iBAAiB,6EAa7B,CAAA;AACD,eAAO,MAAM,YAAY,6EAaxB,CAAA;AACD,eAAO,MAAM,cAAc,6EAsC1B,CAAA;AACD,eAAO,MAAM,qBAAqB,oEAAkB,CAAA;AAEpD,eAAO,MAAM,YAAY,mEAgBxB,CAAA;AACD,eAAO,MAAM,kBAAkB;UAAyB,OAAO;SAa9D,CAAA;AACD,eAAO,MAAM,cAAc,kEAO1B,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,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAKtE,eAAO,MAAM,kBAAkB,scAgC5B,yBAAyB,gBAsH3B,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,oMAapB,WAAW,gBAkGb,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,oEAGrB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"errorIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/cardLT/MessageBox/icons/errorIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,gBAUhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"successIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"successIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/cardLT/MessageBox/icons/successIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACF,MAAM,CAAC,OAAO,UAAU,WAAW,gBASnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warningIcon.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"warningIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/cardLT/MessageBox/icons/warningIcon.tsx"],"names":[],"mappings":";AAIE;;;GAGG;AACF,MAAM,CAAC,OAAO,UAAU,WAAW,gBAWnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,eAAO,MAAM,SAAS,kNAcnB,UAAU,gBAyEZ,CAAA"}
|
package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputEdit.styles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"inputEdit.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAKrB,CAAA;AAED,eAAO,MAAM,QAAQ,kEAOpB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAM5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/global-menu/components/customMenu/index.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,UAAU,SAAK"}
|