frst-components 0.20.38 → 0.20.41

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
@@ -3608,6 +3608,7 @@ const WrapperContent$3 = styled__default["default"].div `
3608
3608
  overflow-x: ${({ hiddenHorizontalScrollBar }) => (hiddenHorizontalScrollBar ? 'hidden' : 'scroll')};
3609
3609
  overflow-y: hidden;
3610
3610
  white-space: nowrap;
3611
+ gap: 24px;
3611
3612
 
3612
3613
  scroll-behavior: smooth;
3613
3614
  &::-webkit-scrollbar {
@@ -3674,7 +3675,7 @@ styled__default["default"].div `
3674
3675
  border-radius: 20px;
3675
3676
  `;
3676
3677
 
3677
- function ScrollContainer({ children, type, isVisibleControlsButtons, positionArrowButton, marginTopArrrowButton, stepMove, className, styles, sizeArrowButton, marginsArrowButton, horizontalMarginInternScroll, refreshResize, widthProtectClick, hiddenHorizontalScrollBar }) {
3678
+ function ScrollContainer({ children, type, isVisibleControlsButtons, positionArrowButton, marginTopArrrowButton, stepMove, className, styles, sizeArrowButton, marginsArrowButton, horizontalMarginInternScroll, refreshResize, widthProtectClick, hiddenHorizontalScrollBar, colorBackground }) {
3678
3679
  const [actionAreaButtonLeft, setActionAreaButtonLeft] = React.useState(false);
3679
3680
  const [actionAreaButtonRight, setActionAreaButtonRight] = React.useState(false);
3680
3681
  const [iDScroll, setIDScroll] = React.useState(`iDScroll-${randID$1()}`);
@@ -3726,29 +3727,28 @@ function ScrollContainer({ children, type, isVisibleControlsButtons, positionArr
3726
3727
  updateSize();
3727
3728
  return () => window.removeEventListener('resize', updateSize);
3728
3729
  }, []);
3729
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs("div", { style: { ...styles, position: 'relative' }, className: className, children: [jsxRuntime.jsxs(WrapperHorizontal, { children: [isVisibleControlsButtons && positionArrowButton != 'bottom' && (jsxRuntime.jsx(ButtonArrow, { isLeftButton: true, onClick: scrollToLeft, widthProtectClick: widthProtectClick, onActionArea: setActionAreaButtonLeft, actionArea: actionAreaButtonLeft, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonLeft, margin: marginsArrowButton ? (marginsArrowButton + 50) * -1 + 'px' : '-138px', ArrowScroll: ArrowScrollLeft, marginTopArrrowButton: marginTopArrrowButton })), jsxRuntime.jsx(WrapperContent$3, { id: iDScroll, paddingIntern: horizontalMarginInternScroll ? horizontalMarginInternScroll : '150px', hiddenHorizontalScrollBar: hiddenHorizontalScrollBar, children: children }), isVisibleControlsButtons && positionArrowButton != 'bottom' && (jsxRuntime.jsx(ButtonArrow, { isLeftButton: false, onClick: scrollToRight, widthProtectClick: widthProtectClick, onActionArea: setActionAreaButtonRight, actionArea: actionAreaButtonRight, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonRight, margin: marginsArrowButton ? (marginsArrowButton + 50) * -1 + 'px' : '-138px', ArrowScroll: ArrowScrollRight, marginTopArrrowButton: marginTopArrrowButton }))] }), jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'center', width: '100%' }, children: isVisibleControlsButtons && positionArrowButton == 'bottom' && (jsxRuntime.jsxs("div", { style: {
3730
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs("div", { style: { ...styles, position: 'relative' }, className: className, children: [jsxRuntime.jsxs(WrapperHorizontal, { children: [isVisibleControlsButtons && positionArrowButton != 'bottom' && (jsxRuntime.jsx(ButtonArrow, { colorBackground: colorBackground, isLeftButton: true, onClick: scrollToLeft, widthProtectClick: widthProtectClick, onActionArea: setActionAreaButtonLeft, actionArea: actionAreaButtonLeft, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonLeft, margin: marginsArrowButton ? (marginsArrowButton + 50) * -1 + 'px' : '-138px', ArrowScroll: ArrowScrollLeft, marginTopArrrowButton: marginTopArrrowButton })), jsxRuntime.jsx(WrapperContent$3, { id: iDScroll, paddingIntern: horizontalMarginInternScroll ? horizontalMarginInternScroll : '150px', hiddenHorizontalScrollBar: hiddenHorizontalScrollBar, children: children }), isVisibleControlsButtons && positionArrowButton != 'bottom' && (jsxRuntime.jsx(ButtonArrow, { colorBackground: colorBackground, isLeftButton: false, onClick: scrollToRight, widthProtectClick: widthProtectClick, onActionArea: setActionAreaButtonRight, actionArea: actionAreaButtonRight, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonRight, margin: marginsArrowButton ? (marginsArrowButton + 50) * -1 + 'px' : '-138px', ArrowScroll: ArrowScrollRight, marginTopArrrowButton: marginTopArrrowButton }))] }), jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'center', width: '100%' }, children: isVisibleControlsButtons && positionArrowButton == 'bottom' && (jsxRuntime.jsxs("div", { style: {
3730
3731
  display: 'flex',
3731
3732
  flexDirection: 'row',
3732
3733
  marginTop: marginTopArrrowButton ? marginTopArrrowButton : '5px'
3733
- }, children: [jsxRuntime.jsx(ButtonArrow, { isLeftButton: true, onClick: scrollToLeft, onActionArea: setActionAreaButtonLeft, actionArea: actionAreaButtonLeft, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonLeft, margin: marginsArrowButton ? marginsArrowButton + 'px' : '10px', ArrowScroll: ArrowScrollLeft, widthProtectClick: widthProtectClick, marginTopArrrowButton: marginTopArrrowButton }), jsxRuntime.jsx(ButtonArrow, { isLeftButton: false, onClick: scrollToRight, onActionArea: setActionAreaButtonRight, actionArea: actionAreaButtonRight, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonRight, margin: marginsArrowButton ? marginsArrowButton + 'px' : '10px', ArrowScroll: ArrowScrollRight, widthProtectClick: widthProtectClick, marginTopArrrowButton: marginTopArrrowButton })] })) })] }) }));
3734
+ }, children: [jsxRuntime.jsx(ButtonArrow, { isLeftButton: true, onClick: scrollToLeft, onActionArea: setActionAreaButtonLeft, actionArea: actionAreaButtonLeft, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonLeft, margin: marginsArrowButton ? marginsArrowButton + 'px' : '10px', ArrowScroll: ArrowScrollLeft, widthProtectClick: widthProtectClick, marginTopArrrowButton: marginTopArrrowButton }), jsxRuntime.jsx(ButtonArrow, { isLeftButton: false, colorBackground: colorBackground, onClick: scrollToRight, onActionArea: setActionAreaButtonRight, actionArea: actionAreaButtonRight, sizeButton: sizeArrowButton, isVisible: isVisibleArrowButtonRight, margin: marginsArrowButton ? marginsArrowButton + 'px' : '10px', ArrowScroll: ArrowScrollRight, widthProtectClick: widthProtectClick, marginTopArrrowButton: marginTopArrrowButton })] })) })] }) }));
3734
3735
  }
3735
- function ButtonArrow({ isLeftButton, onClick, onActionArea, actionArea, sizeButton, isVisible, margin, ArrowScroll, marginTopArrrowButton, widthProtectClick }) {
3736
+ function ButtonArrow({ isLeftButton, onClick, onActionArea, actionArea, sizeButton = 40, isVisible, margin, ArrowScroll, marginTopArrrowButton, widthProtectClick, colorBackground = 'transparent' }) {
3736
3737
  return (jsxRuntime.jsx("div", { style: {
3737
3738
  height: '100%',
3738
- width: widthProtectClick ? widthProtectClick : 100,
3739
+ width: widthProtectClick ? widthProtectClick : 'fit-content',
3739
3740
  zIndex: 10,
3740
3741
  position: 'absolute',
3741
3742
  left: isLeftButton ? 0 : 'none',
3742
3743
  right: !isLeftButton ? 0 : 'none',
3743
- paddingLeft: isLeftButton ? 24 : 0,
3744
- paddingRight: !isLeftButton ? 24 : 0,
3745
3744
  display: 'flex',
3746
3745
  bottom: 0,
3747
3746
  top: 0,
3748
3747
  justifyContent: isLeftButton ? 'flex-start' : 'flex-end',
3749
3748
  alignItems: 'center',
3750
- visibility: isVisible ? 'visible' : 'hidden'
3751
- }, children: jsxRuntime.jsx(ButtonControll, { isLeftButton: isLeftButton, onClick: onClick, onMouseOver: () => onActionArea(true), onMouseOut: () => onActionArea(false), sizeButton: sizeButton ? sizeButton : 80, visibility: isVisible ? 'visible' : 'hidden', marginsArrowButton: margin, marginTopArrrowButton: marginTopArrrowButton, children: jsxRuntime.jsx(ArrowScroll, { fill: actionArea ? '#fff' : '#000', height: sizeButton ? (sizeButton / 2.3).toFixed(0).toString() : '34', width: sizeButton ? (sizeButton / 4.3).toFixed(0).toString() : '18' }) }) }));
3749
+ visibility: isVisible ? 'visible' : 'hidden',
3750
+ boxShadow: `inset ${isLeftButton ? '8px' : '-8px'} 0px 8px ${colorBackground}`
3751
+ }, children: jsxRuntime.jsx(ButtonControll, { isLeftButton: isLeftButton, onClick: onClick, onMouseOver: () => onActionArea(true), onMouseOut: () => onActionArea(false), sizeButton: sizeButton, visibility: isVisible ? 'visible' : 'hidden', marginsArrowButton: margin, marginTopArrrowButton: marginTopArrrowButton, children: jsxRuntime.jsx(ArrowScroll, { fill: actionArea ? '#fff' : '#000', height: sizeButton ? (sizeButton / 2.3).toFixed(0).toString() : '34', width: sizeButton ? (sizeButton / 4.3).toFixed(0).toString() : '18' }) }) }));
3752
3752
  }
3753
3753
 
3754
3754
  const HeaderWrapper = styled__default["default"].div `
