@coveord/plasma-mantine 59.7.0 → 59.7.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 (32) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/.turbo/turbo-test.log +99 -95
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/Table/Table.d.ts +46 -0
  5. package/dist/cjs/components/Table/Table.d.ts.map +1 -1
  6. package/dist/cjs/components/Table/Table.js +48 -17
  7. package/dist/cjs/components/Table/Table.js.map +1 -1
  8. package/dist/cjs/theme/Plasmantine.d.ts.map +1 -1
  9. package/dist/cjs/theme/Plasmantine.js +24 -4
  10. package/dist/cjs/theme/Plasmantine.js.map +1 -1
  11. package/dist/cjs/theme/Theme.d.ts.map +1 -1
  12. package/dist/cjs/theme/Theme.js +1 -9
  13. package/dist/cjs/theme/Theme.js.map +1 -1
  14. package/dist/esm/components/Table/Table.d.ts +46 -0
  15. package/dist/esm/components/Table/Table.d.ts.map +1 -1
  16. package/dist/esm/components/Table/Table.js +48 -17
  17. package/dist/esm/components/Table/Table.js.map +1 -1
  18. package/dist/esm/theme/Plasmantine.d.ts.map +1 -1
  19. package/dist/esm/theme/Plasmantine.js +22 -3
  20. package/dist/esm/theme/Plasmantine.js.map +1 -1
  21. package/dist/esm/theme/Theme.d.ts.map +1 -1
  22. package/dist/esm/theme/Theme.js +1 -9
  23. package/dist/esm/theme/Theme.js.map +1 -1
  24. package/package.json +3 -3
  25. package/src/__tests__/Utils.tsx +1 -17
  26. package/src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx +2 -2
  27. package/src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx +2 -2
  28. package/src/components/Table/Table.tsx +54 -6
  29. package/src/components/Table/__tests__/Table.spec.tsx +36 -0
  30. package/src/theme/Plasmantine.tsx +21 -3
  31. package/src/theme/Theme.tsx +0 -4
  32. package/src/theme/__tests__/Plasmantine.spec.tsx +48 -0
@@ -1,6 +1,6 @@
1
1
  $ node ../../scripts/build
2
- (node:2644) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
2
+ (node:2784) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
3
3
  (Use `node --trace-deprecation ...` to show where the warning was created)
4
- Successfully compiled: 232 files, copied 73 files with swc (711.35ms)
5
- Successfully compiled: 232 files, copied 73 files with swc (731.4ms)
4
+ Successfully compiled: 232 files, copied 73 files with swc (828.63ms)
5
+ Successfully compiled: 232 files, copied 73 files with swc (970ms)
6
6
 
@@ -2,103 +2,107 @@ $ cross-env TZ=UTC vitest run --silent
2
2
 
3
3
   RUN  v4.1.5 /home/runner/work/plasma/plasma/packages/mantine
4
4
 
