@coveord/plasma-mantine 56.9.0 → 56.10.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 (55) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/.turbo/turbo-test.log +113 -107
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/InfoToken/InfoToken.d.ts +62 -2
  5. package/dist/cjs/components/InfoToken/InfoToken.d.ts.map +1 -1
  6. package/dist/cjs/components/InfoToken/InfoToken.js +5 -0
  7. package/dist/cjs/components/InfoToken/InfoToken.js.map +1 -1
  8. package/dist/cjs/components/StatusToken/StatusToken.d.ts +31 -0
  9. package/dist/cjs/components/StatusToken/StatusToken.d.ts.map +1 -0
  10. package/dist/cjs/components/StatusToken/StatusToken.js +128 -0
  11. package/dist/cjs/components/StatusToken/StatusToken.js.map +1 -0
  12. package/dist/cjs/components/StatusToken/StatusToken.module.css +42 -0
  13. package/dist/cjs/components/StatusToken/icons/circle.svg +3 -0
  14. package/dist/cjs/components/StatusToken/icons/info.svg +5 -0
  15. package/dist/cjs/components/StatusToken/icons/ring.svg +3 -0
  16. package/dist/cjs/components/StatusToken/icons/square.svg +3 -0
  17. package/dist/cjs/components/StatusToken/icons/triangle.svg +3 -0
  18. package/dist/cjs/index.d.ts +1 -0
  19. package/dist/cjs/index.d.ts.map +1 -1
  20. package/dist/cjs/index.js +1 -0
  21. package/dist/cjs/index.js.map +1 -1
  22. package/dist/cjs/types/svg-raw/index.d.js +3 -0
  23. package/dist/cjs/types/svg-raw/index.d.js.map +1 -0
  24. package/dist/esm/components/InfoToken/InfoToken.d.ts +62 -2
  25. package/dist/esm/components/InfoToken/InfoToken.d.ts.map +1 -1
  26. package/dist/esm/components/InfoToken/InfoToken.js +5 -0
  27. package/dist/esm/components/InfoToken/InfoToken.js.map +1 -1
  28. package/dist/esm/components/StatusToken/StatusToken.d.ts +31 -0
  29. package/dist/esm/components/StatusToken/StatusToken.d.ts.map +1 -0
  30. package/dist/esm/components/StatusToken/StatusToken.js +103 -0
  31. package/dist/esm/components/StatusToken/StatusToken.js.map +1 -0
  32. package/dist/esm/components/StatusToken/StatusToken.module.css +42 -0
  33. package/dist/esm/components/StatusToken/icons/circle.svg +3 -0
  34. package/dist/esm/components/StatusToken/icons/info.svg +5 -0
  35. package/dist/esm/components/StatusToken/icons/ring.svg +3 -0
  36. package/dist/esm/components/StatusToken/icons/square.svg +3 -0
  37. package/dist/esm/components/StatusToken/icons/triangle.svg +3 -0
  38. package/dist/esm/index.d.ts +1 -0
  39. package/dist/esm/index.d.ts.map +1 -1
  40. package/dist/esm/index.js +2 -0
  41. package/dist/esm/index.js.map +1 -1
  42. package/dist/esm/types/svg-raw/index.d.js +2 -0
  43. package/dist/esm/types/svg-raw/index.d.js.map +1 -0
  44. package/package.json +1 -1
  45. package/src/components/InfoToken/InfoToken.tsx +39 -36
  46. package/src/components/StatusToken/StatusToken.module.css +42 -0
  47. package/src/components/StatusToken/StatusToken.tsx +152 -0
  48. package/src/components/StatusToken/__tests__/StatusToken.component.spec.tsx +28 -0
  49. package/src/components/StatusToken/icons/circle.svg +3 -0
  50. package/src/components/StatusToken/icons/info.svg +5 -0
  51. package/src/components/StatusToken/icons/ring.svg +3 -0
  52. package/src/components/StatusToken/icons/square.svg +3 -0
  53. package/src/components/StatusToken/icons/triangle.svg +3 -0
  54. package/src/index.ts +3 -0
  55. package/src/types/svg-raw/index.d.ts +4 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @coveord/plasma-mantine@56.8.1 build /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.9.0 build /home/runner/work/plasma/plasma/packages/mantine
3
3
  > node ../../scripts/build
4
4
 