@@ -11689,7 +11689,6 @@ const CardThumbnails = styled__default["default"].div `
11689
11689
  gap: 8px;
11690
11690
  font-family: 'PT Sans';
11691
11691
  font-style: normal;
11692
- padding: 5px;
11693
11692
 
11694
11693
  :hover {
11695
11694
  > .title {
@@ -11775,25 +11774,27 @@ const DescriptionThumbnails = styled__default["default"].div `
11775
11774
 
11776
11775
  function ParticipantThumbnails({ imgThumbnails, titleThumbnail, descpThumbnail, handleFunctionThumbnail, author }) {
11777
11776
  const [seeMore, setSeeMore] = React.useState(true);
11778
- const defaultImg = 'https://i.gyazo.com/35d9c18bbdc6a48d843b0aa24ab2499e.png';
11777
+ const defaultImg = 'https://lxp-cdn.frstfalconi.cloud/contentThumbnail_empty.jpg';
11779
11778
  const textLarge = descpThumbnail.length >= 100;
11780
11779
  return (jsxRuntime.jsxs(CardThumbnails, { theme: FRSTTheme, onClick: () => {
11781
11780
  !textLarge && handleFunctionThumbnail();
11782
11781
  }, style: !textLarge ? { cursor: 'pointer' } : { cursor: 'auto' }, children: [jsxRuntime.jsx("img", { src: imgThumbnails ? imgThumbnails : defaultImg, alt: titleThumbnail, onClick: () => {
11783
11782
  textLarge && handleFunctionThumbnail();
11784
- } }), jsxRuntime.jsx("p", { className: "title", children: titleThumbnail }), author && (jsxRuntime.jsxs("p", { className: "author", children: ["com ", jsxRuntime.jsx("span", { children: author })] })), jsxRuntime.jsxs(DescriptionThumbnails, { theme: FRSTTheme, onClick: () => textLarge && setSeeMore((prev) => !prev), children: [jsxRuntime.jsx("p", { className: textLarge && seeMore ? 'descriptionThumb short' : 'descriptionThumb', children: descpThumbnail }), textLarge && jsxRuntime.jsx("small", { children: seeMore ? 'Ver mais' : 'Ver menos' })] })] }));
11783
+ } }), jsxRuntime.jsx("p", { className: "title", style: textLarge ? { cursor: 'pointer' } : { cursor: 'auto' }, onClick: () => {
11784
+ textLarge && handleFunctionThumbnail();
11785
+ }, children: titleThumbnail }), author && (jsxRuntime.jsxs("p", { className: "author", children: ["com ", jsxRuntime.jsx("span", { children: author })] })), jsxRuntime.jsxs(DescriptionThumbnails, { theme: FRSTTheme, onClick: () => textLarge && setSeeMore((prev) => !prev), children: [jsxRuntime.jsx("p", { className: textLarge && seeMore ? 'descriptionThumb short' : 'descriptionThumb', children: descpThumbnail }), textLarge && jsxRuntime.jsx("small", { children: seeMore ? 'Ver mais' : 'Ver menos' })] })] }));
11785
11786
  }
