@zealicsolutions/web-ui 1.0.86-beta.7 → 1.0.87-beta.1
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Accordion/Accordion.d.ts +3 -2
- package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +2 -0
- package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +2 -0
- package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +2 -0
- package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +1904 -0
- package/dist/cjs/molecules/Checklist/Checklist.d.ts +2 -1
- package/dist/cjs/molecules/Consent/Consent.stories.d.ts +10 -3
- package/dist/cjs/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/cjs/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/cjs/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/cjs/molecules/RichText/RichText.stories.d.ts +1 -1
- package/dist/cjs/molecules/RichText/TextMolecule.d.ts +2 -1
- package/dist/cjs/molecules/SimpleText/SimpleText.d.ts +1 -1
- package/dist/cjs/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/esm/components/RichTextViewer/components/Leaf.js +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
- package/dist/esm/containers/Container.js +1 -1
- package/dist/esm/containers/Container.js.map +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js.map +1 -1
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/containers/FormStepContainer.js +1 -1
- package/dist/esm/containers/FormStepContainer.js.map +1 -1
- package/dist/esm/containers/OrganismItem.js +1 -1
- package/dist/esm/containers/OrganismItem.js.map +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js.map +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js.map +1 -1
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js +1 -1
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js.map +1 -1
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js +1 -1
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js.map +1 -1
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js +1 -1
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js.map +1 -1
- package/dist/esm/molecules/Accordion/Accordion.d.ts +3 -2
- package/dist/esm/molecules/Accordion/Accordion.js +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js.map +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js +1 -1
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -1
- package/dist/esm/molecules/Button/Button.js.map +1 -1
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +2 -0
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +2 -0
- package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +2 -0
- package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +1904 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +1 -1
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -1
- package/dist/esm/molecules/Checkbox/Checkbox.js +1 -1
- package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/molecules/Checklist/Checklist.d.ts +2 -1
- package/dist/esm/molecules/Checklist/Checklist.js +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js.map +1 -1
- package/dist/esm/molecules/Consent/Consent.stories.d.ts +10 -3
- package/dist/esm/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/molecules/Drawer/Drawer.js +1 -1
- package/dist/esm/molecules/Drawer/Drawer.js.map +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
- package/dist/esm/molecules/Link/Link.js +1 -1
- package/dist/esm/molecules/Link/Link.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
- package/dist/esm/molecules/Rating/Rating.js +1 -1
- package/dist/esm/molecules/Rating/Rating.js.map +1 -1
- package/dist/esm/molecules/RichText/RichText.stories.d.ts +1 -1
- package/dist/esm/molecules/RichText/TextMolecule.d.ts +2 -1
- package/dist/esm/molecules/RichText/TextMolecule.js +1 -1
- package/dist/esm/molecules/RichText/TextMolecule.js.map +1 -1
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/molecules/SimpleText/SimpleText.d.ts +1 -1
- package/dist/esm/molecules/SimpleText/SimpleText.js +1 -1
- package/dist/esm/molecules/SimpleText/SimpleText.js.map +1 -1
- package/dist/esm/molecules/Slider/Slider.js +1 -1
- package/dist/esm/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/molecules/SpeedDial/SpeedDial.js +1 -1
- package/dist/esm/molecules/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/esm/molecules/Stepper/Stepper.js +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js.map +1 -1
- package/dist/esm/molecules/Switch/Switch.js +1 -1
- package/dist/esm/molecules/Switch/Switch.js.map +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { FormGroupProps } from '@mui/material';
|
1
2
|
import { ConfigurationItemInfo } from 'containers';
|
2
3
|
import { FC } from 'react';
|
3
4
|
export declare type ChecklistItemType = {
|
@@ -46,7 +47,7 @@ export declare type RichTextItemType = {
|
|
46
47
|
textAlign?: 'left' | 'center' | 'right' | 'justify';
|
47
48
|
};
|
48
49
|
export declare type ChecklistItem = ChecklistItemType | DividerItemType | TextItemType | RichTextItemType;
|
49
|
-
export declare type ChecklistProps = {
|
50
|
+
export declare type ChecklistProps = FormGroupProps & {
|
50
51
|
gap?: string;
|
51
52
|
moleculeId?: string;
|
52
53
|
items: ChecklistItem[];
|
@@ -1,7 +1,10 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
2
3
|
export default _default;
|
3
4
|
/** Default consent molecule */
|
4
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
5
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
7
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
5
8
|
properties: Partial<{
|
6
9
|
consent: Partial<{
|
7
10
|
attributeType: "consent";
|
@@ -31,7 +34,9 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
|
|
31
34
|
maxWidth?: string | undefined;
|
32
35
|
}>;
|
33
36
|
/** Consent with custom spacing */
|
34
|
-
export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
37
|
+
export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
38
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
39
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
35
40
|
properties: Partial<{
|
36
41
|
consent: Partial<{
|
37
42
|
attributeType: "consent";
|
@@ -61,7 +66,9 @@ export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<im
|
|
61
66
|
maxWidth?: string | undefined;
|
62
67
|
}>;
|
63
68
|
/** Consent with custom width */
|
64
|
-
export declare const CustomWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
69
|
+
export declare const CustomWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
70
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
71
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
65
72
|
properties: Partial<{
|
66
73
|
consent: Partial<{
|
67
74
|
attributeType: "consent";
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
1
2
|
import { ConfigurationItemInfo, ConsentFieldMoleculeType } from 'containers';
|
2
|
-
declare type ConsentMoleculeProps = {
|
3
|
+
declare type ConsentMoleculeProps = BoxProps & {
|
3
4
|
properties: ConsentFieldMoleculeType['properties'];
|
4
5
|
htmlElementId: string;
|
5
6
|
isOnClickDisabled?: boolean;
|
@@ -19,5 +20,5 @@ declare type ConsentMoleculeProps = {
|
|
19
20
|
minWidth?: string;
|
20
21
|
maxWidth?: string;
|
21
22
|
};
|
22
|
-
export declare const ConsentMolecule: ({ properties, htmlElementId, configurationItemInfo, paddingTop, paddingRight, paddingBottom, paddingLeft, marginTop, marginRight, marginBottom, marginLeft, width, height, minHeight, maxHeight, minWidth, maxWidth, }: ConsentMoleculeProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
23
|
+
export declare const ConsentMolecule: ({ properties, htmlElementId, configurationItemInfo, paddingTop, paddingRight, paddingBottom, paddingLeft, marginTop, marginRight, marginBottom, marginLeft, width, height, minHeight, maxHeight, minWidth, maxWidth, sx, ...rest }: ConsentMoleculeProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
23
24
|
export {};
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
1
2
|
import { ConfigurationItemInfo, FormStateType, PasswordSetupMoleculeType } from 'containers';
|
2
3
|
import { BasicTextFieldProps } from 'molecules';
|
3
4
|
import { PasswordRuleValidation } from './types';
|
4
|
-
export declare type PasswordSetupProps = {
|
5
|
+
export declare type PasswordSetupProps = BoxProps & {
|
5
6
|
gap: string;
|
6
7
|
inputProps: Omit<BasicTextFieldProps, 'name'>;
|
7
8
|
validations: PasswordRuleValidation[];
|
@@ -20,4 +21,4 @@ export declare type PasswordSetupProps = {
|
|
20
21
|
marginRight?: string;
|
21
22
|
marginBottom?: string;
|
22
23
|
};
|
23
|
-
export declare const PasswordSetup: ({ gap, inputProps, validations, htmlElementId, validationState, overridesProperties, configurationItemInfo, width, height, minWidth, maxWidth, minHeight, maxHeight, marginLeft, marginTop, marginRight, marginBottom, }: PasswordSetupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
24
|
+
export declare const PasswordSetup: ({ gap, inputProps, validations, htmlElementId, validationState, overridesProperties, configurationItemInfo, width, height, minWidth, maxWidth, minHeight, maxHeight, marginLeft, marginTop, marginRight, marginBottom, sx, ...rest }: PasswordSetupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
2
2
|
import { PasswordSetup as PasswordSetupComponent } from './PasswordSetup';
|
3
3
|
declare const _default: {
|
4
4
|
title: string;
|
5
|
-
component: ({ gap, inputProps, validations, htmlElementId, validationState, overridesProperties, configurationItemInfo, width, height, minWidth, maxWidth, minHeight, maxHeight, marginLeft, marginTop, marginRight, marginBottom, }: import("./PasswordSetup").PasswordSetupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
5
|
+
component: ({ gap, inputProps, validations, htmlElementId, validationState, overridesProperties, configurationItemInfo, width, height, minWidth, maxWidth, minHeight, maxHeight, marginLeft, marginTop, marginRight, marginBottom, sx, ...rest }: import("./PasswordSetup").PasswordSetupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
6
6
|
};
|
7
7
|
export default _default;
|
8
8
|
export declare const PasswordSetup: StoryFn<typeof PasswordSetupComponent>;
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
16
16
|
marginLeft: string;
|
17
17
|
htmlElementId: string;
|
18
18
|
configurationItemInfo: import("../..").ConfigurationItemInfo;
|
19
|
-
}
|
19
|
+
} & Omit<import("@mui/material").TypographyProps<"span", {}>, "text"> & Omit<import("@mui/material").BoxProps<"div", {}>, "text">>>;
|
20
20
|
};
|
21
21
|
export default _default;
|
22
22
|
export declare const RichText: StoryFn<TextProps>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BoxProps, TypographyProps } from '@mui/material';
|
1
2
|
import { ConfigurationItemInfo } from 'containers';
|
2
3
|
import { FC } from 'react';
|
3
4
|
export declare type TextProps = Partial<{
|
@@ -13,5 +14,5 @@ export declare type TextProps = Partial<{
|
|
13
14
|
marginLeft: string;
|
14
15
|
htmlElementId: string;
|
15
16
|
configurationItemInfo: ConfigurationItemInfo;
|
16
|
-
}
|
17
|
+
} & Omit<TypographyProps, 'text'> & Omit<BoxProps, 'text'>>;
|
17
18
|
export declare const TextMolecule: FC<TextProps>;
|
@@ -22,4 +22,4 @@ export declare type SimpleTextProps = MuiTypographyProps & {
|
|
22
22
|
paddingBottom: string;
|
23
23
|
paddingLeft: string;
|
24
24
|
};
|
25
|
-
export declare const SimpleText: ({ text, fontSize, fontWeight, fontFamily, htmlElementId, configurationsItemInfo, marginTop, marginRight, marginBottom, marginLeft, paddingTop, paddingRight, paddingBottom, paddingLeft, align, wrap, variant, color, }: SimpleTextProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
25
|
+
export declare const SimpleText: ({ text, fontSize, fontWeight, fontFamily, htmlElementId, configurationsItemInfo, marginTop, marginRight, marginBottom, marginLeft, paddingTop, paddingRight, paddingBottom, paddingLeft, align, wrap, variant, color, sx, ...rest }: SimpleTextProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { StepperProps as MuiStepperProps } from '@mui/material';
|
2
2
|
import { ConfigurationItemInfo } from 'containers';
|
3
|
+
import { FC } from 'react';
|
3
4
|
export declare type StepperOrientation = 'horizontal' | 'vertical';
|
4
5
|
export declare type CustomStep = {
|
5
6
|
id: string;
|
@@ -19,7 +20,7 @@ export declare type CustomStep = {
|
|
19
20
|
iconBorderRadius?: number;
|
20
21
|
iconBackgroundColor?: string;
|
21
22
|
};
|
22
|
-
export declare type StepperProps = {
|
23
|
+
export declare type StepperProps = MuiStepperProps & {
|
23
24
|
items: CustomStep[];
|
24
25
|
gap?: string;
|
25
26
|
stepGap?: string;
|