frst-components 0.21.76 → 0.21.78
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
|
@@ -4760,7 +4760,9 @@ const ThreadComments = ({ mainComment, listReplyComments, placeHolderText, onCli
|
|
|
4760
4760
|
setShowInputByIdReply([...showInputByIdReply, idReply]);
|
|
4761
4761
|
};
|
|
4762
4762
|
return (jsxRuntime.jsx(Container$h, { style: styles, children: jsxRuntime.jsxs(CommentarysContainer, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(CommentaryBoxV2, { styles: { marginBottom: '8px' }, hasActionToClickOnAvatar: false, imgProfile: mainComment.user?.avatar, itsLiked: false, userId: mainComment.user?.uuid, userName: mainComment.user?.name, userOffice: mainComment.user?.role_name, userCompany: mainComment.user?.company_name, commentId: mainComment.id, commentText: mainComment.text, howLongAgo: mainComment.howLongAgo, showMoreText: showMoreButtonText, showLessText: showLessButtonText, answerButtonText: answerButtonText, showLikeButton: false, actionAnswer: handleCommentReply, relationToPhaseText: relationToPhaseText, commentTextWithMention: mainComment.mentionText }), listReplyComments?.length > 0 && !showAnswers && (jsxRuntime.jsx(ViewReplysButtonContainer, { children: jsxRuntime.jsx("span", { onClick: () => setShowAnswers(true), children: showReplysButtonText }) })), showReplyInput && (jsxRuntime.jsx(InputReply, { styles: { width: '100%', marginTop: '24px' }, imgProfile: loggedUserProfileImg, idInput: `idInput-${mainComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, getSearchUsers: getSearchUsers, replyMentionedUser: mainComment.user, parentId: Number(mainComment.id), handleHiddenInput: handleHiddenInput, group_uuid: group_uuid }))] }), showAnswers && (jsxRuntime.jsx(RepplysContainer, { children: listReplyComments?.map((replyComment) => {
|
|
4763
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(CommentaryBoxReply, { commentData: replyComment,
|
|
4763
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(CommentaryBoxReply, { commentData: replyComment,
|
|
4764
|
+
// answerButtonText={answerButtonText}
|
|
4765
|
+
answerButtonText: '', showMoreButtonText: showMoreButtonText, showLessButtonText: showLessButtonText, onClickAnswerButton: handleCommentReplyReply }), showInputByIdReply.includes(replyComment.id) && (jsxRuntime.jsx(InputReply, { imgProfile: loggedUserProfileImg, styles: { width: '100%', marginTop: '24px' }, idInput: `idInput-${replyComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, replyMentionedUser: replyComment.user, getSearchUsers: getSearchUsers, parentId: Number(mainComment.id), handleHiddenInput: (replyId = replyComment.id) => handleHiddenInputReply(replyId), group_uuid: group_uuid }))] }));
|
|
4764
4766
|
}) }))] }) }));
|
|
4765
4767
|
};
|
|
4766
4768
|
|
|
@@ -10840,9 +10842,8 @@ const notificationContainer$1 = styled__default["default"].div `
|
|
|
10840
10842
|
display: flex;
|
|
10841
10843
|
justify-content: flex-start;
|
|
10842
10844
|
align-items: flex-start;
|
|
10843
|
-
|
|
10844
10845
|
width: 375px;
|
|
10845
|
-
height:
|
|
10846
|
+
height: auto;
|
|
10846
10847
|
padding: 16px;
|
|
10847
10848
|
gap: 16px;
|
|
10848
10849
|
cursor: pointer;
|
|
@@ -15598,12 +15599,14 @@ const OrgUser = styled__default["default"].div `
|
|
|
15598
15599
|
line-height: 110%;
|
|
15599
15600
|
/* or 18px */
|
|
15600
15601
|
|
|
15601
|
-
display: flex;
|
|
15602
|
-
align-items: center;
|
|
15603
|
-
|
|
15604
15602
|
/* neutrals/neutral_1 */
|
|
15605
15603
|
|
|
15606
15604
|
color: #222222;
|
|
15605
|
+
|
|
15606
|
+
max-width: 21ch;
|
|
15607
|
+
overflow: hidden;
|
|
15608
|
+
white-space: nowrap;
|
|
15609
|
+
text-overflow: ellipsis;
|
|
15607
15610
|
`;
|
|
15608
15611
|
|
|
15609
15612
|
function InteractionsModal({ textTitle, textSubtitle, listUsers, isOpen, handleClickClose, newListUsers, checkScrollEnd, trackClick, style }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAIxD,eAAO,MAAM,cAAc,6QAgBxB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAIxD,eAAO,MAAM,cAAc,6QAgBxB,eAAe,gBA8GjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionsModalStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/interactionsModal/InteractionsModalStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,oLAiBrB,CAAA;AACD,eAAO,MAAM,UAAU,oEAWtB,CAAA;AACD,eAAO,MAAM,WAAW,oEAMvB,CAAA;AAED,eAAO,MAAM,SAAS,oEAQrB,CAAA;AAED,eAAO,MAAM,UAAU,oEAgCtB,CAAA;AAED,eAAO,MAAM,sBAAsB,oEAElC,CAAA;AAGD,eAAO,MAAM,aAAa,oEAGzB,CAAA;AAED,eAAO,MAAM,YAAY,oEASxB,CAAA;AAGD,eAAO,MAAM,iBAAiB,oEAM7B,CAAA;AAED,eAAO,MAAM,QAAQ,oEAcpB,CAAA;AAED,eAAO,MAAM,YAAY,oEAexB,CAAA;AAED,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"InteractionsModalStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/interactionsModal/InteractionsModalStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,oLAiBrB,CAAA;AACD,eAAO,MAAM,UAAU,oEAWtB,CAAA;AACD,eAAO,MAAM,WAAW,oEAMvB,CAAA;AAED,eAAO,MAAM,SAAS,oEAQrB,CAAA;AAED,eAAO,MAAM,UAAU,oEAgCtB,CAAA;AAED,eAAO,MAAM,sBAAsB,oEAElC,CAAA;AAGD,eAAO,MAAM,aAAa,oEAGzB,CAAA;AAED,eAAO,MAAM,YAAY,oEASxB,CAAA;AAGD,eAAO,MAAM,iBAAiB,oEAM7B,CAAA;AAED,eAAO,MAAM,QAAQ,oEAcpB,CAAA;AAED,eAAO,MAAM,YAAY,oEAexB,CAAA;AAED,eAAO,MAAM,OAAO,oEAgBnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationCardStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/notificationCardStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"notificationCardStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/notificationCard/notificationCardStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,oEASjC,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAM5B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAKnC,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAW5B,CAAA;AAED,eAAO,MAAM,mBAAmB,oEAO/B,CAAA"}
|