@coveord/plasma-mantine 56.10.0 → 56.12.0

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/.turbo/turbo-build.log +4 -4
  2. package/.turbo/turbo-test.log +107 -112
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/Card/Card.d.ts.map +1 -1
  5. package/dist/cjs/components/Card/Card.js +1 -0
  6. package/dist/cjs/components/Card/Card.js.map +1 -1
  7. package/dist/cjs/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  8. package/dist/cjs/components/SegmentedControl/SegmentedControl.js +1 -0
  9. package/dist/cjs/components/SegmentedControl/SegmentedControl.js.map +1 -1
  10. package/dist/cjs/components/Table/table-columns-selector/TableColumnsSelector.d.ts.map +1 -1
  11. package/dist/cjs/components/Table/table-columns-selector/TableColumnsSelector.js +46 -55
  12. package/dist/cjs/components/Table/table-columns-selector/TableColumnsSelector.js.map +1 -1
  13. package/dist/cjs/components/Tabs/Tabs.d.ts.map +1 -1
  14. package/dist/cjs/components/Tabs/Tabs.js +4 -0
  15. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  16. package/dist/cjs/components/Tooltip/Tooltip.d.ts.map +1 -1
  17. package/dist/cjs/components/Tooltip/Tooltip.js +1 -0
  18. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  19. package/dist/esm/components/Card/Card.d.ts.map +1 -1
  20. package/dist/esm/components/Card/Card.js +2 -0
  21. package/dist/esm/components/Card/Card.js.map +1 -1
  22. package/dist/esm/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  23. package/dist/esm/components/SegmentedControl/SegmentedControl.js +2 -0
  24. package/dist/esm/components/SegmentedControl/SegmentedControl.js.map +1 -1
  25. package/dist/esm/components/Table/table-columns-selector/TableColumnsSelector.d.ts.map +1 -1
  26. package/dist/esm/components/Table/table-columns-selector/TableColumnsSelector.js +47 -51
  27. package/dist/esm/components/Table/table-columns-selector/TableColumnsSelector.js.map +1 -1
  28. package/dist/esm/components/Tabs/Tabs.d.ts.map +1 -1
  29. package/dist/esm/components/Tabs/Tabs.js +5 -0
  30. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  31. package/dist/esm/components/Tooltip/Tooltip.d.ts.map +1 -1
  32. package/dist/esm/components/Tooltip/Tooltip.js +2 -0
  33. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  34. package/package.json +3 -3
  35. package/src/components/Card/Card.ts +4 -0
  36. package/src/components/SegmentedControl/SegmentedControl.ts +4 -0
  37. package/src/components/Table/__tests__/{TableColumnsSelectorHeader.spec.tsx → TableColumnsSelector.spec.tsx} +3 -2
  38. package/src/components/Table/table-columns-selector/TableColumnsSelector.tsx +36 -46
  39. package/src/components/Tabs/Tabs.ts +7 -0
  40. package/src/components/Tooltip/Tooltip.ts +4 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @coveord/plasma-mantine@56.9.0 build /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.11.0 build /home/runner/work/plasma/plasma/packages/mantine
3
3
  > node ../../scripts/build
4
4
 