5
- ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 971ms
6
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1398ms
7
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 2068ms
8
- ✓ renders the data using the RowLayout by default  338ms
9
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 1527ms
10
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 867ms
11
- ✓ calculates the number of pages based on the pageSize and the total number of entries  307ms
12
- ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 3621ms
13
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  418ms
14
- ✓ renders all columns in the dropdown except control columns  349ms
15
- ✓ hides a column when the user unchecks it  360ms
16
- ✓ shows a column when the user checks it  312ms
17
- ✓ enables a disabled column when a visible column is hidden  355ms
18
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1814ms
19
- ✓ displays the actions when the row is selected  597ms
20
- ✓ displays the secondary actions when the row is selected and the user clicks on more  517ms
21
- ✓ passes down an array of selected rows  377ms
22
- ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (18 tests) 2417ms
23
- ✓ renders the title  349ms
24
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 222ms
25
- ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 61ms
26
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 856ms
27
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 894ms
28
- ✓ displays the label  303ms
29
- ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 44ms
30
- ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 13ms
31
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 882ms
32
- ✓ renders the monaco editor, a copy to clipboard button and a search button  345ms
33
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1135ms
34
- ✓ displays the placeholder  359ms
35
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 13050ms
36
- ✓ renders with placeholder text when no date range is selected  349ms
37
- ✓ opens popover when input is clicked  322ms
38
- ✓ calls onChange when a date range is applied  2921ms
39
- ✓ closes popover when Cancel is clicked  341ms
40
- ✓ calls onCancel when Cancel button is clicked  375ms
41
- ✓ applies the selected date range in uncontrolled mode  2756ms
42
- ✓ applies the selected date range in controlled mode  2649ms
43
- ✓ sets the selected date range in the url  2331ms
44
- ✓ calls onOpenedChange when popover state changes  342ms
45
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1140ms
46
- ✓ goes back to the first page when changing the predicate  738ms
47
- ✓ sets the current predicate value in the url using the predicate id as key  303ms
48
- ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 71ms
49
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 4244ms
50
- ✓ calls onApply when the user clicks on the apply button  740ms
51
- ✓ calls onApply with the selected dates when clicking in the calendar  865ms
52
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  731ms
53
- ✓ calls onApply with the selected dates when typing in the inputs  1499ms
54
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 492ms
55
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 642ms
56
- ✓ displays the sort icon for every sortable column  330ms
57
- ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 528ms
58
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 2265ms
59
- ✓ calls onApply with the selected dates when clicking in the calendar  2131ms
60
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 3672ms
61
- ✓ displays the initial dates  351ms
62
- ✓ sets the selected date range in the url  3268ms
63
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2284ms
64
- ✓ updates with the selected dates when choosing a preset  478ms
65
- ✓ can change the date and time  1658ms
66
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 2727ms
67
- ✓ updates when editing values  1208ms
68
- ✓ accepts minDate and maxDate props for start and end inputs  1225ms
69
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 546ms
70
- ✓ expands the rows when the user clicks on a cell  460ms
71
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 367ms
72
- ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 8ms
73
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 487ms
5
+ ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 918ms
6
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1464ms
7
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 2097ms
8
+ ✓ renders the data using the RowLayout by default  347ms
9
+ ✓ src/components/Table/__tests__/Table.spec.tsx (14 tests) 1579ms
10
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 830ms
11
+ ✓ calculates the number of pages based on the pageSize and the total number of entries  304ms
12
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 4427ms
13
+ ✓ renders the column selector button in the actions column header when rowConfigurable is true  495ms
14
+ ✓ renders all columns in the dropdown except control columns  554ms
15
+ ✓ renders all checkboxes checked by default  321ms
16
+ ✓ hides a column when the user unchecks it  470ms
17
+ ✓ shows a column when the user checks it  430ms
18
+ ✓ renders a disabled checked checkbox for columns that are always visible  309ms
19
+ ✓ renders a tooltip when hovering a disabled always visible column checkbox  379ms
20
+ ✓ renders unchecked checkboxes for columns that are not visible in the initial state  306ms
21
+ ✓ disables unchecked columns when the maximum number of visible columns is reached  325ms
22
+ ✓ enables a disabled column when a visible column is hidden  342ms
23
+ ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (18 tests) 2104ms
24
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1555ms
25
+ ✓ displays the actions when the row is selected  547ms
26
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  377ms
27
+ ✓ passes down an array of selected rows  358ms
28
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 188ms
29
+ ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 85ms
30
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 833ms
31
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 924ms
32
+ ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 22ms
33
+ ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 26ms
34
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1162ms
35
+ ✓ displays the placeholder  317ms
36
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 811ms
37
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  316ms
38
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 12484ms
39
+ ✓ calls onChange when a date range is applied  2902ms
40
+ ✓ closes popover when Cancel is clicked  325ms
41
+ ✓ applies the selected date range in uncontrolled mode  2198ms
42
+ ✓ applies the selected date range in controlled mode  2557ms
43
+ ✓ renders preset options in the popover  303ms
44
+ ✓ sets the selected date range in the url  2566ms
45
+ ✓ calls onOpenedChange when popover state changes  306ms
46
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1533ms
47
+ ✓ goes back to the first page when changing the predicate  1050ms
48
+ ✓ sets the current predicate value in the url using the predicate id as key  363ms
49
+ ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 63ms
50
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 398ms
51
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5365ms
52
+ ✓ calls onApply when the user clicks on the apply button  736ms
53
+ ✓ calls onCancel when the user clicks on the cancel button  346ms
54
+ ✓ calls onApply with the selected dates when clicking in the calendar  1044ms
55
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  526ms
56
+ ✓ calls onApply with the selected dates when typing in the inputs  2598ms
57
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 1355ms
58
+ ✓ calls onApply with the selected dates when clicking in the calendar  1222ms
59
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 616ms
60
+ ✓ displays the sort icon for every sortable column  316ms
61
+ ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 575ms
62
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2380ms
63
+ ✓ updates with the selected dates when choosing a preset  448ms
64
+ ✓ can change the date and time  1760ms
65
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4799ms
66
+ ✓ displays the initial dates  369ms
67
+ ✓ sets the selected date range in the url  4379ms
68
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3037ms
69
+ ✓ renders an input for the start and an input for the end  333ms
70
+ ✓ updates when editing values  1255ms
71
+ ✓ accepts minDate and maxDate props for start and end inputs  1445ms
72
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 526ms
73
+ ✓ expands the rows when the user clicks on a cell  408ms
74
+ ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 11ms
75
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 425ms
76
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 472ms
74
77
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
75
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 350ms
78
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 341ms
76
79
  ✓ shows a tooltip when hovering over the disabled button  313ms
