@coveord/plasma-mantine 59.1.2 → 59.3.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 (76) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/.turbo/turbo-test.log +87 -85
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/Combobox/PlasmaComboboxChevron.d.ts +7 -0
  5. package/dist/cjs/components/Combobox/PlasmaComboboxChevron.d.ts.map +1 -0
  6. package/dist/cjs/components/Combobox/PlasmaComboboxChevron.js +43 -0
  7. package/dist/cjs/components/Combobox/PlasmaComboboxChevron.js.map +1 -0
  8. package/dist/cjs/components/Combobox/PlasmaComboboxChevron.module.css +7 -0
  9. package/dist/cjs/components/InfoToken/InfoToken.module.css +1 -1
  10. package/dist/cjs/components/Input/InputLabelInfo.d.ts.map +1 -1
  11. package/dist/cjs/components/Input/InputLabelInfo.js +4 -1
  12. package/dist/cjs/components/Input/InputLabelInfo.js.map +1 -1
  13. package/dist/cjs/components/Input/InputLabelInfo.module.css +1 -0
  14. package/dist/cjs/components/RadioCard/RadioCard.d.ts.map +1 -1
  15. package/dist/cjs/components/RadioCard/RadioCard.js +18 -18
  16. package/dist/cjs/components/RadioCard/RadioCard.js.map +1 -1
  17. package/dist/cjs/components/Select/Select.js +2 -1
  18. package/dist/cjs/components/Select/Select.js.map +1 -1
  19. package/dist/cjs/components/Table/Table.module.css +3 -1
  20. package/dist/cjs/styles/ActionIcon.module.css +23 -0
  21. package/dist/cjs/styles/Card.module.css +3 -1
  22. package/dist/cjs/styles/CloseButton.module.css +15 -0
  23. package/dist/cjs/styles/Input.module.css +10 -3
  24. package/dist/cjs/styles/Pill.module.css +13 -0
  25. package/dist/cjs/styles/RadioCard.module.css +31 -30
  26. package/dist/cjs/theme/Theme.d.ts.map +1 -1
  27. package/dist/cjs/theme/Theme.js +10 -2
  28. package/dist/cjs/theme/Theme.js.map +1 -1
  29. package/dist/cjs/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
  30. package/dist/cjs/theme/plasmaCSSVariablesResolver.js +3 -1
  31. package/dist/cjs/theme/plasmaCSSVariablesResolver.js.map +1 -1
  32. package/dist/esm/components/Combobox/PlasmaComboboxChevron.d.ts +7 -0
  33. package/dist/esm/components/Combobox/PlasmaComboboxChevron.d.ts.map +1 -0
  34. package/dist/esm/components/Combobox/PlasmaComboboxChevron.js +16 -0
  35. package/dist/esm/components/Combobox/PlasmaComboboxChevron.js.map +1 -0
  36. package/dist/esm/components/Combobox/PlasmaComboboxChevron.module.css +7 -0
  37. package/dist/esm/components/InfoToken/InfoToken.module.css +1 -1
  38. package/dist/esm/components/Input/InputLabelInfo.d.ts.map +1 -1
  39. package/dist/esm/components/Input/InputLabelInfo.js +2 -1
  40. package/dist/esm/components/Input/InputLabelInfo.js.map +1 -1
  41. package/dist/esm/components/Input/InputLabelInfo.module.css +1 -0
  42. package/dist/esm/components/RadioCard/RadioCard.d.ts.map +1 -1
  43. package/dist/esm/components/RadioCard/RadioCard.js +20 -20
  44. package/dist/esm/components/RadioCard/RadioCard.js.map +1 -1
  45. package/dist/esm/components/Select/Select.js +1 -0
  46. package/dist/esm/components/Select/Select.js.map +1 -1
  47. package/dist/esm/components/Table/Table.module.css +3 -1
  48. package/dist/esm/styles/ActionIcon.module.css +23 -0
  49. package/dist/esm/styles/Card.module.css +3 -1
  50. package/dist/esm/styles/CloseButton.module.css +15 -0
  51. package/dist/esm/styles/Input.module.css +10 -3
  52. package/dist/esm/styles/Pill.module.css +13 -0
  53. package/dist/esm/styles/RadioCard.module.css +31 -30
  54. package/dist/esm/theme/Theme.d.ts.map +1 -1
  55. package/dist/esm/theme/Theme.js +11 -3
  56. package/dist/esm/theme/Theme.js.map +1 -1
  57. package/dist/esm/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
  58. package/dist/esm/theme/plasmaCSSVariablesResolver.js +3 -1
  59. package/dist/esm/theme/plasmaCSSVariablesResolver.js.map +1 -1
  60. package/package.json +3 -3
  61. package/src/components/Combobox/PlasmaComboboxChevron.module.css +7 -0
  62. package/src/components/Combobox/PlasmaComboboxChevron.tsx +30 -0
  63. package/src/components/InfoToken/InfoToken.module.css +1 -1
  64. package/src/components/Input/InputLabelInfo.module.css +1 -0
  65. package/src/components/Input/InputLabelInfo.tsx +7 -2
  66. package/src/components/RadioCard/RadioCard.tsx +25 -12
  67. package/src/components/Select/Select.tsx +1 -1
  68. package/src/components/Table/Table.module.css +3 -1
  69. package/src/styles/ActionIcon.module.css +23 -0
  70. package/src/styles/Card.module.css +3 -1
  71. package/src/styles/CloseButton.module.css +15 -0
  72. package/src/styles/Input.module.css +10 -3
  73. package/src/styles/Pill.module.css +13 -0
  74. package/src/styles/RadioCard.module.css +31 -30
  75. package/src/theme/Theme.tsx +10 -1
  76. package/src/theme/plasmaCSSVariablesResolver.ts +2 -0
