funda-ui 4.3.555 → 4.4.15

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 (63) hide show
  1. package/Date/index.js +104 -0
  2. package/EventCalendar/index.css +7 -0
  3. package/EventCalendar/index.d.ts +2 -0
  4. package/EventCalendar/index.js +228 -89
  5. package/EventCalendarTimeline/index.css +29 -1
  6. package/EventCalendarTimeline/index.d.ts +11 -1
  7. package/EventCalendarTimeline/index.js +796 -298
  8. package/MultipleSelect/index.js +1 -1
  9. package/NativeSelect/index.js +1 -1
  10. package/Select/index.css +17 -0
  11. package/Select/index.d.ts +1 -0
  12. package/Select/index.js +83 -38
  13. package/Table/index.d.ts +4 -4
  14. package/Table/index.js +17 -17
  15. package/Tree/index.js +1 -1
  16. package/Utils/date.d.ts +27 -1
  17. package/Utils/date.js +92 -0
  18. package/lib/cjs/Date/index.js +104 -0
  19. package/lib/cjs/EventCalendar/index.d.ts +2 -0
  20. package/lib/cjs/EventCalendar/index.js +228 -89
  21. package/lib/cjs/EventCalendarTimeline/index.d.ts +11 -1
  22. package/lib/cjs/EventCalendarTimeline/index.js +796 -298
  23. package/lib/cjs/MultipleSelect/index.js +1 -1
  24. package/lib/cjs/NativeSelect/index.js +1 -1
  25. package/lib/cjs/Select/index.d.ts +1 -0
  26. package/lib/cjs/Select/index.js +83 -38
  27. package/lib/cjs/Table/index.d.ts +4 -4
  28. package/lib/cjs/Table/index.js +17 -17
  29. package/lib/cjs/Tree/index.js +1 -1
  30. package/lib/cjs/Utils/date.d.ts +27 -1
  31. package/lib/cjs/Utils/date.js +92 -0
  32. package/lib/css/EventCalendar/index.css +7 -0
  33. package/lib/css/EventCalendarTimeline/index.css +29 -1
  34. package/lib/css/Select/index.css +17 -0
  35. package/lib/esm/EventCalendar/index.scss +9 -0
  36. package/lib/esm/EventCalendar/index.tsx +203 -156
  37. package/lib/esm/EventCalendarTimeline/index.scss +46 -1
  38. package/lib/esm/EventCalendarTimeline/index.tsx +815 -358
  39. package/lib/esm/MultipleSelect/ItemList.tsx +1 -1
  40. package/lib/esm/MultipleSelect/index.tsx +1 -1
  41. package/lib/esm/NativeSelect/index.tsx +1 -1
  42. package/lib/esm/Select/index.scss +36 -1
  43. package/lib/esm/Select/index.tsx +179 -30
  44. package/lib/esm/Table/Table.tsx +2 -2
  45. package/lib/esm/Table/TableCell.tsx +2 -2
  46. package/lib/esm/Table/TableRow.tsx +1 -1
  47. package/lib/esm/Table/index.tsx +4 -4
  48. package/lib/esm/Tree/TreeList.tsx +1 -1
  49. package/lib/esm/Utils/libs/date.ts +101 -1
  50. package/package.json +1 -1
  51. /package/lib/esm/MultipleSelect/{multiple-select-utils → utils}/func.ts +0 -0
  52. /package/lib/esm/NativeSelect/{native-select-utils → utils}/func.ts +0 -0
  53. /package/lib/esm/Select/{select-utils → utils}/func.ts +0 -0
  54. /package/lib/esm/Table/{table-utils → utils}/DragHandleSprite.tsx +0 -0
  55. /package/lib/esm/Table/{table-utils → utils}/SortSprite.tsx +0 -0
  56. /package/lib/esm/Table/{table-utils → utils}/TableFilter.tsx +0 -0
  57. /package/lib/esm/Table/{table-utils → utils}/ToggleSelection.tsx +0 -0
  58. /package/lib/esm/Table/{table-utils → utils}/func.ts +0 -0
  59. /package/lib/esm/Table/{table-utils → utils}/hooks/useTableDraggable.tsx +0 -0
  60. /package/lib/esm/Table/{table-utils → utils}/hooks/useTableKeyPress.tsx +0 -0
  61. /package/lib/esm/Table/{table-utils → utils}/hooks/useTableResponsive.tsx +0 -0
  62. /package/lib/esm/Table/{table-utils → utils}/hooks/useTableSort.tsx +0 -0
  63. /package/lib/esm/Tree/{tree-utils.ts → utils/func.ts} +0 -0