77
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 339ms
78
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 590ms
79
- ✓ calls onChange when selecting a preset  476ms
80
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 40ms
81
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 425ms
82
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 475ms
83
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 419ms
84
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 416ms
85
- ✓ renders the specified text as the header tooltip content  314ms
86
- ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 377ms
87
- ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 9ms
88
- ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 374ms
89
- ✓ renders LabelInfo inside the label prop and shows its tooltip content on hover  367ms
90
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 250ms
91
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 108ms
92
- ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 378ms
93
- ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  374ms
94
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 214ms
95
- ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 295ms
96
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 272ms
97
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 58ms
80
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 534ms
81
+ ✓ calls onChange when selecting a preset  445ms
82
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 363ms
83
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 412ms
84
+ ✓ src/theme/__tests__/Plasmantine.spec.tsx (3 tests) 82ms
85
+ ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 27ms
86
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 523ms
87
+ ✓ displays the title, body and close button  309ms
88
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 426ms
89
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 381ms
90
+ ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 331ms
91
+ ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 10ms
92
+ ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 379ms
93
+ ✓ renders LabelInfo inside the label prop and shows its tooltip content on hover  372ms
94
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 231ms
95
+ ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 71ms
96
+ ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 424ms
97
+ ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  414ms
98
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 216ms
99
+ ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 301ms
100
+ ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 64ms
101
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 239ms
98
102
  ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 56ms
99
103
 
100
-  Test Files  50 passed | 1 skipped (51)
101
-  Tests  386 passed | 6 skipped (392)
102
-  Start at  15:10:20
103
-  Duration  58.50s (transform 2.66s, setup 9.89s, import 47.20s, tests 56.76s, environment 48.86s)
104
+  Test Files  51 passed | 1 skipped (52)
105
+  Tests  391 passed | 6 skipped (397)
106
+  Start at  21:24:54
107
+  Duration  59.43s (transform 2.17s, setup 9.59s, import 49.22s, tests 58.48s, environment 48.84s)
104
108