@coveord/plasma-mantine 56.8.0 → 56.8.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 (46) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/.turbo/turbo-test.log +108 -104
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/CodeEditor/languages/xml.d.ts.map +1 -1
  5. package/dist/cjs/components/CodeEditor/languages/xml.js.map +1 -1
  6. package/dist/cjs/components/Collection/enhanceWithCollectionProps.d.ts.map +1 -1
  7. package/dist/cjs/components/Collection/enhanceWithCollectionProps.js.map +1 -1
  8. package/dist/cjs/components/DateRangePicker/DateRange.module.css +4 -0
  9. package/dist/cjs/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  10. package/dist/cjs/components/DateRangePicker/DateRangePicker.js +2 -1
  11. package/dist/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
  12. package/dist/cjs/components/RadioCard/RadioCard.d.ts +26 -0
  13. package/dist/cjs/components/RadioCard/RadioCard.d.ts.map +1 -0
  14. package/dist/cjs/components/RadioCard/RadioCard.js +82 -0
  15. package/dist/cjs/components/RadioCard/RadioCard.js.map +1 -0
  16. package/dist/cjs/index.d.ts +1 -0
  17. package/dist/cjs/index.d.ts.map +1 -1
  18. package/dist/cjs/index.js +4 -0
  19. package/dist/cjs/index.js.map +1 -1
  20. package/dist/cjs/styles/RadioCard.module.css +44 -0
  21. package/dist/esm/components/CodeEditor/languages/xml.d.ts.map +1 -1
  22. package/dist/esm/components/CodeEditor/languages/xml.js.map +1 -1
  23. package/dist/esm/components/Collection/enhanceWithCollectionProps.d.ts.map +1 -1
  24. package/dist/esm/components/Collection/enhanceWithCollectionProps.js.map +1 -1
  25. package/dist/esm/components/DateRangePicker/DateRange.module.css +4 -0
  26. package/dist/esm/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  27. package/dist/esm/components/DateRangePicker/DateRangePicker.js +2 -1
  28. package/dist/esm/components/DateRangePicker/DateRangePicker.js.map +1 -1
  29. package/dist/esm/components/RadioCard/RadioCard.d.ts +26 -0
  30. package/dist/esm/components/RadioCard/RadioCard.d.ts.map +1 -0
  31. package/dist/esm/components/RadioCard/RadioCard.js +63 -0
  32. package/dist/esm/components/RadioCard/RadioCard.js.map +1 -0
  33. package/dist/esm/index.d.ts +1 -0
  34. package/dist/esm/index.d.ts.map +1 -1
  35. package/dist/esm/index.js +2 -0
  36. package/dist/esm/index.js.map +1 -1
  37. package/dist/esm/styles/RadioCard.module.css +44 -0
  38. package/package.json +19 -19
  39. package/src/components/CodeEditor/languages/xml.ts +2 -1
  40. package/src/components/Collection/enhanceWithCollectionProps.ts +2 -2
  41. package/src/components/DateRangePicker/DateRange.module.css +4 -0
  42. package/src/components/DateRangePicker/DateRangePicker.tsx +2 -1
  43. package/src/components/RadioCard/RadioCard.tsx +73 -0
  44. package/src/components/RadioCard/__tests__/RadioCard.component.spec.tsx +25 -0
  45. package/src/index.ts +3 -0
  46. package/src/styles/RadioCard.module.css +44 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @coveord/plasma-mantine@56.5.0 build /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.8.0 build /home/runner/work/plasma/plasma/packages/mantine
3
3
  > node ../../scripts/build
4
4
 