5
- (node:3611) [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: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.
6
6
  (Use `node --trace-deprecation ...` to show where the warning was created)
7
- Successfully compiled: 205 files, copied 58 files with swc (454.65ms)
8
- Successfully compiled: 205 files, copied 58 files with swc (625.95ms)
7
+ Successfully compiled: 207 files, copied 64 files with swc (501.57ms)
8
+ Successfully compiled: 207 files, copied 64 files with swc (621.32ms)
9
9
 
@@ -1,118 +1,124 @@
1
1
 
2
- > @coveord/plasma-mantine@56.8.1 test /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@56.9.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) 1995ms
9
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 2613ms
10
- ✓ does not reset row selection when clicking within one of the specified additionalRootNodes, even if it is outside the table  311ms
11
- ✓ handles switching layout  449ms
12
- ✓ does not clear the row selection when clicking outside the table  371ms
13
- ✓ unselects all the selected rows when clicking on the the unselect button from the table header  365ms
14
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 4423ms
15
- ✓ renders the data using the RowLayout by default  549ms
16
- ✓ closes the opened collapsible when using the accordion column and the user expand a different row  520ms
17
- ✓ toggles row selection when clicking on a selected row  335ms
18
- ✓ allows selection of a different row if row selection is forced  313ms
19
- ✓ prevents row selection if disableRowSelection is true  504ms
20
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 1347ms
21
- ✓ calculates the number of pages based on the pageSize and the total number of entries  424ms
22
- ✓ changes the page when the pagination is client side  382ms
23
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 3509ms
24
- ✓ displays the actions when the row is selected  745ms
25
- ✓ displays the secondary actions when the row is selected and the user clicks on more  1722ms
26
- ✓ passes down an array of selected rows  561ms
27
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 162ms
28
- ✓ src/components/Table/__tests__/TableColumnsSelectorHeader.spec.tsx (12 tests) 11723ms
29
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  762ms
30
- ✓ renders all columns in the dropdown except control columns  1424ms
31
- ✓ renders all checkboxes checked by default  1093ms
32
- ✓ hides a column when the user unchecks it  999ms
33
- ✓ shows a column when the user checks it  888ms
34
- ✓ renders a disabled checked checkbox for columns that are always visible  874ms
35
- ✓ renders a tooltip when hovering a disabled always visible column checkbox  1110ms
36
- ✓ renders unchecked checkboxes for columns that are not visible in the initial state  989ms
37
- ✓ disables unchecked columns when the maximum number of visible columns is reached  1056ms
38
- ✓ renders a footer with the max columns message when maxSelectableColumns is set  899ms
39
- ✓ does not render a footer when maxSelectableColumns is not set  798ms
40
- ✓ enables a disabled column when a visible column is hidden  790ms
41
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 1305ms
42
- ✓ calls the onClick prop when clicking on the menu item  361ms
43
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 1212ms
44
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1701ms
45
- ✓ displays the placeholder  417ms
46
- ✓ goes back to the first page when changing the filter  448ms
47
- ✓ does not unselect rows that get filtered out  444ms
48
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (9 tests | 1 skipped) 1043ms
49
- ✓ renders the monaco editor, a copy to clipboard button and a search button  483ms
50
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 16783ms
51
- ✓ renders with placeholder text when no date range is selected  343ms
52
- ✓ opens popover when input is clicked  528ms
53
- ✓ calls onChange when a date range is applied  3071ms
54
- ✓ closes popover when Cancel is clicked  727ms
55
- ✓ calls onCancel when Cancel button is clicked  486ms
56
- ✓ applies the selected date range in uncontrolled mode  3392ms
57
- ✓ applies the selected date range in controlled mode  3507ms
58
- ✓ renders preset options in the popover  1105ms
59
- ✓ sets the selected date range in the url  2574ms
60
- ✓ calls onOpenedChange when popover state changes  499ms
61
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5840ms
62
- ✓ calls onApply when the user clicks on the apply button  963ms
63
- ✓ calls onCancel when the user clicks on the cancel button  506ms
64
- ✓ calls onApply with the selected dates when clicking in the calendar  1491ms
65
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  963ms
66
- ✓ calls onApply with the selected dates when typing in the inputs  1833ms
67
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 557ms
68
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 2994ms
69
- ✓ goes back to the first page when changing the predicate  1639ms
70
- ✓ sets the current predicate value in the url using the predicate id as key  1170ms
71
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 869ms
72
- ✓ displays the sort icon for every sortable column  337ms
73
- ✓ changes the sort icon when clicking on a table header  359ms
74
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 4118ms
75
- ✓ calls onApply with the selected dates when clicking in the calendar  3997ms
76
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 4651ms
77
- ✓ displays the initial dates  432ms
78
- ✓ sets the selected date range in the url  4137ms
79
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 5130ms
80
- ✓ updates with the selected dates when choosing a preset  1289ms
81
- ✓ can change the date and time  3664ms
82
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 769ms
83
- ✓ expands the rows when the user clicks on a cell  615ms
84
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3725ms
85
- ✓ renders an input for the start and an input for the end  359ms
86
- ✓ updates when editing values  1489ms
87
- ✓ accepts minDate and maxDate props for start and end inputs  1874ms
88
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 444ms
89
- ✓ src/components/Button/__tests__/Button.spec.tsx (4 tests) 530ms
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
90
93
  ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 5ms
91
94
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
92
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 505ms
93
- ✓ shows a tooltip when hovering over the disabled button  459ms
94
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 425ms
95
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 1115ms
96
- ✓ calls onChange when selecting a preset  881ms
97
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 29ms
98
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 838ms
99
- ✓ displays the title, body and close button  383ms
100
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 560ms
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
101
105
  ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 8ms
102
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 534ms
103
- ✓ renders the specified text as the header tooltip content  444ms
104
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (3 tests) 304ms
105
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 285ms
106
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (3 tests) 288ms
107
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 94ms
108
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 251ms
109
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 369ms
110
- ✓ should call handleSearch when the search button is clicked  366ms
111
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 59ms
112
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 49ms
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
113
119
 
114
-  Test Files  40 passed | 1 skipped (41)
115
-  Tests  271 passed | 6 skipped (277)
116
-  Start at  15:03:26
117
-  Duration  59.05s (transform 1.83s, setup 9.35s, import 45.73s, tests 83.16s, environment 28.99s)
120
+  Test Files  41 passed | 1 skipped (42)
121
+  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)
118
124