frst-components 0.21.39 → 0.21.40

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
@@ -12818,7 +12818,7 @@ const ContentDescription = styled__default["default"].div `
12818
12818
  const modalNewFeatures = ({ title = 'Novidades', open, onClose, onFinish, steps }) => {
12819
12819
  const [numberCurrentStep, setNumberCurrentStep] = React.useState(0);
12820
12820
  const [currentTopic, setCurrentTopic] = React.useState(steps[numberCurrentStep]);
12821
- const isLastStep = currentTopic === steps[steps.length - 1];
12821
+ const isLastStep = JSON.stringify(currentTopic) === JSON.stringify(steps[steps.length - 1]);
12822
12822
  const labelButton = isLastStep ? 'Entendi' : 'Próximo';
12823
12823
  const variantButton = isLastStep ? 'primary' : 'secondary';
12824
12824
  const handleClickButtonNext = () => {
@@ -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.39",
4
+ "version": "0.21.40",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",