@frigade/react 1.37.21 → 1.37.22
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.d.ts +7 -7
- package/dist/index.js +247 -247
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +246 -246
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { CSSProperties, FC, ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import { BorderProps, ColorProps, LayoutProps, ShadowProps, SpaceProps, TypographyProps, FontProps } from 'styled-system';
|
|
4
5
|
|
|
5
6
|
type StepActionType = 'STARTED_STEP' | 'COMPLETED_STEP' | 'NOT_STARTED_STEP';
|
|
@@ -104,7 +105,6 @@ interface StepData {
|
|
|
104
105
|
*/
|
|
105
106
|
handleSecondaryButtonClick?: () => void;
|
|
106
107
|
ctaActionType?: 'complete';
|
|
107
|
-
imageStyle?: CSSProperties;
|
|
108
108
|
props?: any;
|
|
109
109
|
/**
|
|
110
110
|
* Criteria that needs to be met for the step to complete
|
|
@@ -755,9 +755,9 @@ declare function Label({ title, required, appearance, }: {
|
|
|
755
755
|
title?: string;
|
|
756
756
|
required: boolean;
|
|
757
757
|
appearance?: Appearance;
|
|
758
|
-
}):
|
|
758
|
+
}): react_jsx_runtime.JSX.Element;
|
|
759
759
|
|
|
760
|
-
declare function TextField({ formInput, customFormTypeProps, onSaveInputData, setFormValidationErrors, inputData, }: FormInputProps):
|
|
760
|
+
declare function TextField({ formInput, customFormTypeProps, onSaveInputData, setFormValidationErrors, inputData, }: FormInputProps): react_jsx_runtime.JSX.Element;
|
|
761
761
|
|
|
762
762
|
interface Overrides extends Record<string, Overrides | CSSProperties> {
|
|
763
763
|
}
|
|
@@ -767,14 +767,14 @@ type BoxProps<T extends ElementType = 'div'> = {
|
|
|
767
767
|
children?: ReactNode;
|
|
768
768
|
overrides?: Overrides;
|
|
769
769
|
} & BorderProps & ColorProps & Exclude<LayoutProps, 'size'> & ShadowProps & SpaceProps & TypographyProps & ComponentPropsWithoutRef<T>;
|
|
770
|
-
declare const Box: <T extends React__default.ElementType<any> = "div">({ as, children, overrides, ...rest }: any) =>
|
|
770
|
+
declare const Box: <T extends React__default.ElementType<any> = "div">({ as, children, overrides, ...rest }: any) => react_jsx_runtime.JSX.Element;
|
|
771
771
|
|
|
772
772
|
interface ButtonProps extends BoxProps {
|
|
773
773
|
title: string;
|
|
774
774
|
}
|
|
775
775
|
declare const Button: React.FC<ButtonProps> & {
|
|
776
776
|
[k: string]: {
|
|
777
|
-
(props: ButtonProps):
|
|
777
|
+
(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
778
778
|
displayName: string;
|
|
779
779
|
};
|
|
780
780
|
};
|
|
@@ -865,7 +865,7 @@ interface BaseTextProps extends BoxProps, Partial<Pick<FontProps, 'fontWeight'>>
|
|
|
865
865
|
}
|
|
866
866
|
declare const Text: React__default.FC<BaseTextProps> & {
|
|
867
867
|
[k: string]: {
|
|
868
|
-
(props: BaseTextProps):
|
|
868
|
+
(props: BaseTextProps): react_jsx_runtime.JSX.Element;
|
|
869
869
|
displayName: string;
|
|
870
870
|
};
|
|
871
871
|
};
|
|
@@ -879,7 +879,7 @@ declare const ProgressBar: ({ count, total, display, textLocation, style, textSt
|
|
|
879
879
|
style?: CSSProperties;
|
|
880
880
|
textStyle?: CSSProperties;
|
|
881
881
|
appearance?: Appearance;
|
|
882
|
-
}) =>
|
|
882
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
883
883
|
|
|
884
884
|
declare const tokens: {
|
|
885
885
|
colors: {
|