11786
11787
 
11787
- function handleThumbnails(listThumbnails, isVisibleControlsButtons) {
11788
+ function handleThumbnails(listThumbnails, isVisibleControlsButtons, colorBackground) {
11788
11789
  const [refesh, setRefesh] = React.useState(0);
11789
11790
  React.useEffect(() => {
11790
11791
  setRefesh((prev) => prev + 1);
11791
11792
  }, [listThumbnails]);
11792
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(ScrollContainer, { refreshResize: refesh, stepMove: 600, isVisibleControlsButtons: isVisibleControlsButtons, sizeArrowButton: 80, marginsArrowButton: 1, horizontalMarginInternScroll: '0', marginTopArrrowButton: '-5rem', widthProtectClick: 200, className: 'scrollThumbnail', children: listThumbnails.map((item, index) => {
11793
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(ScrollContainer, { colorBackground: colorBackground, refreshResize: refesh, stepMove: 600, isVisibleControlsButtons: isVisibleControlsButtons, sizeArrowButton: 40, marginsArrowButton: 1, horizontalMarginInternScroll: '0', marginTopArrrowButton: '0rem', widthProtectClick: 50, className: 'scrollThumbnail', children: listThumbnails.map((item, index) => {
11793
11794
  return (jsxRuntime.jsx(ParticipantThumbnails, { imgThumbnails: item.imgThumbnails, titleThumbnail: item.titleThumbnail, descpThumbnail: item.descpThumbnail, handleFunctionThumbnail: item.handleFunctionThumbnail }));
11794
11795
  }) }) }));
11795
11796
  }
11796
- function ParticipantThumbnailsList({ listThumbnails }) {
11797
+ function ParticipantThumbnailsList({ listThumbnails, colorBackground }) {
11797
11798
  const [width, setWidth] = React.useState(typeof window !== 'undefined' && window.innerWidth);
11798
11799
  function handleWindowSizeChange() {
11799
11800
  setWidth(typeof window !== 'undefined' && window.innerWidth);
@@ -11805,10 +11806,10 @@ function ParticipantThumbnailsList({ listThumbnails }) {
11805
11806
  };
11806
11807
  }, []);
11807
11808
  if (width <= 834) {
11808
- return handleThumbnails(listThumbnails, false);
11809
+ return handleThumbnails(listThumbnails, false, colorBackground);
11809
11810
  }
11810
11811
  else {
11811
- return handleThumbnails(listThumbnails, true);
11812
+ return handleThumbnails(listThumbnails, true, colorBackground);
11812
11813
  }
11813
11814
  }
11814
11815
 
@@ -13270,7 +13271,7 @@ function FeedInteraction(props) {
13270
13271
  jsxRuntime.jsxs(reviewContainer, { children: [props.textAvaluationTitle, jsxRuntime.jsxs(reviewContent, { children: [props.isChallengeReview &&
13271
13272
  jsxRuntime.jsxs("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column' }, children: [jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: 'horizontal', qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: props.ratingImpacto, handleRating: props?.handleImpactoChange }), jsxRuntime.jsx("span", { children: props.textImpacto })] }), props.isChallengeReview &&
13272
13273
  jsxRuntime.jsxs("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column', marginLeft: 24 }, children: [jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: 'horizontal', qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: props.ratingRelevancia, handleRating: props?.handleRelevanciaChange }), jsxRuntime.jsx("span", { children: props.textRelevancia })] }), props.isPostReview &&
13273
- jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column' }, children: jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: 'horizontal', qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: props.ratingPostReview, handleRating: props?.handlePostReviewChange }) })] })] }), openComments &&
13274
+ jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column' }, children: jsxRuntime.jsx(Rating, { isVisibleNumberRating: false, orientation: 'horizontal', qtdStars: 5, sizeStars: 20, marginStars: '3.5px', disabled: props.isDisabledAvaluation, rating: props.ratingPostReview, handleRating: props?.handlePostReviewChange }) })] })] }), openComments && !props.isCommentV2 &&
13274
13275
  jsxRuntime.jsxs(commentsContainer, { children: [jsxRuntime.jsxs(inputComment, { children: [jsxRuntime.jsx(Avatar, { size: '40px', src: props.userAvatar }), jsxRuntime.jsx(InputComment$1, { styles: { width: '100%', marginLeft: 8 }, IDInput: 'userComment', showCharacterCounter: false, className: 'userComment', hasEmoji: true, emojiWindowlanguage: 'pt', placeholder: props.userCommentPlaceholder ? props.userCommentPlaceholder : '', onChange: OnChangeComment, value: commentData }), jsxRuntime.jsx(submitButton, { style: { display: focusComment ? 'block' : 'none' }, children: jsxRuntime.jsx(Button$5, { variant: 'primary', label: props.textSaveCommentBtn, handleClick: HandleSaveComment }) })] }), props.isChallengeReview ?
13275
13276
  stateLatestComment ?
13276
13277
  jsxRuntime.jsxs(commentList, { children: [props.textLatestComment, jsxRuntime.jsxs(comment, { children: [jsxRuntime.jsx(Avatar, { size: '40px', src: stateLatestComment.avatar }), jsxRuntime.jsx(CommentaryBox, { styles: { width: '100%', marginLeft: 8 }, name: stateLatestComment.name, date: stateLatestComment.date, position: stateLatestComment.position, value: stateLatestComment.value, className: stateLatestComment.className, onChange: stateLatestComment.onChange, actionLike: stateLatestComment.actionLike, textLiked: stateLatestComment.textLike, textUnliked: stateLatestComment.textDeslike, isLiked: stateLatestComment.isLiked, totalLikes: stateLatestComment.totalLikes, hasDropdown: stateLatestComment.hasDropdown, isAuthor: stateLatestComment.isAuthor, isMe: stateLatestComment.isMe, actionDeleteComment: stateLatestComment.actionDeleteComment, actionEditComment: stateLatestComment.actionEditComment, actionAnswer: stateLatestComment.actionAnswer, actionMakePrivate: stateLatestComment.actionMakePrivate, actionUpdateValue: stateLatestComment.actionUpdateValue, detectLinks: stateLatestComment.detectLinks, hasAnswer: stateLatestComment.hasAnswer, isPrivateAuthor: stateLatestComment.isPrivateAuthor, isPrivateMe: stateLatestComment.isPrivateMe, idTextComment: stateLatestComment.idTextComment, textAnswer: stateLatestComment.textAnswer, textCancelButton: stateLatestComment.textCancelButton, textDeleteComment: stateLatestComment.textDeleteComment, textEditComment: stateLatestComment.textEditComment, textEdited: stateLatestComment.textEdited, textMakePrivate: stateLatestComment.textMakePrivate, textMakePublic: stateLatestComment.textMakePublic, textPrivateComment: stateLatestComment.textPrivateComment, textSaveButton: stateLatestComment.textSaveButton, textSaveButtonMobile: stateLatestComment.textSaveButtonMobile, textYou: stateLatestComment.textYou, wasEdited: stateLatestComment.wasEdited })] })] })
@@ -13280,7 +13281,8 @@ function FeedInteraction(props) {
13280
13281
  jsxRuntime.jsxs(commentList, { children: [jsxRuntime.jsxs(comment, { children: [jsxRuntime.jsx(Avatar, { size: '40px', src: props.commentList[0].avatar }), jsxRuntime.jsx(CommentaryBox, { styles: { width: '100%' }, name: props.commentList[0].name, date: props.commentList[0].date, position: props.commentList[0].position, value: props.commentList[0].value, className: props.commentList[0].className, onChange: props.commentList[0].onChange, actionLike: props.commentList[0].actionLike, textLiked: props.commentList[0].textLike, textUnliked: props.commentList[0].textDeslike, isLiked: props.commentList[0].isLiked, totalLikes: props.commentList[0].totalLikes, hasDropdown: props.commentList[0].hasDropdown, isAuthor: props.commentList[0].isAuthor, isMe: props.commentList[0].isMe, actionDeleteComment: props.commentList[0].actionDeleteComment, actionEditComment: props.commentList[0].actionEditComment, actionAnswer: props.commentList[0].actionAnswer, actionMakePrivate: props.commentList[0].actionMakePrivate, actionUpdateValue: props.commentList[0].actionUpdateValue, detectLinks: props.commentList[0].detectLinks, hasAnswer: props.commentList[0].hasAnswer, isPrivateAuthor: props.commentList[0].isPrivateAuthor, isPrivateMe: props.commentList[0].isPrivateMe, idTextComment: props.commentList[0].idTextComment, textAnswer: props.commentList[0].textAnswer, textCancelButton: props.commentList[0].textCancelButton, textDeleteComment: props.commentList[0].textDeleteComment, textEditComment: props.commentList[0].textEditComment, textEdited: props.commentList[0].textEdited, textMakePrivate: props.commentList[0].textMakePrivate, textMakePublic: props.commentList[0].textMakePublic, textPrivateComment: props.commentList[0].textPrivateComment, textSaveButton: props.commentList[0].textSaveButton, textSaveButtonMobile: props.commentList[0].textSaveButtonMobile, textYou: props.commentList[0].textYou, wasEdited: props.commentList[0].wasEdited })] }), loadCommentsText &&
13281
13282
  jsxRuntime.jsx("span", { style: { color: FRSTTheme['colors'].linkOnfocus, marginTop: 12, cursor: 'pointer' }, onClick: OnLoadCommentsClick, children: props.textLoadMoreComments }), showMoreComments &&
13282
13283
  jsxRuntime.jsxs(comment, { children: [jsxRuntime.jsx(Avatar, { size: '40px', src: props.commentList[1].avatar }), jsxRuntime.jsx(CommentaryBox, { styles: { width: '100%' }, name: props.commentList[1].name, date: props.commentList[1].date, position: props.commentList[1].position, value: props.commentList[1].value, className: props.commentList[1].className, onChange: props.commentList[1].onChange, actionLike: props.commentList[1].actionLike, textLiked: props.commentList[1].textLike, textUnliked: props.commentList[1].textDeslike, isLiked: props.commentList[1].isLiked, totalLikes: props.commentList[1].totalLikes, hasDropdown: props.commentList[1].hasDropdown, isAuthor: props.commentList[1].isAuthor, isMe: props.commentList[1].isMe, actionDeleteComment: props.commentList[1].actionDeleteComment, actionEditComment: props.commentList[1].actionEditComment, actionAnswer: props.commentList[1].actionAnswer, actionMakePrivate: props.commentList[1].actionMakePrivate, actionUpdateValue: props.commentList[1].actionUpdateValue, detectLinks: props.commentList[1].detectLinks, hasAnswer: props.commentList[1].hasAnswer, isPrivateAuthor: props.commentList[1].isPrivateAuthor, isPrivateMe: props.commentList[1].isPrivateMe, idTextComment: props.commentList[1].idTextComment, textAnswer: props.commentList[1].textAnswer, textCancelButton: props.commentList[1].textCancelButton, textDeleteComment: props.commentList[1].textDeleteComment, textEditComment: props.commentList[1].textEditComment, textEdited: props.commentList[1].textEdited, textMakePrivate: props.commentList[1].textMakePrivate, textMakePublic: props.commentList[1].textMakePublic, textPrivateComment: props.commentList[1].textPrivateComment, textSaveButton: props.commentList[1].textSaveButton, textSaveButtonMobile: props.commentList[1].textSaveButtonMobile, textYou: props.commentList[1].textYou, wasEdited: props.commentList[1].wasEdited })] })] })
13283
- : null] })] }) }));
13284
+ : null] }), openComments && props?.isCommentV2 &&
13285
+ jsxRuntime.jsx("div", { children: props?.childrenCommentV2 })] }) }));
13284
13286
  }
