frst-components 0.21.35 → 0.21.36

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
@@ -14365,16 +14365,17 @@ function BannerProblemFeed(props) {
14365
14365
  marginBottom: 4,
14366
14366
  borderTop: `1px solid ${FRSTTheme['colors'].borderPrimary}`,
14367
14367
  display: 'flex', justifyContent: 'center'
14368
- }, 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: stateTotalComments, qtdLikes: props.qtdLikes, textAvaluation: props.textAvaluation, textAvaluationTitle: props.textAvaluationTitle, isDisabledAvaluation: props.isDisabledAvaluation, textComments: props.textComments, textDeslike: props.textDeslike, textLikes: props.textLikes,
14369
- // latestComment={stateLatestComment}
14370
- // textLatestComment={props.textLatestComment}
14371
- textImpacto: props.textImpacto, ratingImpacto: props.ratingImpacto, textRelevancia: props.textRelevancia, ratingRelevancia: props.ratingRelevancia,
14372
- // userCommentPlaceholder={props.userCommentPlaceholder}
14373
- // onCommentChange={props.onCommentChange}
14374
- handleLikeClick: props.handleLikeClick, handleImpactoChange: props.handleImpactoChange, handleRelevanciaChange: props.handleRelevanciaChange,
14375
- // textSaveCommentBtn={props.textSaveCommentBtn}
14376
- // handleSaveCommentBtn={props.handleSaveCommentBtn}
14377
- userAvatar: props.avatar, textTotalView: props.textTotalView, handleClickTextTotalViews: props.handleClickTextTotalViews, isCommentV2: props?.isCommentV2, childrenCommentV2: props?.childrenCommentV2 })] }));
14368
+ }, 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() })] }), !props.hideInteraction &&
14369
+ jsxRuntime.jsx(FeedInteraction, { isChallengeReview: true, id: props.id, isLiked: props.isLiked, qtdComments: stateTotalComments, qtdLikes: props.qtdLikes, textAvaluation: props.textAvaluation, textAvaluationTitle: props.textAvaluationTitle, isDisabledAvaluation: props.isDisabledAvaluation, textComments: props.textComments, textDeslike: props.textDeslike, textLikes: props.textLikes,
14370
+ // latestComment={stateLatestComment}
14371
+ // textLatestComment={props.textLatestComment}
14372
+ textImpacto: props.textImpacto, ratingImpacto: props.ratingImpacto, textRelevancia: props.textRelevancia, ratingRelevancia: props.ratingRelevancia,
14373
+ // userCommentPlaceholder={props.userCommentPlaceholder}
14374
+ // onCommentChange={props.onCommentChange}
14375
+ handleLikeClick: props.handleLikeClick, handleImpactoChange: props.handleImpactoChange, handleRelevanciaChange: props.handleRelevanciaChange,
14376
+ // textSaveCommentBtn={props.textSaveCommentBtn}
14377
+ // handleSaveCommentBtn={props.handleSaveCommentBtn}
14378
+ userAvatar: props.avatar, textTotalView: props.textTotalView, handleClickTextTotalViews: props.handleClickTextTotalViews, isCommentV2: props?.isCommentV2, childrenCommentV2: props?.childrenCommentV2 })] }));
14378
14379
  }
14379
14380
  function getStepsChallenge(language, stepProblem, setSelectedStep, onSelectedStep) {
14380
14381
  let translate = {
@@ -45,6 +45,7 @@ interface IBannerProblemFeed extends stepsInfo {
45
45
  handleClickTextTotalViews?: () => void;
46
46
  isCommentV2?: boolean;
47
47
  childrenCommentV2?: any;
48
+ hideInteraction?: boolean;
48
49
  }
49
50
  interface stepsInfo {
50
51
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/bannerProblemFeed/index.tsx"],"names":[],"mappings":";AAgBA,UAAU,kBAAmB,SAAQ,SAAS;IAC1C,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,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAG,kBAAkB,eA8UnE"}
@@ -3,19 +3,19 @@ interface BaseProps {
3
3
  className: string;
4
4
  [key: string]: unknown;
5
5
  }
6
- export declare const Button: React.ForwardRefExoticComponent<Omit<{
6
+ export declare const Button: React.ForwardRefExoticComponent<Pick<{
7
7
  active: boolean;
8
8
  reversed: boolean;
9
- } & BaseProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
10
- export declare const EditorValue: React.ForwardRefExoticComponent<Omit<{
9
+ } & BaseProps, keyof BaseProps> & React.RefAttributes<HTMLSpanElement>>;
10
+ export declare const EditorValue: React.ForwardRefExoticComponent<Pick<{
11
11
  value: any;
12
- } & BaseProps, "ref"> & React.RefAttributes<null>>;
13
- export declare const Icon: React.ForwardRefExoticComponent<Omit<BaseProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
14
- export declare const Instruction: React.ForwardRefExoticComponent<Omit<BaseProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- export declare const Menu: React.ForwardRefExoticComponent<Omit<BaseProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ } & BaseProps, keyof BaseProps> & React.RefAttributes<null>>;
13
+ export declare const Icon: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLSpanElement>>;
14
+ export declare const Instruction: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const Menu: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
16
16
  export declare const Portal: ({ children }: {
17
17
  children: any;
18
18
  }) => any;
19
- export declare const Toolbar: React.ForwardRefExoticComponent<Omit<BaseProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ export declare const Toolbar: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
20
20
  export {};
21
21
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LXP/extraContent/richTextEditor/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAIrD,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,eAAO,MAAM,MAAM;YASH,OAAO;cACL,OAAO;6DAuBxB,CAAA;AAED,eAAO,MAAM,WAAW;WAQT,GAAG;kDA+CjB,CAAA;AAED,eAAO,MAAM,IAAI,gGAkBhB,CAAA;AAED,eAAO,MAAM,WAAW,+FAoBvB,CAAA;AAED,eAAO,MAAM,IAAI,+FAsBhB,CAAA;AAED,eAAO,MAAM,MAAM;;SAIlB,CAAA;AAED,eAAO,MAAM,OAAO,+FAmBnB,CAAA"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LXP/extraContent/richTextEditor/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAIrD,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,eAAO,MAAM,MAAM;YASH,OAAO;cACL,OAAO;uEAuBxB,CAAA;AAED,eAAO,MAAM,WAAW;WAQT,GAAG;4DA+CjB,CAAA;AAED,eAAO,MAAM,IAAI,0GAkBhB,CAAA;AAED,eAAO,MAAM,WAAW,yGAoBvB,CAAA;AAED,eAAO,MAAM,IAAI,yGAsBhB,CAAA;AAED,eAAO,MAAM,MAAM;;SAIlB,CAAA;AAED,eAAO,MAAM,OAAO,yGAmBnB,CAAA"}
@@ -15,7 +15,7 @@ export declare const LoginIconCustom: import("styled-components").StyledComponen
15
15
  muiName: string;
16
16
  }, any, {}, never>;
17
17
  export declare const FormControlSelect: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/FormControl").FormControlTypeMap<{}, "div">>, any, {}, never>;
18
- export declare const DropDownList: import("styled-components").StyledComponent<(<Value>(props: import("@mui/material/Select").SelectProps<Value>) => JSX.Element) & {
18
+ export declare const DropDownList: import("styled-components").StyledComponent<(<T>(props: import("@mui/material/Select").SelectProps<T>) => JSX.Element) & {
19
19
  muiName: string;
20
20
  }, any, {}, never>;
21
21
  export declare const LabelDateStepper: import("styled-components").StyledComponent<"label", any, {}, never>;
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.35",
4
+ "version": "0.21.36",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",