@zealicsolutions/web-ui 1.0.59 → 1.0.60-test.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/dist/cjs/containers/Container.stories.d.ts +15 -1
- package/dist/cjs/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +94 -31
- package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
- package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +1 -1
- package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +1 -1
- package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +1 -1
- package/dist/cjs/molecules/DatePicker/DatePicker.d.ts +3 -1
- package/dist/esm/components/RichTextViewer/RichTextViewer.js.map +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
- package/dist/esm/containers/Container.stories.d.ts +15 -1
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
- package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js +1 -1
- package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js.map +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +94 -31
- package/dist/esm/molecules/Calendar/CalendarMolecule.js +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +1 -1
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.d.ts +3 -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/SpeedDial/SpeedDial.js +1 -1
- package/dist/esm/molecules/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/index.d.ts +97 -32
- package/package.json +1 -1
- /package/dist/cjs/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
- /package/dist/cjs/organisms/Organism/{mock-data.d.ts → mockData.d.ts} +0 -0
- /package/dist/esm/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
- /package/dist/esm/organisms/Organism/{mock-data.d.ts → mockData.d.ts} +0 -0
@@ -1,36 +1,37 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { EventInput, ThemeSystem } from '@fullcalendar/react';
|
3
2
|
import { ConfigurationItemInfo } from 'containers';
|
3
|
+
import { MoleculeItemDTO } from 'containers/types/moleculeItemTypes';
|
4
4
|
export interface CalendarMoleculeProps {
|
5
|
-
events?:
|
5
|
+
events?: any[];
|
6
6
|
resources?: any[];
|
7
|
+
items?: MoleculeItemDTO[];
|
7
8
|
initialView?: string;
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
enableTimeline?: boolean;
|
12
|
-
enableResourceTimeline?: boolean;
|
9
|
+
enableDayView?: boolean;
|
10
|
+
enableWeekView?: boolean;
|
11
|
+
enableMonthView?: boolean;
|
13
12
|
enableYearView?: boolean;
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
enableDayListView?: boolean;
|
14
|
+
enableWeekListView?: boolean;
|
15
|
+
enableGridView?: boolean;
|
16
|
+
enableTimelineView?: boolean;
|
17
|
+
enableResourceView?: boolean;
|
17
18
|
monthsPerRow?: number;
|
18
19
|
dayMaxEvents?: number;
|
19
20
|
yearViewMode?: 'grid' | 'stack' | 'continuous';
|
21
|
+
showPrevButton?: boolean;
|
22
|
+
showNextButton?: boolean;
|
23
|
+
showTodayButton?: boolean;
|
24
|
+
showViewSwitcher?: boolean;
|
25
|
+
editable?: boolean;
|
26
|
+
droppable?: boolean;
|
27
|
+
selectable?: boolean;
|
20
28
|
slotDuration?: string;
|
21
29
|
snapDuration?: string;
|
22
30
|
businessHours?: any;
|
23
31
|
eventOverlap?: boolean;
|
24
32
|
showGridLines?: boolean;
|
25
|
-
buttonBorderRadius?: string;
|
26
|
-
eventFontSize?: string | number;
|
27
|
-
eventFontFamily?: string;
|
28
|
-
eventFontWeight?: string | number;
|
29
|
-
resourceGroupCollapsible?: boolean;
|
30
33
|
width?: string | number;
|
31
34
|
height?: string | number;
|
32
|
-
backgroundColor?: string;
|
33
|
-
themeSystem?: ThemeSystem;
|
34
35
|
marginLeft?: string;
|
35
36
|
marginTop?: string;
|
36
37
|
marginRight?: string;
|
@@ -39,28 +40,90 @@ export interface CalendarMoleculeProps {
|
|
39
40
|
paddingTop?: string;
|
40
41
|
paddingRight?: string;
|
41
42
|
paddingBottom?: string;
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
43
|
+
themeSystem?: any;
|
44
|
+
buttonFontSize?: string | number;
|
45
|
+
buttonPaddingY?: string;
|
46
|
+
buttonPaddingX?: string;
|
47
|
+
buttonColor?: string;
|
47
48
|
buttonTextColor?: string;
|
48
|
-
|
49
|
+
buttonBorderColor?: string;
|
50
|
+
buttonFontWeight?: string | number;
|
51
|
+
buttonElevation?: number;
|
52
|
+
buttonHeight?: string | number;
|
53
|
+
buttonMinWidth?: string | number;
|
54
|
+
buttonMarginY?: string;
|
55
|
+
buttonMarginX?: string;
|
56
|
+
buttonBorderRadius?: string;
|
57
|
+
buttonHoverColor?: string;
|
58
|
+
buttonHoverTextColor?: string;
|
59
|
+
buttonHoverBorderColor?: string;
|
60
|
+
headerBackgroundColor?: string;
|
61
|
+
headerBorderColor?: string;
|
62
|
+
headerPadding?: string;
|
63
|
+
headerHeight?: string | number;
|
64
|
+
headerFontSize?: string | number;
|
65
|
+
headerFontWeight?: string | number;
|
66
|
+
headerTextColor?: string;
|
49
67
|
dayHeaderColor?: string;
|
50
68
|
dayHeaderFontWeight?: string | number;
|
51
|
-
|
52
|
-
slotLabelFontSize?: string | number;
|
53
|
-
eventBg?: string;
|
69
|
+
eventBackgroundColor?: string;
|
54
70
|
eventBorderColor?: string;
|
55
71
|
eventTextColor?: string;
|
56
|
-
|
72
|
+
eventBorderRadius?: string;
|
73
|
+
eventOpacity?: number;
|
74
|
+
eventElevation?: number;
|
75
|
+
eventPadding?: string;
|
76
|
+
eventFontSize?: string | number;
|
77
|
+
eventFontFamily?: string;
|
78
|
+
eventFontWeight?: string | number;
|
79
|
+
cellBackgroundColor?: string;
|
80
|
+
cellHoverBackgroundColor?: string;
|
81
|
+
cellTodayBackgroundColor?: string;
|
82
|
+
cellBorderColor?: string;
|
83
|
+
cellTextColor?: string;
|
84
|
+
cellFontSize?: string | number;
|
85
|
+
cellPadding?: string;
|
86
|
+
cellHeight?: string | number;
|
87
|
+
timeGridSlotHeight?: string | number;
|
88
|
+
timeGridSlotBorderColor?: string;
|
89
|
+
timeGridNowIndicatorColor?: string;
|
90
|
+
timeGridLabelFontSize?: string | number;
|
91
|
+
timeGridLabelColor?: string;
|
57
92
|
nowIndicatorColor?: string;
|
58
|
-
|
93
|
+
allDaySlot?: boolean;
|
94
|
+
allDayBackgroundColor?: string;
|
95
|
+
allDayTextColor?: string;
|
96
|
+
resourceAreaWidth?: string | number;
|
97
|
+
resourceBackgroundColor?: string;
|
59
98
|
resourceTextColor?: string;
|
60
99
|
resourceBorderColor?: string;
|
61
|
-
|
62
|
-
|
63
|
-
|
100
|
+
resourceFontSize?: string | number;
|
101
|
+
resourcePadding?: string;
|
102
|
+
resourceGroupCollapsible?: boolean;
|
103
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
104
|
+
borderWidth?: string;
|
105
|
+
borderColor?: string;
|
106
|
+
borderRadius?: string;
|
107
|
+
backgroundColor?: string;
|
108
|
+
fontFamily?: string;
|
109
|
+
elevation?: number;
|
110
|
+
gradientTheme?: 'none' | 'purple' | 'blue' | 'ocean' | 'sunset' | 'forest' | 'rose';
|
111
|
+
headerGradientTheme?: 'none' | 'purple' | 'blue' | 'ocean' | 'sunset' | 'forest' | 'rose';
|
112
|
+
cellGradientTheme?: 'none' | 'light' | 'subtle' | 'warm' | 'cool';
|
113
|
+
eventGradientTheme?: 'none' | 'purple' | 'blue' | 'green' | 'orange' | 'red' | 'gradient';
|
114
|
+
overlayColor?: string;
|
115
|
+
overlayOpacity?: 'none' | 'light' | 'medium' | 'strong';
|
116
|
+
glassEffect?: 'none' | 'light' | 'medium' | 'strong';
|
117
|
+
headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
|
118
|
+
textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
|
119
|
+
enableAnimations?: boolean;
|
120
|
+
animationSpeed?: 'slow' | 'medium' | 'fast';
|
121
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
122
|
+
customButtons?: Record<string, {
|
123
|
+
text: string;
|
124
|
+
click: () => void;
|
125
|
+
}>;
|
126
|
+
onEventAdd?: (e: any) => void;
|
64
127
|
configurationItemInfo?: ConfigurationItemInfo;
|
65
128
|
}
|
66
129
|
export declare const CalendarMolecule: React.FC<CalendarMoleculeProps>;
|
@@ -1,5 +1,8 @@
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
2
|
import { CalendarMolecule } from './CalendarMolecule';
|
3
|
-
declare const
|
4
|
-
export default
|
5
|
-
|
3
|
+
declare const meta: Meta<typeof CalendarMolecule>;
|
4
|
+
export default meta;
|
5
|
+
declare type Story = StoryObj<typeof CalendarMolecule>;
|
6
|
+
export declare const ResourcesWithVisits: Story;
|
7
|
+
export declare const Simple: Story;
|
8
|
+
export declare const Styled: Story;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { CalendarMoleculeProps } from './CalendarMolecule';
|
3
|
-
export declare const ResourceTimelineCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | '
|
3
|
+
export declare const ResourceTimelineCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableDayView' | 'enableWeekView' | 'enableMonthView' | 'enableDayListView' | 'enableWeekListView' | 'enableGridView' | 'enableTimelineView' | 'enableResourceView' | 'enableYearView'>>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { CalendarMoleculeProps } from './CalendarMolecule';
|
3
|
-
export declare const SimpleCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableYearView' | '
|
3
|
+
export declare const SimpleCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableYearView' | 'enableResourceView'>>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { CalendarMoleculeProps } from './CalendarMolecule';
|
3
|
-
export declare const YearViewCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | '
|
3
|
+
export declare const YearViewCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableDayView' | 'enableWeekView' | 'enableDayListView' | 'enableWeekListView' | 'enableGridView' | 'enableTimelineView' | 'enableResourceView'>>;
|
@@ -1,8 +1,10 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import { DatePickerProps as MuiDatePickerProps } from '@mui/x-date-pickers';
|
2
|
+
import React from 'react';
|
3
3
|
export interface DatePickerMoleculeProps extends MuiDatePickerProps {
|
4
4
|
required?: boolean;
|
5
5
|
placeholderText?: string;
|
6
|
+
requiredErrorText?: string;
|
7
|
+
validationErrorText?: string;
|
6
8
|
moleculeId?: string;
|
7
9
|
configurationItemInfo?: any;
|
8
10
|
text: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RichTextViewer.js","sources":["../../../../../src/components/RichTextViewer/RichTextViewer.tsx"],"sourcesContent":[null],"names":["MATRIX_MESSAGE_ELEMENT_ID","COMMUNICATION_LINK_ELEMENT_ID","MATRIX_MESSAGE_DATA_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","richTextDefaultValue","type","children","text","RichTextViewer","_a","value","numberOfLines","editor","useMemo","withReact","createEditor","slateValue","parsedValue","replace","JSON","parse","e","console","error","_jsx","Slate","__assign","Editable","readOnly","renderLeaf","props","Leaf","placeholder","renderElement","EditorElement","stringify"],"mappings":"meAKO,IAAMA,EAA4B,iBAC5BC,EAAgC,qBAChCC,EAAyB,oBACzBC,EAA8B,yBAC9BC,EAA+B,0BAE/BC,EAAqC,CAAC,CAAEC,KAAM,YAAaC,SAAU,CAAC,CAAEC,KAAM,OAO9EC,EAA0C,SAACC,OAAEC,EAAKD,EAAAC,MAAeD,EAAAE,cAC5E,IAAMC,EAASC,GAAQ,WAAM,OAAAC,EAAUC,OAAiB,IAEpDC,EAAaZ,EAEjB,GAAIM,SAA0D,iBAAVA,EAClDM,EAAaZ,MACR,CACL,IAAMa,EAAcP,EAAMQ,QAAQ,MAAO,IAEzC,IACEF,EAAaG,KAAKC,MAAMV,
|
1
|
+
{"version":3,"file":"RichTextViewer.js","sources":["../../../../../src/components/RichTextViewer/RichTextViewer.tsx"],"sourcesContent":[null],"names":["MATRIX_MESSAGE_ELEMENT_ID","COMMUNICATION_LINK_ELEMENT_ID","MATRIX_MESSAGE_DATA_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","richTextDefaultValue","type","children","text","RichTextViewer","_a","value","numberOfLines","editor","useMemo","withReact","createEditor","slateValue","parsedValue","replace","JSON","parse","e","console","error","_jsx","Slate","__assign","Editable","readOnly","renderLeaf","props","Leaf","placeholder","renderElement","EditorElement","stringify"],"mappings":"meAKO,IAAMA,EAA4B,iBAC5BC,EAAgC,qBAChCC,EAAyB,oBACzBC,EAA8B,yBAC9BC,EAA+B,0BAE/BC,EAAqC,CAAC,CAAEC,KAAM,YAAaC,SAAU,CAAC,CAAEC,KAAM,OAO9EC,EAA0C,SAACC,OAAEC,EAAKD,EAAAC,MAAeD,EAAAE,cAC5E,IAAMC,EAASC,GAAQ,WAAM,OAAAC,EAAUC,OAAiB,IAEpDC,EAAaZ,EAEjB,GAAIM,SAA0D,iBAAVA,EAClDM,EAAaZ,MACR,CACL,IAAMa,EAAcP,EAAMQ,QAAQ,MAAO,IAEzC,IACEF,EAAaG,KAAKC,MAAMV,EACzB,CAAC,MAAOW,GACPC,QAAQC,MAAMF,EAAG,uDAEjB,IACEL,EAAaG,KAAKC,MAAMH,EACzB,CAAC,MAAOM,GACPD,QAAQC,MAAMA,EAAO,2DACtB,CACF,CACF,CAKD,OACEC,EAACC,EAAuCC,EAAA,CAAAd,OAAQA,EAAQF,MAAOM,GAC7D,CAAAV,SAAAkB,EAACG,EACC,CAAAC,YACAC,WAPa,SAACC,GAA2B,OAAAN,EAACO,EAASL,EAAA,CAAA,EAAAI,GAAS,EAQ5DE,YAAY,oBACZC,cARgB,SAACH,GAA8B,OAAAN,EAACU,EAAkBR,EAAA,CAAA,EAAAI,GAAS,MAGnEX,KAAKgB,UAAUnB,GAS/B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Leaf.js","sources":["../../../../../../src/components/RichTextViewer/components/Leaf.tsx"],"sourcesContent":[null],"names":["Leaf","_a","leaf","children","attributes","_g","useMlrRichTextViewerContext","showAnnotations","annotationsList","isMLRReview","_h","useOrganismContext","isPreview","localStateObject","stateConfig","useStateContext","stateObject","tag","annotationTagIndex","tags","findIndex","id","_b","_jsxs","Stack","__assign","component","display","direction","alignItems","gap","MATRIX_MESSAGE_ELEMENT_ID","concat","MATRIX_MESSAGE_DATA_ID","_d","_jsx","style","backgroundColor","Circle","index","label","_c","type","bold","fontWeight","strikethrough","italic","fontStyle","underline","color","bgColor","fontSize","fontFamily","letterSpacing","lineHeight","variable","_j","_e","dataModelField","defaultValue","dataModelFieldId","pmiObjectName","dataFieldName","dataType","valueFromState","_f","value","date","Date","Number","isNaN","getTime","mm","String","getMonth","padStart","dd","getDate","yyyy","getFullYear","error","console","variablePlaceholder","finalValue","text","communicationLink","_k","url_1","url","isInternalLink","link","addInternalParamsToCurrentLink","annotationLinkIndex","links","annotationLink","_Fragment","marginBottom","COMMUNICATION_LINK_ELEMENT_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","defaultTheme","colors","blue","href","target","styled","span","templateObject_1","__makeTemplateObject"],"mappings":"mwjHAgBO,MAAMA,EAAO,SAACC,iBAAEC,SAAMC,EAAQF,EAAAE,SAAEC,EAAUH,EAAAG,WACzCC,EAAoDC,IAAlDC,EAAeF,EAAAE,gBAAEC,EAAeH,EAAAG,gBAAEC,EAAWJ,EAAAI,YAC/CC,EAAkCC,IAAhCC,EAASF,EAAAE,UAAEC,EAAgBH,EAAAG,iBAC3BC,EAAgBC,gBAElBC,EAAcH,GAAoBC,EAGxC,GAAIZ,EAAKe,IAAK,CACZ,IAAMC,EAAqBV,EAAgBW,KAAKC,WAAU,SAACnB,SAAEoB,EAAEpB,EAAAoB,GAAO,OAAU,UAAVnB,EAAKe,WAAK,IAAAK,OAAA,EAAAA,EAAAD,MAAOA,CAAE,IAAI,EAEzFZ,GAAeF,GAAqBW,IACtCf,EACEoB,EAACC,EACCC,EAAA,CAAAC,UAAU,OACVC,QAAQ,cACRC,UAAU,MACVC,WAAW,SACXC,IAAK,G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Ae,CAAAjD,SAAAA,MAExDD,EAAKmD,gBACPlD,EAAWgC,EAAA,OAAAV,EAAA,CAAMW,MAAO,CAAEiB,cAAenD,EAAKmD,gBAAkB,CAAAlD,SAAAA,MAE9DD,EAAKoD,aACPnD,EAAWgC,EAAA,OAAAV,EAAA,CAAMW,MAAO,CAAEkB,WAAYpD,EAAKoD,aAAe,CAAAnD,SAAAA,MAIxDD,EAAKqD,SAAU,CACX,IAAAC,
|
1
|
+
{"version":3,"file":"Leaf.js","sources":["../../../../../../src/components/RichTextViewer/components/Leaf.tsx"],"sourcesContent":[null],"names":["Leaf","_a","leaf","children","attributes","_g","useMlrRichTextViewerContext","showAnnotations","annotationsList","isMLRReview","_h","useOrganismContext","isPreview","localStateObject","stateConfig","useStateContext","stateObject","tag","annotationTagIndex","tags","findIndex","id","_b","_jsxs","Stack","__assign","component","display","direction","alignItems","gap","MATRIX_MESSAGE_ELEMENT_ID","concat","MATRIX_MESSAGE_DATA_ID","_d","_jsx","style","backgroundColor","Circle","index","label","_c","type","bold","fontWeight","strikethrough","italic","fontStyle","underline","color","bgColor","fontSize","fontFamily","letterSpacing","lineHeight","variable","_j","_e","dataModelField","defaultValue","dataModelFieldId","pmiObjectName","dataFieldName","dataType","valueFromState","_f","value","date","Date","Number","isNaN","getTime","mm","String","getMonth","padStart","dd","getDate","yyyy","getFullYear","error","console","variablePlaceholder","finalValue","text","communicationLink","_k","url_1","url","isInternalLink","link","addInternalParamsToCurrentLink","annotationLinkIndex","links","annotationLink","_Fragment","marginBottom","COMMUNICATION_LINK_ELEMENT_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","defaultTheme","colors","blue","href","target","styled","span","templateObject_1","__makeTemplateObject"],"mappings":"mwjHAgBO,MAAMA,EAAO,SAACC,iBAAEC,SAAMC,EAAQF,EAAAE,SAAEC,EAAUH,EAAAG,WACzCC,EAAoDC,IAAlDC,EAAeF,EAAAE,gBAAEC,EAAeH,EAAAG,gBAAEC,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AOgC,EAAU,OAAAV,EAAA,CAAA,EAAArB,EAAa,CAAAD,SAAAA,IAChC,EAEwBsG,EAAOC,KAAIC,IAAAA,EAAAC,EAAA,CAAA,oEAAA,CAAA"}
|
@@ -1,8 +1,22 @@
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react';
|
2
2
|
import { ContainerComponentProps } from 'containers';
|
3
|
+
import { SizesTypes } from 'theme/types';
|
3
4
|
import { ContainerStoriesComponent } from './ContainerStoriesComponent';
|
5
|
+
declare type StoryProps = Omit<ContainerComponentProps, 'instance'> & {
|
6
|
+
backgroundImage?: string[];
|
7
|
+
enableBackgroundImage?: boolean;
|
8
|
+
widePaddingTop?: SizesTypes;
|
9
|
+
widePaddingBottom?: SizesTypes;
|
10
|
+
widePaddingLeft?: SizesTypes;
|
11
|
+
widePaddingRight?: SizesTypes;
|
12
|
+
compactPaddingTop?: SizesTypes;
|
13
|
+
compactPaddingBottom?: SizesTypes;
|
14
|
+
compactPaddingLeft?: SizesTypes;
|
15
|
+
compactPaddingRight?: SizesTypes;
|
16
|
+
instance: 'container';
|
17
|
+
};
|
4
18
|
declare const meta: Meta<typeof ContainerStoriesComponent>;
|
5
19
|
export default meta;
|
6
|
-
declare type Story = StoryFn<
|
20
|
+
declare type Story = StoryFn<StoryProps>;
|
7
21
|
export declare const Container: Story;
|
8
22
|
export declare const HeaderWithDrawer: Story;
|