@hievilmath/browser-formidavim 0.0.1 → 0.0.2
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/index.d.ts +1 -1
- package/index.js +2707 -23
- package/index.mjs +27541 -1348
- package/lib/components/ComponentFactory.d.ts +24 -0
- package/lib/components/FlowFormRenderer.d.ts +6 -0
- package/lib/components/FlowProgressTracker.d.ts +8 -0
- package/lib/components/FlowRenderer.d.ts +7 -0
- package/lib/components/FormComponentRenderer.d.ts +8 -0
- package/lib/components/FormRenderer.d.ts +6 -0
- package/lib/components/FormWrapper.d.ts +7 -0
- package/lib/components/{render.d.ts → Renderer.d.ts} +3 -2
- package/lib/components/RendererWrapper.d.ts +8 -0
- package/lib/components/index.d.ts +10 -0
- package/lib/components/inputs/Checkbox.d.ts +5 -0
- package/lib/components/inputs/Number.d.ts +5 -0
- package/lib/components/inputs/Radio.d.ts +15 -0
- package/lib/components/inputs/Scale.d.ts +13 -0
- package/lib/components/inputs/TextArea.d.ts +5 -0
- package/lib/components/inputs/TextInput.d.ts +5 -0
- package/lib/components/inputs/template.d.ts +5 -0
- package/lib/components/visual/Header.d.ts +10 -0
- package/lib/components/visual/Image.d.ts +5 -0
- package/lib/components/visual/Paragraph.d.ts +10 -0
- package/lib/components/visual/RenderError.d.ts +4 -0
- package/lib/components/visual/Rule.d.ts +5 -0
- package/lib/components/visual/SmallText.d.ts +10 -0
- package/lib/components/visual/TextTip.d.ts +5 -0
- package/lib/components/visual/WeightLossChart.d.ts +5 -0
- package/lib/constants/components.d.ts +5 -0
- package/lib/constants/theme.d.ts +58 -0
- package/lib/hooks/useConditionEvaluator.d.ts +7 -0
- package/lib/hooks/useFlowStore.d.ts +11 -0
- package/lib/state/slices/flow.slice.d.ts +22 -0
- package/lib/state/slices/patient.slice.d.ts +17 -0
- package/lib/state/store.d.ts +9 -0
- package/lib/styled-components/layout.d.ts +135 -0
- package/lib/styled-components/typography.d.ts +51 -0
- package/lib/styled-components/uiComponents.d.ts +135 -0
- package/lib/utils/conditionEvaluator.d.ts +18 -0
- package/lib/utils/formDataGenerator.d.ts +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface FormComponentProps {
|
|
4
|
+
formComponent: Partial<FormComponent>;
|
|
5
|
+
}
|
|
6
|
+
export declare class ComponentFactory {
|
|
7
|
+
private static registry;
|
|
8
|
+
/**
|
|
9
|
+
* Register a new component type
|
|
10
|
+
*/
|
|
11
|
+
static register(componentId: string, component: FC<FormComponentProps>): void;
|
|
12
|
+
/**
|
|
13
|
+
* Get a component by its ID
|
|
14
|
+
*/
|
|
15
|
+
static getComponent(componentId: string): FC<FormComponentProps> | null;
|
|
16
|
+
/**
|
|
17
|
+
* Check if a component is registered
|
|
18
|
+
*/
|
|
19
|
+
static hasComponent(componentId: string): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Get all registered component IDs
|
|
22
|
+
*/
|
|
23
|
+
static getRegisteredComponents(): string[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export declare const FormComponentRenderer: FC<{
|
|
4
|
+
formComponent: Partial<FormComponent>;
|
|
5
|
+
isPreview: boolean;
|
|
6
|
+
boundary: 'first' | 'last' | null;
|
|
7
|
+
isVisible?: boolean;
|
|
8
|
+
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PatientProfileDto, Flow } from '../../../../../axios/formidavim/src/index.ts';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const Renderer: FC<{
|
|
4
4
|
data: PatientProfileDto;
|
|
5
|
-
config: Flow
|
|
5
|
+
config: Partial<Flow>;
|
|
6
|
+
isPreview: boolean;
|
|
6
7
|
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { Renderer } from './Renderer';
|
|
2
|
+
export { RendererWrapper } from './RendererWrapper';
|
|
3
|
+
export { FlowRenderer } from './FlowRenderer';
|
|
4
|
+
export { FlowProgressTracker } from './FlowProgressTracker';
|
|
5
|
+
export { FlowFormRenderer } from './FlowFormRenderer';
|
|
6
|
+
export { FormRenderer } from './FormRenderer';
|
|
7
|
+
export { FormComponentRenderer } from './FormComponentRenderer';
|
|
8
|
+
export { FormWrapper } from './FormWrapper';
|
|
9
|
+
export { evaluateCondition } from '../utils/conditionEvaluator';
|
|
10
|
+
export { ComponentFactory } from './ComponentFactory';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface RadioOption {
|
|
4
|
+
value: string;
|
|
5
|
+
labelText: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RadioProps {
|
|
8
|
+
label?: string;
|
|
9
|
+
options: RadioOption[];
|
|
10
|
+
required: boolean;
|
|
11
|
+
propertyId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Radio: FC<{
|
|
14
|
+
formComponent: Partial<FormComponent>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface ScaleProps {
|
|
4
|
+
leftText: string;
|
|
5
|
+
rightText: string;
|
|
6
|
+
middleText: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
labelText: string;
|
|
9
|
+
propertyId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Scale: FC<{
|
|
12
|
+
formComponent: Partial<FormComponent>;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface SmallTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
'text-align'?: 'left' | 'center' | 'right' | 'justify';
|
|
7
|
+
}
|
|
8
|
+
export declare const Header: FC<{
|
|
9
|
+
formComponent: Partial<FormComponent>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface SmallTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
'text-align'?: 'left' | 'center' | 'right' | 'justify';
|
|
7
|
+
}
|
|
8
|
+
export declare const Paragraph: FC<{
|
|
9
|
+
formComponent: Partial<FormComponent>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponent } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface SmallTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
'text-align'?: 'left' | 'center' | 'right' | 'justify';
|
|
7
|
+
}
|
|
8
|
+
export declare const SmallText: FC<{
|
|
9
|
+
formComponent: Partial<FormComponent>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormComponentProps } from '../components/ComponentFactory';
|
|
3
|
+
export type ComponentMap = Record<string, FC<FormComponentProps>>;
|
|
4
|
+
export declare const COMPONENT_CONFIGS: Record<string, 'string' | 'number' | 'array'>;
|
|
5
|
+
export declare const components: ComponentMap;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
interface Colors {
|
|
2
|
+
lightPalettePine120: string;
|
|
3
|
+
darkGreenTint: string;
|
|
4
|
+
lightGreen: string;
|
|
5
|
+
lightGreenTint: string;
|
|
6
|
+
paleLeaf: string;
|
|
7
|
+
brandDarkGray: string;
|
|
8
|
+
mediumGray: string;
|
|
9
|
+
gray: string;
|
|
10
|
+
lightGray: string;
|
|
11
|
+
ltGray: string;
|
|
12
|
+
lightGrayTint: string;
|
|
13
|
+
brandTan: string;
|
|
14
|
+
neutral50: string;
|
|
15
|
+
neutralTint1: string;
|
|
16
|
+
neutralTint2: string;
|
|
17
|
+
neutralTint3: string;
|
|
18
|
+
transparent: string;
|
|
19
|
+
errorRed: string;
|
|
20
|
+
purple: string;
|
|
21
|
+
ltPurple: string;
|
|
22
|
+
blue: string;
|
|
23
|
+
ltBlue: string;
|
|
24
|
+
focus: string;
|
|
25
|
+
xltGray: string;
|
|
26
|
+
white: string;
|
|
27
|
+
transp: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
ivimGreen: string;
|
|
30
|
+
success: string;
|
|
31
|
+
pine120: string;
|
|
32
|
+
pine100: string;
|
|
33
|
+
neutral0: string;
|
|
34
|
+
neutral20: string;
|
|
35
|
+
neutral30: string;
|
|
36
|
+
neutral40: string;
|
|
37
|
+
gray60: string;
|
|
38
|
+
danger: string;
|
|
39
|
+
}
|
|
40
|
+
interface Fonts {
|
|
41
|
+
playfair: string;
|
|
42
|
+
poppins: string;
|
|
43
|
+
karmina: string;
|
|
44
|
+
}
|
|
45
|
+
interface MediaQuery {
|
|
46
|
+
xs: string;
|
|
47
|
+
sm: string;
|
|
48
|
+
md: string;
|
|
49
|
+
lg: string;
|
|
50
|
+
xl: string;
|
|
51
|
+
}
|
|
52
|
+
interface Theme {
|
|
53
|
+
colors: Colors;
|
|
54
|
+
fonts: Fonts;
|
|
55
|
+
mediaQuery: MediaQuery;
|
|
56
|
+
}
|
|
57
|
+
declare const theme: Theme;
|
|
58
|
+
export default theme;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Flow, PatientProfileDto } from '../../../../../axios/formidavim/src/index.ts';
|
|
2
|
+
export declare const useFlowStore: () => {
|
|
3
|
+
setFlowValue: (field: string, value: any) => void;
|
|
4
|
+
setFlowValues: (values: Record<string, any>) => void;
|
|
5
|
+
getFlowValue: (field: string) => any;
|
|
6
|
+
setPatientValue: (field: string, value: any) => void;
|
|
7
|
+
setPatientValues: (profile: PatientProfileDto) => void;
|
|
8
|
+
getPatientValue: (field: string) => string | undefined;
|
|
9
|
+
setFlowAndPatientValue: (field: string, value: any) => void;
|
|
10
|
+
generateFormDataFromFlow: (flow: Partial<Flow>) => Record<string, any>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
export interface FlowSliceState {
|
|
3
|
+
inputValues: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
export declare const flowSlice: import('@reduxjs/toolkit').Slice<FlowSliceState, {
|
|
6
|
+
setInputValue: (state: import('immer').WritableDraft<FlowSliceState>, action: PayloadAction<{
|
|
7
|
+
field: string;
|
|
8
|
+
value: any;
|
|
9
|
+
}>) => void;
|
|
10
|
+
setInputValues: (state: import('immer').WritableDraft<FlowSliceState>, action: PayloadAction<Record<string, any>>) => void;
|
|
11
|
+
}, "flow", "flow", {
|
|
12
|
+
selectInputValues: (state: FlowSliceState) => Record<string, any>;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const setInputValue: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
15
|
+
field: string;
|
|
16
|
+
value: any;
|
|
17
|
+
}, "flow/setInputValue">, setInputValues: import('@reduxjs/toolkit').ActionCreatorWithPayload<Record<string, any>, "flow/setInputValues">;
|
|
18
|
+
export declare const selectInputValues: import('reselect').Selector<{
|
|
19
|
+
flow: FlowSliceState;
|
|
20
|
+
}, Record<string, any>, []> & {
|
|
21
|
+
unwrapped: (state: FlowSliceState) => Record<string, any>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { Patient, PatientProfileDto } from '../../../../../../axios/formidavim/src/index.ts';
|
|
3
|
+
export interface PatientSliceState {
|
|
4
|
+
patient: Patient | null;
|
|
5
|
+
}
|
|
6
|
+
export declare const patientSlice: import('@reduxjs/toolkit').Slice<PatientSliceState, {
|
|
7
|
+
setPatient: (state: import('immer').WritableDraft<PatientSliceState>, action: PayloadAction<Patient>) => void;
|
|
8
|
+
updatePatient: (state: import('immer').WritableDraft<PatientSliceState>, action: PayloadAction<Partial<PatientProfileDto>>) => void;
|
|
9
|
+
}, "patient", "patient", {
|
|
10
|
+
selectPatient: (state: PatientSliceState) => PatientProfileDto | null;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const setPatient: import('@reduxjs/toolkit').ActionCreatorWithPayload<Patient, "patient/setPatient">, updatePatient: import('@reduxjs/toolkit').ActionCreatorWithPayload<Partial<PatientProfileDto>, "patient/updatePatient">;
|
|
13
|
+
export declare const selectPatient: import('reselect').Selector<{
|
|
14
|
+
patient: PatientSliceState;
|
|
15
|
+
}, PatientProfileDto | null, []> & {
|
|
16
|
+
unwrapped: (state: PatientSliceState) => PatientProfileDto | null;
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
2
|
+
patient: import('./slices/patient.slice').PatientSliceState;
|
|
3
|
+
flow: import('./slices/flow.slice').FlowSliceState;
|
|
4
|
+
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
5
|
+
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
6
|
+
patient: import('./slices/patient.slice').PatientSliceState;
|
|
7
|
+
flow: import('./slices/flow.slice').FlowSliceState;
|
|
8
|
+
}, undefined, import('redux').UnknownAction>;
|
|
9
|
+
}>, import('redux').StoreEnhancer]>>;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
interface RowProps {
|
|
2
|
+
$noGutter?: boolean;
|
|
3
|
+
$bgColor?: string;
|
|
4
|
+
$padding?: string;
|
|
5
|
+
$justify?: string;
|
|
6
|
+
$align?: string;
|
|
7
|
+
$borderTopColor?: string;
|
|
8
|
+
}
|
|
9
|
+
interface ColProps {
|
|
10
|
+
$margin?: string;
|
|
11
|
+
$span?: string;
|
|
12
|
+
$flex?: string;
|
|
13
|
+
$justify?: string;
|
|
14
|
+
$align?: string;
|
|
15
|
+
$minWidth?: string;
|
|
16
|
+
$minHeight?: string;
|
|
17
|
+
$xsSpan?: string;
|
|
18
|
+
$smSpan?: string;
|
|
19
|
+
$mdSpan?: string;
|
|
20
|
+
$msSpan?: string;
|
|
21
|
+
$lgSpan?: string;
|
|
22
|
+
$xlSpan?: string;
|
|
23
|
+
$inputBoundary?: 'first' | 'last' | null;
|
|
24
|
+
}
|
|
25
|
+
interface ContainerProps {
|
|
26
|
+
$marginTop?: string;
|
|
27
|
+
$marginBottom?: string;
|
|
28
|
+
$marginBottomMd?: string;
|
|
29
|
+
$position?: string;
|
|
30
|
+
$bgColor?: string;
|
|
31
|
+
$bRad?: string;
|
|
32
|
+
$overflow?: string;
|
|
33
|
+
$fluid?: boolean;
|
|
34
|
+
$xSmall?: boolean;
|
|
35
|
+
$small?: boolean;
|
|
36
|
+
}
|
|
37
|
+
interface BgWrapperProps {
|
|
38
|
+
$padding?: string;
|
|
39
|
+
$color?: string;
|
|
40
|
+
$minHeight?: string;
|
|
41
|
+
}
|
|
42
|
+
interface ComponentWrapperProps {
|
|
43
|
+
$margin?: string;
|
|
44
|
+
}
|
|
45
|
+
interface ImgWrapperProps {
|
|
46
|
+
$width?: string;
|
|
47
|
+
$height?: string;
|
|
48
|
+
$bRadius?: string;
|
|
49
|
+
$margin?: string;
|
|
50
|
+
}
|
|
51
|
+
interface FlexWrapperProps {
|
|
52
|
+
$position?: string;
|
|
53
|
+
$top?: string;
|
|
54
|
+
$bottom?: string;
|
|
55
|
+
$zIndex?: string;
|
|
56
|
+
$flexWrap?: string;
|
|
57
|
+
$flex?: string;
|
|
58
|
+
$justify?: string;
|
|
59
|
+
$align?: string;
|
|
60
|
+
$margin?: string;
|
|
61
|
+
$padding?: string;
|
|
62
|
+
$bgColor?: string;
|
|
63
|
+
$bRadius?: string;
|
|
64
|
+
$minWidth?: string;
|
|
65
|
+
$minHeight?: string;
|
|
66
|
+
$maxWidth?: string;
|
|
67
|
+
$maxHeight?: string;
|
|
68
|
+
}
|
|
69
|
+
interface FormInputWrapperProps {
|
|
70
|
+
$visible?: boolean;
|
|
71
|
+
$type?: string;
|
|
72
|
+
$hasError?: boolean;
|
|
73
|
+
$isPass?: string;
|
|
74
|
+
$show?: string;
|
|
75
|
+
}
|
|
76
|
+
interface FormTextRepeaterInputWrapperProps {
|
|
77
|
+
$visible?: string;
|
|
78
|
+
$hasError?: boolean;
|
|
79
|
+
}
|
|
80
|
+
interface FormRadioWrapperProps {
|
|
81
|
+
$visible?: boolean;
|
|
82
|
+
$margin?: string;
|
|
83
|
+
$style?: string;
|
|
84
|
+
$labelLineHeight?: string;
|
|
85
|
+
$labelWidth?: string;
|
|
86
|
+
$accordion?: boolean;
|
|
87
|
+
}
|
|
88
|
+
interface CRHeaderProps {
|
|
89
|
+
$showBorder?: string;
|
|
90
|
+
}
|
|
91
|
+
interface CRAccordionBtnProps {
|
|
92
|
+
$open?: string;
|
|
93
|
+
}
|
|
94
|
+
interface CRProdImageProps {
|
|
95
|
+
$bgImg?: string;
|
|
96
|
+
}
|
|
97
|
+
interface CRAccordionWrapperProps {
|
|
98
|
+
$open?: string;
|
|
99
|
+
}
|
|
100
|
+
interface FormSelectWrapperProps {
|
|
101
|
+
$visible?: string;
|
|
102
|
+
$hasError?: boolean;
|
|
103
|
+
}
|
|
104
|
+
interface FormFileWrapperProps {
|
|
105
|
+
$visible?: string;
|
|
106
|
+
$hasError?: boolean;
|
|
107
|
+
$req?: string;
|
|
108
|
+
$isMultiple?: boolean;
|
|
109
|
+
}
|
|
110
|
+
interface FormDatePickerWrapperProps {
|
|
111
|
+
$visible?: string;
|
|
112
|
+
$margin?: string;
|
|
113
|
+
$hasError?: boolean;
|
|
114
|
+
}
|
|
115
|
+
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>> & string;
|
|
116
|
+
export declare const Row: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, RowProps>> & string;
|
|
117
|
+
export declare const Col: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColProps>> & string;
|
|
118
|
+
export declare const ComponentWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ComponentWrapperProps>> & string;
|
|
119
|
+
export declare const BgWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BgWrapperProps>> & string;
|
|
120
|
+
export declare const ImgWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ImgWrapperProps>> & string;
|
|
121
|
+
export declare const FlexWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlexWrapperProps>> & string;
|
|
122
|
+
export declare const FormInputWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormInputWrapperProps>> & string;
|
|
123
|
+
export declare const FormTextRepeaterInputWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormTextRepeaterInputWrapperProps>> & string;
|
|
124
|
+
export declare const FormRadioWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormRadioWrapperProps>> & string;
|
|
125
|
+
export declare const CRHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CRHeaderProps>> & string;
|
|
126
|
+
export declare const CRAccordionBtn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, CRAccordionBtnProps>> & string;
|
|
127
|
+
export declare const CRProdImage: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CRProdImageProps>> & string;
|
|
128
|
+
export declare const CRTab: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
129
|
+
export declare const CRAccordionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CRAccordionWrapperProps>> & string;
|
|
130
|
+
export declare const CRModalFooter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
131
|
+
export declare const FormSelectWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormSelectWrapperProps>> & string;
|
|
132
|
+
export declare const FormFileWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormFileWrapperProps>> & string;
|
|
133
|
+
export declare const FormDatePickerWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormDatePickerWrapperProps>> & string;
|
|
134
|
+
export declare const FlowContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
135
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
interface TypographyBaseProps {
|
|
2
|
+
$align?: 'left' | 'center' | 'right' | 'justify';
|
|
3
|
+
$color?: string;
|
|
4
|
+
$margin?: string;
|
|
5
|
+
$visible?: string | boolean;
|
|
6
|
+
$weight?: string | number;
|
|
7
|
+
}
|
|
8
|
+
interface FormTypographyProps extends TypographyBaseProps {
|
|
9
|
+
$fontSize?: string;
|
|
10
|
+
$lineHeight?: string;
|
|
11
|
+
$fontStyle?: 'normal' | 'italic' | 'oblique';
|
|
12
|
+
$balance?: boolean;
|
|
13
|
+
$nowrap?: boolean;
|
|
14
|
+
$underline?: boolean;
|
|
15
|
+
$transform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
16
|
+
}
|
|
17
|
+
interface LegacyTypographyProps extends TypographyBaseProps {
|
|
18
|
+
$caps?: string;
|
|
19
|
+
$balance?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface ErrorProps extends TypographyBaseProps {
|
|
22
|
+
$bgColor?: string;
|
|
23
|
+
$bottom?: string;
|
|
24
|
+
$right?: string;
|
|
25
|
+
$position?: string;
|
|
26
|
+
$top?: string;
|
|
27
|
+
$left?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const FormHeadline: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, TypographyBaseProps>> & string;
|
|
30
|
+
export declare const TextTipStyle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TypographyBaseProps>> & string;
|
|
31
|
+
export declare const ParagraphComponent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, TypographyBaseProps>> & string;
|
|
32
|
+
export declare const SmallTextStyle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TypographyBaseProps>> & string;
|
|
33
|
+
export declare const FormDescription: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, FormTypographyProps>> & string;
|
|
34
|
+
export declare const FormInputCopy: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, TypographyBaseProps>> & string;
|
|
35
|
+
export declare const FormInputLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, TypographyBaseProps>> & string;
|
|
36
|
+
export declare const PoppinsH3: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, TypographyBaseProps>> & string;
|
|
37
|
+
export declare const PoppinsH4: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, LegacyTypographyProps>> & string;
|
|
38
|
+
export declare const PoppinsP: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, LegacyTypographyProps>> & string;
|
|
39
|
+
export declare const PoppinsLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, LegacyTypographyProps>> & string;
|
|
40
|
+
export declare const PoppinsSmall: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, LegacyTypographyProps>> & string;
|
|
41
|
+
export declare const InlineButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, TypographyBaseProps>> & string;
|
|
42
|
+
export declare const InlineLink: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('react-router-dom').LinkProps & import('react').RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
43
|
+
ref?: ((instance: HTMLAnchorElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement> | null | undefined;
|
|
44
|
+
}, TypographyBaseProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('react-router-dom').LinkProps & import('react').RefAttributes<HTMLAnchorElement>>, keyof import('react').Component<any, {}, any>>;
|
|
45
|
+
export declare const InlineA: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, TypographyBaseProps>> & string;
|
|
46
|
+
export declare const InlineFormError: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
|
|
47
|
+
export declare const FormErrorTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
|
|
48
|
+
export declare const InputSmallNote: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof LegacyTypographyProps> & LegacyTypographyProps, "ref"> & {
|
|
49
|
+
ref?: ((instance: HTMLParagraphElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
|
|
50
|
+
}, ErrorProps>> & string;
|
|
51
|
+
export {};
|