@scmlatam/web-ui 0.1.96 → 0.1.98

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 (69) hide show
  1. package/dist/src/App.d.ts +2 -0
  2. package/dist/src/api/fake.d.ts +5 -0
  3. package/dist/src/auth.d.ts +26 -0
  4. package/dist/src/components/contextmenu/Contextmenu.d.ts +3 -0
  5. package/dist/src/components/core/Core.d.ts +3 -0
  6. package/dist/src/components/core/context/Context.d.ts +28 -0
  7. package/dist/src/components/core/context/Provider.d.ts +5 -0
  8. package/dist/src/components/core/dashboard/Dashboard.d.ts +3 -0
  9. package/dist/src/components/core/dashboard/account/Account.d.ts +11 -0
  10. package/dist/src/components/core/dashboard/content/Content.d.ts +3 -0
  11. package/dist/src/components/core/dashboard/search/Search.d.ts +2 -0
  12. package/dist/src/components/core/dashboard/sidebar/CompactItem.d.ts +3 -0
  13. package/dist/src/components/core/dashboard/sidebar/Content.d.ts +3 -0
  14. package/dist/src/components/core/dashboard/sidebar/ExtendGroupItem.d.ts +3 -0
  15. package/dist/src/components/core/dashboard/sidebar/Footer.d.ts +3 -0
  16. package/dist/src/components/core/dashboard/sidebar/Header.d.ts +3 -0
  17. package/dist/src/components/core/dashboard/sidebar/Sidebar.d.ts +3 -0
  18. package/dist/src/components/core/dashboard/sidebar/SubItem.d.ts +3 -0
  19. package/dist/src/components/core/signin/SignIn.d.ts +12 -0
  20. package/dist/src/components/core/system/Alert.d.ts +4 -0
  21. package/dist/src/components/form/Form.d.ts +3 -0
  22. package/dist/src/components/form/autocomplete/Autocomplete.d.ts +11 -0
  23. package/dist/src/components/form/datefield/range/DateRangeCalendar.d.ts +11 -0
  24. package/dist/src/components/form/datefield/range/DateRangePicker.d.ts +13 -0
  25. package/dist/src/components/form/datefield/range/Datefield.d.ts +9 -0
  26. package/dist/src/components/form/datefield/simple/DatePicker.d.ts +12 -0
  27. package/dist/src/components/form/datefield/simple/Datefield.d.ts +12 -0
  28. package/dist/src/components/form/datefield/simple/Timefield.d.ts +12 -0
  29. package/dist/src/components/form/file/FileField.d.ts +4 -0
  30. package/dist/src/components/form/select/MultiSelect.d.ts +3 -0
  31. package/dist/src/components/form/select/Select.d.ts +3 -0
  32. package/dist/src/components/form/sheet/Sheet.d.ts +13 -0
  33. package/dist/src/components/form/treewiew/Treeview.d.ts +6 -0
  34. package/dist/src/components/main.d.ts +14 -0
  35. package/dist/src/components/table/Table.d.ts +3 -0
  36. package/dist/src/components/table/toolbar/Toolbar.d.ts +3 -0
  37. package/dist/src/components/table/toolbar/datefield/range/DateRangePicker.d.ts +15 -0
  38. package/dist/src/components/table/toolbar/datefield/range/Datefield.d.ts +10 -0
  39. package/dist/src/components/table/toolbar/datefield/simple/DatePicker.d.ts +12 -0
  40. package/dist/src/components/table/toolbar/datefield/simple/Datefield.d.ts +11 -0
  41. package/dist/src/components/table/toolbar/select/MultiSelect.d.ts +3 -0
  42. package/dist/src/components/table/toolbar/select/Select.d.ts +3 -0
  43. package/dist/src/hooks/useForm.d.ts +2 -0
  44. package/dist/src/hooks/useSidebar.d.ts +6 -0
  45. package/dist/src/hooks/useSystemAlert.d.ts +6 -0
  46. package/dist/src/hooks/useTable.d.ts +18 -0
  47. package/dist/src/main.d.ts +0 -0
  48. package/dist/src/mock/SidebarData.d.ts +35 -0
  49. package/dist/src/mock/TableData.d.ts +3 -0
  50. package/dist/src/pages/Home.d.ts +3 -0
  51. package/dist/src/pages/Timekeeper.d.ts +3 -0
  52. package/dist/src/router/Router.d.ts +12 -0
  53. package/dist/src/shims/chevrotain.d.ts +1 -0
  54. package/dist/src/themes/GoodRabbitButtons.d.ts +32 -0
  55. package/dist/src/themes/GoodRabbitColors.d.ts +193 -0
  56. package/dist/src/themes/GoodRabbitDarkTheme.d.ts +375 -0
  57. package/dist/src/themes/GoodRabbitInputLabel.d.ts +11 -0
  58. package/dist/src/themes/GoodRabbitLightTheme.d.ts +2 -0
  59. package/dist/src/themes/GoodRabbitOutlinedInput.d.ts +43 -0
  60. package/dist/src/themes/GoodRabbitTextField.d.ts +59 -0
  61. package/dist/src/themes/GoodRabbitTypography.d.ts +46 -0
  62. package/dist/web-ui.js +2769 -73982
  63. package/dist/web-ui.umd.cjs +1 -752
  64. package/package.json +14 -11
  65. package/dist/context-CRqFLvGk.js +0 -7
  66. package/dist/extends-9CbO0Z4Q.js +0 -12
  67. package/dist/fp.esm-BNINKTlV.js +0 -1526
  68. package/dist/get-context-qXpuAzJ1.js +0 -106
  69. package/dist/web-ui.d.ts +0 -178