13285
13287
 
13286
13288
  function BannerProblemFeed(props) {
@@ -13368,7 +13370,7 @@ function BannerProblemFeed(props) {
13368
13370
  marginBottom: 4,
13369
13371
  borderTop: `1px solid ${FRSTTheme['colors'].borderPrimary}`,
13370
13372
  display: 'flex', justifyContent: 'center'
13371
- }, children: jsxRuntime.jsx("div", { style: { width: '95%' }, children: jsxRuntime.jsx(StepsProgress, { definedSteps: definedSteps, stepSelected: selectedStep }) }) }), jsxRuntime.jsx(RenderSteps, {}), jsxRuntime.jsx(Button$5, { label: props.textButton, variant: 'expandedPrimary', handleClick: props.onClickButton })] }), jsxRuntime.jsx(FeedInteraction, { isChallengeReview: true, id: props.id, isLiked: props.isLiked, qtdComments: props.qtdComments, qtdLikes: props.qtdLikes, textAvaluation: props.textAvaluation, textAvaluationTitle: props.textAvaluationTitle, isDisabledAvaluation: props.isDisabledAvaluation, textComments: props.textComments, textDeslike: props.textDeslike, textLikes: props.textLikes, latestComment: stateLatestComment, textLatestComment: props.textLatestComment, textImpacto: props.textImpacto, ratingImpacto: props.ratingImpacto, textRelevancia: props.textRelevancia, ratingRelevancia: props.ratingRelevancia, userCommentPlaceholder: props.userCommentPlaceholder, onCommentChange: props.onCommentChange, handleLikeClick: props.handleLikeClick, handleImpactoChange: props.handleImpactoChange, handleRelevanciaChange: props.handleRelevanciaChange, textSaveCommentBtn: props.textSaveCommentBtn, handleSaveCommentBtn: props.handleSaveCommentBtn, userAvatar: props.avatar, textTotalView: props.textTotalView, handleClickTextTotalViews: props.handleClickTextTotalViews })] }));
13373
+ }, children: jsxRuntime.jsx("div", { style: { width: '95%' }, children: jsxRuntime.jsx(StepsProgress, { definedSteps: definedSteps, stepSelected: selectedStep }) }) }), jsxRuntime.jsx(RenderSteps, {}), jsxRuntime.jsx(Button$5, { label: props.textButton, variant: 'expandedPrimary', handleClick: props.onClickButton })] }), jsxRuntime.jsx(FeedInteraction, { isChallengeReview: true, id: props.id, isLiked: props.isLiked, qtdComments: props.qtdComments, qtdLikes: props.qtdLikes, textAvaluation: props.textAvaluation, textAvaluationTitle: props.textAvaluationTitle, isDisabledAvaluation: props.isDisabledAvaluation, textComments: props.textComments, textDeslike: props.textDeslike, textLikes: props.textLikes, latestComment: stateLatestComment, textLatestComment: props.textLatestComment, textImpacto: props.textImpacto, ratingImpacto: props.ratingImpacto, textRelevancia: props.textRelevancia, ratingRelevancia: props.ratingRelevancia, userCommentPlaceholder: props.userCommentPlaceholder, onCommentChange: props.onCommentChange, handleLikeClick: props.handleLikeClick, handleImpactoChange: props.handleImpactoChange, handleRelevanciaChange: props.handleRelevanciaChange, textSaveCommentBtn: props.textSaveCommentBtn, handleSaveCommentBtn: props.handleSaveCommentBtn, userAvatar: props.avatar, textTotalView: props.textTotalView, handleClickTextTotalViews: props.handleClickTextTotalViews, isCommentV2: props?.isCommentV2, childrenCommentV2: props?.childrenCommentV2 })] }));
13372
13374
  }
