@zealicsolutions/web-ui 1.0.60-test.1 → 1.0.60-test.3

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.
Files changed (40) hide show
  1. package/dist/cjs/index.js +247 -247
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +75 -24
  4. package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +3 -17
  5. package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +95 -2
  6. package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  7. package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +85 -2
  8. package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  9. package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  10. package/dist/cjs/molecules/DatePicker/DatePicker.d.ts +3 -1
  11. package/dist/esm/containers/FormContainer.js +1 -1
  12. package/dist/esm/containers/FormContainer.js.map +1 -1
  13. package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +75 -24
  14. package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +3 -17
  15. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +95 -2
  16. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js +1 -1
  17. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
  18. package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  19. package/dist/esm/molecules/Calendar/SimpleCalendar.js +1 -1
  20. package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
  21. package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +85 -2
  22. package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
  23. package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
  24. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  25. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js +2 -0
  26. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js.map +1 -0
  27. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  28. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +2 -0
  29. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -0
  30. package/dist/esm/molecules/DatePicker/DatePicker.d.ts +3 -1
  31. package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
  32. package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
  33. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +1 -1
  34. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +1 -1
  35. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +1 -1
  36. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +1 -1
  37. package/dist/index.d.ts +77 -24
  38. package/package.json +1 -1
  39. package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
  40. package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
@@ -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 {};
@@ -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;