5
- (node:2991) [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:3593) [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: 204 files, copied 58 files with swc (479.59ms)
8
- Successfully compiled: 204 files, copied 58 files with swc (582.09ms)
7
+ Successfully compiled: 205 files, copied 58 files with swc (483.26ms)
8
+ Successfully compiled: 205 files, copied 58 files with swc (631.76ms)
9
9
 
@@ -1,113 +1,117 @@
1
1
 
2
- > @coveord/plasma-mantine@56.5.0 test /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.8.0 test /home/runner/work/plasma/plasma/packages/mantine
3
3
  > cross-env TZ=UTC vitest run --silent
4
4
 
5
5
 
6
-  RUN  v4.0.8 /home/runner/work/plasma/plasma/packages/mantine
6
+  RUN  v4.0.15 /home/runner/work/plasma/plasma/packages/mantine
7
7
 
8
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (16 tests) 2008ms
9
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2813ms
10
- ✓ reset row selection when user click outside the table  312ms
11
- ✓ handles switching layout  469ms
12
- ✓ does not clear the row selection when clicking outside the table  331ms
13
- ✓ unselects all the selected rows when clicking on the the unselect button from the table header  564ms
14
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4063ms
15
- ✓ renders the data using the RowLayout by default  550ms
16
- ✓ closes the opened collapsible when using the accordion column and the user expand a different row  448ms
17
- ✓ toggles row selection when clicking on a selected row  348ms
18
- ✓ prevents row selection if disableRowSelection is true  425ms
19
- ✓ prevents click on checkboxes if disableRowSelection is true  301ms
20
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1280ms
21
- ✓ calculates the number of pages based on the pageSize and the total number of entries  324ms
22
- ✓ changes the page when the pagination is client side  415ms
23
- ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (13 tests) 5299ms
24
- ✓ render the edit button in the table header  401ms
25
- ✓ renders all columns in the dropdown, except the collapsible and the multiselectRow by default  577ms
26
- ✓ renders all checkboxes checked by default  604ms
27
- ✓ renders a disabled checked checkbox for columns that are always visible  722ms
28
- ✓ renders unchecked checkboxes for the columns that are not visible in the inital state of the table  494ms
29
- ✓ renders disabled checkboxes when the maxSelectableColumns is set and the maximum number of columns is checked  546ms
30
- ✓ renders a tooltip when the maxSelectableColumns is set and the maximum number of columns is checked and the user hover a disabled checkbox  384ms
31
- ✓ renders the footer when maxSelectableColumns is defined and footer is defined  354ms
32
- ✓ sets the current visible column ids in the url  489ms
33
- ✓ determines the initial visible columns from the url  428ms
34
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3545ms
35
- ✓ displays the actions when the row is selected  609ms
36
- ✓ displays the secondary actions when the row is selected and the user clicks on more  1668ms
37
- ✓ passes down an array of selected rows  704ms
38
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 189ms
39
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1386ms
40
- ✓ calls the onClick prop when clicking on the menu item  362ms
41
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1241ms
42
- ✓ displays the label  353ms
43
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1500ms
44
- ✓ goes back to the first page when changing the filter  389ms
45
- ✓ does not unselect rows that get filtered out  444ms
46
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 976ms
47
- ✓ renders the monaco editor, a copy to clipboard button and a search button  423ms
48
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5614ms
49
- ✓ calls onApply when the user clicks on the apply button  983ms
50
- ✓ calls onCancel when the user clicks on the cancel button  510ms
51
- ✓ calls onApply with the selected dates when clicking in the calendar  1422ms
52
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  941ms
53
- ✓ calls onApply with the selected dates when typing in the inputs  1674ms
54
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 16813ms
55
- ✓ opens popover when input is clicked  505ms
56
- ✓ calls onChange when a date range is applied  3143ms
57
- ✓ closes popover when Cancel is clicked  689ms
58
- ✓ calls onCancel when Cancel button is clicked  577ms
59
- ✓ applies the selected date range in uncontrolled mode  3221ms
60
- ✓ applies the selected date range in controlled mode  3750ms
61
- ✓ renders preset options in the popover  1139ms
62
- ✓ sets the selected date range in the url  2565ms
63
- ✓ calls onOpenedChange when popover state changes  484ms
64
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 522ms
65
- ✓ renders a heading of level 1 with the specified children within  309ms
66
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3306ms
67
- ✓ goes back to the first page when changing the predicate  1827ms
68
- ✓ sets the current predicate value in the url using the predicate id as key  1222ms
69
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 971ms
70
- ✓ displays the sort icon for every sortable column  382ms
71
- ✓ changes the sort icon when clicking on a table header  355ms
72
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4117ms
73
- ✓ calls onApply with the selected dates when clicking in the calendar  3961ms
74
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4835ms
75
- ✓ displays the initial dates  385ms
76
- ✓ sets the selected date range in the url  4384ms
77
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 5036ms
78
- ✓ updates with the selected dates when choosing a preset  1278ms
79
- ✓ can change the date and time  3622ms
80
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 779ms
81
- ✓ expands the rows when the user clicks on a cell  631ms
82
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3847ms
83
- ✓ updates when editing values  1507ms
84
- ✓ accepts minDate and maxDate props for start and end inputs  2042ms
85
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 478ms
86
- ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 577ms
8
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (16 tests) 1936ms
9
+ ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2720ms
10
+ ✓ reset row selection when user click outside the table  320ms
11
+ ✓ handles switching layout  487ms
12
+ ✓ does not clear the row selection when clicking outside the table  354ms
13
+ ✓ unselects all the selected rows when clicking on the the unselect button from the table header  375ms
14
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4182ms
15
+ ✓ renders the data using the RowLayout by default  515ms
16
+ ✓ closes the opened collapsible when using the accordion column and the user expand a different row  407ms
17
+ ✓ toggles row selection when clicking on a selected row  349ms
18
+ ✓ allows selection of a different row if row selection is forced  347ms
19
+ ✓ prevents row selection if disableRowSelection is true  407ms
20
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1235ms
21
+ ✓ calculates the number of pages based on the pageSize and the total number of entries  349ms
22
+ ✓ changes the page when the pagination is client side  330ms
23
+ ✓ changes page when the current page is greater than the total number of pages  309ms
24
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (13 tests) 5534ms
25
+ ✓ render the edit button in the table header  415ms
26
+ ✓ renders all columns in the dropdown, except the collapsible and the multiselectRow by default  561ms
27
+ ✓ renders all checkboxes checked by default  614ms
28
+ ✓ renders a disabled checked checkbox for columns that are always visible  729ms
29
+ ✓ renders unchecked checkboxes for the columns that are not visible in the inital state of the table  503ms
30
+ ✓ renders disabled checkboxes when the maxSelectableColumns is set and the maximum number of columns is checked  603ms
31
+ ✓ renders a tooltip when the maxSelectableColumns is set and the maximum number of columns is checked and the user hover a disabled checkbox  530ms
32
+ ✓ sets the current visible column ids in the url  578ms
33
+ ✓ determines the initial visible columns from the url  407ms
34
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3510ms
35
+ ✓ displays the actions when the row is selected  679ms
36
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  1495ms
37
+ ✓ keeps the selected row data in sync with the data prop  329ms
38
+ ✓ passes down an array of selected rows  702ms
39
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 148ms
40
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1276ms
41
+ ✓ calls the onClick prop when clicking on the menu item  320ms
42
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1174ms
43
+ ✓ displays the label  335ms
44
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1580ms
45
+ ✓ displays the placeholder  347ms
46
+ ✓ goes back to the first page when changing the filter  378ms
47
+ ✓ does not unselect rows that get filtered out  500ms
48
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 904ms
49
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  415ms
50
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5160ms
51
+ ✓ calls onApply when the user clicks on the apply button  976ms
52
+ ✓ calls onCancel when the user clicks on the cancel button  399ms
53
+ ✓ calls onApply with the selected dates when clicking in the calendar  1352ms
54
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  913ms
55
+ ✓ calls onApply with the selected dates when typing in the inputs  1451ms
56
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 592ms
57
+ ✓ renders a heading of level 1 with the specified children within  311ms
58
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 17460ms
59
+ ✓ opens popover when input is clicked  461ms
60
+ ✓ calls onChange when a date range is applied  3355ms
61
+ ✓ closes popover when Cancel is clicked  679ms
62
+ ✓ calls onCancel when Cancel button is clicked  639ms
63
+ ✓ applies the selected date range in uncontrolled mode  3310ms
64
+ ✓ applies the selected date range in controlled mode  3929ms
65
+ ✓ renders preset options in the popover  1001ms
66
+ ✓ sets the selected date range in the url  2798ms
67
+ ✓ calls onOpenedChange when popover state changes  555ms
68
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 3277ms
69
+ ✓ goes back to the first page when changing the predicate  1825ms
70
+ ✓ sets the current predicate value in the url using the predicate id as key  1246ms
71
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 927ms
72
+ ✓ displays the sort icon for every sortable column  345ms
73
+ ✓ changes the sort icon when clicking on a table header  328ms
74
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4319ms
75
+ ✓ calls onApply with the selected dates when clicking in the calendar  4185ms
76
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4758ms
77
+ ✓ displays the initial dates  467ms
78
+ ✓ sets the selected date range in the url  4201ms
79
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 4894ms
80
+ ✓ updates with the selected dates when choosing a preset  1244ms
81
+ ✓ can change the date and time  3482ms
82
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 827ms
83
+ ✓ expands the rows when the user clicks on a cell  611ms
84
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3815ms
85
+ ✓ renders an input for the start and an input for the end  332ms
86
+ ✓ updates when editing values  1555ms
87
+ ✓ accepts minDate and maxDate props for start and end inputs  1924ms
88
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 493ms
89
+ ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 563ms
87
90
  ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 4ms
88
91
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
89
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 493ms
90
- ✓ shows a tooltip when hovering over the disabled button  448ms
91
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 451ms
92
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1081ms
93
- ✓ calls onChange when selecting a preset  891ms
94
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 762ms
95
- ✓ displays the title, body and close button  389ms
96
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 28ms
97
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 593ms
98
- ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 8ms
99
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 530ms
100
- ✓ renders the specified text as the header tooltip content  436ms
101
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 373ms
102
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 291ms
103
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 92ms
104
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 297ms
105
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 247ms
106
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 52ms
107
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 48ms
92
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 483ms
93
+ ✓ shows a tooltip when hovering over the disabled button  426ms
94
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 944ms
95
+ ✓ calls onChange when selecting a preset  775ms
96
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 452ms
97
+ ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 33ms
98
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 744ms
99
+ ✓ displays the title, body and close button  329ms
100
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 601ms
101
+ ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 6ms
102
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 554ms
103
+ ✓ renders the specified text as the header tooltip content  455ms
104
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 328ms
105
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 269ms
106
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 263ms
107
+ ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 76ms
108
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 294ms
109
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 292ms
110
+ ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 69ms
111
+ ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 49ms
108
112
 
109
-  Test Files  39 passed | 1 skipped (40)
110
-  Tests  269 passed | 6 skipped (275)
111
-  Start at  15:23:17
112
-  Duration  56.64s (transform 1.75s, setup 8.94s, collect 45.47s, tests 76.54s, environment 27.75s, prepare 999ms)
113
+  Test Files  40 passed | 1 skipped (41)
114
+  Tests  272 passed | 6 skipped (278)
115
+  Start at  20:22:56
116
+  Duration  56.80s (transform 1.85s, setup 9.31s, import 45.42s, tests 76.74s, environment 29.01s)
113
117