13373
13375
  function getStepsChallenge(language, stepProblem, setSelectedStep, onSelectedStep) {
13374
13376
  let translate = {
@@ -47,6 +47,8 @@ interface IBannerProblemFeed extends stepsInfo {
47
47
  topHeaderTagText?: string;
48
48
  textTotalView?: string;
49
49
  handleClickTextTotalViews?: () => void;
50
+ isCommentV2?: boolean;
51
+ childrenCommentV2?: any;
50
52
  }
51
53
  interface stepsInfo {
52
54
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/bannerProblemFeed/index.tsx"],"names":[],"mappings":";AAcA,UAAU,kBAAmB,SAAQ,SAAS;IAC1C,EAAE,EAAG,MAAM,CAAA;IACX,UAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAG,MAAM,CAAA;IACjB,YAAY,EAAG,MAAM,CAAA;IACrB,WAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,EAAG,MAAM,CAAA;IACrB,WAAY,CAAC,EAAE,EAAE,CAAA;IAEjB,WAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,WAAW,EAAG,MAAM,CAAA;IACpB,UAAU,EAAG,MAAM,CAAA;IAEnB,UAAU,EAAG,MAAM,CAAA;IAEnB,aAAa,EAAG,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAG,CAAC,IAAI,EAAG,MAAM,KAAK,IAAI,CAAA;IAExC,QAAQ,EAAG,OAAO,GAAG,OAAO,GAAG,OAAO,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C,QAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kBAAmB,CAAC,EAAE,MAAM,CAAA;IAChC;;OAEG;IACC,UAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IACrC;;OAEG;IACC,UAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,gBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAkB,CAAC,EAAE,MAAM,CAAA;IAC/B;;OAEG;IACC,UAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAe,CAAC,EAAE,MAAM,CAAA;CAE3B;AAGD,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAG,kBAAkB,eAgSnE"}
@@ -34,6 +34,8 @@ interface IFeedInteraction {
34
34
  hideComments?: any;
35
35
  textTotalView?: string;
36
36
  handleClickTextTotalViews?: () => void;
37
+ isCommentV2?: boolean;
38
+ childrenCommentV2?: any;
37
39
  }
38
40
  export default function FeedInteraction(props: IFeedInteraction): JSX.Element;
39
41
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/feedInteraction/index.tsx"],"names":[],"mappings":";AAWA,UAAU,gBAAgB;IACt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AC,EAAE,CAAC,CAAC,KAAA,KAAK,IAAI,CAAA;IAC9B,eAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,mBAAmB,CAAC,EAAE,GAAG,CAAA;IACzB,sBAAsB,CAAC,EAAE,GAAG,CAAA;IAC5B,sBAAuB,CAAC,EAAE,GAAG,CAAA;IAE7B,YAAa,CAAC,EAAE,GAAG,CAAA;IAEnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAA;IAEtC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,iBAAiB,CAAC,EAAE,GAAG,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAG,KAAK,EAAG,gBAAgB,eAmSjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnails/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAOnC,UAAU,qBAAqB;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,aAAa,EACb,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,MAAM,EACP,EAAE,qBAAqB,eAkCvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnails/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAOnC,UAAU,qBAAqB;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,aAAa,EACb,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,MAAM,EACP,EAAE,qBAAqB,eA0CvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"participantThumbnails.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnails/participantThumbnails.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,oEAqD1B,CAAA;AAED,eAAO,MAAM,qBAAqB,oEAoCjC,CAAA"}
1
+ {"version":3,"file":"participantThumbnails.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnails/participantThumbnails.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,oEAoD1B,CAAA;AAED,eAAO,MAAM,qBAAqB,oEAoCjC,CAAA"}
@@ -9,7 +9,8 @@ interface objThumbnails {
9
9
  }
10
10
  interface ParticipantThumbnails {
11
11
  listThumbnails: Array<objThumbnails>;
12
+ colorBackground?: string;
12
13
  }
13
- export default function ParticipantThumbnailsList({ listThumbnails }: ParticipantThumbnails): JSX.Element;
14
+ export default function ParticipantThumbnailsList({ listThumbnails, colorBackground }: ParticipantThumbnails): JSX.Element;
14
15
  export {};
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnailsList/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAGnC,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAE5D,UAAU,aAAa;IACrB,aAAa,CAAC,EAAE,GAAG,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAA;CACrC;AACD,UAAU,qBAAqB;IAC7B,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,CAAA;CACrC;AAmCD,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAAE,cAAc,EAAE,EAAE,qBAAqB,eAkB1F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/LXP/participantThumbnailsList/index.tsx"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAGnC,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAE5D,UAAU,aAAa;IACrB,aAAa,CAAC,EAAE,GAAG,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAA;CACrC;AACD,UAAU,qBAAqB;IAC7B,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAoCD,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAAE,cAAc,EAAE,eAAe,EAAE,EAAE,qBAAqB,eAkB3G"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import '../../shared/global.css';
3
3
  import { IScrollContainer } from './scrollContainer';
4
- export default function ScrollContainer({ children, type, isVisibleControlsButtons, positionArrowButton, marginTopArrrowButton, stepMove, className, styles, sizeArrowButton, marginsArrowButton, horizontalMarginInternScroll, refreshResize, widthProtectClick, hiddenHorizontalScrollBar }: IScrollContainer): JSX.Element;
4
+ export default function ScrollContainer({ children, type, isVisibleControlsButtons, positionArrowButton, marginTopArrrowButton, stepMove, className, styles, sizeArrowButton, marginsArrowButton, horizontalMarginInternScroll, refreshResize, widthProtectClick, hiddenHorizontalScrollBar, colorBackground }: IScrollContainer): JSX.Element;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-container/index.tsx"],"names":[],"mappings":";AACA,OAAO,yBAAyB,CAAA;AAMhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAKpD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,QAAQ,EACR,IAAI,EACJ,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,eAAe,EACf,kBAAkB,EAClB,4BAA4B,EAC5B,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EAC1B,EAAE,gBAAgB,eAyIlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-container/index.tsx"],"names":[],"mappings":";AACA,OAAO,yBAAyB,CAAA;AAMhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAKpD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,QAAQ,EACR,IAAI,EACJ,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,eAAe,EACf,kBAAkB,EAClB,4BAA4B,EAC5B,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,EAChB,EAAE,gBAAgB,eA4IlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"scrollContainerStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-container/scrollContainerStyles.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED,eAAO,MAAM,iBAAiB,oEAO7B,CAAA;AAED,eAAO,MAAM,cAAc;oBAAgC,MAAM;+BAA6B,OAAO;SAcpG,CAAA;AAED,eAAO,MAAM,cAAc,gFA2C1B,CAAA;AAKD,eAAO,MAAM,QAAQ,oEASpB,CAAA"}
1
+ {"version":3,"file":"scrollContainerStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-container/scrollContainerStyles.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED,eAAO,MAAM,iBAAiB,oEAO7B,CAAA;AAED,eAAO,MAAM,cAAc;oBAAgC,MAAM;+BAA6B,OAAO;SAepG,CAAA;AAED,eAAO,MAAM,cAAc,gFA2C1B,CAAA;AAKD,eAAO,MAAM,QAAQ,oEASpB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.20.38",
4
+ "version": "0.20.41",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",