@mantine/core 8.2.2 → 8.2.4

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 (47) hide show
  1. package/cjs/components/ActionIcon/ActionIcon.cjs +1 -1
  2. package/cjs/components/ActionIcon/ActionIcon.cjs.map +1 -1
  3. package/cjs/components/Button/Button.cjs +1 -1
  4. package/cjs/components/Button/Button.cjs.map +1 -1
  5. package/cjs/components/Combobox/Combobox.cjs +1 -1
  6. package/cjs/components/Combobox/Combobox.cjs.map +1 -1
  7. package/cjs/components/Combobox/ComboboxGroup/ComboboxGroup.cjs +6 -3
  8. package/cjs/components/Combobox/ComboboxGroup/ComboboxGroup.cjs.map +1 -1
  9. package/cjs/components/MultiSelect/MultiSelect.cjs +2 -1
  10. package/cjs/components/MultiSelect/MultiSelect.cjs.map +1 -1
  11. package/cjs/components/NumberInput/NumberInput.cjs +1 -1
  12. package/cjs/components/NumberInput/NumberInput.cjs.map +1 -1
  13. package/cjs/components/TagsInput/TagsInput.cjs +2 -1
  14. package/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
  15. package/cjs/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.cjs +7 -1
  16. package/cjs/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.cjs.map +1 -1
  17. package/cjs/core/MantineProvider/convert-css-variables/convert-css-variables.cjs +5 -1
  18. package/cjs/core/MantineProvider/convert-css-variables/convert-css-variables.cjs.map +1 -1
  19. package/esm/components/ActionIcon/ActionIcon.mjs +1 -1
  20. package/esm/components/ActionIcon/ActionIcon.mjs.map +1 -1
  21. package/esm/components/Button/Button.mjs +1 -1
  22. package/esm/components/Button/Button.mjs.map +1 -1
  23. package/esm/components/Combobox/Combobox.mjs +1 -1
  24. package/esm/components/Combobox/Combobox.mjs.map +1 -1
  25. package/esm/components/Combobox/ComboboxGroup/ComboboxGroup.mjs +6 -3
  26. package/esm/components/Combobox/ComboboxGroup/ComboboxGroup.mjs.map +1 -1
  27. package/esm/components/MultiSelect/MultiSelect.mjs +2 -1
  28. package/esm/components/MultiSelect/MultiSelect.mjs.map +1 -1
  29. package/esm/components/NumberInput/NumberInput.mjs +1 -1
  30. package/esm/components/NumberInput/NumberInput.mjs.map +1 -1
  31. package/esm/components/TagsInput/TagsInput.mjs +2 -1
  32. package/esm/components/TagsInput/TagsInput.mjs.map +1 -1
  33. package/esm/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.mjs +7 -1
  34. package/esm/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.mjs.map +1 -1
  35. package/esm/core/MantineProvider/convert-css-variables/convert-css-variables.mjs +5 -1
  36. package/esm/core/MantineProvider/convert-css-variables/convert-css-variables.mjs.map +1 -1
  37. package/package.json +2 -2
  38. package/styles/InlineInput.css +1 -0
  39. package/styles/InlineInput.layer.css +1 -0
  40. package/styles/Input.css +1 -2
  41. package/styles/Input.layer.css +1 -2
  42. package/styles/Table.css +25 -2
  43. package/styles/Table.layer.css +25 -2
  44. package/styles/default-css-variables.css +1 -2
  45. package/styles/default-css-variables.layer.css +2 -3
  46. package/styles.css +28 -6
  47. package/styles.layer.css +28 -6
package/styles/Table.css CHANGED
@@ -75,6 +75,10 @@
75
75
  padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
76
76
  }
77
77
 
78
+ .m_4e7aa4ef:where([data-with-column-border]:not(:first-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:first-child)) {
79
+ border-inline-start: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
80
+ }
81
+
78
82
  .m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
79
83
  border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
80
84
  }
@@ -110,8 +114,27 @@
110
114
  background-color: var(--mantine-color-body);
