ish-ui 1.0.55 → 1.1.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.
Files changed (62) hide show
  1. package/dist/appBar/AppBarHelpMenu.d.ts +17 -1
  2. package/dist/appBar/AppBarHelpMenu.js +5 -5
  3. package/dist/colorPicker/ColorPicker.js +6 -7
  4. package/dist/dialog/message/Message.js +3 -4
  5. package/dist/documents/DocumentIconsChooser.js +4 -5
  6. package/dist/fieldMessage/ErrorMessage.d.ts +1 -1
  7. package/dist/fieldMessage/ErrorMessage.js +8 -6
  8. package/dist/fieldMessage/WarningMessage.d.ts +1 -1
  9. package/dist/fieldMessage/WarningMessage.js +8 -6
  10. package/dist/fieldMessage/styles.d.ts +12 -1
  11. package/dist/fieldMessage/styles.js +1 -2
  12. package/dist/fileUploader/FileUploaderDialog.d.ts +1 -1
  13. package/dist/fileUploader/FileUploaderDialog.js +9 -9
  14. package/dist/formFields/CheckboxField.d.ts +1 -1
  15. package/dist/formFields/CheckboxField.js +4 -4
  16. package/dist/formFields/CodeEditorField.js +3 -4
  17. package/dist/formFields/ColoredCheckBox.js +3 -2
  18. package/dist/formFields/DateTimeField.js +2 -3
  19. package/dist/formFields/EditInPlaceDateTimeField.js +40 -20
  20. package/dist/formFields/EditInPlaceField.js +3 -4
  21. package/dist/formFields/EditInPlaceFieldBase.js +10 -11
  22. package/dist/formFields/EditInPlaceMoneyField.js +3 -2
  23. package/dist/formFields/EditInPlaceSearchSelect.js +16 -13
  24. package/dist/formFields/FilePreview.d.ts +1 -1
  25. package/dist/formFields/FilePreview.js +6 -6
  26. package/dist/formFields/FormRadioButtons.js +3 -3
  27. package/dist/formFields/SelectCustomComponents.d.ts +10 -1
  28. package/dist/formFields/SelectCustomComponents.js +13 -12
  29. package/dist/formFields/Switch.d.ts +1 -1
  30. package/dist/formFields/Switch.js +11 -11
  31. package/dist/formFields/TextField.d.ts +5 -1
  32. package/dist/formFields/TextField.js +2 -2
  33. package/dist/formFields/UneditableBase.js +3 -4
  34. package/dist/layout/InfoPill.js +4 -4
  35. package/dist/layout/resizable/ResizableWrapper.js +6 -6
  36. package/dist/markdownEditor/HtmlEditor.d.ts +2 -2
  37. package/dist/markdownEditor/WysiwygEditor.js +1 -1
  38. package/dist/model/Theme.d.ts +2 -2
  39. package/dist/styles/GlobalStylesProvider.d.ts +3 -2
  40. package/dist/styles/GlobalStylesProvider.js +714 -383
  41. package/dist/styles/hooks.d.ts +9 -1
  42. package/dist/styles/hooks.js +5 -4
  43. package/dist/styles/index.d.ts +0 -4
  44. package/dist/styles/index.js +0 -4
  45. package/dist/styles/makeStyles.d.ts +37 -2
  46. package/dist/styles/makeStyles.js +7 -2
  47. package/dist/tagsInput/AddTagMenu.d.ts +2 -1
  48. package/dist/tagsInput/AddTagMenu.js +4 -4
  49. package/dist/tagsInput/AddTagMenuItem.js +5 -4
  50. package/dist/tagsInput/TagInputList.js +21 -15
  51. package/dist/themes/ishTheme.js +2 -2
  52. package/dist/timetable/miniCalendar/CalendarDay.d.ts +1 -1
  53. package/dist/timetable/miniCalendar/CalendarDay.js +38 -39
  54. package/dist/timetable/miniCalendar/CalendarHeader.js +3 -4
  55. package/dist/timetable/miniCalendar/CalendarWeekPanel.js +3 -4
  56. package/dist/timetable/miniCalendar/WeekDay.js +3 -4
  57. package/package.json +62 -71
  58. package/assets/fonts/inter/inter.scss +0 -17
  59. package/dist/styles/StylesProviderCustom.d.ts +0 -3
  60. package/dist/styles/StylesProviderCustom.js +0 -6
  61. package/dist/styles/bootstrap.d.ts +0 -491
  62. package/dist/styles/bootstrap.js +0 -496