5
- (node:3026) [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.
5
+ (node:3024) [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.
6
6
  (Use `node --trace-deprecation ...` to show where the warning was created)
7
- Successfully compiled: 207 files, copied 64 files with swc (501.57ms)
8
- Successfully compiled: 207 files, copied 64 files with swc (621.32ms)
7
+ Successfully compiled: 207 files, copied 64 files with swc (610.15ms)
8
+ Successfully compiled: 207 files, copied 64 files with swc (616.4ms)
9
9
 
@@ -1,124 +1,119 @@
1
1
 
2
- > @coveord/plasma-mantine@56.9.0 test /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.11.0 test /home/runner/work/plasma/plasma/packages/mantine
3
3
  > cross-env TZ=UTC vitest run --silent
4
4
 
5
5
 
6
6
   RUN  v4.0.15 /home/runner/work/plasma/plasma/packages/mantine
7
7
 
8
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (16 tests) 2086ms
9
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 3037ms
10
- ✓ reset row selection when user click outside the table  302ms
11
- ✓ does not reset row selection when clicking within one of the specified additionalRootNodes, even if it is outside the table  336ms
12
- ✓ handles switching layout  548ms
13
- ✓ does not clear the row selection when clicking outside the table  387ms
14
- ✓ unselects all the selected rows when clicking on the the unselect button from the table header  539ms
15
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4291ms
16
- ✓ renders the data using the RowLayout by default  538ms
17
- ✓ closes the opened collapsible when using the accordion column and the user expand a different row  423ms
18
- ✓ toggles row selection when clicking on a selected row  372ms
19
- ✓ prevents row selection if disableRowSelection is true  415ms
20
- ✓ prevents click on checkboxes if disableRowSelection is true  306ms
21
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1389ms
22
- ✓ calculates the number of pages based on the pageSize and the total number of entries  392ms
23
- ✓ changes the page when the pagination is client side  400ms
24
- ✓ changes page when the current page is greater than the total number of pages  314ms
25
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3624ms
26
- ✓ displays the actions when the row is selected  713ms
27
- ✓ displays the secondary actions when the row is selected and the user clicks on more  1583ms
28
- ✓ passes down an array of selected rows  736ms
29
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 142ms
30
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1281ms
31
- ✓ calls the onClick prop when clicking on the menu item  331ms
32
- ✓ src/components/Table/__tests__/TableColumnsSelectorHeader.spec.tsx (12 tests) 12100ms
33
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  744ms
34
- ✓ renders all columns in the dropdown except control columns  1504ms
35
- ✓ renders all checkboxes checked by default  983ms
36
- ✓ hides a column when the user unchecks it  1066ms
37
- ✓ shows a column when the user checks it  1067ms
38
- ✓ renders a disabled checked checkbox for columns that are always visible  848ms
39
- ✓ renders a tooltip when hovering a disabled always visible column checkbox  1053ms
40
- ✓ renders unchecked checkboxes for columns that are not visible in the initial state  1091ms
41
- ✓ disables unchecked columns when the maximum number of visible columns is reached  1011ms
42
- ✓ renders a footer with the max columns message when maxSelectableColumns is set  872ms
43
- ✓ does not render a footer when maxSelectableColumns is not set  926ms
44
- ✓ enables a disabled column when a visible column is hidden  913ms
45
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1416ms
46
- ✓ displays the label  368ms
47
- ✓ resets page index when changing the number of items per page  326ms
48
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1777ms
49
- ✓ displays the placeholder  435ms
50
- ✓ goes back to the first page when changing the filter  435ms
51
- ✓ does not unselect rows that get filtered out  566ms
52
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 1055ms
53
- ✓ renders the monaco editor, a copy to clipboard button and a search button  450ms
54
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 18155ms
55
- ✓ opens popover when input is clicked  522ms
56
- ✓ calls onChange when a date range is applied  3201ms
57
- ✓ closes popover when Cancel is clicked  856ms
58
- ✓ calls onCancel when Cancel button is clicked  755ms
59
- ✓ applies the selected date range in uncontrolled mode  3471ms
60
- ✓ applies the selected date range in controlled mode  3870ms
61
- ✓ renders preset options in the popover  996ms
62
- ✓ sets the selected date range in the url  3031ms
63
- ✓ calls onOpenedChange when popover state changes  611ms
64
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5881ms
65
- ✓ calls onApply when the user clicks on the apply button  1001ms
66
- ✓ calls onCancel when the user clicks on the cancel button  554ms
67
- ✓ calls onApply with the selected dates when clicking in the calendar  1490ms
68
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  914ms
69
- ✓ calls onApply with the selected dates when typing in the inputs  1827ms
70
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3438ms
71
- ✓ goes back to the first page when changing the predicate  1946ms
72
- ✓ sets the current predicate value in the url using the predicate id as key  1231ms
73
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 579ms
74
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 1034ms
75
- ✓ displays the sort icon for every sortable column  434ms
76
- ✓ changes the sort icon when clicking on a table header  360ms
77
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4250ms
78
- ✓ calls onApply with the selected dates when clicking in the calendar  4106ms
79
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 5075ms
80
- ✓ displays the initial dates  450ms
81
- ✓ sets the selected date range in the url  4566ms
82
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 5391ms
83
- ✓ updates with the selected dates when choosing a preset  1458ms
84
- ✓ can change the date and time  3762ms
85
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 876ms
86
- ✓ expands the rows when the user clicks on a cell  735ms
87
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 469ms
88
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 4130ms
89
- ✓ renders an input for the start and an input for the end  410ms
90
- ✓ updates when editing values  1577ms
91
- ✓ accepts minDate and maxDate props for start and end inputs  2141ms
92
- ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 532ms
93
- ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 5ms
8
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (16 tests) 2002ms
9
+ ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2633ms
10
+ ✓ reset row selection when user click outside the table  305ms
11
+ ✓ handles switching layout  512ms
12
+ ✓ does not clear the row selection when clicking outside the table  325ms
13
+ ✓ unselects all the selected rows when clicking on the the unselect button from the table header  358ms
14
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4141ms
15
+ ✓ renders the data using the RowLayout by default  597ms
16
+ ✓ closes the opened collapsible when using the accordion column and the user expand a different row  444ms
17
+ ✓ allows selection of a different row if row selection is forced  327ms
18
+ ✓ selects all rows of the current page when clicking on the checkbox that is in the column header  308ms
19
+ ✓ prevents row selection if disableRowSelection is true  369ms
20
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1376ms
21
+ ✓ calculates the number of pages based on the pageSize and the total number of entries  415ms
22
+ ✓ changes the page when the pagination is client side  423ms
23
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3249ms
24
+ ✓ displays the actions when the row is selected  599ms
25
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  1394ms
26
+ ✓ passes down an array of selected rows  739ms
27
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 174ms
28
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 9726ms
29
+ ✓ renders the column selector button in the actions column header when rowConfigurable is true  697ms
30
+ ✓ renders all columns in the dropdown except control columns  1145ms
31
+ ✓ renders all checkboxes checked by default  900ms
32
+ ✓ hides a column when the user unchecks it  998ms
33
+ ✓ shows a column when the user checks it  949ms
34
+ ✓ renders a disabled checked checkbox for columns that are always visible  631ms
35
+ ✓ renders a tooltip when hovering a disabled always visible column checkbox  693ms
36
+ ✓ renders unchecked checkboxes for columns that are not visible in the initial state  846ms
37
+ ✓ disables unchecked columns when the maximum number of visible columns is reached  884ms
38
+ ✓ renders a footer with the max columns message when maxSelectableColumns is set  585ms
39
+ ✓ does not render a footer when maxSelectableColumns is not set  590ms
40
+ ✓ enables a disabled column when a visible column is hidden  795ms
41
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1399ms
42
+ ✓ calls the onClick prop when clicking on the menu item  352ms
43
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1198ms
44
+ ✓ displays the label  374ms
45
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1693ms
46
+ ✓ displays the placeholder  410ms
47
+ ✓ goes back to the first page when changing the filter  426ms
48
+ ✓ does not unselect rows that get filtered out  467ms
49
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 964ms
50
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  331ms
51
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5626ms
52
+ ✓ calls onApply when the user clicks on the apply button  1008ms
53
+ ✓ calls onCancel when the user clicks on the cancel button  511ms
54
+ ✓ calls onApply with the selected dates when clicking in the calendar  1591ms
55
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  832ms
56
+ ✓ calls onApply with the selected dates when typing in the inputs  1603ms
57
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 17684ms
58
+ ✓ opens popover when input is clicked  498ms
59
+ ✓ calls onChange when a date range is applied  3241ms
60
+ ✓ closes popover when Cancel is clicked  620ms
61
+ ✓ calls onCancel when Cancel button is clicked  636ms
62
+ ✓ applies the selected date range in uncontrolled mode  3469ms
63
+ ✓ applies the selected date range in controlled mode  3882ms
64
+ ✓ renders preset options in the popover  1039ms
65
+ ✓ sets the selected date range in the url  2806ms
66
+ ✓ calls onOpenedChange when popover state changes  635ms
67
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 561ms
68
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3039ms
69
+ ✓ goes back to the first page when changing the predicate  1744ms
70
+ ✓ sets the current predicate value in the url using the predicate id as key  1155ms
71
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 952ms
72
+ ✓ displays the sort icon for every sortable column  394ms
73
+ ✓ changes the sort icon when clicking on a table header  329ms
74
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4179ms
75
+ ✓ calls onApply with the selected dates when clicking in the calendar  4054ms
76
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4914ms
77
+ ✓ displays the initial dates  436ms
78
+ ✓ sets the selected date range in the url  4378ms
79
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 4940ms
80
+ ✓ updates with the selected dates when choosing a preset  1370ms
81
+ ✓ can change the date and time  3419ms
82
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 813ms
83
+ ✓ expands the rows when the user clicks on a cell  613ms
84
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 538ms
85
+ ✓ displays the label and time  317ms
86
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 4137ms
87
+ ✓ renders an input for the start and an input for the end  368ms
88
+ ✓ updates when editing values  1653ms
89
+ ✓ accepts minDate and maxDate props for start and end inputs  2113ms
90
+ ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 436ms
91
+ ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 8ms
94
92
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
95
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 584ms
96
- ✓ shows a tooltip when hovering over the disabled button  531ms
97
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1191ms
98
- ✓ calls onChange when selecting a preset  969ms
99
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 502ms
100
- ✓ renders with default label, time and formatter  301ms
101
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 30ms
102
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 759ms
103
- ✓ displays the title, body and close button  379ms
104
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 639ms
93
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 573ms
94
+ ✓ shows a tooltip when hovering over the disabled button  507ms
95
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1169ms
96
+ ✓ calls onChange when selecting a preset  960ms
97
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 440ms
98
+ ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 31ms
99
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 747ms
100
+ ✓ displays the title, body and close button  327ms
101
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 621ms
102
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 582ms
103
+ ✓ renders the specified text as the header tooltip content  477ms
105
104
  ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 8ms
106
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 609ms
107
- ✓ renders the specified text as the header tooltip content  515ms
108
- ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 588ms
109
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 455ms
110
- ✓ renders the content  303ms
111
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 322ms
112
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 305ms
113
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 92ms
114
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 284ms
115
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 312ms
116
- ✓ should call handleSearch when the search button is clicked  309ms
117
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 63ms
118
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 53ms
105
+ ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 516ms
106
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 359ms
107
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 305ms
108
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 318ms
109
+ ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 78ms
110
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 270ms
111
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 299ms
112
+ ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 49ms
113
+ ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 49ms
119
114
 
120
115
   Test Files  41 passed | 1 skipped (42)
121
116
   Tests  281 passed | 6 skipped (287)
122
-  Start at  21:23:33
123
-  Duration  62.22s (transform 1.88s, setup 9.81s, import 47.66s, tests 88.81s, environment 30.53s)
117
+  Start at  19:47:43
118
+  Duration  61.54s (transform 1.86s, setup 10.19s, import 50.90s, tests 82.80s, environment 30.82s)
124
119