111
115
  }
112
116
 
113
- :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
114
- top: initial;
117
+ :where([data-with-table-border]) .m_b242d975[data-sticky] {
118
+ position: sticky;
119
+ top: var(--table-sticky-header-offset, 0);
120
+ z-index: 4;
121
+ border-top: none;
122
+ }
123
+
124
+ :where([data-with-table-border]) .m_b242d975[data-sticky]::before {
125
+ content: '';
126
+ display: block;
127
+ position: absolute;
128
+ left: 0;
129
+ top: -0.5px;
130
+ width: 100%;
131
+ height: 1px;
132
+ background-color: var(--table-border-color);
133
+ z-index: 5;
134
+ }
135
+
136
+ :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child {
137
+ border-top: none;
115
138
  }
116
139
 
117
140
  .m_9e5a3ac7 {
@@ -75,6 +75,10 @@
75
75
  padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
76
76
  }
77
77
 
78
+ .m_4e7aa4ef:where([data-with-column-border]:not(:first-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:first-child)) {
79
+ border-inline-start: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
80
+ }
81
+
78
82
  .m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
79
83
  border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
80
84
  }
@@ -110,8 +114,27 @@
110
114
  background-color: var(--mantine-color-body);
111
115
  }
112
116
 
113
- :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
114
- top: initial;
117
+ :where([data-with-table-border]) .m_b242d975[data-sticky] {
118
+ position: sticky;
119
+ top: var(--table-sticky-header-offset, 0);
120
+ z-index: 4;
121
+ border-top: none;
122
+ }
123
+
124
+ :where([data-with-table-border]) .m_b242d975[data-sticky]::before {
125
+ content: '';
126
+ display: block;
127
+ position: absolute;
128
+ left: 0;
129
+ top: -0.5px;
130
+ width: 100%;
131
+ height: 1px;
132
+ background-color: var(--table-border-color);
133
+ z-index: 5;
134
+ }
135
+
136
+ :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child {
137
+ border-top: none;
115
138
  }
116
139
 