@@ -0,0 +1,193 @@
1
+ declare const GoodRabbitColors: {
2
+ "gr-purple": {
3
+ main: string;
4
+ 50: string;
5
+ 100: string;
6
+ 200: string;
7
+ 300: string;
8
+ 400: string;
9
+ 500: string;
10
+ 600: string;
11
+ 700: string;
12
+ 800: string;
13
+ 900: string;
14
+ 950: string;
15
+ };
16
+ "gr-lilac": {
17
+ main: string;
18
+ 50: string;
19
+ 100: string;
20
+ 200: string;
21
+ 300: string;
22
+ 400: string;
23
+ 500: string;
24
+ 600: string;
25
+ 700: string;
26
+ 800: string;
27
+ 900: string;
28
+ 950: string;
29
+ };
30
+ "gr-pink": {
31
+ main: string;
32
+ 50: string;
33
+ 100: string;
34
+ 200: string;
35
+ 300: string;
36
+ 400: string;
37
+ 500: string;
38
+ 600: string;
39
+ 700: string;
40
+ 800: string;
41
+ 900: string;
42
+ 950: string;
43
+ };
44
+ "gr-red": {
45
+ main: string;
46
+ 50: string;
47
+ 100: string;
48
+ 200: string;
49
+ 300: string;
50
+ 400: string;
51
+ 500: string;
52
+ 600: string;
53
+ 700: string;
54
+ 800: string;
55
+ 900: string;
56
+ 950: string;
57
+ };
58
+ "gr-orange": {
59
+ main: string;
60
+ 50: string;
61
+ 100: string;
62
+ 200: string;
63
+ 300: string;
64
+ 400: string;
65
+ 500: string;
66
+ 600: string;
67
+ 700: string;
68
+ 800: string;
69
+ 900: string;
70
+ 950: string;
71
+ };
72
+ "gr-yellow": {
73
+ main: string;
74
+ 50: string;
75
+ 100: string;
76
+ 200: string;
77
+ 300: string;
78
+ 400: string;
79
+ 500: string;
80
+ 600: string;
81
+ 700: string;
82
+ 800: string;
83
+ 900: string;
84
+ 950: string;
85
+ };
86
+ "gr-moss-green": {
87
+ main: string;
88
+ 50: string;
89
+ 100: string;
90
+ 200: string;
91
+ 300: string;
92
+ 400: string;
93
+ 500: string;
94
+ 600: string;
95
+ 700: string;
96
+ 800: string;
97
+ 900: string;
98
+ 950: string;
99
+ };
100
+ "gr-green": {
101
+ main: string;
102
+ 50: string;
103
+ 100: string;
104
+ 200: string;
105
+ 300: string;
106
+ 400: string;
107
+ 500: string;
108
+ 600: string;
109
+ 700: string;
110
+ 800: string;
111
+ 900: string;
112
+ 950: string;
113
+ };
114
+ "gr-neon-green": {
115
+ main: string;
116
+ 50: string;
117
+ 100: string;
118
+ 200: string;
119
+ 300: string;
120
+ 400: string;
121
+ 500: string;
122
+ 600: string;
123
+ 700: string;
124
+ 800: string;
125
+ 900: string;
126
+ 950: string;
127
+ };
128
+ "gr-sky-blue": {
129
+ main: string;
130
+ 50: string;
131
+ 100: string;
132
+ 200: string;
133
+ 300: string;
134
+ 400: string;
135
+ 500: string;
136
+ 600: string;
137
+ 700: string;
138
+ 800: string;
139
+ 900: string;
140
+ 950: string;
141
+ };
142
+ "gr-midium-blue": {
143
+ main: string;
144
+ 50: string;
145
+ 100: string;
146
+ 200: string;
147
+ 300: string;
148
+ 400: string;
149
+ 500: string;
150
+ 600: string;
151
+ 700: string;
152
+ 800: string;
153
+ 900: string;
154
+ 950: string;
155
+ };
156
+ "gr-blue": {
157
+ main: string;
158
+ 50: string;
159
+ 100: string;
160
+ 200: string;
161
+ 300: string;
162
+ 400: string;
163
+ 500: string;
164
+ 600: string;
165
+ 700: string;
166
+ 800: string;
167
+ 900: string;
168
+ 950: string;
169
+ };
170
+ "gr-grey": {
171
+ main: string;
172
+ dark: string;
173
+ light: string;
174
+ 50: string;
175
+ 100: string;
176
+ 200: string;
177
+ 300: string;
178
+ 400: string;
179
+ 500: string;
180
+ 600: string;
181
+ 700: string;
182
+ 800: string;
183
+ 900: string;
184
+ 950: string;
185
+ };
186
+ "gr-base-dark": {
187
+ main: string;
188
+ };
189
+ "gr-base-light": {
190
+ main: string;
191
+ };
192
+ };
193
+ export { GoodRabbitColors };
@@ -0,0 +1,375 @@
1
+ import { PaletteMode } from '@mui/material';
2
+ declare const BaseGoodRabbitDarkTheme: {
3
+ palette: {
4
+ "gr-purple": {
5
+ main: string;
6
+ 50: string;
7
+ 100: string;
8
+ 200: string;
9
+ 300: string;
10
+ 400: string;
11
+ 500: string;
12
+ 600: string;
13
+ 700: string;
14
+ 800: string;
15
+ 900: string;
16
+ 950: string;
17
+ };
18
+ "gr-lilac": {
19
+ main: string;
20
+ 50: string;
21
+ 100: string;
22
+ 200: string;
23
+ 300: string;
24
+ 400: string;
25
+ 500: string;
26
+ 600: string;
27
+ 700: string;
28
+ 800: string;
29
+ 900: string;
30
+ 950: string;
31
+ };
32
+ "gr-pink": {
33
+ main: string;
34
+ 50: string;
35
+ 100: string;
36
+ 200: string;
37
+ 300: string;
38
+ 400: string;
39
+ 500: string;
40
+ 600: string;
41
+ 700: string;
42
+ 800: string;
43
+ 900: string;
44
+ 950: string;
45
+ };
46
+ "gr-red": {
47
+ main: string;
48
+ 50: string;
49
+ 100: string;
50
+ 200: string;
51
+ 300: string;
52
+ 400: string;
53
+ 500: string;
54
+ 600: string;
55
+ 700: string;
56
+ 800: string;
57
+ 900: string;
58
+ 950: string;
59
+ };
60
+ "gr-orange": {
61
+ main: string;
62
+ 50: string;
63
+ 100: string;
64
+ 200: string;
65
+ 300: string;
66
+ 400: string;
67
+ 500: string;
68
+ 600: string;
69
+ 700: string;
70
+ 800: string;
71
+ 900: string;
72
+ 950: string;
73
+ };
74
+ "gr-yellow": {
75
+ main: string;
76
+ 50: string;
77
+ 100: string;
78
+ 200: string;
79
+ 300: string;
80
+ 400: string;
81
+ 500: string;
82
+ 600: string;
83
+ 700: string;
84
+ 800: string;
85
+ 900: string;
86
+ 950: string;
87
+ };
88
+ "gr-moss-green": {
89
+ main: string;
90
+ 50: string;
91
+ 100: string;
92
+ 200: string;
93
+ 300: string;
94
+ 400: string;
95
+ 500: string;
96
+ 600: string;
97
+ 700: string;
98
+ 800: string;
99
+ 900: string;
100
+ 950: string;
101
+ };
102
+ "gr-green": {
103
+ main: string;
104
+ 50: string;
105
+ 100: string;
106
+ 200: string;
107
+ 300: string;
108
+ 400: string;
109
+ 500: string;
110
+ 600: string;
111
+ 700: string;
112
+ 800: string;
113
+ 900: string;
114
+ 950: string;
115
+ };
116
+ "gr-neon-green": {
117
+ main: string;
118
+ 50: string;
119
+ 100: string;
120
+ 200: string;
121
+ 300: string;
122
+ 400: string;
123
+ 500: string;
124
+ 600: string;
125
+ 700: string;
126
+ 800: string;
127
+ 900: string;
128
+ 950: string;
129
+ };
130
+ "gr-sky-blue": {
131
+ main: string;
132
+ 50: string;
133
+ 100: string;
134
+ 200: string;
135
+ 300: string;
136
+ 400: string;
137
+ 500: string;
138
+ 600: string;
139
+ 700: string;
140
+ 800: string;
141
+ 900: string;
142
+ 950: string;
143
+ };
144
+ "gr-midium-blue": {
145
+ main: string;
146
+ 50: string;
147
+ 100: string;
148
+ 200: string;
149
+ 300: string;
150
+ 400: string;
151
+ 500: string;
152
+ 600: string;
153
+ 700: string;
154
+ 800: string;
155
+ 900: string;
156
+ 950: string;
157
+ };
158
+ "gr-blue": {
159
+ main: string;
160
+ 50: string;
161
+ 100: string;
162
+ 200: string;
163
+ 300: string;
164
+ 400: string;
165
+ 500: string;
166
+ 600: string;
167
+ 700: string;
168
+ 800: string;
169
+ 900: string;
170
+ 950: string;
171
+ };
172
+ "gr-grey": {
173
+ main: string;
174
+ dark: string;
175
+ light: string;
176
+ 50: string;
177
+ 100: string;
178
+ 200: string;
179
+ 300: string;
180
+ 400: string;
181
+ 500: string;
182
+ 600: string;
183
+ 700: string;
184
+ 800: string;
185
+ 900: string;
186
+ 950: string;
187
+ };
188
+ "gr-base-dark": {
189
+ main: string;
190
+ };
191
+ "gr-base-light": {
192
+ main: string;
193
+ };
194
+ mode: PaletteMode;
195
+ background: {
196
+ default: string;
197
+ paper: string;
198
+ };
199
+ primary: {
200
+ main: string;
201
+ };
202
+ secondary: {
203
+ main: string;
204
+ };
205
+ success: {
206
+ main: string;
207
+ };
208
+ warning: {
209
+ main: string;
210
+ };
211
+ error: {
212
+ main: string;
213
+ };
214
+ info: {
215
+ main: string;
216
+ };
217
+ };
218
+ typography: {
219
+ fontFamily: string;
220
+ h1: {
221
+ fontFamily: string;
222
+ fontWeight: string;
223
+ fontSize: string;
224
+ color: string;
225
+ };
226
+ h2: {
227
+ fontFamily: string;
228
+ fontWeight: string;
229
+ fontSize: string;
230
+ color: string;
231
+ };
232
+ h3: {
233
+ fontFamily: string;
234
+ fontWeight: string;
235
+ fontSize: string;
236
+ color: string;
237
+ };
238
+ h4: {
239
+ fontFamily: string;
240
+ fontWeight: string;
241
+ fontSize: string;
242
+ color: string;
243
+ };
244
+ body1: {
245
+ fontFamily: string;
246
+ fontWeight: string;
247
+ fontSize: string;
248
+ color: string;
249
+ };
250
+ body2: {
251
+ fontFamily: string;
252
+ fontWeight: string;
253
+ fontSize: string;
254
+ color: string;
255
+ };
256
+ button: {
257
+ fontFamily: string;
258
+ fontWeight: string;
259
+ fontSize: string;
260
+ color: string;
261
+ };
262
+ };
263
+ components: {
264
+ MuiTextField: {
265
+ styleOverrides: {
266
+ root: ({ ownerState }: {
267
+ ownerState: import('@mui/material').TextFieldProps;
268
+ }) => {
269
+ "& .MuiInputLabel-root": {
270
+ color: string;
271
+ "&.Mui-focused": {
272
+ color: string;
273
+ };
274
+ };
275
+ "& .MuiOutlinedInput-root": {
276
+ borderRadius: string;
277
+ height: string;
278
+ color: string;
279
+ "& .MuiOutlinedInput-notchedOutline": {
280
+ borderColor: string;
281
+ };
282
+ "&:hover .MuiOutlinedInput-notchedOutline": {
283
+ borderColor: string;
284
+ };
285
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
286
+ borderColor: string;
287
+ };
288
+ "& input": {
289
+ color: string;
290
+ };
291
+ "& input::placeholder": {
292
+ color: string;
293
+ opacity: number;
294
+ };
295
+ };
296
+ } | {
297
+ "& .MuiInputLabel-root": {
298
+ color: string;
299
+ "&.Mui-focused": {
300
+ color: string;
301
+ };
302
+ };
303
+ "& .MuiOutlinedInput-root": {
304
+ borderRadius: string;
305
+ height: string;
306
+ color: string;
307
+ "& input": {
308
+ color: string;
309
+ };
310
+ "& input::placeholder": {
311
+ color: string;
312
+ opacity: number;
313
+ };
314
+ "& .MuiOutlinedInput-notchedOutline"?: undefined;
315
+ "&:hover .MuiOutlinedInput-notchedOutline"?: undefined;
316
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline"?: undefined;
317
+ };
318
+ };
319
+ };
320
+ };
321
+ MuiOutlinedInput: {
322
+ styleOverrides: {
323
+ root: ({ ownerState }: {
324
+ ownerState: import('@mui/material').OutlinedInputProps;
325
+ }) => {
326
+ borderRadius: string;
327
+ height: string;
328
+ color: string;
329
+ "& .MuiOutlinedInput-notchedOutline": {
330
+ borderColor: string;
331
+ };
332
+ "&:hover .MuiOutlinedInput-notchedOutline": {
333
+ borderColor: string;
334
+ };
335
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
336
+ borderColor: string;
337
+ };
338
+ "& input": {
339
+ color: string;
340
+ };
341
+ "& input::placeholder": {
342
+ color: string;
343
+ opacity: number;
344
+ };
345
+ } | {
346
+ borderRadius: string;
347
+ height: string;
348
+ color: string;
349
+ "& input": {
350
+ color: string;
351
+ };
352
+ "& input::placeholder": {
353
+ color: string;
354
+ opacity: number;
355
+ };
356
+ "& .MuiOutlinedInput-notchedOutline"?: undefined;
357
+ "&:hover .MuiOutlinedInput-notchedOutline"?: undefined;
358
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline"?: undefined;
359
+ };
360
+ };
361
+ };
362
+ MuiInputLabel: {
363
+ styleOverrides: {
364
+ root: () => {
365
+ color: string;
366
+ "&.Mui-focused": {
367
+ color: string;
368
+ };
369
+ };
370
+ };
371
+ };
372
+ };
373
+ };
374
+ declare const GoodRabbitDarkTheme: import('@mui/material').Theme;
375
+ export { BaseGoodRabbitDarkTheme, GoodRabbitDarkTheme };
@@ -0,0 +1,11 @@
1
+ declare const GoodRabbitInputLabel: {
2
+ styleOverrides: {
3
+ root: () => {
4
+ color: string;
5
+ "&.Mui-focused": {
6
+ color: string;
7
+ };
8
+ };
9
+ };
10
+ };
11
+ export { GoodRabbitInputLabel };
@@ -0,0 +1,2 @@
1
+ declare const GoodRabbitLightTheme: import('@mui/material').Theme;
2
+ export { GoodRabbitLightTheme };
@@ -0,0 +1,43 @@
1
+ import { OutlinedInputProps } from '@mui/material';
2
+ declare const GoodRabbitOutlinedInput: {
3
+ styleOverrides: {
4
+ root: ({ ownerState }: {
5
+ ownerState: OutlinedInputProps;
6
+ }) => {
7
+ borderRadius: string;
8
+ height: string;
9
+ color: string;
10
+ "& .MuiOutlinedInput-notchedOutline": {
11
+ borderColor: string;
12
+ };
13
+ "&:hover .MuiOutlinedInput-notchedOutline": {
14
+ borderColor: string;
15
+ };
16
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
17
+ borderColor: string;
18
+ };
19
+ "& input": {
20
+ color: string;
21
+ };
22
+ "& input::placeholder": {
23
+ color: string;
24
+ opacity: number;
25
+ };
26
+ } | {
27
+ borderRadius: string;
28
+ height: string;
29
+ color: string;
30
+ "& input": {
31
+ color: string;
32
+ };
33
+ "& input::placeholder": {
34
+ color: string;
35
+ opacity: number;
36
+ };
37
+ "& .MuiOutlinedInput-notchedOutline"?: undefined;
38
+ "&:hover .MuiOutlinedInput-notchedOutline"?: undefined;
39
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline"?: undefined;
40
+ };
41
+ };
42
+ };
43
+ export { GoodRabbitOutlinedInput };
@@ -0,0 +1,59 @@
1
+ import { TextFieldProps } from '@mui/material/TextField';
2
+ declare const GoodRabbitTextField: {
3
+ styleOverrides: {
4
+ root: ({ ownerState }: {
5
+ ownerState: TextFieldProps;
6
+ }) => {
7
+ "& .MuiInputLabel-root": {
8
+ color: string;
9
+ "&.Mui-focused": {
10
+ color: string;
11
+ };
12
+ };
13
+ "& .MuiOutlinedInput-root": {
14
+ borderRadius: string;
15
+ height: string;
16
+ color: string;
17
+ "& .MuiOutlinedInput-notchedOutline": {
18
+ borderColor: string;
19
+ };
20
+ "&:hover .MuiOutlinedInput-notchedOutline": {
21
+ borderColor: string;
22
+ };
23
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
24
+ borderColor: string;
25
+ };
26
+ "& input": {
27
+ color: string;
28
+ };
29
+ "& input::placeholder": {
30
+ color: string;
31
+ opacity: number;
32
+ };
33
+ };
34
+ } | {
35
+ "& .MuiInputLabel-root": {
36
+ color: string;
37
+ "&.Mui-focused": {
38
+ color: string;
39
+ };
40
+ };
41
+ "& .MuiOutlinedInput-root": {
42
+ borderRadius: string;
43
+ height: string;
44
+ color: string;
45
+ "& input": {
46
+ color: string;
47
+ };
48
+ "& input::placeholder": {
49
+ color: string;
50
+ opacity: number;
51
+ };
52
+ "& .MuiOutlinedInput-notchedOutline"?: undefined;
53
+ "&:hover .MuiOutlinedInput-notchedOutline"?: undefined;
54
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline"?: undefined;
55
+ };
56
+ };
57
+ };
58
+ };
59
+ export { GoodRabbitTextField };