@@ -1,9 +1,9 @@
1
1
 
2
- > @coveord/plasma-mantine@59.1.1 build /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@59.3.0 build /home/runner/work/plasma/plasma/packages/mantine
3
3
  > node ../../scripts/build
4
4
 
5
- (node:3832) [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:3664) [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: 231 files, copied 71 files with swc (456.86ms)
8
- Successfully compiled: 231 files, copied 71 files with swc (471.39ms)
7
+ Successfully compiled: 232 files, copied 73 files with swc (646.54ms)
8
+ Successfully compiled: 232 files, copied 73 files with swc (707.97ms)
9
9
  ✅
@@ -1,98 +1,100 @@
1
1
 
2
- > @coveord/plasma-mantine@59.1.1 test /home/runner/work/plasma/plasma/packages/mantine
2
+ > @coveord/plasma-mantine@59.3.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.1.4 /home/runner/work/plasma/plasma/packages/mantine
7
7
 
8
- ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 890ms
9
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1304ms
10
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 1775ms
11
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 1431ms
12
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 794ms
13
- ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 3267ms
14
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  405ms
15
- ✓ renders all columns in the dropdown except control columns  355ms
16
- ✓ hides a column when the user unchecks it  327ms
17
- ✓ shows a column when the user checks it  308ms
18
- ✓ enables a disabled column when a visible column is hidden  317ms
19
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1351ms
20
- ✓ displays the actions when the row is selected  416ms
21
- ✓ displays the secondary actions when the row is selected and the user clicks on more  466ms
22
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 191ms
23
- ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (15 tests) 1767ms
24
- ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 66ms
25
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 690ms
26
- ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 21ms
27
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 820ms
28
- ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 8ms
29
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 868ms
30
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 743ms
31
- ✓ renders the monaco editor, a copy to clipboard button and a search button  319ms
32
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 12531ms
33
- ✓ calls onChange when a date range is applied  2665ms
34
- ✓ closes popover when Cancel is clicked  376ms
35
- ✓ calls onCancel when Cancel button is clicked  342ms
36
- ✓ applies the selected date range in uncontrolled mode  2576ms
37
- ✓ applies the selected date range in controlled mode  2773ms
38
- ✓ sets the selected date range in the url  2330ms
39
- ✓ calls onOpenedChange when popover state changes  352ms
40
- ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 80ms
41
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1021ms
42
- ✓ goes back to the first page when changing the predicate  691ms
43
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 290ms
44
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 3923ms
45
- ✓ calls onApply when the user clicks on the apply button  635ms
46
- ✓ calls onCancel when the user clicks on the cancel button  336ms
47
- ✓ calls onApply with the selected dates when clicking in the calendar  844ms
48
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  570ms
49
- ✓ calls onApply with the selected dates when typing in the inputs  1436ms
50
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 539ms
51
- ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 481ms
52
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 2154ms
53
- ✓ calls onApply with the selected dates when clicking in the calendar  1997ms
54
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2051ms
55
- ✓ updates with the selected dates when choosing a preset  372ms
56
- ✓ can change the date and time  1541ms
57
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 3384ms
58
- ✓ displays the initial dates  333ms
59
- ✓ sets the selected date range in the url  3006ms
60
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 347ms
61
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 3152ms
62
- ✓ renders an input for the start and an input for the end  313ms
63
- ✓ updates when editing values  1254ms
64
- ✓ accepts minDate and maxDate props for start and end inputs  1580ms
65
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 536ms
66
- ✓ expands the rows when the user clicks on a cell  408ms
67
- ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 8ms
8
+ ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 888ms
9
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1404ms
10
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 1969ms
11
+ ✓ renders the data using the RowLayout by default  312ms
12
+ ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 1409ms
13
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 811ms
14
+ ✓ calculates the number of pages based on the pageSize and the total number of entries  303ms
15
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 3391ms
16
+ ✓ renders the column selector button in the actions column header when rowConfigurable is true  444ms
17
+ ✓ renders all columns in the dropdown except control columns  379ms
18
+ ✓ renders all checkboxes checked by default  307ms
19
+ ✓ hides a column when the user unchecks it  325ms
20
+ ✓ shows a column when the user checks it  324ms
21
+ ✓ enables a disabled column when a visible column is hidden  348ms
22
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1464ms
23
+ ✓ displays the actions when the row is selected  474ms
24
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  441ms
25
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 174ms
26
+ ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (15 tests) 1841ms
27
+ ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 62ms
28
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 784ms
29
+ ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 14ms
30
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 847ms
31
+ ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 11ms
32
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 812ms
33
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  334ms
34
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 933ms
35
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 12592ms
36
+ ✓ calls onChange when a date range is applied  2625ms
37
+ ✓ closes popover when Cancel is clicked  373ms
38
+ ✓ calls onCancel when Cancel button is clicked  321ms
39
+ ✓ applies the selected date range in uncontrolled mode  2390ms
40
+ ✓ applies the selected date range in controlled mode  2914ms
41
+ ✓ renders preset options in the popover  306ms
42
+ ✓ sets the selected date range in the url  2440ms
43
+ ✓ calls onOpenedChange when popover state changes  378ms
44
+ ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 60ms
45
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1129ms
46
+ ✓ goes back to the first page when changing the predicate  710ms
47
+ ✓ sets the current predicate value in the url using the predicate id as key  312ms
48
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 409ms
49
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 3879ms
50
+ ✓ calls onApply when the user clicks on the apply button  703ms
51
+ ✓ calls onApply with the selected dates when clicking in the calendar  895ms
52
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  469ms
53
+ ✓ calls onApply with the selected dates when typing in the inputs  1442ms
54
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 528ms
55
+ ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 520ms
56
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 2212ms
57
+ ✓ calls onApply with the selected dates when clicking in the calendar  2096ms
58
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 2994ms
59
+ ✓ sets the selected date range in the url  2663ms
60
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2107ms
61
+ ✓ updates with the selected dates when choosing a preset  472ms
62
+ ✓ can change the date and time  1485ms
63
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 548ms
64
+ ✓ expands the rows when the user clicks on a cell  440ms
65
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 2996ms
66
+ ✓ updates when editing values  1252ms
67
+ ✓ accepts minDate and maxDate props for start and end inputs  1498ms
68
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 346ms
69
+ ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 41ms
70
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 364ms
68
71
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
69
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 392ms
70
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 376ms
71
- ✓ shows a tooltip when hovering over the disabled button  338ms
72
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 529ms
73
- ✓ calls onChange when selecting a preset  401ms
74
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 304ms
72
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 368ms
73
+ ✓ shows a tooltip when hovering over the disabled button  327ms
74
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 564ms
75
+ ✓ calls onChange when selecting a preset  441ms
76
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 313ms
77
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 384ms
75
78
  ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 32ms
76
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 367ms
77
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 439ms
78
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 381ms
79
- ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 287ms
80
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 408ms
81
- ✓ renders the specified text as the header tooltip content  305ms
82
- ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 10ms
83
- ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 273ms
84
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 244ms
79
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 509ms
80
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 380ms
81
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 406ms
82
+ ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 342ms
83
+ ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 11ms
84
+ ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 330ms
85
+ ✓ renders LabelInfo inside the label prop and shows its tooltip content on hover  325ms
86
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 237ms
85
87
  ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 92ms
86
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 201ms
87
- ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 320ms
88
- ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  316ms
89
- ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 271ms
90
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 89ms
91
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 235ms
92
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 50ms
88
+ ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 313ms
89
+ ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  309ms
90
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 218ms
91
+ ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 256ms
92
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 293ms
93
+ ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 56ms
94
+ ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 54ms
93
95
 
94
96
   Test Files  50 passed | 1 skipped (51)
95
97
   Tests  383 passed | 6 skipped (389)
96
-  Start at  20:09:34
97
-  Duration  51.37s (transform 1.87s, setup 9.44s, import 39.03s, tests 51.79s, environment 43.25s)
98
+  Start at  14:01:21
99
+  Duration  55.06s (transform 2.35s, setup 9.15s, import 45.60s, tests 52.70s, environment 46.82s)
98
100