117
140
  .m_9e5a3ac7 {
@@ -1,4 +1,3 @@
1
- /* stylelint-disable */
2
1
  /* This file is automatically generated, do not modify it directly. */
3
2
  :root {
4
3
  --mantine-z-index-app: 100;
@@ -6,7 +5,6 @@
6
5
  --mantine-z-index-popover: 300;
7
6
  --mantine-z-index-overlay: 400;
8
7
  --mantine-z-index-max: 9999;
9
-
10
8
  --mantine-scale: 1;
11
9
  --mantine-cursor-type: default;
12
10
  --mantine-webkit-font-smoothing: antialiased;
@@ -250,6 +248,7 @@
250
248
  --mantine-h6-line-height: 1.5;
251
249
  --mantine-h6-font-weight: 700;
252
250
  }
251
+
253
252
  :root[data-mantine-color-scheme='dark'] {
254
253
  --mantine-color-scheme: dark;
255
254
  --mantine-primary-color-contrast: var(--mantine-color-white);
@@ -1,12 +1,10 @@
1
- @layer mantine {/* stylelint-disable */
2
- /* This file is automatically generated, do not modify it directly. */
1
+ @layer mantine {/* This file is automatically generated, do not modify it directly. */
3
2
  :root {
4
3
  --mantine-z-index-app: 100;
5
4
  --mantine-z-index-modal: 200;
6
5
  --mantine-z-index-popover: 300;
7
6
  --mantine-z-index-overlay: 400;
8
7
  --mantine-z-index-max: 9999;
9
-
10
8
  --mantine-scale: 1;
11
9
  --mantine-cursor-type: default;
12
10
  --mantine-webkit-font-smoothing: antialiased;
@@ -250,6 +248,7 @@
250
248
  --mantine-h6-line-height: 1.5;
251
249
  --mantine-h6-font-weight: 700;
252
250
  }
251
+
253
252
  :root[data-mantine-color-scheme='dark'] {
254
253
  --mantine-color-scheme: dark;
255
254
  --mantine-primary-color-contrast: var(--mantine-color-white);
package/styles.css CHANGED
@@ -80,7 +80,6 @@ fieldset:disabled .mantine-active:active {
80
80
  transform: rotate(180deg);
81
81
  }
82
82
 
83
- /* stylelint-disable */
84
83
  /* This file is automatically generated, do not modify it directly. */
85
84
  :root {
86
85
  --mantine-z-index-app: 100;
@@ -88,7 +87,6 @@ fieldset:disabled .mantine-active:active {
88
87
  --mantine-z-index-popover: 300;
89
88
  --mantine-z-index-overlay: 400;
90
89
  --mantine-z-index-max: 9999;
91
-
92
90
  --mantine-scale: 1;
93
91
  --mantine-cursor-type: default;
94
92
  --mantine-webkit-font-smoothing: antialiased;
@@ -332,6 +330,7 @@ fieldset:disabled .mantine-active:active {
332
330
  --mantine-h6-line-height: 1.5;
333
331
  --mantine-h6-font-weight: 700;
334
332
  }
333
+
335
334
  :root[data-mantine-color-scheme='dark'] {
336
335
  --mantine-color-scheme: dark;
337
336
  --mantine-primary-color-contrast: var(--mantine-color-white);
@@ -1394,7 +1393,6 @@ fieldset:disabled .mantine-active:active {
1394
1393
 
1395
1394
  --input-size: auto;
1396
1395
  --input-line-height: var(--mantine-line-height);
1397
- --input-padding-y: var(--input-padding-y-sm);
1398
1396
  }
1399
1397
 
1400
1398
  .m_6c018570[data-with-left-section] {
@@ -1542,7 +1540,7 @@ fieldset:disabled .mantine-active:active {
1542
1540
  color: var(--input-disabled-color);
1543
1541
  }
1544
1542
 
1545
- .m_8fb7ebe7:read-only {
1543
+ .m_8fb7ebe7[readonly] {
1546
1544
  caret-color: transparent;
1547
1545
  }
1548
1546
 
@@ -2508,6 +2506,7 @@ fieldset:disabled .mantine-active:active {
2508
2506
  }
2509
2507
 
2510
2508
  .m_5f6e695e {
2509
+ -webkit-tap-highlight-color: transparent;
2511
2510
  display: flex;
2512
2511
  }
2513
2512
 
@@ -6664,6 +6663,10 @@ fieldset:disabled .m_38aeed47:where(:not([data-inverted])),
6664
6663
  padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
6665
6664
  }
6666
6665
 
6666
+ .m_4e7aa4ef:where([data-with-column-border]:not(:first-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:first-child)) {
6667
+ border-inline-start: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
6668
+ }
6669
+
6667
6670
  .m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
6668
6671
  border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
6669
6672
  }
@@ -6699,8 +6702,27 @@ fieldset:disabled .m_38aeed47:where(:not([data-inverted])),
6699
6702
  background-color: var(--mantine-color-body);
6700
6703
  }
6701
6704
 
6702
- :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
6703
- top: initial;
6705
+ :where([data-with-table-border]) .m_b242d975[data-sticky] {
6706
+ position: sticky;
6707
+ top: var(--table-sticky-header-offset, 0);
6708
+ z-index: 4;
6709
+ border-top: none;
6710
+ }
6711
+
6712
+ :where([data-with-table-border]) .m_b242d975[data-sticky]::before {
6713
+ content: '';
6714
+ display: block;
6715
+ position: absolute;
6716
+ left: 0;
6717
+ top: calc(-0.03125rem * var(--mantine-scale));
6718
+ width: 100%;
6719
+ height: calc(0.0625rem * var(--mantine-scale));
6720
+ background-color: var(--table-border-color);
6721
+ z-index: 5;
6722
+ }
6723
+
6724
+ :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child {
6725
+ border-top: none;
6704
6726
  }
6705
6727
 
6706
6728
  .m_9e5a3ac7 {
package/styles.layer.css CHANGED
@@ -80,7 +80,6 @@ fieldset:disabled .mantine-active:active {
80
80
  transform: rotate(180deg);
81
81
  }
82
82
 
83
- /* stylelint-disable */
84
83
  /* This file is automatically generated, do not modify it directly. */
85
84
  :root {
86
85
  --mantine-z-index-app: 100;
@@ -88,7 +87,6 @@ fieldset:disabled .mantine-active:active {
88
87
  --mantine-z-index-popover: 300;
89
88
  --mantine-z-index-overlay: 400;
90
89
  --mantine-z-index-max: 9999;
91
-
92
90
  --mantine-scale: 1;
93
91
  --mantine-cursor-type: default;
94
92
  --mantine-webkit-font-smoothing: antialiased;
@@ -332,6 +330,7 @@ fieldset:disabled .mantine-active:active {
332
330
  --mantine-h6-line-height: 1.5;
333
331
  --mantine-h6-font-weight: 700;
334
332
  }
333
+
335
334
  :root[data-mantine-color-scheme='dark'] {
336
335
  --mantine-color-scheme: dark;
337
336
  --mantine-primary-color-contrast: var(--mantine-color-white);
@@ -1394,7 +1393,6 @@ fieldset:disabled .mantine-active:active {
1394
1393
 
1395
1394
  --input-size: auto;
1396
1395
  --input-line-height: var(--mantine-line-height);
1397
- --input-padding-y: var(--input-padding-y-sm);
1398
1396
  }
1399
1397
 
1400
1398
  .m_6c018570[data-with-left-section] {
@@ -1542,7 +1540,7 @@ fieldset:disabled .mantine-active:active {
1542
1540
  color: var(--input-disabled-color);
1543
1541
  }
1544
1542
 
1545
- .m_8fb7ebe7:read-only {
1543
+ .m_8fb7ebe7[readonly] {
1546
1544
  caret-color: transparent;
1547
1545
  }
1548
1546
 
@@ -2508,6 +2506,7 @@ fieldset:disabled .mantine-active:active {
2508
2506
  }
2509
2507
 
2510
2508
  .m_5f6e695e {
2509
+ -webkit-tap-highlight-color: transparent;
2511
2510
  display: flex;
2512
2511
  }
2513
2512
 
@@ -6664,6 +6663,10 @@ fieldset:disabled .m_38aeed47:where(:not([data-inverted])),
6664
6663
  padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
6665
6664
  }
6666
6665
 
6666
+ .m_4e7aa4ef:where([data-with-column-border]:not(:first-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:first-child)) {
6667
+ border-inline-start: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
6668
+ }
6669
+
6667
6670
  .m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
6668
6671
  border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
6669
6672
  }
@@ -6699,8 +6702,27 @@ fieldset:disabled .m_38aeed47:where(:not([data-inverted])),
6699
6702
  background-color: var(--mantine-color-body);
6700
6703
  }
6701
6704
 
6702
- :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3 {
6703
- top: initial;
6705
+ :where([data-with-table-border]) .m_b242d975[data-sticky] {
6706
+ position: sticky;
6707
+ top: var(--table-sticky-header-offset, 0);
6708
+ z-index: 4;
6709
+ border-top: none;
6710
+ }
6711
+
6712
+ :where([data-with-table-border]) .m_b242d975[data-sticky]::before {
6713
+ content: '';
6714
+ display: block;
6715
+ position: absolute;
6716
+ left: 0;
6717
+ top: calc(-0.03125rem * var(--mantine-scale));
6718
+ width: 100%;
6719
+ height: calc(0.0625rem * var(--mantine-scale));
6720
+ background-color: var(--table-border-color);
6721
+ z-index: 5;
6722
+ }
6723
+
6724
+ :where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child {
6725
+ border-top: none;
6704
6726
  }
6705
6727
 
6706
6728
  .m_9e5a3ac7 {