@coveord/plasma-mantine 56.20.0 → 56.20.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 +4 -4
  2. package/.turbo/turbo-test.log +114 -117
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/Checkbox/Checkbox.d.ts.map +1 -1
  5. package/dist/cjs/components/Checkbox/Checkbox.js +1 -0
  6. package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
  7. package/dist/cjs/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  8. package/dist/cjs/components/CodeEditor/CodeEditor.js +2 -1
  9. package/dist/cjs/components/CodeEditor/CodeEditor.js.map +1 -1
  10. package/dist/cjs/components/CopyToClipboard/CopyToClipboard.js +1 -0
  11. package/dist/cjs/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  12. package/dist/cjs/hooks/useParentHeight.d.ts.map +1 -1
  13. package/dist/cjs/hooks/useParentHeight.js +6 -4
  14. package/dist/cjs/hooks/useParentHeight.js.map +1 -1
  15. package/dist/esm/components/Checkbox/Checkbox.d.ts.map +1 -1
  16. package/dist/esm/components/Checkbox/Checkbox.js +1 -0
  17. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  18. package/dist/esm/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  19. package/dist/esm/components/CodeEditor/CodeEditor.js +2 -1
  20. package/dist/esm/components/CodeEditor/CodeEditor.js.map +1 -1
  21. package/dist/esm/components/CopyToClipboard/CopyToClipboard.js +1 -0
  22. package/dist/esm/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  23. package/dist/esm/hooks/useParentHeight.d.ts.map +1 -1
  24. package/dist/esm/hooks/useParentHeight.js +5 -4
  25. package/dist/esm/hooks/useParentHeight.js.map +1 -1
  26. package/package.json +3 -3
  27. package/src/components/Checkbox/Checkbox.ts +1 -0
  28. package/src/components/CodeEditor/CodeEditor.tsx +2 -8
  29. package/src/components/CodeEditor/__tests__/CodeEditor.spec.tsx +18 -0
  30. package/src/components/CopyToClipboard/CopyToClipboard.tsx +2 -0
  31. package/src/hooks/__tests__/useParentHeight.spec.tsx +150 -0
  32. package/src/hooks/useParentHeight.ts +6 -3
@@ -1,9 +1,9 @@
1
1
 
2
- > @coveord/plasma-mantine@56.18.0 build /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.20.0 build /home/runner/work/plasma/plasma/packages/mantine
3
3
  > node ../../scripts/build
4
4
 
