@coveord/plasma-mantine 59.7.0 → 59.7.2

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 (58) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/.turbo/turbo-test.log +88 -94
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  5. package/dist/cjs/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  6. package/dist/cjs/components/DateRangePicker/DateRangePicker.js +2 -2
  7. package/dist/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
  8. package/dist/cjs/components/DateRangePicker/EditableDateRangePicker.d.ts +1 -1
  9. package/dist/cjs/components/DateRangePicker/EditableDateRangePicker.d.ts.map +1 -1
  10. package/dist/cjs/components/DateRangePicker/EditableDateRangePicker.js.map +1 -1
  11. package/dist/cjs/components/RadioCard/RadioCard.js +1 -1
  12. package/dist/cjs/components/RadioCard/RadioCard.js.map +1 -1
  13. package/dist/cjs/components/Table/Table.d.ts +46 -0
  14. package/dist/cjs/components/Table/Table.d.ts.map +1 -1
  15. package/dist/cjs/components/Table/Table.js +48 -17
  16. package/dist/cjs/components/Table/Table.js.map +1 -1
  17. package/dist/cjs/components/Table/table-columns-selector/TableColumnsSelector.js +1 -1
  18. package/dist/cjs/components/Table/table-columns-selector/TableColumnsSelector.js.map +1 -1
  19. package/dist/cjs/theme/Plasmantine.d.ts.map +1 -1
  20. package/dist/cjs/theme/Plasmantine.js +24 -4
  21. package/dist/cjs/theme/Plasmantine.js.map +1 -1
  22. package/dist/cjs/theme/Theme.d.ts.map +1 -1
  23. package/dist/cjs/theme/Theme.js +1 -9
  24. package/dist/cjs/theme/Theme.js.map +1 -1
  25. package/dist/esm/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  26. package/dist/esm/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  27. package/dist/esm/components/DateRangePicker/DateRangePicker.js +2 -2
  28. package/dist/esm/components/DateRangePicker/DateRangePicker.js.map +1 -1
  29. package/dist/esm/components/DateRangePicker/EditableDateRangePicker.d.ts +1 -1
  30. package/dist/esm/components/DateRangePicker/EditableDateRangePicker.d.ts.map +1 -1
  31. package/dist/esm/components/DateRangePicker/EditableDateRangePicker.js.map +1 -1
  32. package/dist/esm/components/RadioCard/RadioCard.js +1 -1
  33. package/dist/esm/components/RadioCard/RadioCard.js.map +1 -1
  34. package/dist/esm/components/Table/Table.d.ts +46 -0
  35. package/dist/esm/components/Table/Table.d.ts.map +1 -1
  36. package/dist/esm/components/Table/Table.js +48 -17
  37. package/dist/esm/components/Table/Table.js.map +1 -1
  38. package/dist/esm/components/Table/table-columns-selector/TableColumnsSelector.js +1 -1
  39. package/dist/esm/components/Table/table-columns-selector/TableColumnsSelector.js.map +1 -1
  40. package/dist/esm/theme/Plasmantine.d.ts.map +1 -1
  41. package/dist/esm/theme/Plasmantine.js +22 -3
  42. package/dist/esm/theme/Plasmantine.js.map +1 -1
  43. package/dist/esm/theme/Theme.d.ts.map +1 -1
  44. package/dist/esm/theme/Theme.js +1 -9
  45. package/dist/esm/theme/Theme.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/__tests__/Utils.tsx +1 -17
  48. package/src/components/DateRangePicker/DateRangePicker.tsx +2 -2
  49. package/src/components/DateRangePicker/EditableDateRangePicker.tsx +1 -1
  50. package/src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx +2 -2
  51. package/src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx +2 -2
  52. package/src/components/RadioCard/RadioCard.tsx +1 -1
  53. package/src/components/Table/Table.tsx +54 -6
  54. package/src/components/Table/__tests__/Table.spec.tsx +36 -0
  55. package/src/components/Table/table-columns-selector/TableColumnsSelector.tsx +1 -1
  56. package/src/theme/Plasmantine.tsx +21 -3
  57. package/src/theme/Theme.tsx +0 -4
  58. package/src/theme/__tests__/Plasmantine.spec.tsx +48 -0
@@ -1,6 +1,6 @@
1
1
  $ node ../../scripts/build
