@zealicsolutions/web-ui 0.4.79 → 0.4.80
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/cjs/index.js +13 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/cjs/src/containers/Container.d.ts +1 -1
- package/dist/cjs/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/cjs/src/containers/mock-data.d.ts +680 -23
- package/dist/cjs/src/containers/styles.d.ts +14 -2
- package/dist/cjs/src/containers/types/types.d.ts +1 -0
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +3 -2
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +3 -2
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +4 -4
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Link/Link.d.ts +3 -1
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +3 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Video/Video.d.ts +3 -1
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/esm/src/containers/Container.d.ts +1 -1
- package/dist/esm/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/esm/src/containers/mock-data.d.ts +680 -23
- package/dist/esm/src/containers/styles.d.ts +14 -2
- package/dist/esm/src/containers/types/types.d.ts +1 -0
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +3 -2
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +3 -2
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +4 -4
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Link/Link.d.ts +3 -1
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +1 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +3 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Video/Video.d.ts +3 -1
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/index.d.ts +44 -20
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
|
|
3
|
+
import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, MouseEvent, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
|
|
4
4
|
import * as styled_components from 'styled-components';
|
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
6
6
|
import * as theme from 'theme';
|
|
@@ -10,7 +10,7 @@ import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable,
|
|
|
10
10
|
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
|
11
11
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
|
12
12
|
import * as containers from 'containers';
|
|
13
|
-
import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
|
|
13
|
+
import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
|
|
14
14
|
import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
|
|
15
15
|
import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
|
16
16
|
import * as atoms from 'atoms';
|
|
@@ -196,7 +196,7 @@ declare const Container: ({ id, type, wide, props, compact, children, metadata,
|
|
|
196
196
|
} & {
|
|
197
197
|
id: string;
|
|
198
198
|
}) => JSX.Element | null;
|
|
199
|
-
declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps$1 & {
|
|
199
|
+
declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, isConfigurationMode, }: ContainerComponentProps$1 & {
|
|
200
200
|
formData?: AnyObject$1 | undefined;
|
|
201
201
|
setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
|
|
202
202
|
}) => JSX.Element | null;
|
|
@@ -632,6 +632,7 @@ declare type ContainerComponentProps = {
|
|
|
632
632
|
attributes?: AnyObject$1;
|
|
633
633
|
containerLibraryId?: string;
|
|
634
634
|
isMobile?: boolean;
|
|
635
|
+
isConfigurationMode?: boolean;
|
|
635
636
|
};
|
|
636
637
|
declare type CriteriaType = 'operator' | 'condition';
|
|
637
638
|
declare type ConditionCriteria = {
|
|
@@ -668,14 +669,19 @@ declare type StateConfigType = {
|
|
|
668
669
|
declare type Callback = () => void;
|
|
669
670
|
declare type AnyObject = Record<string, unknown>;
|
|
670
671
|
|
|
671
|
-
declare
|
|
672
|
+
declare type ConfigurationItemInfo = {
|
|
673
|
+
$selected?: boolean;
|
|
674
|
+
isConfigurationMode?: boolean;
|
|
675
|
+
onClick?: (e: MouseEvent) => void;
|
|
676
|
+
};
|
|
677
|
+
declare const ContainerWrapper: styled_components.StyledComponent<"div", DefaultTheme, Pick<ContainerProps$1, "type"> & {
|
|
672
678
|
containerProps?: Partial<{
|
|
673
679
|
position: containers_types_types.ContainerPositionType;
|
|
674
680
|
alignItems: containers_types_types.ContainerAlignItemsType;
|
|
675
681
|
scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
|
|
676
682
|
cornerRadius: number | SizesTypes$1;
|
|
677
683
|
gap: SizesTypes$1;
|
|
678
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object,
|
|
684
|
+
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, DefaultTheme>>;
|
|
679
685
|
paddingTop: SizesTypes$1;
|
|
680
686
|
paddingBottom: SizesTypes$1;
|
|
681
687
|
paddingLeft: SizesTypes$1;
|
|
@@ -691,6 +697,11 @@ declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_
|
|
|
691
697
|
}> | undefined;
|
|
692
698
|
metadata?: AnyObject | undefined;
|
|
693
699
|
}, never>;
|
|
700
|
+
declare const getConfigurationWrapperStyle: ({ $selected, isConfigurationMode, theme: { colors }, }: {
|
|
701
|
+
$selected?: boolean | undefined;
|
|
702
|
+
isConfigurationMode?: boolean | undefined;
|
|
703
|
+
theme: DefaultTheme;
|
|
704
|
+
}) => styled_components.FlattenSimpleInterpolation;
|
|
694
705
|
|
|
695
706
|
declare type OrganismItemProps = {
|
|
696
707
|
item: ContainerComponentProps$1 | Molecule$1;
|
|
@@ -1670,8 +1681,9 @@ declare type InputFieldProps = Partial<{
|
|
|
1670
1681
|
state: FormStateType$1;
|
|
1671
1682
|
formData: AnyObject$1;
|
|
1672
1683
|
htmlElementId: string;
|
|
1684
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1673
1685
|
}>;
|
|
1674
|
-
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
|
|
1686
|
+
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: InputFieldProps) => JSX.Element | null;
|
|
1675
1687
|
|
|
1676
1688
|
declare type FieldMapperProps<T extends object> = {
|
|
1677
1689
|
field: UIField$1<keyof T>;
|
|
@@ -1712,8 +1724,9 @@ declare type CheckboxFieldProps = Partial<{
|
|
|
1712
1724
|
htmlElementId: string;
|
|
1713
1725
|
isTrigger?: boolean;
|
|
1714
1726
|
moleculeId: string;
|
|
1727
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1715
1728
|
}>;
|
|
1716
|
-
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: CheckboxFieldProps) => JSX.Element | null;
|
|
1729
|
+
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
|
1717
1730
|
|
|
1718
1731
|
declare type CheckboxGroupProps = Partial<{
|
|
1719
1732
|
ref: RefCallBack;
|
|
@@ -1737,8 +1750,9 @@ declare type SelectFieldProps = Partial<{
|
|
|
1737
1750
|
state: FormStateType$1;
|
|
1738
1751
|
formData: AnyObject$1;
|
|
1739
1752
|
htmlElementId: string;
|
|
1753
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1740
1754
|
}>;
|
|
1741
|
-
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, }: SelectFieldProps) => JSX.Element | null;
|
|
1755
|
+
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
|
|
1742
1756
|
|
|
1743
1757
|
declare type CustomValidationRule<T = string> = {
|
|
1744
1758
|
text: string;
|
|
@@ -1841,8 +1855,9 @@ declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
|
|
|
1841
1855
|
declare type AvatarDropdownProps<T = string> = {
|
|
1842
1856
|
avatarProps: AvatarProps$1;
|
|
1843
1857
|
menuConfig: MenuItemsProps<T>;
|
|
1858
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1844
1859
|
};
|
|
1845
|
-
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
1860
|
+
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
1846
1861
|
|
|
1847
1862
|
declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
|
1848
1863
|
declare type AdditionalTabContainerProps = {
|
|
@@ -1868,8 +1883,9 @@ declare type TabGroupProps<T = string, K = string> = {
|
|
|
1868
1883
|
compact?: AdditionalTabContainerProps;
|
|
1869
1884
|
isMobile?: boolean;
|
|
1870
1885
|
htmlElementId?: string;
|
|
1886
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1871
1887
|
};
|
|
1872
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
1888
|
+
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
1873
1889
|
|
|
1874
1890
|
declare type FieldSectionProps<T extends object> = {
|
|
1875
1891
|
label: string;
|
|
@@ -1912,8 +1928,9 @@ declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
|
1912
1928
|
htmlElementId: string;
|
|
1913
1929
|
isTrigger?: boolean;
|
|
1914
1930
|
moleculeId: string;
|
|
1931
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1915
1932
|
}>;
|
|
1916
|
-
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
1933
|
+
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
1917
1934
|
name: string;
|
|
1918
1935
|
rules: ControllerProps$1['rules'];
|
|
1919
1936
|
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
@@ -1961,6 +1978,7 @@ declare const RadioButtonField: <T extends string>({ name, rules, styles, contro
|
|
|
1961
1978
|
htmlElementId: string;
|
|
1962
1979
|
isTrigger?: boolean | undefined;
|
|
1963
1980
|
moleculeId: string;
|
|
1981
|
+
configurationItemInfo?: ConfigurationItemInfo$1 | undefined;
|
|
1964
1982
|
}>) => JSX.Element | null;
|
|
1965
1983
|
|
|
1966
1984
|
declare type AlertProps = {
|
|
@@ -1989,8 +2007,9 @@ declare type StepperProps = {
|
|
|
1989
2007
|
metadata: MetadataType$1;
|
|
1990
2008
|
isMobile?: boolean;
|
|
1991
2009
|
isOnClickDisabled?: boolean;
|
|
2010
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1992
2011
|
};
|
|
1993
|
-
declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, }: StepperProps) => JSX.Element | null;
|
|
2012
|
+
declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
|
|
1994
2013
|
|
|
1995
2014
|
declare type PdfDocumentProps = {
|
|
1996
2015
|
source: string;
|
|
@@ -2050,8 +2069,9 @@ declare type VideoProps = {
|
|
|
2050
2069
|
moleculeId: string;
|
|
2051
2070
|
isTrigger: boolean;
|
|
2052
2071
|
isOnClickDisabled: boolean;
|
|
2072
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2053
2073
|
}>;
|
|
2054
|
-
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, }: VideoProps) => JSX.Element | null;
|
|
2074
|
+
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
|
|
2055
2075
|
|
|
2056
2076
|
declare type ImageProps = {
|
|
2057
2077
|
src: string;
|
|
@@ -2067,9 +2087,9 @@ declare type ImageProps = {
|
|
|
2067
2087
|
styles: StylesType;
|
|
2068
2088
|
metadata: MetadataType$1;
|
|
2069
2089
|
htmlElementId: string;
|
|
2070
|
-
|
|
2090
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2071
2091
|
}>;
|
|
2072
|
-
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata,
|
|
2092
|
+
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
|
|
2073
2093
|
|
|
2074
2094
|
declare type CarouselProps = {
|
|
2075
2095
|
children: JSX.Element[];
|
|
@@ -2101,8 +2121,9 @@ declare type TextMoleculeProps = Partial<{
|
|
|
2101
2121
|
styles: StylesType;
|
|
2102
2122
|
textAlign: 'center' | 'right' | 'left';
|
|
2103
2123
|
htmlElementId: string;
|
|
2124
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2104
2125
|
}> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
|
|
2105
|
-
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
2126
|
+
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
2106
2127
|
|
|
2107
2128
|
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
|
2108
2129
|
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
@@ -2144,8 +2165,9 @@ declare type ButtonProps = BaseButtonProps & {
|
|
|
2144
2165
|
stateConfig?: MetadataStateConfig$1[];
|
|
2145
2166
|
htmlElementId?: string;
|
|
2146
2167
|
metadata?: MetadataType$1;
|
|
2168
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2147
2169
|
};
|
|
2148
|
-
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, ...props }: ButtonProps) => JSX.Element | null;
|
|
2170
|
+
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: ButtonProps) => JSX.Element | null;
|
|
2149
2171
|
|
|
2150
2172
|
declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
|
|
2151
2173
|
padding?: number | string;
|
|
@@ -2200,8 +2222,9 @@ declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
|
|
|
2200
2222
|
moleculeId: string;
|
|
2201
2223
|
isTrigger: boolean;
|
|
2202
2224
|
onExternalLink?: () => void;
|
|
2225
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2203
2226
|
}>;
|
|
2204
|
-
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, ...props }: LinkProps) => JSX.Element | null;
|
|
2227
|
+
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
|
|
2205
2228
|
|
|
2206
2229
|
declare type ChecklistItem = {
|
|
2207
2230
|
id: string;
|
|
@@ -2218,10 +2241,11 @@ declare type ChecklistProps = {
|
|
|
2218
2241
|
props: {
|
|
2219
2242
|
gap: SizesTypes$1;
|
|
2220
2243
|
} & CheckboxInternalConfigProps$1;
|
|
2244
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2221
2245
|
};
|
|
2222
|
-
declare const Checklist: ({ items, props: { gap, ...checkboxProps }, }: ChecklistProps) => JSX.Element;
|
|
2246
|
+
declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
|
|
2223
2247
|
declare const ChecklistWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
2224
2248
|
$gap: SizesTypes$1;
|
|
2225
2249
|
}, never>;
|
|
2226
2250
|
|
|
2227
|
-
export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
|
2251
|
+
export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getConfigurationWrapperStyle, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
package/package.json
CHANGED