@@ -1,496 +0,0 @@
1
- /*
2
- * Copyright ish group pty ltd 2022.
3
- *
4
- * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
5
- *
6
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
7
- */
8
- import { alpha } from '@mui/material/styles';
9
- import { prefixer } from './mixins/prefixer';
10
- export const bootstrap = (theme) => ({
11
- strong: {
12
- fontWeight: 'bold'
13
- },
14
- '.fontWeight-normal': {
15
- fontWeight: 'normal'
16
- },
17
- '.fontWeight600': {
18
- fontWeight: 600
19
- },
20
- '.text-bold': {
21
- fontWeight: theme.typography.fontWeightBold
22
- },
23
- '.text-bolder': {
24
- fontWeight: 'bolder'
25
- },
26
- '.fs2': {
27
- fontSize: theme.spacing(2)
28
- },
29
- '.fs3': {
30
- fontSize: theme.spacing(3)
31
- },
32
- '.fs4': {
33
- fontSize: theme.spacing(4)
34
- },
35
- '.fs8': {
36
- fontSize: theme.spacing(8)
37
- },
38
- '.fs10': {
39
- fontSize: theme.spacing(10)
40
- },
41
- '.fs19': {
42
- fontSize: theme.spacing(19)
43
- },
44
- '.fw300': {
45
- fontWeight: 300
46
- },
47
- '.fsInherit': {
48
- fontSize: 'inherit'
49
- },
50
- '.relative': {
51
- position: 'relative'
52
- },
53
- '.absolute': {
54
- position: 'absolute'
55
- },
56
- '.fixed': {
57
- position: 'fixed'
58
- },
59
- '.sticky': {
60
- position: 'sticky'
61
- },
62
- '.left-0': {
63
- left: 0
64
- },
65
- '.top-0': {
66
- top: 0
67
- },
68
- '.right-0': {
69
- right: 0
70
- },
71
- '.bottom-0': {
72
- bottom: 0
73
- },
74
- '.pt-10': {
75
- paddingTop: theme.spacing(10)
76
- },
77
- '.pr-6': {
78
- paddingRight: theme.spacing(6)
79
- },
80
- '.p-4': {
81
- padding: theme.spacing(4)
82
- },
83
- '.pr-4': {
84
- paddingRight: theme.spacing(4)
85
- },
86
- '.p-3': {
87
- padding: theme.spacing(3)
88
- },
89
- '.pt-3': {
90
- paddingTop: theme.spacing(3)
91
- },
92
- '.pl-3': {
93
- paddingLeft: theme.spacing(3)
94
- },
95
- '.pr-3': {
96
- paddingRight: theme.spacing(3)
97
- },
98
- '.pb-3': {
99
- paddingBottom: theme.spacing(3)
100
- },
101
- '.p-2': {
102
- padding: theme.spacing(2)
103
- },
104
- '.pl-2': {
105
- paddingLeft: theme.spacing(2)
106
- },
107
- '.pr-2': {
108
- paddingRight: theme.spacing(2)
109
- },
110
- '.pb-2': {
111
- paddingBottom: theme.spacing(2)
112
- },
113
- '.pt-2': {
114
- paddingTop: theme.spacing(2)
115
- },
116
- '.p-1': {
117
- padding: theme.spacing(1)
118
- },
119
- '.pt-1': {
120
- paddingTop: theme.spacing(1)
121
- },
122
- '.pb-1': {
123
- paddingBottom: theme.spacing(1)
124
- },
125
- '.pl-1': {
126
- paddingLeft: theme.spacing(1)
127
- },
128
- '.pr-1': {
129
- paddingRight: theme.spacing(1)
130
- },
131
- '.p-0-5': {
132
- padding: theme.spacing(0.5)
133
- },
134
- '.pl-0-5': {
135
- paddingLeft: theme.spacing(0.5)
136
- },
137
- '.pt-0-5': {
138
- paddingTop: theme.spacing(0.5)
139
- },
140
- '.pr-0-5': {
141
- paddingRight: theme.spacing(0.5)
142
- },
143
- '.pb-0-5': {
144
- paddingBottom: theme.spacing(0.5)
145
- },
146
- '.p-0': {
147
- padding: 0
148
- },
149
- '.pl-0': {
150
- paddingLeft: 0
151
- },
152
- '.pt-0': {
153
- paddingTop: 0
154
- },
155
- '.pr-0': {
156
- paddingRight: 0
157
- },
158
- '.pb-0': {
159
- paddingBottom: 0
160
- },
161
- '.m-3': {
162
- margin: theme.spacing(3)
163
- },
164
- '.mt-5': {
165
- marginTop: theme.spacing(5)
166
- },
167
- '.mt-4': {
168
- marginTop: theme.spacing(4)
169
- },
170
- '.mt-3': {
171
- marginTop: theme.spacing(3)
172
- },
173
- '.ml-3': {
174
- marginLeft: theme.spacing(3)
175
- },
176
- '.mr-5': {
177
- marginRight: theme.spacing(5)
178
- },
179
- '.mr-4': {
180
- marginRight: theme.spacing(4)
181
- },
182
- '.mr-3': {
183
- marginRight: theme.spacing(3)
184
- },
185
- '.mb-5': {
186
- marginBottom: theme.spacing(5)
187
- },
188
- '.mb-4': {
189
- marginBottom: theme.spacing(4)
190
- },
191
- '.mb-3': {
192
- marginBottom: theme.spacing(3)
193
- },
194
- '.m-2': {
195
- margin: theme.spacing(2)
196
- },
197
- '.mt-2': {
198
- marginTop: theme.spacing(2)
199
- },
200
- '.ml-2': {
201
- marginLeft: theme.spacing(2)
202
- },
203
- '.mr-2': {
204
- marginRight: theme.spacing(2)
205
- },
206
- '.mb-2': {
207
- marginBottom: theme.spacing(2)
208
- },
209
- '.m-1': {
210
- margin: theme.spacing(1)
211
- },
212
- '.mt-1': {
213
- marginTop: theme.spacing(1)
214
- },
215
- '.ml-1': {
216
- marginLeft: theme.spacing(1)
217
- },
218
- '.mr-1': {
219
- marginRight: theme.spacing(1)
220
- },
221
- '.mr-auto': {
222
- marginRight: 'auto'
223
- },
224
- '.ml-auto': {
225
- marginLeft: 'auto'
226
- },
227
- '.mb-1': {
228
- marginBottom: theme.spacing(1)
229
- },
230
- '.mt-0-5': {
231
- marginTop: theme.spacing(0.5)
232
- },
233
- '.mr-0-5': {
234
- marginRight: theme.spacing(0.5)
235
- },
236
- '.ml-0-5': {
237
- marginLeft: theme.spacing(0.5)
238
- },
239
- '.mb-0-5': {
240
- marginBottom: theme.spacing(0.5)
241
- },
242
- '.m-0': {
243
- margin: 0
244
- },
245
- '.mt-auto': {
246
- marginTop: 'auto'
247
- },
248
- '.mb-auto': {
249
- marginBottom: 'auto'
250
- },
251
- '.ml-0': {
252
- marginLeft: 0
253
- },
254
- '.mt-0': {
255
- marginTop: 0
256
- },
257
- '.mr-0': {
258
- marginRight: 0
259
- },
260
- '.mb-0': {
261
- marginBottom: 0
262
- },
263
- '.text-uppercase': {
264
- textTransform: 'uppercase'
265
- },
266
- '.overflow-visible': {
267
- overflow: 'visible'
268
- },
269
- '.overflow-hidden': {
270
- overflow: 'hidden'
271
- },
272
- '.overflow-x-hidden': {
273
- overflowX: 'hidden'
274
- },
275
- '.overflow-y-auto': {
276
- overflowY: 'auto'
277
- },
278
- '.overflow-auto': {
279
- overflow: 'auto'
280
- },
281
- '.overflow-initial': {
282
- overflow: 'initial'
283
- },
284
- '.d-block': {
285
- display: 'block'
286
- },
287
- '.d-inline': {
288
- display: 'inline'
289
- },
290
- '.d-inline-block': {
291
- display: 'inline-block'
292
- },
293
- '.d-grid': {
294
- display: 'grid'
295
- },
296
- '.d-flex': {
297
- display: 'flex'
298
- },
299
- '.d-inline-flex': {
300
- display: 'inline-flex'
301
- },
302
- '.flex-row': {
303
- display: 'flex',
304
- flexDirection: 'row'
305
- },
306
- '.flex-column': {
307
- display: 'flex',
308
- flexDirection: 'column'
309
- },
310
- '.centeredFlex': {
311
- display: 'flex',
312
- alignItems: 'center'
313
- },
314
- '.d-flex-start': {
315
- display: 'flex',
316
- alignItems: 'flex-start'
317
- },
318
- '.d-inline-flex-center': {
319
- display: 'inline-flex',
320
- alignItems: 'center'
321
- },
322
- '.d-none': {
323
- display: 'none'
324
- },
325
- '.flex-fill': {
326
- flex: 1
327
- },
328
- '.flex-nowrap': {
329
- flexWrap: 'nowrap'
330
- },
331
- '.flex-wrap': {
332
- flexWrap: 'wrap'
333
- },
334
- '.align-items-baseline': {
335
- alignItems: 'baseline'
336
- },
337
- '.align-items-center': {
338
- alignItems: 'center'
339
- },
340
- '.align-items-start': {
341
- alignItems: 'flex-start'
342
- },
343
- '.align-items-end': {
344
- alignItems: 'flex-end'
345
- },
346
- '.align-content-between': {
347
- alignContent: 'space-between'
348
- },
349
- '.align-content-start': {
350
- alignContent: 'flex-start'
351
- },
352
- '.justify-content-end': {
353
- justifyContent: 'flex-end'
354
- },
355
- '.justify-content-start': {
356
- justifyContent: 'flex-start'
357
- },
358
- '.justify-content-center': {
359
- justifyContent: 'center'
360
- },
361
- '.justify-content-space-between': {
362
- justifyContent: 'space-between'
363
- },
364
- '.outline-none': {
365
- outline: 'none'
366
- },
367
- '.disabled': {
368
- opacity: theme.palette.action.disabledOpacity,
369
- pointerEvents: 'none'
370
- },
371
- '.text-op065': {
372
- color: alpha(theme.palette.text.primary, 0.65),
373
- },
374
- '.text-op05': {
375
- color: alpha(theme.palette.text.primary, 0.5),
376
- },
377
- '.invisible': {
378
- visibility: 'hidden'
379
- },
380
- '.visible': {
381
- visibility: 'visible'
382
- },
383
- '.text-left': {
384
- textAlign: 'left'
385
- },
386
- '.text-center': {
387
- textAlign: 'center'
388
- },
389
- '.text-end': {
390
- textAlign: 'end'
391
- },
392
- '.text-disabled': {
393
- color: theme.palette.text.disabled
394
- },
395
- '.cursor-grab': {
396
- cursor: 'grab'
397
- },
398
- '.cursor-pointer': {
399
- cursor: 'pointer'
400
- },
401
- '.cursor-text': {
402
- cursor: 'text'
403
- },
404
- '.pointer-events-none': {
405
- pointerEvents: 'none'
406
- },
407
- '.text-truncate': {
408
- overflow: 'hidden',
409
- textOverflow: 'ellipsis'
410
- },
411
- '.text-nowrap': {
412
- whiteSpace: 'nowrap'
413
- },
414
- '.text-pre-wrap': {
415
- whiteSpace: 'pre-wrap'
416
- },
417
- '.text-pre-line': {
418
- whiteSpace: 'pre-line'
419
- },
420
- '.text-pre': {
421
- whiteSpace: 'pre'
422
- },
423
- '.text-break-spaces': {
424
- whiteSpace: 'break-spaces'
425
- },
426
- '.word-break-all': {
427
- wordBreak: 'break-all'
428
- },
429
- '.h-100': {
430
- height: '100%'
431
- },
432
- '.w-100': {
433
- width: '100%'
434
- },
435
- '.mw-100': {
436
- maxWidth: '100%'
437
- },
438
- '.w-50': {
439
- width: '50%'
440
- },
441
- '.mw-800': {
442
- maxWidth: theme.spacing(100)
443
- },
444
- '.mw-500': {
445
- maxWidth: theme.spacing(62.5)
446
- },
447
- '.mw-600': {
448
- maxWidth: theme.spacing(75)
449
- },
450
- '.mw-400': {
451
- maxWidth: theme.spacing(50)
452
- },
453
- '.text-reset': {
454
- color: 'inherit'
455
- },
456
- '.text-white': {
457
- color: '#fff'
458
- },
459
- '.zIndex1401': {
460
- zIndex: theme.zIndex.snackbar + 1
461
- },
462
- '.zIndex9': {
463
- zIndex: 9
464
- },
465
- '.zIndex2': {
466
- zIndex: 2
467
- },
468
- '.zIndex1': {
469
- zIndex: 1
470
- },
471
- '.zIndex0': {
472
- zIndex: 0
473
- },
474
- '.box-shadow-none': {
475
- boxShadow: 'none'
476
- },
477
- '.user-select-none': Object.assign({ WebkitTouchCallout: 'none', KhtmlUserSelect: 'none' }, prefixer('userSelect', 'none')),
478
- '.vert-align-mid': {
479
- verticalAlign: 'middle'
480
- },
481
- '.vert-align-bl': {
482
- verticalAlign: 'baseline'
483
- },
484
- '.grid-temp-col-3-fr': {
485
- gridTemplateColumns: '1fr 1fr 1fr'
486
- },
487
- '.grid-temp-col-2-fr': {
488
- gridTemplateColumns: '1fr 1fr'
489
- },
490
- '.lh-1': {
491
- lineHeight: 1,
492
- },
493
- '.text-decoration-underline': {
494
- textDecoration: 'underline',
495
- },
496
- });