@zealicsolutions/web-ui 1.0.68 → 1.0.70
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/containers/types/moleculeTypes.d.ts +32 -4
- package/dist/cjs/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
- package/dist/cjs/index.js +1561 -1561
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +47 -0
- package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.stories.d.ts +38 -0
- package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +87 -31
- package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
- package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
- package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +98 -2
- package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +82 -2
- package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
- package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
- package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
- package/dist/cjs/molecules/Checkbox/Checkbox.d.ts +34 -0
- package/dist/cjs/molecules/Checkbox/Checkbox.stories.d.ts +23 -0
- package/dist/cjs/molecules/Consent/Consent.stories.d.ts +76 -7
- package/dist/cjs/molecules/Consent/ConsentMolecule.d.ts +10 -4
- package/dist/cjs/molecules/index.d.ts +22 -20
- package/dist/esm/components/Checkbox/Checkbox.js +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- 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/Container.stories.d.ts +15 -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/useCheckCondition.js +1 -1
- package/dist/esm/containers/hooks/useCheckCondition.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/containers/types/moleculeTypes.d.ts +32 -4
- 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/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/index.js +1 -1
- 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.d.ts +47 -0
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js +2 -0
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -0
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.stories.d.ts +38 -0
- package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +87 -31
- package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
- 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 +98 -2
- 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 +82 -2
- package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js +2 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js.map +1 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +2 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -0
- package/dist/esm/molecules/Checkbox/Checkbox.d.ts +34 -0
- package/dist/esm/molecules/Checkbox/Checkbox.js +2 -0
- package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -0
- package/dist/esm/molecules/Checkbox/Checkbox.stories.d.ts +23 -0
- 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 +76 -7
- package/dist/esm/molecules/Consent/ConsentMolecule.d.ts +10 -4
- 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/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.js +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +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/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.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.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/esm/molecules/index.d.ts +22 -20
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +1 -1
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +1 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +1 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
- package/dist/index.d.ts +686 -651
- package/package.json +3 -3
- package/dist/cjs/molecules/Consent/Consent.d.ts +0 -32
- package/dist/cjs/molecules/Consent/ConsentCapture.d.ts +0 -20
- package/dist/cjs/molecules/Consent/consentMock.d.ts +0 -7
- package/dist/esm/components/Checkbox/helpers.js +0 -2
- package/dist/esm/components/Checkbox/helpers.js.map +0 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
- package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
- package/dist/esm/molecules/Consent/Consent.d.ts +0 -32
- package/dist/esm/molecules/Consent/Consent.js +0 -2
- package/dist/esm/molecules/Consent/Consent.js.map +0 -1
- package/dist/esm/molecules/Consent/ConsentCapture.d.ts +0 -20
- package/dist/esm/molecules/Consent/ConsentCapture.js +0 -2
- package/dist/esm/molecules/Consent/ConsentCapture.js.map +0 -1
- package/dist/esm/molecules/Consent/consentMock.d.ts +0 -7
- /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
@@ -0,0 +1,229 @@
|
|
1
|
+
interface CalendarStylingProps {
|
2
|
+
width?: string | number;
|
3
|
+
marginLeft?: string;
|
4
|
+
marginTop?: string;
|
5
|
+
marginRight?: string;
|
6
|
+
marginBottom?: string;
|
7
|
+
paddingLeft?: string;
|
8
|
+
paddingTop?: string;
|
9
|
+
paddingRight?: string;
|
10
|
+
paddingBottom?: string;
|
11
|
+
buttonFontSize?: string | number;
|
12
|
+
buttonPaddingY?: string;
|
13
|
+
buttonPaddingX?: string;
|
14
|
+
buttonColor?: string;
|
15
|
+
buttonTextColor?: string;
|
16
|
+
buttonBorderColor?: string;
|
17
|
+
buttonFontWeight?: string | number;
|
18
|
+
buttonElevation?: number;
|
19
|
+
buttonHeight?: string | number;
|
20
|
+
buttonMinWidth?: string | number;
|
21
|
+
buttonMarginY?: string;
|
22
|
+
buttonMarginX?: string;
|
23
|
+
buttonBorderRadius?: string;
|
24
|
+
buttonHoverColor?: string;
|
25
|
+
buttonHoverTextColor?: string;
|
26
|
+
buttonHoverBorderColor?: string;
|
27
|
+
headerBackgroundColor?: string;
|
28
|
+
headerBorderColor?: string;
|
29
|
+
headerPadding?: string;
|
30
|
+
headerHeight?: string | number;
|
31
|
+
headerFontSize?: string | number;
|
32
|
+
headerFontWeight?: string | number;
|
33
|
+
headerTextColor?: string;
|
34
|
+
dayHeaderColor?: string;
|
35
|
+
dayHeaderFontWeight?: string | number;
|
36
|
+
eventBackgroundColor?: string;
|
37
|
+
eventBorderColor?: string;
|
38
|
+
eventTextColor?: string;
|
39
|
+
eventBorderRadius?: string;
|
40
|
+
eventOpacity?: number;
|
41
|
+
eventElevation?: number;
|
42
|
+
eventPadding?: string;
|
43
|
+
eventFontSize?: string | number;
|
44
|
+
eventFontFamily?: string;
|
45
|
+
eventFontWeight?: string | number;
|
46
|
+
cellBackgroundColor?: string;
|
47
|
+
cellHoverBackgroundColor?: string;
|
48
|
+
cellTodayBackgroundColor?: string;
|
49
|
+
cellBorderColor?: string;
|
50
|
+
cellTextColor?: string;
|
51
|
+
cellFontSize?: string | number;
|
52
|
+
cellPadding?: string;
|
53
|
+
cellHeight?: string | number;
|
54
|
+
timeGridSlotHeight?: string | number;
|
55
|
+
timeGridSlotBorderColor?: string;
|
56
|
+
timeGridNowIndicatorColor?: string;
|
57
|
+
timeGridLabelFontSize?: string | number;
|
58
|
+
timeGridLabelColor?: string;
|
59
|
+
nowIndicatorColor?: string;
|
60
|
+
allDayBackgroundColor?: string;
|
61
|
+
allDayTextColor?: string;
|
62
|
+
resourceAreaWidth?: string | number;
|
63
|
+
resourceBackgroundColor?: string;
|
64
|
+
resourceTextColor?: string;
|
65
|
+
resourceBorderColor?: string;
|
66
|
+
resourceFontSize?: string | number;
|
67
|
+
resourcePadding?: string;
|
68
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
69
|
+
borderWidth?: string;
|
70
|
+
borderColor?: string;
|
71
|
+
borderRadius?: string;
|
72
|
+
backgroundColor?: string;
|
73
|
+
fontFamily?: string;
|
74
|
+
elevation?: number;
|
75
|
+
enableAnimations?: boolean;
|
76
|
+
animationSpeed?: string;
|
77
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
78
|
+
showGridLines?: boolean;
|
79
|
+
}
|
80
|
+
export declare const useCalendarStyling: (props: CalendarStylingProps) => {
|
81
|
+
sx: {
|
82
|
+
readonly '& .fc': {
|
83
|
+
readonly borderRadius: string | undefined;
|
84
|
+
readonly borderColor: string | undefined;
|
85
|
+
readonly borderWidth: string | undefined;
|
86
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
87
|
+
readonly boxShadow: string;
|
88
|
+
readonly fontFamily: string | undefined;
|
89
|
+
readonly backgroundColor: string | undefined;
|
90
|
+
};
|
91
|
+
readonly '& .fc .fc-button': {
|
92
|
+
readonly transition?: string | undefined;
|
93
|
+
readonly '&:hover'?: {
|
94
|
+
backgroundColor: string | undefined;
|
95
|
+
color: string | undefined;
|
96
|
+
borderColor: string | undefined;
|
97
|
+
transform: string;
|
98
|
+
} | undefined;
|
99
|
+
readonly fontSize: string | number | undefined;
|
100
|
+
readonly padding: string | undefined;
|
101
|
+
readonly borderRadius: string | undefined;
|
102
|
+
readonly backgroundColor: string | undefined;
|
103
|
+
readonly color: string | undefined;
|
104
|
+
readonly borderColor: string | undefined;
|
105
|
+
readonly fontWeight: string | number | undefined;
|
106
|
+
readonly boxShadow: string;
|
107
|
+
readonly height: string | number | undefined;
|
108
|
+
readonly minWidth: string | number | undefined;
|
109
|
+
readonly margin: string | undefined;
|
110
|
+
};
|
111
|
+
readonly '& .fc-event': {
|
112
|
+
readonly transition?: string | undefined;
|
113
|
+
readonly '&:hover'?: {
|
114
|
+
transform: string;
|
115
|
+
boxShadow: string;
|
116
|
+
} | undefined;
|
117
|
+
readonly backgroundColor: string | undefined;
|
118
|
+
readonly color: string | undefined;
|
119
|
+
readonly borderColor: string | undefined;
|
120
|
+
readonly borderRadius: string | undefined;
|
121
|
+
readonly fontSize: string | number | undefined;
|
122
|
+
readonly fontWeight: string | number | undefined;
|
123
|
+
readonly opacity: number | undefined;
|
124
|
+
readonly boxShadow: string;
|
125
|
+
readonly padding: string | undefined;
|
126
|
+
readonly borderWidth: string | undefined;
|
127
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
128
|
+
};
|
129
|
+
readonly '& .fc .fc-daygrid-day, & .fc .fc-timegrid-slot, & .fc .fc-col-header-cell': {
|
130
|
+
readonly transition?: string | undefined;
|
131
|
+
readonly '&:hover'?: {
|
132
|
+
backgroundColor: string | undefined;
|
133
|
+
transform: string;
|
134
|
+
} | undefined;
|
135
|
+
readonly backgroundColor: string | undefined;
|
136
|
+
readonly borderColor: string | undefined;
|
137
|
+
readonly borderWidth: string | undefined;
|
138
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
139
|
+
readonly padding: string | undefined;
|
140
|
+
readonly height: string | number | undefined;
|
141
|
+
readonly color: string | undefined;
|
142
|
+
readonly fontSize: string | number | undefined;
|
143
|
+
};
|
144
|
+
readonly '& .fc .fc-day-today': {
|
145
|
+
readonly backgroundColor: string | undefined;
|
146
|
+
};
|
147
|
+
readonly '& .fc .fc-timegrid-all-day-slot': {
|
148
|
+
readonly backgroundColor: string | undefined;
|
149
|
+
};
|
150
|
+
readonly '& .fc .fc-timegrid-all-day-slot .fc-event': {
|
151
|
+
readonly color: string | undefined;
|
152
|
+
};
|
153
|
+
readonly '& .fc .fc-daygrid-day .fc-event[data-all-day="true"]': {
|
154
|
+
readonly color: string | undefined;
|
155
|
+
readonly backgroundColor: string | undefined;
|
156
|
+
};
|
157
|
+
readonly '& .fc .fc-scrollgrid-shim, & .fc .fc-timegrid-divider'?: {
|
158
|
+
display: string;
|
159
|
+
} | undefined;
|
160
|
+
readonly width: string | number | undefined;
|
161
|
+
readonly marginLeft: string | undefined;
|
162
|
+
readonly marginTop: string | undefined;
|
163
|
+
readonly marginRight: string | undefined;
|
164
|
+
readonly marginBottom: string | undefined;
|
165
|
+
readonly paddingLeft: string | undefined;
|
166
|
+
readonly paddingTop: string | undefined;
|
167
|
+
readonly paddingRight: string | undefined;
|
168
|
+
readonly paddingBottom: string | undefined;
|
169
|
+
readonly '& .fc .fc-toolbar': {
|
170
|
+
readonly backgroundColor: string | undefined;
|
171
|
+
readonly color: string | undefined;
|
172
|
+
readonly borderColor: string | undefined;
|
173
|
+
readonly padding: string | undefined;
|
174
|
+
readonly height: string | number | undefined;
|
175
|
+
readonly '& .fc-toolbar-title': {
|
176
|
+
readonly fontSize: string | number | undefined;
|
177
|
+
readonly fontWeight: string | number | undefined;
|
178
|
+
readonly color: string | undefined;
|
179
|
+
};
|
180
|
+
};
|
181
|
+
readonly '& .fc .fc-col-header-cell-cushion': {
|
182
|
+
readonly color: string | undefined;
|
183
|
+
readonly fontWeight: string | number | undefined;
|
184
|
+
};
|
185
|
+
readonly '& .fc .fc-timegrid-slot-label-cushion': {
|
186
|
+
readonly color: string | undefined;
|
187
|
+
readonly fontSize: string | number | undefined;
|
188
|
+
};
|
189
|
+
readonly '& .fc .fc-event': {
|
190
|
+
readonly color: string | undefined;
|
191
|
+
};
|
192
|
+
readonly '& .fc .fc-event:hover': {
|
193
|
+
readonly backgroundColor: string | undefined;
|
194
|
+
};
|
195
|
+
readonly '& .fc .fc-event-title': {
|
196
|
+
readonly fontSize: string | number | undefined;
|
197
|
+
readonly fontFamily: string | undefined;
|
198
|
+
readonly fontWeight: string | number | undefined;
|
199
|
+
};
|
200
|
+
readonly '& .fc .fc-now-indicator': {
|
201
|
+
readonly backgroundColor: string | undefined;
|
202
|
+
};
|
203
|
+
readonly '& .fc .fc-timegrid-now-indicator-line': {
|
204
|
+
readonly backgroundColor: string | undefined;
|
205
|
+
};
|
206
|
+
readonly '& .fc .fc-timegrid-slot': {
|
207
|
+
readonly height: string | number | undefined;
|
208
|
+
readonly borderColor: string | undefined;
|
209
|
+
};
|
210
|
+
readonly '& .fc .fc-resource-area': {
|
211
|
+
readonly backgroundColor: string | undefined;
|
212
|
+
readonly width: string | number | undefined;
|
213
|
+
readonly borderColor: string | undefined;
|
214
|
+
readonly '& .fc-resource-cell': {
|
215
|
+
readonly color: string | undefined;
|
216
|
+
readonly fontSize: string | number | undefined;
|
217
|
+
readonly padding: string | undefined;
|
218
|
+
};
|
219
|
+
};
|
220
|
+
readonly '& .fc .fc-resource .fc-resource-title': {
|
221
|
+
readonly color: string | undefined;
|
222
|
+
};
|
223
|
+
readonly '& .fc .fc-resource-area-cell': {
|
224
|
+
readonly borderColor: string | undefined;
|
225
|
+
};
|
226
|
+
};
|
227
|
+
getMaterialElevation: (elevation?: number) => string;
|
228
|
+
};
|
229
|
+
export {};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
2
|
+
import { FC } from 'react';
|
3
|
+
export declare type CheckboxProps = {
|
4
|
+
moleculeId?: string;
|
5
|
+
name: string;
|
6
|
+
label?: string;
|
7
|
+
textColor?: string;
|
8
|
+
fontSize?: string;
|
9
|
+
fontFamily?: string;
|
10
|
+
fontWeight?: string;
|
11
|
+
textAlign?: 'left' | 'center' | 'right' | 'justify';
|
12
|
+
disabled?: boolean;
|
13
|
+
required?: boolean;
|
14
|
+
requiredErrorText?: string;
|
15
|
+
validationErrorText?: string;
|
16
|
+
iconName?: string;
|
17
|
+
iconColor?: string;
|
18
|
+
checkedIconName?: string;
|
19
|
+
checkedIconColor?: string;
|
20
|
+
iconSize?: 'small' | 'medium' | 'large';
|
21
|
+
labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
|
22
|
+
paddingTop?: string;
|
23
|
+
paddingRight?: string;
|
24
|
+
paddingBottom?: string;
|
25
|
+
paddingLeft?: string;
|
26
|
+
marginTop?: string;
|
27
|
+
marginRight?: string;
|
28
|
+
marginBottom?: string;
|
29
|
+
marginLeft?: string;
|
30
|
+
sourceDataModelField?: string;
|
31
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
32
|
+
isDisplayOnly?: boolean;
|
33
|
+
};
|
34
|
+
export declare const Checkbox: FC<CheckboxProps>;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { CheckboxProps } from './Checkbox';
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
3
|
+
export default _default;
|
4
|
+
/** Default checkbox */
|
5
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
6
|
+
/** Required checkbox with validation */
|
7
|
+
export declare const Required: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
8
|
+
/** Disabled checkbox */
|
9
|
+
export declare const Disabled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
10
|
+
/** Display-only variant */
|
11
|
+
export declare const DisplayOnly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
12
|
+
/** Custom styled checkbox */
|
13
|
+
export declare const CustomStyled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
14
|
+
/** Small size variant */
|
15
|
+
export declare const SmallSize: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
16
|
+
/** Large size variant */
|
17
|
+
export declare const LargeSize: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
18
|
+
/** Label placement variants */
|
19
|
+
export declare const LabelTop: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
20
|
+
export declare const LabelBottom: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
21
|
+
export declare const Standalone: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
22
|
+
/** Custom icons with different lucid-react icons */
|
23
|
+
export declare const CustomIcons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
|
@@ -1,8 +1,77 @@
|
|
1
|
-
|
2
|
-
import { Consent as ConsentComponent } from 'molecules/Consent/Consent';
|
3
|
-
declare const _default: {
|
4
|
-
title: string;
|
5
|
-
component: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: import("molecules/Consent/Consent").ConsentProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
6
|
-
};
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
7
2
|
export default _default;
|
8
|
-
|
3
|
+
/** Default consent molecule */
|
4
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
5
|
+
properties: Partial<{
|
6
|
+
consent: Partial<{
|
7
|
+
attributeType: "consent";
|
8
|
+
consent: ConsentType;
|
9
|
+
required: import("../..").BooleanProperties;
|
10
|
+
dataCaptureName: string;
|
11
|
+
predefinedValue: string;
|
12
|
+
}>;
|
13
|
+
conditionConfig: import("../..").ConditionConfigProperties;
|
14
|
+
}>;
|
15
|
+
htmlElementId: string;
|
16
|
+
isOnClickDisabled?: boolean | undefined;
|
17
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
18
|
+
paddingTop?: string | undefined;
|
19
|
+
paddingRight?: string | undefined;
|
20
|
+
paddingBottom?: string | undefined;
|
21
|
+
paddingLeft?: string | undefined;
|
22
|
+
marginTop?: string | undefined;
|
23
|
+
marginRight?: string | undefined;
|
24
|
+
marginBottom?: string | undefined;
|
25
|
+
marginLeft?: string | undefined;
|
26
|
+
width?: string | number | undefined;
|
27
|
+
}>;
|
28
|
+
/** Consent with custom spacing */
|
29
|
+
export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
30
|
+
properties: Partial<{
|
31
|
+
consent: Partial<{
|
32
|
+
attributeType: "consent";
|
33
|
+
consent: ConsentType;
|
34
|
+
required: import("../..").BooleanProperties;
|
35
|
+
dataCaptureName: string;
|
36
|
+
predefinedValue: string;
|
37
|
+
}>;
|
38
|
+
conditionConfig: import("../..").ConditionConfigProperties;
|
39
|
+
}>;
|
40
|
+
htmlElementId: string;
|
41
|
+
isOnClickDisabled?: boolean | undefined;
|
42
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
43
|
+
paddingTop?: string | undefined;
|
44
|
+
paddingRight?: string | undefined;
|
45
|
+
paddingBottom?: string | undefined;
|
46
|
+
paddingLeft?: string | undefined;
|
47
|
+
marginTop?: string | undefined;
|
48
|
+
marginRight?: string | undefined;
|
49
|
+
marginBottom?: string | undefined;
|
50
|
+
marginLeft?: string | undefined;
|
51
|
+
width?: string | number | undefined;
|
52
|
+
}>;
|
53
|
+
/** Consent with custom width */
|
54
|
+
export declare const CustomWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
55
|
+
properties: Partial<{
|
56
|
+
consent: Partial<{
|
57
|
+
attributeType: "consent";
|
58
|
+
consent: ConsentType;
|
59
|
+
required: import("../..").BooleanProperties;
|
60
|
+
dataCaptureName: string;
|
61
|
+
predefinedValue: string;
|
62
|
+
}>;
|
63
|
+
conditionConfig: import("../..").ConditionConfigProperties;
|
64
|
+
}>;
|
65
|
+
htmlElementId: string;
|
66
|
+
isOnClickDisabled?: boolean | undefined;
|
67
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
68
|
+
paddingTop?: string | undefined;
|
69
|
+
paddingRight?: string | undefined;
|
70
|
+
paddingBottom?: string | undefined;
|
71
|
+
paddingLeft?: string | undefined;
|
72
|
+
marginTop?: string | undefined;
|
73
|
+
marginRight?: string | undefined;
|
74
|
+
marginBottom?: string | undefined;
|
75
|
+
marginLeft?: string | undefined;
|
76
|
+
width?: string | number | undefined;
|
77
|
+
}>;
|
@@ -1,12 +1,18 @@
|
|
1
1
|
import { ConfigurationItemInfo, ConsentFieldMoleculeType } from 'containers';
|
2
|
-
import type { AnyObject } from 'typescript';
|
3
2
|
declare type ConsentMoleculeProps = {
|
4
3
|
properties: ConsentFieldMoleculeType['properties'];
|
5
|
-
config: ConsentFieldMoleculeType['config'];
|
6
|
-
formData?: AnyObject;
|
7
4
|
htmlElementId: string;
|
8
5
|
isOnClickDisabled?: boolean;
|
9
6
|
configurationItemInfo?: ConfigurationItemInfo;
|
7
|
+
paddingTop?: string;
|
8
|
+
paddingRight?: string;
|
9
|
+
paddingBottom?: string;
|
10
|
+
paddingLeft?: string;
|
11
|
+
marginTop?: string;
|
12
|
+
marginRight?: string;
|
13
|
+
marginBottom?: string;
|
14
|
+
marginLeft?: string;
|
15
|
+
width?: string | number;
|
10
16
|
};
|
11
|
-
export declare const ConsentMolecule: ({
|
17
|
+
export declare const ConsentMolecule: ({ properties, htmlElementId, configurationItemInfo, paddingTop, paddingRight, paddingBottom, paddingLeft, marginTop, marginRight, marginBottom, marginLeft, width, }: ConsentMoleculeProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
12
18
|
export {};
|
@@ -1,29 +1,31 @@
|
|
1
|
+
export * from './Alert/Alert';
|
2
|
+
export * from './Badge/Badge';
|
3
|
+
export * from './BasicTextField/BasicTextField';
|
4
|
+
export * from './Button/Button';
|
5
|
+
export * from './Checklist/Checklist';
|
6
|
+
export * from './Chip/Chip';
|
7
|
+
export * from './Consent/ConsentMolecule';
|
1
8
|
export * from './CustomValidation/CustomValidation';
|
9
|
+
export * from './DatePicker/DatePicker';
|
10
|
+
export * from './Divider/Divider';
|
2
11
|
export * from './Drawer/Drawer';
|
3
|
-
export { PdfDocument, PdfDocumentProps } from './PdfDocument/PdfDocument';
|
4
12
|
export * from './Icon';
|
5
|
-
export * from './RichText/TextMolecule';
|
6
|
-
export * from './ZealUIModal/ZealUIModal';
|
7
|
-
export * from './Consent/Consent';
|
8
|
-
export * from './Checklist/Checklist';
|
9
|
-
export * from './Divider/Divider';
|
10
|
-
export * from './Link/Link';
|
11
|
-
export * from './Video/Video';
|
12
13
|
export * from './Image/Image';
|
13
|
-
export * from './
|
14
|
-
export * from './Stepper/Stepper';
|
15
|
-
export * from './Switch/Switch';
|
16
|
-
export * from './Chip/Chip';
|
17
|
-
export * from './Badge/Badge';
|
18
|
-
export * from './Alert/Alert';
|
19
|
-
export * from './BasicTextField/BasicTextField';
|
20
|
-
export * from './Rating/Rating';
|
21
|
-
export * from './Slider/Slider';
|
22
|
-
export * from './DatePicker/DatePicker';
|
23
|
-
export * from './Select/Select';
|
14
|
+
export * from './Link/Link';
|
24
15
|
export * from './PasswordSetup/PasswordSetup';
|
25
16
|
export * from './PasswordSetup/types';
|
26
17
|
export * from './PasswordSetup/utils';
|
18
|
+
export { PdfDocument, PdfDocumentProps } from './PdfDocument/PdfDocument';
|
19
|
+
export * from './Rating/Rating';
|
20
|
+
export * from './RichText/TextMolecule';
|
21
|
+
export * from './Select/Select';
|
22
|
+
export * from './Slider/Slider';
|
23
|
+
export * from './Stepper/Stepper';
|
24
|
+
export * from './Switch/Switch';
|
25
|
+
export * from './Video/Video';
|
26
|
+
export * from './ZealUIModal/ZealUIModal';
|
27
|
+
export * from './BinaryRadioButtons/BinaryRadioButtons';
|
28
|
+
export * from './Checkbox/Checkbox';
|
29
|
+
export * from './ContentWrapper/ContentWrapper';
|
27
30
|
export * from './SpeedDial/SpeedDial';
|
28
31
|
export * from './SpeedDial/types';
|
29
|
-
export * from './ContentWrapper/ContentWrapper';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{__makeTemplateObject as e
|
1
|
+
import{__makeTemplateObject as e}from"../../node_modules/tslib/tslib.es6.js";import"react/jsx-runtime";import"../../node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js";import"react";import"../../node_modules/stylis/dist/umd/stylis.js";import"../../node_modules/@babel/runtime/helpers/extends.js";import"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";import t from"../../node_modules/@emotion/styled/dist/emotion-styled.esm.js";import{css as n}from"../../node_modules/@emotion/react/dist/emotion-react.esm.js";import{getSizeStyle as s}from"../../helpers/styles.js";import{TouchableOpacity as o}from"../Buttons/TouchableOpacity.js";import{Icon as i}from"../Icon/Icon.js";import"../../node_modules/slate/dist/index.es.js";import"../../node_modules/slate-react/dist/index.es.js";import"../RichTextViewer/components/EditorElement.js";import"../RichTextViewer/components/Leaf.js";import"../Spacer/Spacer.js";import"../TextWrapper/TextWrapper.js";import"../../theme/theme.js";import"../../theme/provider.js";import"../../theme/toastStyles.js";var r,m,d,p,l;n(r||(r=e(["\n cursor: unset;\n pointer-events: none;\n opacity: 0.6;\n"],["\n cursor: unset;\n pointer-events: none;\n opacity: 0.6;\n"]))),t(o)(m||(m=e(["\n width: fit-content;\n display: flex;\n align-items: center;\n ","\n"],["\n width: fit-content;\n display: flex;\n align-items: center;\n ","\n"])),(function(e){return e.$styles})),t(i)(d||(d=e(["\n display: flex;\n"],["\n display: flex;\n"]))),t.div(l||(l=e(["\n display: flex;\n margin: 8px 0;\n border-width: 1px;\n align-items: center;\n justify-content: center;\n border-style: solid;\n ","\n"],["\n display: flex;\n margin: 8px 0;\n border-width: 1px;\n align-items: center;\n justify-content: center;\n border-style: solid;\n ","\n"])),(function(t){var o=t.theme.sizes,i=t.$styles;return n(p||(p=e(["\n border-radius: ","px;\n ",";\n ","\n "],["\n border-radius: ","px;\n ",";\n ","\n "])),o.XS,s(o.M),i)}));
|
2
2
|
//# sourceMappingURL=Checkbox.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sources":["../../../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":[null],"names":["
|
1
|
+
{"version":3,"file":"Checkbox.js","sources":["../../../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":[null],"names":["css","templateObject_1","__makeTemplateObject","styled","TouchableOpacity","templateObject_2","_a","$styles","Icon","templateObject_3","div","templateObject_5","sizes","theme","XS","getSizeStyle","M"],"mappings":"ykCAoGsCA,EAAGC,IAAAA,EAAAC,EAAA,CAAA,kEAAA,CAAA,qEAMzBC,EAAOC,EAAPD,CAA0CE,IAAAA,EAAAH,EAAA,CAAA,wEAAA,MAAA,CAAA,wEAI9B,SAAxB,SAACI,GAAgB,OAAPA,EAAAC,OAAO,IAGHJ,EAAOK,EAAPL,CAAYM,IAAAA,EAAAP,EAAA,CAAA,wBAAA,CAAA,2BAIlBC,EAAOO,IAAqBC,IAAAA,EAAAT,EAAA,CAAA,6IAAA,MAAA,CAAA,6IAWrC,SAJC,SAACI,OAAWM,EAAKN,EAAAO,MAAAD,MAAIL,EAAOD,EAAAC,QAAO,OAAAP,kEAAG,wBACb,YACF,UACd,UAFQY,EAAME,GACrBC,EAAaH,EAAMI,GACnBT,EAHiC"}
|