@@ -35,6 +35,7 @@
35
35
  --e-cal-timeline-header-prevnext-btn-radius: 0.25rem;
36
36
  --e-cal-timeline-footer-today-btn-bg: rgba(0, 58, 166, 1);
37
37
  --e-cal-timeline-footer-today-btn-color: #fff;
38
+ --e-cal-timeline-appearance-btn-active-bg: rgb(239, 239, 239);
38
39
 
39
40
 
40
41
 
@@ -52,6 +53,12 @@
52
53
  display: flex;
53
54
  justify-content: space-between;
54
55
 
56
+ .e-cal-timeline__header__info {
57
+ font-weight: normal;
58
+ font-size: 0.875em;
59
+ margin-bottom: .2rem;
60
+ }
61
+
55
62
  .e-cal-timeline__header__btns {
56
63
  .e-cal-timeline__btn {
57
64
  margin-right: 1rem;
@@ -176,6 +183,7 @@
176
183
  margin: 0;
177
184
  box-shadow: none;
178
185
  cursor: pointer;
186
+ margin-right: .35rem;
179
187
 
180
188
  /* required */
181
189
  display: inline-flex;
@@ -213,9 +221,35 @@
213
221
  color: var(--e-cal-timeline-footer-today-btn-color);
214
222
  background-color: var(--e-cal-timeline-footer-today-btn-bg);
215
223
  }
224
+
225
+ &--appearance {
226
+ border: 1px solid var(--e-cal-timeline-border-color);
227
+ border-radius: 0.25rem;
228
+ font-size: 0.875em;
229
+ padding: .2rem 1rem;
230
+ }
231
+
232
+ &--appearance.active {
233
+ background-color: var(--e-cal-timeline-appearance-btn-active-bg);
234
+ }
235
+
236
+ }
237
+
238
+
239
+
240
+ /* WEEK MODE --*/
241
+ &.e-cal-timeline__wrapper--week {
242
+ .e-cal-timeline__header__info {
243
+ transform: translateX(-2.5rem);
244
+ }
216
245
  }
217
246
 
218
247
 
248
+ }
249
+
250
+ /* WEEK MODE*/
251
+ .e-cal-timeline__wrapper.e-cal-timeline__wrapper--week {
252
+
219
253
  }
220
254
 
221
255
  /*
@@ -252,7 +286,7 @@
252
286
  --e-cal-timeline-table-add-btn-color: #0b5ed7;
253
287
  --e-cal-timeline-table-event-font-size: 0.75rem;
254
288
  --e-cal-timeline-table-event-hover-bg: rgba(255, 240, 227, 0);
255
- --e-cal-timeline-table-event-hover-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.15);
289
+ --e-cal-timeline-table-event-hover-shadow: inset 0px 0px 0px 1px rgba(21, 21, 240, 0.45);
256
290
 
257
291
 
258
292
 
@@ -262,6 +296,12 @@
262
296
  position: relative;
263
297
  z-index: 2;
264
298
 
299
+
300
+ /* Required when using onKeyDown */
301
+ &[tabindex]:focus-visible {
302
+ outline: none;
303
+ }
304
+
265
305
  .e-cal-timeline-table__timeline-table {
266
306
  border: var(--e-cal-timeline-table-primary-border);
267
307
  text-align: left;
@@ -344,6 +384,7 @@
344
384
  padding: 0;
345
385
  vertical-align: top;
346
386
  line-height: var(--e-cal-timeline-table-cell-line-height);
387
+
347
388
  }
348
389
 
349
390
  > tbody > tr {
@@ -610,6 +651,10 @@
610
651
  height: auto;
611
652
  }
612
653
 
654
+ .e-cal-timeline-table__scroller-harness--hideX {
655
+ overflow-x: hidden !important;
656
+ }
657
+
613
658
  .e-cal-timeline-table__scroller-harness[data-scroll="body"].dragging {
614
659
  cursor: grab;
615
660
  }