frst-components 0.21.24 → 0.21.26

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.
Files changed (2) hide show
  1. package/dist/index.js +47 -43
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -676,8 +676,8 @@ const DesignTokens = {
676
676
  color: 'black'
677
677
  },
678
678
  textMessageComponentsRegular: {
679
- fontFamily: "'PT Sans', 'PTSans-Regular'",
680
- fontSize: '14px',
679
+ fontFamily: "'Work Sans', 'WorkSans-Regular'",
680
+ fontSize: '12px',
681
681
  letterSpacing: '0px',
682
682
  lineHeight: '18px',
683
683
  fontWeight: 400,
@@ -685,15 +685,15 @@ const DesignTokens = {
685
685
  },
686
686
  textMessageRegular: {
687
687
  fontFamily: "'PT Sans', 'PTSans-Regular'",
688
- fontSize: '18px',
688
+ fontSize: '14.54px',
689
689
  letterSpacing: '0px',
690
690
  lineHeight: '110%',
691
691
  fontWeight: 400,
692
692
  color: 'black'
693
693
  },
694
694
  textMessageComponentsBold: {
695
- fontFamily: "'PT Sans', 'PTSans-Bold'",
696
- fontSize: '18px',
695
+ fontFamily: "'Work Sans', 'WorkSans-Bold'",
696
+ fontSize: '14.54px',
697
697
  letterSpacing: '0px',
698
698
  lineHeight: '110%',
699
699
  fontWeight: 700,
@@ -715,6 +715,14 @@ const DesignTokens = {
715
715
  fontWeight: 700,
716
716
  color: 'black'
717
717
  },
718
+ MessageComponentsBodyBold: {
719
+ fontFamily: "'Work Sans', 'WorkSans-Bold'",
720
+ fontSize: '14px',
721
+ letterSpacing: '0px',
722
+ lineHeight: '100%',
723
+ fontWeight: 700,
724
+ color: 'black'
725
+ },
718
726
  },
719
727
  global: {
720
728
  shadowLevel_0: {
@@ -4974,6 +4982,7 @@ const ImageTextGroup = styled__default["default"].div `
4974
4982
  display: flex;
4975
4983
  flex-direction:row;
4976
4984
  align-items:center;
4985
+ justify-content: center;
4977
4986
  gap: 11.83px;
4978
4987
  padding-bottom:20.35px;
4979
4988
  `;
@@ -4981,7 +4990,7 @@ const ScroollableContent = styled__default["default"].div `
4981
4990
  display: block;
4982
4991
  width: 100%;
4983
4992
  overflow-y:auto;
4984
- max-height: 540px;
4993
+ max-height: 520px;
4985
4994
  padding-right: 17px;
4986
4995
  position:relative;
4987
4996
  &::-webkit-scrollbar{
@@ -5017,10 +5026,10 @@ const StepBar = styled__default["default"].div `
5017
5026
  background-color: ${({ isComplete, theme }) => isComplete ? theme.colors.primary1 : theme.colors.incompleteGrey};
5018
5027
  `;
5019
5028
  const StepBoxTitle = styled__default["default"].a `
5020
- ${({ theme }) => theme.fonts.textMessageComponentsBodyBold};
5029
+ ${({ theme }) => theme.fonts.MessageComponentsBodyBold};
5021
5030
  color:${({ isComplete, theme }) => isComplete ? theme.colors.primary1 : ' #344054'};
5022
5031
  ${({ isComplete }) => !isComplete && 'font-weight: 500;'}
5023
- margin-top:2px;
5032
+ margin-top:7px;
5024
5033
  cursor: pointer;
5025
5034
  text-decoration: none;
5026
5035
  `;
@@ -5069,15 +5078,15 @@ function OnboardingProgressMenu(props) {
5069
5078
  }
5070
5079
  };
5071
5080
  usehooksTs.useEventListener('scroll', handleScroll, scrollRef);
5072
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(CardContainer$1, { style: { ...style }, children: [jsxRuntime.jsxs(ImageTextGroup, { children: [jsxRuntime.jsx("img", { src: level.avatar, width: 55, height: 55 }), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(TextLevel, { children: level.name }), jsxRuntime.jsxs(Challenge, { children: [countChallenge, " ", textChallenge] })] })] }), !isScrollInTop && (jsxRuntime.jsx("div", { style: {
5081
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(CardContainer$1, { style: { ...style }, children: [jsxRuntime.jsxs(ImageTextGroup, { children: [jsxRuntime.jsx("img", { src: level.avatar, width: 85, height: 85 }), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(TextLevel, { children: level.name }), jsxRuntime.jsxs(Challenge, { children: [countChallenge, " ", textChallenge] })] })] }), !isScrollInTop && (jsxRuntime.jsx("div", { style: {
5073
5082
  background: 'linear-gradient(#ffffff, #ffffff19)',
5074
5083
  height: '50px',
5075
5084
  position: 'absolute',
5076
- top: 100,
5085
+ top: 120,
5077
5086
  right: 36,
5078
5087
  width: 'calc(100% - 46px)',
5079
5088
  zIndex: 10
5080
- } })), jsxRuntime.jsx(ScroollableContent, { ref: scrollRef, children: internalItems.map((i, index) => (jsxRuntime.jsxs(StepBox, { children: [jsxRuntime.jsxs(StepBoxIconBlock, { children: [jsxRuntime.jsx(CheckCircle, { isComplete: i.finished, isChecked: i.finished, children: i.finished ? jsxRuntime.jsx(Tick, { width: "12" }) : jsxRuntime.jsx(Dot, { width: "16", height: "16" }) }), items.length - 1 > index && jsxRuntime.jsx(StepBar, { isComplete: i.finished })] }), jsxRuntime.jsxs(StepBoxTextBlock, { children: [jsxRuntime.jsx(StepBoxTitle, { onClick: i.handleClick, isComplete: i.finished, children: i.title }), jsxRuntime.jsx(StepBoxDescription, { children: i.description })] })] }))) }), !isScrollInBottom && (jsxRuntime.jsx("div", { style: {
5089
+ } })), jsxRuntime.jsx(ScroollableContent, { ref: scrollRef, children: internalItems.map((i, index) => (jsxRuntime.jsxs(StepBox, { children: [jsxRuntime.jsxs(StepBoxIconBlock, { children: [jsxRuntime.jsx(CheckCircle, { isComplete: i.finished, isChecked: i.finished, children: i.finished ? jsxRuntime.jsx(Tick, { width: "12" }) : jsxRuntime.jsx(Dot, { width: "16", height: "16" }) }), items.length + 1 > index && jsxRuntime.jsx(StepBar, { isComplete: i.finished })] }), jsxRuntime.jsxs(StepBoxTextBlock, { children: [jsxRuntime.jsx(StepBoxTitle, { onClick: i.handleClick, isComplete: i.finished, children: i.title }), jsxRuntime.jsx(StepBoxDescription, { children: i.description })] })] }))) }), !isScrollInBottom && (jsxRuntime.jsx("div", { style: {
5081
5090
  background: 'linear-gradient(#ffffff19, #ffffff)',
5082
5091
  height: '50px',
5083
5092
  position: 'absolute',
@@ -7425,7 +7434,10 @@ function AvatarChannel$1({ size, channel, className, disabled, color, handleValu
7425
7434
  .map((name, i) => name[0])
7426
7435
  .join('');
7427
7436
  const [image, setImage] = React.useState(sourceImage);
7428
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsx(ContainerGeral$1, { className: "geral", isEdit: isEdit, variant: variantPopOver, children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ContainerPopOver, { className: "popOver", variant: variantPopOver, children: jsxRuntime.jsx(PopOverLXP, { children: 'Alterar avatar', variant: variantPopOver, element: undefined }) }), jsxRuntime.jsx("div", { style: { display: 'none' }, children: isEdit && (jsxRuntime.jsx("input", { type: "file", id: "fileSelector", accept: ".jpg, .jpeg, .png", onChange: (e) => handleFileSelected(e.target.files[0]) })) }), jsxRuntime.jsxs(AvatarChannel$2, { size: size, onClick: onChange, className: className, disabled: disabled, variant: variantPopOver, color: color ? color : '#6a3f86', image: image, isEdit: isEdit, children: [!image && jsxRuntime.jsx(Channel$2, { size: size, children: nameChannel }), isEdit && (jsxRuntime.jsx(AvatarCircle, { className: "hide", children: jsxRuntime.jsx(AvatarCam, { children: jsxRuntime.jsx(Cam, {}) }) }))] })] }) }) }));
7437
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsx(ContainerGeral$1, { className: "geral", isEdit: isEdit, variant: variantPopOver, children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ContainerPopOver, { className: "popOver", variant: variantPopOver, children: jsxRuntime.jsx(PopOverLXP, { children: 'Alterar avatar', variant: variantPopOver, element: undefined }) }), jsxRuntime.jsx("div", { style: { display: 'none' }, children: isEdit && (jsxRuntime.jsx("input", { type: "file", id: "fileSelector", accept: ".jpg, .jpeg, .png", onChange: (e) => {
7438
+ console.log(e);
7439
+ handleFileSelected(e.target.files[0]);
7440
+ } })) }), jsxRuntime.jsxs(AvatarChannel$2, { size: size, onClick: onChange, className: className, disabled: disabled, variant: variantPopOver, color: color ? color : '#6a3f86', image: image, isEdit: isEdit, children: [!image && jsxRuntime.jsx(Channel$2, { size: size, children: nameChannel }), isEdit && (jsxRuntime.jsx(AvatarCircle, { className: "hide", children: jsxRuntime.jsx(AvatarCam, { children: jsxRuntime.jsx(Cam, {}) }) }))] })] }) }) }));
7429
7441
  }
7430
7442
 
7431
7443
  const ContainerGeral = styled__default["default"].div `
@@ -8062,7 +8074,9 @@ const ContainerCard$1 = styled__default["default"].div `
8062
8074
  background-color: ${({ theme }) => theme.colors.shadeWhite};
8063
8075
  display: flex;
8064
8076
  align-items: center;
8077
+ justify-content: flex-start;
8065
8078
  padding: 8px;
8079
+ gap: 8px;
8066
8080
  position: relative;
8067
8081
  overflow: hidden;
8068
8082
  border-bottom: 1px solid ${({ theme }) => theme.colors.borderPrimary};
@@ -8076,10 +8090,11 @@ const ContainerCard$1 = styled__default["default"].div `
8076
8090
  }
8077
8091
 
8078
8092
  &:hover .trash {
8079
- right: 15px;
8093
+ display: inline-block;
8094
+ /* background-color: red; */
8080
8095
  }
8081
8096
  `;
8082
- const Thumbnails$1 = styled__default["default"].div `
8097
+ styled__default["default"].div `
8083
8098
  width: 17.29px;
8084
8099
  height: 51px;
8085
8100
  margin-left: -11px;
@@ -8101,12 +8116,11 @@ const Title$2 = styled__default["default"].div `
8101
8116
  `;
8102
8117
  const IconTrash = styled__default["default"].div `
8103
8118
  cursor: pointer;
8104
- height: 100%;
8105
- display: flex;
8106
- align-items: center;
8107
- right: -15px;
8108
- position: absolute;
8109
- transition: all 0.5s linear;
8119
+ height: fit-content;
8120
+ transition: all 0.2s ;
8121
+ display: none;
8122
+ align-self: center;
8123
+ align-content: flex-end;
8110
8124
  `;
8111
8125
  // ##############TRILHA##############
8112
8126
  const ContainerTrilha = styled__default["default"].div `
@@ -8189,10 +8203,19 @@ function VectorUp$1(props) {
8189
8203
  *
8190
8204
  * @componente
8191
8205
  */
8192
- function VectorEllipse$1(props) {
8206
+ function VectorEllipse(props) {
8193
8207
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("svg", { width: "5", height: "5", viewBox: "0 0 5 5", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", fill: "url(#paint0_angular_4285_2572)" }), jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", fill: "url(#paint1_radial_4285_2572)", fillOpacity: "0.6" }), jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", stroke: "#BDBDBD", strokeWidth: "0.1" }), jsxRuntime.jsxs("defs", { children: [jsxRuntime.jsxs("radialGradient", { id: "paint0_angular_4285_2572", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(2.57143 2.35) rotate(90) scale(1.57143 1.65)", children: [jsxRuntime.jsx("stop", { stopColor: "#757575" }), jsxRuntime.jsx("stop", { offset: "0.526042", stopColor: "#757575", stopOpacity: "0" })] }), jsxRuntime.jsxs("radialGradient", { id: "paint1_radial_4285_2572", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(2.57143 2.35) rotate(90) scale(1.57143 1.65)", children: [jsxRuntime.jsx("stop", { offset: "0.380208", stopColor: "white" }), jsxRuntime.jsx("stop", { offset: "1", stopColor: "#EBEBEB", stopOpacity: "0" })] })] })] }) }));
8194
8208
  }
8195
8209
 
8210
+ const HeaderVectorElipses = ({ provided, direction }) => {
8211
+ return (jsxRuntime.jsx("div", { ref: provided ? provided.innerRef : null, ...(provided ? provided.dragHandleProps : null), style: { display: 'flex', width: 'fit-content', height: 'fit-content', flexDirection: direction ? 'row' : 'column' }, children: [1, 2, 3].map((thumb) => {
8212
+ const arr = new Array(10).fill('');
8213
+ return (jsxRuntime.jsx("div", { style: { width: 'fit-content', display: 'flex', justifyContent: 'center', cursor: 'pointer', flexDirection: !direction ? 'row' : 'column' }, children: arr.map((i, k) => {
8214
+ return jsxRuntime.jsx(VectorEllipse, {}, k);
8215
+ }) }, thumb));
8216
+ }) }));
8217
+ };
8218
+
8196
8219
  // import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd'
8197
8220
  var typeContent;
8198
8221
  (function (typeContent) {
@@ -8240,7 +8263,7 @@ function ContentThumbnails({ label, contentList, variant, src, disabled, icon, o
8240
8263
  };
8241
8264
  function Exibir() {
8242
8265
  return (jsxRuntime.jsx(dnd.DragDropContext, { onDragEnd: onDragEnd, children: jsxRuntime.jsx(dnd.Droppable, { droppableId: "contentListData", children: (provided) => (jsxRuntime.jsx("div", { style: { backgroundColor: '#D1D5DB', height: contentListData.length > 0 ? 'auto' : '100vh', width: 270 }, ref: provided.innerRef, children: contentListData?.map((item, index) => {
8243
- return (jsxRuntime.jsx(dnd.Draggable, { draggableId: item.title, index: index, children: (provided) => (jsxRuntime.jsxs(ContainerCard$1, { ref: provided.innerRef, ...provided.draggableProps, children: [jsxRuntime.jsxs(Thumbnails$1, { ref: provided.innerRef, ...provided.draggableProps, ...provided.dragHandleProps, children: [jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {})] }), jsxRuntime.jsxs(Thumbnails$1, { ref: provided.innerRef, ...provided.draggableProps, ...provided.dragHandleProps, children: [jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {})] }), jsxRuntime.jsxs(Thumbnails$1, { ref: provided.innerRef, ...provided.draggableProps, ...provided.dragHandleProps, children: [jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {}), jsxRuntime.jsx(VectorEllipse$1, {})] }), jsxRuntime.jsxs("div", { onClick: () => {
8266
+ return (jsxRuntime.jsx(dnd.Draggable, { draggableId: item.title, index: index, children: (provided) => (jsxRuntime.jsxs(ContainerCard$1, { ref: provided.innerRef, ...provided.draggableProps, children: [jsxRuntime.jsx(HeaderVectorElipses, { provided: provided, direction: 'column' }), jsxRuntime.jsxs("div", { onClick: () => {
8244
8267
  handleClick(item);
8245
8268
  }, style: {
8246
8269
  display: 'flex',
@@ -11351,27 +11374,8 @@ const LoadingContainer = styled__default["default"].div `
11351
11374
  }
11352
11375
  `;
11353
11376
 
11354
- ///-----------------------------------------
11355
- /// Componente
11356
- /**
11357
- *
11358
- * @componente
11359
- */
11360
- function VectorEllipse(props) {
11361
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("svg", { width: "5", height: "5", viewBox: "0 0 5 5", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", fill: "url(#paint0_angular_4285_2572)" }), jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", fill: "url(#paint1_radial_4285_2572)", fillOpacity: "0.6" }), jsxRuntime.jsx("ellipse", { cx: "2.57143", cy: "2.35", rx: "1.65", ry: "1.57143", transform: "rotate(-90 2.57143 2.35)", stroke: "#BDBDBD", strokeWidth: "0.1" }), jsxRuntime.jsxs("defs", { children: [jsxRuntime.jsxs("radialGradient", { id: "paint0_angular_4285_2572", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(2.57143 2.35) rotate(90) scale(1.57143 1.65)", children: [jsxRuntime.jsx("stop", { stopColor: "#757575" }), jsxRuntime.jsx("stop", { offset: "0.526042", stopColor: "#757575", stopOpacity: "0" })] }), jsxRuntime.jsxs("radialGradient", { id: "paint1_radial_4285_2572", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(2.57143 2.35) rotate(90) scale(1.57143 1.65)", children: [jsxRuntime.jsx("stop", { offset: "0.380208", stopColor: "white" }), jsxRuntime.jsx("stop", { offset: "1", stopColor: "#EBEBEB", stopOpacity: "0" })] })] })] }) }));
11362
- }
11363
-
11364
- const HeaderVectorElipses = ({ provided }) => {
11365
- return (jsxRuntime.jsx("div", { ref: provided ? provided.innerRef : null, ...(provided ? provided.dragHandleProps : null), children: [1, 2, 3].map((thumb) => {
11366
- const arr = new Array(10).fill('');
11367
- return (jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'center', cursor: 'pointer' }, children: arr.map((i, k) => {
11368
- return jsxRuntime.jsx(VectorEllipse, {}, k);
11369
- }) }, thumb));
11370
- }) }));
11371
- };
11372
-
11373
11377
  const LoadingThumbnails = ({ provided }) => {
11374
- return (jsxRuntime.jsxs(CardDragAndDrop, { className: "loading", children: [jsxRuntime.jsx(HeaderVectorElipses, { provided: provided }), jsxRuntime.jsx(LoadingContainer, { className: "loading_img" }), jsxRuntime.jsx(LoadingContainer, { className: "loading_text" }), jsxRuntime.jsx(LoadingContainer, { className: "loading_text loading_button" })] }));
11378
+ return (jsxRuntime.jsxs(CardDragAndDrop, { className: "loading", children: [jsxRuntime.jsx(HeaderVectorElipses, { provided: provided, direction: 'row' }), jsxRuntime.jsx(LoadingContainer, { className: "loading_img" }), jsxRuntime.jsx(LoadingContainer, { className: "loading_text" }), jsxRuntime.jsx(LoadingContainer, { className: "loading_text loading_button" })] }));
11375
11379
  };
11376
11380
 
11377
11381
  ///-----------------------------------------
@@ -11433,7 +11437,7 @@ function Thumbnails({ variant, src, showSwitch, handleClickCourse, handleClickNe
11433
11437
  fontSize: 11
11434
11438
  }
11435
11439
  }));
11436
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [variant === 'default' ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: Loading$1 ? (jsxRuntime.jsx(LoadingThumbnails, { provided: provided })) : (jsxRuntime.jsxs(CardDragAndDrop, { active: ativo, className: (variant = 'default'), ref: provided ? provided.innerRef : null, ...(provided ? provided.draggableProps : null), children: [jsxRuntime.jsx(HeaderVectorElipses, { provided: provided }), jsxRuntime.jsx("img", { className: "thumbnails_img", ref: provided ? provided.innerRef : null, ...(provided ? provided.dragHandleProps : null), onMouseEnter: handleHoverImage,
11440
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [variant === 'default' ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: Loading$1 ? (jsxRuntime.jsx(LoadingThumbnails, { provided: provided })) : (jsxRuntime.jsxs(CardDragAndDrop, { active: ativo, className: (variant = 'default'), ref: provided ? provided.innerRef : null, ...(provided ? provided.draggableProps : null), children: [jsxRuntime.jsx(HeaderVectorElipses, { provided: provided, direction: 'row' }), jsxRuntime.jsx("img", { className: "thumbnails_img", ref: provided ? provided.innerRef : null, ...(provided ? provided.dragHandleProps : null), onMouseEnter: handleHoverImage,
11437
11441
  // className="imageHover"
11438
11442
  src: src || defaultImg }), jsxRuntime.jsxs(ContainerMain, { children: [jsxRuntime.jsx(LightTooltip, { title: title, children: jsxRuntime.jsx(Typography$2, { style: { color: ativo ? '#000000' : '#bdbdbd', textAlign: 'start' }, children: title && title?.length > 17 ? `${title.substring(0, 17)}...` : title }) }), jsxRuntime.jsx(IconVertical, { onClick: (element) => {
11439
11443
  setElementPopover(element.currentTarget);
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.21.24",
4
+ "version": "0.21.26",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",