2
- (node:2644) [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.
2
+ (node:3680) [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.
3
3
  (Use `node --trace-deprecation ...` to show where the warning was created)
4
- Successfully compiled: 232 files, copied 73 files with swc (711.35ms)
5
- Successfully compiled: 232 files, copied 73 files with swc (731.4ms)
4
+ Successfully compiled: 232 files, copied 73 files with swc (445.42ms)
5
+ Successfully compiled: 232 files, copied 73 files with swc (715.43ms)
6
6
 
@@ -2,103 +2,97 @@ $ cross-env TZ=UTC vitest run --silent
2
2
 
3
3
   RUN  v4.1.5 /home/runner/work/plasma/plasma/packages/mantine
4
4
 
5
- ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 971ms
6
- ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1398ms
7
- ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 2068ms
8
- ✓ renders the data using the RowLayout by default  338ms
9
- ✓ src/components/Table/__tests__/Table.spec.tsx (12 tests) 1527ms
10
- ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 867ms
11
- ✓ calculates the number of pages based on the pageSize and the total number of entries  307ms
12
- ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 3621ms
13
- ✓ renders the column selector button in the actions column header when rowConfigurable is true  418ms
14
- ✓ renders all columns in the dropdown except control columns  349ms
15
- ✓ hides a column when the user unchecks it  360ms
16
- ✓ shows a column when the user checks it  312ms
17
- ✓ enables a disabled column when a visible column is hidden  355ms
18
- ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1814ms
19
- ✓ displays the actions when the row is selected  597ms
20
- ✓ displays the secondary actions when the row is selected and the user clicks on more  517ms
21
- ✓ passes down an array of selected rows  377ms
22
- ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (18 tests) 2417ms
23
- ✓ renders the title  349ms
24
- ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 222ms
25
- ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 61ms
26
- ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 856ms
27
- ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 894ms
28
- ✓ displays the label  303ms
29
- ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 44ms
5
+ ✓ src/components/Collection/__tests__/CollectionWithColumns.spec.tsx (17 tests) 779ms
6
+ ✓ src/components/Collection/__tests__/Collection.spec.tsx (18 tests) 1425ms
7
+ ✓ src/components/Table/layouts/__tests__/RowLayout.spec.tsx (17 tests) 1983ms
8
+ ✓ renders the data using the RowLayout by default  334ms
9
+ ✓ src/components/Table/__tests__/Table.spec.tsx (14 tests) 1602ms
10
+ ✓ src/components/Table/__tests__/TablePagination.spec.tsx (7 tests) 809ms
11
+ ✓ src/components/Table/__tests__/TableColumnsSelector.spec.tsx (12 tests) 3878ms
12
+ ✓ renders the column selector button in the actions column header when rowConfigurable is true  463ms
13
+ ✓ renders all columns in the dropdown except control columns  450ms
14
+ ✓ renders all checkboxes checked by default  340ms
15
+ ✓ hides a column when the user unchecks it  426ms
16
+ ✓ shows a column when the user checks it  414ms
17
+ ✓ disables unchecked columns when the maximum number of visible columns is reached  303ms
18
+ ✓ src/components/Table/__tests__/TableActions.spec.tsx (6 tests) 1325ms
19
+ ✓ displays the actions when the row is selected  437ms
20
+ ✓ displays the secondary actions when the row is selected and the user clicks on more  372ms
21
+ ✓ src/components/Facet/__tests__/Facet.component.spec.tsx (18 tests) 2128ms
22
+ ✓ src/components/Table/__tests__/use-persisted-column-visibility.spec.ts (15 tests) 47ms
23
+ ✓ src/hooks/__tests__/use-url-synced-state.unit.spec.ts (70 tests) 212ms
24
+ ✓ src/components/InlineConfirm/__tests__/InlineConfirm.spec.tsx (8 tests) 779ms
25
+ ✓ src/components/Table/__tests__/TablePerPage.spec.tsx (7 tests) 904ms
26
+ ✓ src/utils/__tests__/local-storage.spec.ts (25 tests) 23ms
30
27
  ✓ src/utils/__tests__/groupOptions.unit.spec.ts (12 tests) 13ms
31
- ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 882ms
32
- ✓ renders the monaco editor, a copy to clipboard button and a search button  345ms
33
- ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1135ms
34
- ✓ displays the placeholder  359ms
35
- ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 13050ms
36
- ✓ renders with placeholder text when no date range is selected  349ms
37
- ✓ opens popover when input is clicked  322ms
38
- ✓ calls onChange when a date range is applied  2921ms
39
- ✓ closes popover when Cancel is clicked  341ms
40
- ✓ calls onCancel when Cancel button is clicked  375ms
41
- ✓ applies the selected date range in uncontrolled mode  2756ms
42
- ✓ applies the selected date range in controlled mode  2649ms
43
- ✓ sets the selected date range in the url  2331ms
44
- ✓ calls onOpenedChange when popover state changes  342ms
45
- ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1140ms
46
- ✓ goes back to the first page when changing the predicate  738ms
47
- ✓ sets the current predicate value in the url using the predicate id as key  303ms
48
- ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 71ms
49
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 4244ms
50
- ✓ calls onApply when the user clicks on the apply button  740ms
51
- ✓ calls onApply with the selected dates when clicking in the calendar  865ms
52
- ✓ set end date same as start date if only one date is selected when clicking in the calendar  731ms
53
- ✓ calls onApply with the selected dates when typing in the inputs  1499ms
54
- ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 492ms
55
- ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 642ms
56
- ✓ displays the sort icon for every sortable column  330ms
57
- ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 528ms
58
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 2265ms
59
- ✓ calls onApply with the selected dates when clicking in the calendar  2131ms
60
- ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 3672ms
61
- ✓ displays the initial dates  351ms
62
- ✓ sets the selected date range in the url  3268ms
63
- ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2284ms
64
- ✓ updates with the selected dates when choosing a preset  478ms
65
- ✓ can change the date and time  1658ms
66
- ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 2727ms
67
- ✓ updates when editing values  1208ms
68
- ✓ accepts minDate and maxDate props for start and end inputs  1225ms
69
- ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 546ms
70
- ✓ expands the rows when the user clicks on a cell  460ms
71
- ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 367ms
28
+ ✓ src/components/Table/__tests__/TableFilter.spec.tsx (6 tests) 1080ms
29
+ ✓ displays the placeholder  327ms
30
+ ✓ src/components/CodeEditor/__tests__/CodeEditor.spec.tsx (10 tests | 1 skipped) 835ms
31
+ ✓ renders the monaco editor, a copy to clipboard button and a search button  328ms
32
+ ✓ src/components/DateRangePicker/__tests__/DateRangePicker.spec.tsx (18 tests) 11464ms
33
+ ✓ calls onChange when a date range is applied  2484ms
34
+ ✓ applies the selected date range in uncontrolled mode  2453ms
35
+ ✓ applies the selected date range in controlled mode  2327ms
36
+ ✓ sets the selected date range in the url  2224ms
37
+ ✓ src/hooks/__tests__/useParentHeight.spec.tsx (4 tests) 54ms
38
+ ✓ src/components/Table/__tests__/TablePredicate.spec.tsx (3 tests) 1438ms
39
+ ✓ goes back to the first page when changing the predicate  922ms
40
+ ✓ sets the current predicate value in the url using the predicate id as key  419ms
41
+ ✓ src/components/Header/__tests__/Header.spec.tsx (8 tests) 362ms
42
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPopoverCalendar.spec.tsx (4 tests | 2 skipped) 1294ms
43
+ ✓ calls onApply with the selected dates when clicking in the calendar  1149ms
44
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerInlineCalendar.spec.tsx (7 tests | 1 skipped) 5194ms
45
+ ✓ calls onApply when the user clicks on the apply button  708ms
46
+ ✓ calls onApply with the selected dates when clicking in the calendar  923ms
47
+ ✓ set end date same as start date if only one date is selected when clicking in the calendar  632ms
48
+ ✓ calls onApply with the selected dates when typing in the inputs  2555ms
49
+ ✓ src/components/Table/__tests__/Th.spec.tsx (4 tests) 661ms
50
+ ✓ displays the sort icon for every sortable column  303ms
51
+ ✓ src/components/Button/__tests__/Button.spec.tsx (6 tests) 459ms
52
+ ✓ src/components/DateTimeRangePicker/__tests__/DateTimeRangePicker.spec.tsx (3 tests) 2202ms
53
+ ✓ updates with the selected dates when choosing a preset  494ms
54
+ ✓ can change the date and time  1594ms
55
+ ✓ src/components/Table/__tests__/TableDateRangePicker.spec.tsx (3 tests) 3989ms
56
+ ✓ displays the initial dates  341ms
57
+ ✓ sets the selected date range in the url  3602ms
58
+ ✓ src/components/DateRangePicker/__tests__/EditableDateRangePicker.spec.tsx (3 tests) 2906ms
59
+ ✓ renders an input for the start and an input for the end  316ms
60
+ ✓ updates when editing values  1226ms
61
+ ✓ accepts minDate and maxDate props for start and end inputs  1360ms
62
+ ✓ src/components/Table/__tests__/TableLastUpdated.spec.tsx (3 tests) 402ms
63
+ ✓ src/components/Table/__tests__/TableCollapsibleColumn.spec.tsx (2 tests) 537ms
64
+ ✓ expands the rows when the user clicks on a cell  425ms
72
65
  ✓ src/theme/__tests__/mergeCSSVariablesResolvers.spec.ts (3 tests) 8ms
73
- ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 487ms
74
66
  ↓ src/utils/__tests__/overrideComponent.spec.tsx (1 test | 1 skipped)
75
- ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 350ms
76
- ✓ shows a tooltip when hovering over the disabled button  313ms
77
- ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 339ms
78
- ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 590ms
67
+ ✓ src/components/RadioCard/__tests__/RadioCard.component.spec.tsx (6 tests) 440ms
68
+ ✓ src/components/Button/__tests__/ButtonWithDisabledTooltip.spec.tsx (3 tests | 1 skipped) 392ms
69
+ ✓ shows a tooltip when hovering over the disabled button  352ms
70
+ ✓ src/components/DateRangePicker/__tests__/DateRangePickerPresetSelect.spec.tsx (2 tests) 603ms
79
71
  ✓ calls onChange when selecting a preset  476ms
80
- ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 40ms
81
- ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 425ms
82
- ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 475ms
83
- ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 419ms
84
- ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 416ms
85
- ✓ renders the specified text as the header tooltip content  314ms
86
- ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 377ms
87
- ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 9ms
88
- ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 374ms
89
- ✓ renders LabelInfo inside the label prop and shows its tooltip content on hover  367ms
90
- ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 250ms
91
- ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 108ms
92
- ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 378ms
93
- ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  374ms
94
- ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 214ms
95
- ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 295ms
96
- ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 272ms
97
- ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 58ms
98
- ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 56ms
72
+ ✓ src/components/LastUpdated/__tests__/LastUpdated.spec.tsx (5 tests) 346ms
73
+ ✓ src/components/ChildForm/__tests__/ChildForm.spec.tsx (5 tests) 371ms
74
+ ✓ src/theme/__tests__/Plasmantine.spec.tsx (3 tests) 76ms
75
+ ✓ src/hooks/__tests__/useControlledList.spec.tsx (3 tests) 34ms
76
+ ✓ src/components/Prompt/__tests__/Prompt.spec.tsx (6 tests) 572ms
77
+ ✓ src/components/CopyToClipboard/__tests__/CopyToClipboard.spec.tsx (3 tests) 426ms
78
+ ✓ src/components/BrowserPreview/__tests__/BrowserPreview.spec.tsx (4 tests) 438ms
79
+ ✓ renders the specified text as the header tooltip content  311ms
80
+ ✓ src/components/StatusToken/__tests__/StatusToken.component.spec.tsx (10 tests) 359ms
81
+ ✓ src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts (1 test) 8ms
82
+ ✓ src/components/Input/__tests__/Input.spec.tsx (2 tests) 343ms
83
+ ✓ renders LabelInfo inside the label prop and shows its tooltip content on hover  337ms
84
+ ✓ src/components/Modal/__tests__/Modal.spec.tsx (2 tests) 239ms
85
+ ✓ src/components/Modal/__tests__/ModalFooter.spec.tsx (2 tests) 103ms
86
+ ✓ src/components/Switch/__tests__/Switch.spec.tsx (1 test) 338ms
87
+ ✓ shows Input.LabelInfo tooltip content when hovering the info token in the label  334ms
88
+ ✓ src/components/Menu/__tests__/Menu.spec.tsx (1 test) 232ms
89
+ ✓ src/components/DateTimeRangePicker/__tests__/EditableDateTimeRangePicker.spec.tsx (1 test) 228ms
90
+ ✓ src/components/CodeEditor/search/__tests__/Search.unit.spec.tsx (1 test) 235ms
91
+ ✓ src/components/StickyFooter/__tests__/StickyFooter.spec.tsx (1 test) 62ms
92
+ ✓ src/components/BlankSlate/__tests__/BlankSlate.spec.tsx (1 test) 55ms
99
93
 
100
-  Test Files  50 passed | 1 skipped (51)
101
-  Tests  386 passed | 6 skipped (392)
102
-  Start at  15:10:20
103
-  Duration  58.50s (transform 2.66s, setup 9.89s, import 47.20s, tests 56.76s, environment 48.86s)
94
+  Test Files  51 passed | 1 skipped (52)
95
+  Tests  391 passed | 6 skipped (397)
96
+  Start at  14:22:15
97
+  Duration  56.88s (transform 2.38s, setup 9.87s, import 45.97s, tests 54.70s, environment 48.31s)
104
98