5
- (node:3794) [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:3733) [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: 232 files, copied 68 files with swc (698.02ms)
8
- Successfully compiled: 232 files, copied 68 files with swc (707.88ms)
7
+ Successfully compiled: 232 files, copied 68 files with swc (565.18ms)
8
+ Successfully compiled: 232 files, copied 68 files with swc (712.17ms)
9
9
 
@@ -1,129 +1,126 @@
1
1
 
2
- > @coveord/plasma-mantine@56.18.0 test /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.20.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__/CollectionWithColumns.spec.tsx (17 tests) 1115ms
9
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 2314ms
10
- ✓ removes the item when clicking on its remove button  312ms
11
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4512ms
12
- ✓ renders the data using the RowLayout by default  577ms
13
- ✓ closes the opened collapsible when using the accordion column and the user expand a different row  408ms
14
- ✓ allows selection of a different row if row selection is forced  357ms
15
- ✓ selects all rows of the current page when clicking on the checkbox that is in the column header  353ms
16
- ✓ prevents row selection if disableRowSelection is true  479ms
17
- ✓ prevents click on checkboxes if disableRowSelection is true  338ms
18
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2845ms
19
- ✓ reset row selection when user click outside the table  357ms
20
- ✓ handles switching layout  476ms
21
- ✓ does not clear the row selection when clicking outside the table  362ms
22
- ✓ unselects all the selected rows when clicking on the the unselect button from the table header  532ms
23
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1443ms
24
- ✓ calculates the number of pages based on the pageSize and the total number of entries  413ms
25
- ✓ changes the page when the pagination is client side  455ms
26
- ✓ changes page when the current page is greater than the total number of pages  325ms
27
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3603ms
28
- ✓ displays the actions when the row is selected  655ms
29
- ✓ displays the secondary actions when the row is selected and the user clicks on more  1699ms
30
- ✓ passes down an array of selected rows  666ms
31
- ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 10306ms
32
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  660ms
33
- ✓ renders all columns in the dropdown except control columns  1159ms
34
- ✓ renders all checkboxes checked by default  967ms
35
- ✓ hides a column when the user unchecks it  1033ms
36
- ✓ shows a column when the user checks it  918ms
37
- ✓ renders a disabled checked checkbox for columns that are always visible  719ms
38
- ✓ renders a tooltip when hovering a disabled always visible column checkbox  779ms
39
- ✓ renders unchecked checkboxes for columns that are not visible in the initial state  877ms
40
- ✓ disables unchecked columns when the maximum number of visible columns is reached  916ms
8
+ ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 1095ms
9
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 2250ms
10
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4410ms
11
+ ✓ renders the data using the RowLayout by default  578ms
12
+ ✓ closes the opened collapsible when using the accordion column and the user expand a different row  420ms
13
+ ✓ toggles row selection when clicking on a selected row  325ms
14
+ ✓ selects all rows of the current page when clicking on the checkbox that is in the column header  327ms
15
+ ✓ prevents row selection if disableRowSelection is true  451ms
16
+ ✓ prevents click on checkboxes if disableRowSelection is true  301ms
17
+ ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2635ms
18
+ ✓ reset row selection when user click outside the table  330ms
19
+ ✓ handles switching layout  389ms
20
+ ✓ does not clear the row selection when clicking outside the table  380ms
21
+ ✓ unselects all the selected rows when clicking on the the unselect button from the table header  547ms
22
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1273ms
23
+ ✓ calculates the number of pages based on the pageSize and the total number of entries  380ms
24
+ ✓ changes the page when the pagination is client side  355ms
25
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3582ms
26
+ ✓ displays the actions when the row is selected  610ms
27
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  1784ms
28
+ ✓ passes down an array of selected rows  622ms
29
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 10114ms
30
+ ✓ renders the column selector button in the actions column header when rowConfigurable is true  684ms
31
+ ✓ renders all columns in the dropdown except control columns  1153ms
32
+ ✓ renders all checkboxes checked by default  941ms
33
+ ✓ hides a column when the user unchecks it  957ms
34
+ ✓ shows a column when the user checks it  929ms
35
+ ✓ renders a disabled checked checkbox for columns that are always visible  639ms
36
+ ✓ renders a tooltip when hovering a disabled always visible column checkbox  657ms
37
+ ✓ renders unchecked checkboxes for columns that are not visible in the initial state  837ms
38
+ ✓ disables unchecked columns when the maximum number of visible columns is reached  936ms
41
39
  ✓ renders a footer with the max columns message when maxSelectableColumns is set  722ms
42
- ✓ does not render a footer when maxSelectableColumns is not set  636ms
43
- ✓ enables a disabled column when a visible column is hidden  903ms
44
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 171ms
45
- ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (15 tests) 3504ms
46
- ✓ displays the count when it exists  414ms
47
- ✓ handles keyboard navigation when there is no search  458ms
48
- ✓ ticks the checkboxes on click  355ms
49
- ✓ hides elements that do not match the user query  405ms
50
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1356ms
51
- ✓ calls the onClick prop when clicking on the menu item  391ms
52
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1244ms
53
- ✓ displays the label  322ms
54
- ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 10ms
55
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1779ms
56
- ✓ displays the placeholder  360ms
57
- ✓ goes back to the first page when changing the filter  438ms
58
- ✓ does not unselect rows that get filtered out  595ms
59
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 17620ms
60
- ✓ opens popover when input is clicked  456ms
61
- ✓ calls onChange when a date range is applied  3098ms
62
- ✓ closes popover when Cancel is clicked  690ms
63
- ✓ calls onCancel when Cancel button is clicked  695ms
64
- ✓ applies the selected date range in uncontrolled mode  3492ms
65
- ✓ applies the selected date range in controlled mode  4080ms
66
- ✓ renders preset options in the popover  1022ms
67
- ✓ sets the selected date range in the url  2746ms
68
- ✓ calls onOpenedChange when popover state changes  491ms
69
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 1032ms
70
- ✓ renders the monaco editor, a copy to clipboard button and a search button  430ms
71
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5831ms
72
- ✓ calls onApply when the user clicks on the apply button  947ms
73
- ✓ calls onCancel when the user clicks on the cancel button  449ms
74
- ✓ calls onApply with the selected dates when clicking in the calendar  1519ms
75
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  1041ms
76
- ✓ calls onApply with the selected dates when typing in the inputs  1809ms
77
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 566ms
78
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 881ms
79
- ✓ displays the sort icon for every sortable column  348ms
80
- ✓ changes the sort icon when clicking on a table header  343ms
81
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3516ms
82
- ✓ goes back to the first page when changing the predicate  1980ms
83
- ✓ sets the current predicate value in the url using the predicate id as key  1320ms
84
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4270ms
85
- ✓ calls onApply with the selected dates when clicking in the calendar  4135ms
86
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4934ms
87
- ✓ displays the initial dates  439ms
88
- ✓ sets the selected date range in the url  4408ms
89
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 4948ms
90
- ✓ updates with the selected dates when choosing a preset  1315ms
91
- ✓ can change the date and time  3521ms
92
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 547ms
93
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 854ms
94
- ✓ expands the rows when the user clicks on a cell  678ms
95
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3983ms
96
- ✓ renders an input for the start and an input for the end  386ms
97
- ✓ updates when editing values  1532ms
98
- ✓ accepts minDate and maxDate props for start and end inputs  2062ms
99
- ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 12ms
40
+ ✓ does not render a footer when maxSelectableColumns is not set  703ms
41
+ ✓ enables a disabled column when a visible column is hidden  938ms
42
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 163ms
43
+ ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (15 tests) 3481ms
44
+ ✓ displays the count when it exists  463ms
45
+ ✓ handles keyboard navigation when there is no search  441ms
46
+ ✓ ticks the checkboxes on click  416ms
47
+ ✓ hides elements that do not match the user query  329ms
48
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1482ms
49
+ ✓ calls the onClick prop when clicking on the menu item  319ms
50
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1219ms
51
+ ✓ displays the label  327ms
52
+ ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 9ms
53
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1602ms
54
+ ✓ goes back to the first page when changing the filter  416ms
55
+ ✓ does not unselect rows that get filtered out  475ms
56
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 1016ms
57
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  413ms
58
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 17056ms
59
+ ✓ opens popover when input is clicked  524ms
60
+ ✓ calls onChange when a date range is applied  3091ms
61
+ ✓ closes popover when Cancel is clicked  758ms
62
+ ✓ calls onCancel when Cancel button is clicked  652ms
63
+ ✓ applies the selected date range in uncontrolled mode  3283ms
64
+ ✓ applies the selected date range in controlled mode  3812ms
65
+ ✓ renders preset options in the popover  1152ms
66
+ ✓ sets the selected date range in the url  2559ms
67
+ ✓ calls onOpenedChange when popover state changes  519ms
68
+ ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 70ms
69
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3552ms
70
+ ✓ goes back to the first page when changing the predicate  1963ms
71
+ ✓ sets the current predicate value in the url using the predicate id as key  1359ms
72
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 599ms
73
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5083ms
74
+ ✓ calls onApply when the user clicks on the apply button  960ms
75
+ ✓ calls onCancel when the user clicks on the cancel button  442ms
76
+ ✓ calls onApply with the selected dates when clicking in the calendar  1346ms
77
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  808ms
78
+ ✓ calls onApply with the selected dates when typing in the inputs  1437ms
79
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 963ms
80
+ ✓ displays the sort icon for every sortable column  340ms
81
+ ✓ changes the sort icon when clicking on a table header  425ms
82
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4124ms
83
+ ✓ calls onApply with the selected dates when clicking in the calendar  3971ms
84
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4389ms
85
+ ✓ displays the initial dates  414ms
86
+ ✓ sets the selected date range in the url  3889ms
87
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 5174ms
88
+ ✓ updates with the selected dates when choosing a preset  1281ms
89
+ ✓ can change the date and time  3741ms
90
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 807ms
91
+ ✓ expands the rows when the user clicks on a cell  613ms
92
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3476ms
93
+ ✓ renders an input for the start and an input for the end  310ms
94
+ ✓ updates when editing values  1279ms
95
+ ✓ accepts minDate and maxDate props for start and end inputs  1885ms
96
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 519ms
97
+ ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 587ms
98
+ ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 7ms
100
99
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
101
- ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 637ms
102
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 550ms
103
- ✓ shows a tooltip when hovering over the disabled button  488ms
104
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 473ms
105
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1103ms
106
- ✓ calls onChange when selecting a preset  950ms
107
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 29ms
108
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 735ms
109
- ✓ displays the title, body and close button  343ms
110
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 581ms
111
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 561ms
112
- ✓ renders the specified text as the header tooltip content  475ms
113
- ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 23ms
100
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 501ms
101
+ ✓ shows a tooltip when hovering over the disabled button  442ms
102
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1014ms
103
+ ✓ calls onChange when selecting a preset  840ms
104
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 451ms
105
+ ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 27ms
106
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 744ms
107
+ ✓ displays the title, body and close button  387ms
108
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 606ms
109
+ ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 9ms
110
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 542ms
111
+ ✓ renders the specified text as the header tooltip content  466ms
114
112
  ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 531ms
115
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 397ms
116
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 261ms
117
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 281ms
118
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 94ms
119
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 255ms
120
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 329ms
121
- ✓ should call handleSearch when the search button is clicked  326ms
113
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 375ms
114
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 255ms
115
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 331ms
116
+ ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 93ms
117
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 266ms
118
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 282ms
122
119
  ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 53ms
123
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 52ms
120
+ ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 49ms
124
121
 
125
-  Test Files  44 passed | 1 skipped (45)
126
-  Tests  327 passed | 6 skipped (333)
127
-  Start at  22:57:50
128
-  Duration  65.96s (transform 2.17s, setup 10.95s, import 52.50s, tests 90.14s, environment 33.74s)
122
+  Test Files  45 passed | 1 skipped (46)
123
+  Tests  332 passed | 6 skipped (338)
124
+  Start at  16:44:31
125
+  Duration  64.51s (transform 2.02s, setup 10.79s, import 51.42s, tests 86.87s, environment 34.03s)
129
126