@mantine/core 7.13.5-alpha.0 → 7.13.5-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine/core",
3
- "version": "7.13.5-alpha.0",
3
+ "version": "7.13.5-alpha.1",
4
4
  "description": "React components library focused on usability, accessibility and developer experience",
5
5
  "homepage": "https://mantine.dev/",
6
6
  "license": "MIT",
@@ -43,17 +43,17 @@
43
43
  "directory": "packages/@mantine/core"
44
44
  },
45
45
  "peerDependencies": {
46
- "@mantine/hooks": "7.13.5-alpha.0",
47
- "react": "^18.2.0",
48
- "react-dom": "^18.2.0"
46
+ "@mantine/hooks": "7.13.5-alpha.1",
47
+ "react": "^18.x || ^19.x",
48
+ "react-dom": "^18.x || ^19.x"
49
49
  },
50
50
  "dependencies": {
51
- "@floating-ui/react": "^0.26.9",
51
+ "@floating-ui/react": "^0.26.27",
52
52
  "clsx": "^2.1.1",
53
- "react-number-format": "^5.3.1",
54
- "react-remove-scroll": "^2.5.7",
55
- "react-textarea-autosize": "8.5.3",
56
- "type-fest": "^4.12.0"
53
+ "react-number-format": "^5.4.2",
54
+ "react-remove-scroll": "^2.6.0",
55
+ "react-textarea-autosize": "8.5.4",
56
+ "type-fest": "^4.26.1"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@mantine-tests/core": "workspace:*",
package/styles/Button.css CHANGED
@@ -175,7 +175,7 @@
175
175
  display: flex;
176
176
  }
177
177
 
178
- .m_80d6d844 :where(*):focus {
178
+ .m_80d6d844 :where(.m_77c9d27d):focus {
179
179
  position: relative;
180
180
  z-index: 1;
181
181
  }
@@ -175,7 +175,7 @@
175
175
  display: flex;
176
176
  }
177
177
 
178
- .m_80d6d844 :where(*):focus {
178
+ .m_80d6d844 :where(.m_77c9d27d):focus {
179
179
  position: relative;
180
180
  z-index: 1;
181
181
  }
package/styles/Drawer.css CHANGED
@@ -21,11 +21,6 @@
21
21
  overflow-y: auto;
22
22
  }
23
23
 
24
- .m_b8a05bbd[data-hidden] {
25
- opacity: 0 !important;
26
- pointer-events: none;
27
- }
28
-
29
24
  .m_31cd769a {
30
25
  display: flex;
31
26
  justify-content: var(--drawer-justify, flex-start);
@@ -21,11 +21,6 @@
21
21
  overflow-y: auto;
22
22
  }
23
23
 
24
- .m_b8a05bbd[data-hidden] {
25
- opacity: 0 !important;
26
- pointer-events: none;
27
- }
28
-
29
24
  .m_31cd769a {
30
25
  display: flex;
31
26
  justify-content: var(--drawer-justify, flex-start);
package/styles/Modal.css CHANGED
@@ -46,11 +46,6 @@
46
46
  border-radius: 0;
47
47
  }
48
48
 
49
- .m_54c44539[data-hidden] {
50
- opacity: 0 !important;
51
- pointer-events: none;
52
- }
53
-
54
49
  .m_1f958f16 {
55
50
  display: flex;
56
51
  justify-content: center;
@@ -46,11 +46,6 @@
46
46
  border-radius: 0;
47
47
  }
48
48
 
49
- .m_54c44539[data-hidden] {
50
- opacity: 0 !important;
51
- pointer-events: none;
52
- }
53
-
54
49
  .m_1f958f16 {
55
50
  display: flex;
56
51
  justify-content: center;
package/styles.css CHANGED
@@ -1941,114 +1941,6 @@ fieldset:disabled .mantine-active:active {
1941
1941
  display: -webkit-box;
1942
1942
  }
1943
1943
 
1944
- .m_48204f9b {
1945
- width: var(--slider-size);
1946
- height: var(--slider-size);
1947
- position: relative;
1948
- border-radius: 100%;
1949
- display: flex;
1950
- align-items: center;
1951
- justify-content: center;
1952
- user-select: none;
1953
- }
1954
-
1955
- .m_48204f9b:focus-within {
1956
- outline: 2px solid var(--mantine-primary-color-filled);
1957
- outline-offset: calc(0.125rem * var(--mantine-scale));
1958
- }
1959
-
1960
- .m_48204f9b {
1961
-
1962
- --slider-size: calc(3.75rem * var(--mantine-scale));
1963
- --thumb-size: calc(var(--slider-size) / 5);
1964
- }
1965
-
1966
- :where([data-mantine-color-scheme='light']) .m_48204f9b {
1967
- background-color: var(--mantine-color-gray-1);
1968
- }
1969
-
1970
- :where([data-mantine-color-scheme='dark']) .m_48204f9b {
1971
- background-color: var(--mantine-color-dark-5);
1972
- }
1973
-
1974
- .m_bb9cdbad {
1975
- position: absolute;
1976
- inset: calc(0.0625rem * var(--mantine-scale));
1977
- border-radius: var(--slider-size);
1978
- pointer-events: none;
1979
- }
1980
-
1981
- .m_481dd586 {
1982
- width: calc(0.125rem * var(--mantine-scale));
1983
- position: absolute;
1984
- top: 0;
1985
- bottom: 0;
1986
- left: calc(50% - 1px);
1987
- transform: rotate(var(--angle));
1988
- }
1989
-
1990
- .m_481dd586::before {
1991
- content: '';
1992
- position: absolute;
1993
- top: calc(var(--thumb-size) / 3);
1994
- left: calc(0.03125rem * var(--mantine-scale));
1995
- width: calc(0.0625rem * var(--mantine-scale));
1996
- height: calc(var(--thumb-size) / 1.5);
1997
- transform: translate(-50%, -50%);
1998
- }
1999
-
2000
- :where([data-mantine-color-scheme='light']) .m_481dd586::before {
2001
- background-color: var(--mantine-color-gray-4);
2002
- }
2003
-
2004
- :where([data-mantine-color-scheme='dark']) .m_481dd586::before {
2005
- background-color: var(--mantine-color-dark-3);
2006
- }
2007
-
2008
- .m_481dd586[data-label]::after {
2009
- min-width: calc(1.125rem * var(--mantine-scale));
2010
- text-align: center;
2011
- content: attr(data-label);
2012
- position: absolute;
2013
- top: calc(-1.5rem * var(--mantine-scale));
2014
- left: calc(-0.4375rem * var(--mantine-scale));
2015
- transform: rotate(calc(360deg - var(--angle)));
2016
- font-size: var(--mantine-font-size-xs);
2017
- }
2018
-
2019
- .m_bc02ba3d {
2020
- position: absolute;
2021
- top: 0;
2022
- right: 0;
2023
- bottom: 0;
2024
- left: calc(50% - 1.5px);
2025
- height: 100%;
2026
- width: calc(0.1875rem * var(--mantine-scale));
2027
- outline: none;
2028
- pointer-events: none;
2029
- }
2030
-
2031
- .m_bc02ba3d::before {
2032
- content: '';
2033
- position: absolute;
2034
- right: 0;
2035
- top: 0;
2036
- height: min(var(--thumb-size), calc(var(--slider-size) / 2));
2037
- width: calc(0.1875rem * var(--mantine-scale));
2038
- }
2039
-
2040
- :where([data-mantine-color-scheme='light']) .m_bc02ba3d::before {
2041
- background-color: var(--mantine-color-gray-7);
2042
- }
2043
-
2044
- :where([data-mantine-color-scheme='dark']) .m_bc02ba3d::before {
2045
- background-color: var(--mantine-color-dark-1);
2046
- }
2047
-
2048
- .m_bb8e875b {
2049
- font-size: var(--mantine-font-size-xs);
2050
- }
2051
-
2052
1944
  .m_89ab340[data-resizing] {
2053
1945
  --app-shell-transition-duration: 0ms !important;
2054
1946
  }
@@ -3226,7 +3118,7 @@ fieldset:disabled .m_d3ea56bb,
3226
3118
  display: flex;
3227
3119
  }
3228
3120
 
3229
- .m_80d6d844 :where(*):focus {
3121
+ .m_80d6d844 :where(.m_77c9d27d):focus {
3230
3122
  position: relative;
3231
3123
  z-index: 1;
3232
3124
  }
@@ -3944,11 +3836,6 @@ fieldset:disabled .m_d3ea56bb,
3944
3836
  overflow-y: auto;
3945
3837
  }
3946
3838
 
3947
- .m_b8a05bbd[data-hidden] {
3948
- opacity: 0 !important;
3949
- pointer-events: none;
3950
- }
3951
-
3952
3839
  .m_31cd769a {
3953
3840
  display: flex;
3954
3841
  justify-content: var(--drawer-justify, flex-start);
@@ -4349,11 +4236,6 @@ fieldset:disabled .m_d3ea56bb,
4349
4236
  border-radius: 0;
4350
4237
  }
4351
4238
 
4352
- .m_54c44539[data-hidden] {
4353
- opacity: 0 !important;
4354
- pointer-events: none;
4355
- }
4356
-
4357
4239
  .m_1f958f16 {
4358
4240
  display: flex;
4359
4241
  justify-content: center;
package/styles.layer.css CHANGED
@@ -1941,114 +1941,6 @@ fieldset:disabled .mantine-active:active {
1941
1941
  display: -webkit-box;
1942
1942
  }
1943
1943
 
1944
- .m_48204f9b {
1945
- width: var(--slider-size);
1946
- height: var(--slider-size);
1947
- position: relative;
1948
- border-radius: 100%;
1949
- display: flex;
1950
- align-items: center;
1951
- justify-content: center;
1952
- user-select: none;
1953
- }
1954
-
1955
- .m_48204f9b:focus-within {
1956
- outline: 2px solid var(--mantine-primary-color-filled);
1957
- outline-offset: calc(0.125rem * var(--mantine-scale));
1958
- }
1959
-
1960
- .m_48204f9b {
1961
-
1962
- --slider-size: calc(3.75rem * var(--mantine-scale));
1963
- --thumb-size: calc(var(--slider-size) / 5);
1964
- }
1965
-
1966
- :where([data-mantine-color-scheme='light']) .m_48204f9b {
1967
- background-color: var(--mantine-color-gray-1);
1968
- }
1969
-
1970
- :where([data-mantine-color-scheme='dark']) .m_48204f9b {
1971
- background-color: var(--mantine-color-dark-5);
1972
- }
1973
-
1974
- .m_bb9cdbad {
1975
- position: absolute;
1976
- inset: calc(0.0625rem * var(--mantine-scale));
1977
- border-radius: var(--slider-size);
1978
- pointer-events: none;
1979
- }
1980
-
1981
- .m_481dd586 {
1982
- width: calc(0.125rem * var(--mantine-scale));
1983
- position: absolute;
1984
- top: 0;
1985
- bottom: 0;
1986
- left: calc(50% - 1px);
1987
- transform: rotate(var(--angle));
1988
- }
1989
-
1990
- .m_481dd586::before {
1991
- content: '';
1992
- position: absolute;
1993
- top: calc(var(--thumb-size) / 3);
1994
- left: calc(0.03125rem * var(--mantine-scale));
1995
- width: calc(0.0625rem * var(--mantine-scale));
1996
- height: calc(var(--thumb-size) / 1.5);
1997
- transform: translate(-50%, -50%);
1998
- }
1999
-
2000
- :where([data-mantine-color-scheme='light']) .m_481dd586::before {
2001
- background-color: var(--mantine-color-gray-4);
2002
- }
2003
-
2004
- :where([data-mantine-color-scheme='dark']) .m_481dd586::before {
2005
- background-color: var(--mantine-color-dark-3);
2006
- }
2007
-
2008
- .m_481dd586[data-label]::after {
2009
- min-width: calc(1.125rem * var(--mantine-scale));
2010
- text-align: center;
2011
- content: attr(data-label);
2012
- position: absolute;
2013
- top: calc(-1.5rem * var(--mantine-scale));
2014
- left: calc(-0.4375rem * var(--mantine-scale));
2015
- transform: rotate(calc(360deg - var(--angle)));
2016
- font-size: var(--mantine-font-size-xs);
2017
- }
2018
-
2019
- .m_bc02ba3d {
2020
- position: absolute;
2021
- top: 0;
2022
- right: 0;
2023
- bottom: 0;
2024
- left: calc(50% - 1.5px);
2025
- height: 100%;
2026
- width: calc(0.1875rem * var(--mantine-scale));
2027
- outline: none;
2028
- pointer-events: none;
2029
- }
2030
-
2031
- .m_bc02ba3d::before {
2032
- content: '';
2033
- position: absolute;
2034
- right: 0;
2035
- top: 0;
2036
- height: min(var(--thumb-size), calc(var(--slider-size) / 2));
2037
- width: calc(0.1875rem * var(--mantine-scale));
2038
- }
2039
-
2040
- :where([data-mantine-color-scheme='light']) .m_bc02ba3d::before {
2041
- background-color: var(--mantine-color-gray-7);
2042
- }
2043
-
2044
- :where([data-mantine-color-scheme='dark']) .m_bc02ba3d::before {
2045
- background-color: var(--mantine-color-dark-1);
2046
- }
2047
-
2048
- .m_bb8e875b {
2049
- font-size: var(--mantine-font-size-xs);
2050
- }
2051
-
2052
1944
  .m_89ab340[data-resizing] {
2053
1945
  --app-shell-transition-duration: 0ms !important;
2054
1946
  }
@@ -3226,7 +3118,7 @@ fieldset:disabled .m_d3ea56bb,
3226
3118
  display: flex;
3227
3119
  }
3228
3120
 
3229
- .m_80d6d844 :where(*):focus {
3121
+ .m_80d6d844 :where(.m_77c9d27d):focus {
3230
3122
  position: relative;
3231
3123
  z-index: 1;
3232
3124
  }
@@ -3944,11 +3836,6 @@ fieldset:disabled .m_d3ea56bb,
3944
3836
  overflow-y: auto;
3945
3837
  }
3946
3838
 
3947
- .m_b8a05bbd[data-hidden] {
3948
- opacity: 0 !important;
3949
- pointer-events: none;
3950
- }
3951
-
3952
3839
  .m_31cd769a {
3953
3840
  display: flex;
3954
3841
  justify-content: var(--drawer-justify, flex-start);
@@ -4349,11 +4236,6 @@ fieldset:disabled .m_d3ea56bb,
4349
4236
  border-radius: 0;
4350
4237
  }
4351
4238
 
4352
- .m_54c44539[data-hidden] {
4353
- opacity: 0 !important;
4354
- pointer-events: none;
4355
- }
4356
-
4357
4239
  .m_1f958f16 {
4358
4240
  display: flex;
4359
4241
  justify-content: center;
@@ -1,107 +0,0 @@
1
- .m_48204f9b {
2
- width: var(--slider-size);
3
- height: var(--slider-size);
4
- position: relative;
5
- border-radius: 100%;
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- user-select: none;
10
- }
11
-
12
- .m_48204f9b:focus-within {
13
- outline: 2px solid var(--mantine-primary-color-filled);
14
- outline-offset: 2px;
15
- }
16
-
17
- .m_48204f9b {
18
-
19
- --slider-size: 60px;
20
- --thumb-size: calc(var(--slider-size) / 5);
21
- }
22
-
23
- :where([data-mantine-color-scheme='light']) .m_48204f9b {
24
- background-color: var(--mantine-color-gray-1);
25
- }
26
-
27
- :where([data-mantine-color-scheme='dark']) .m_48204f9b {
28
- background-color: var(--mantine-color-dark-5);
29
- }
30
-
31
- .m_bb9cdbad {
32
- position: absolute;
33
- inset: 1px;
34
- border-radius: var(--slider-size);
35
- pointer-events: none;
36
- }
37
-
38
- .m_481dd586 {
39
- width: 2px;
40
- position: absolute;
41
- top: 0;
42
- bottom: 0;
43
- left: calc(50% - 1px);
44
- transform: rotate(var(--angle));
45
- }
46
-
47
- .m_481dd586::before {
48
- content: '';
49
- position: absolute;
50
- top: calc(var(--thumb-size) / 3);
51
- left: 0.5px;
52
- width: 1px;
53
- height: calc(var(--thumb-size) / 1.5);
54
- transform: translate(-50%, -50%);
55
- }
56
-
57
- :where([data-mantine-color-scheme='light']) .m_481dd586::before {
58
- background-color: var(--mantine-color-gray-4);
59
- }
60
-
61
- :where([data-mantine-color-scheme='dark']) .m_481dd586::before {
62
- background-color: var(--mantine-color-dark-3);
63
- }
64
-
65
- .m_481dd586[data-label]::after {
66
- min-width: 18px;
67
- text-align: center;
68
- content: attr(data-label);
69
- position: absolute;
70
- top: -24px;
71
- left: -7px;
72
- transform: rotate(calc(360deg - var(--angle)));
73
- font-size: var(--mantine-font-size-xs);
74
- }
75
-
76
- .m_bc02ba3d {
77
- position: absolute;
78
- top: 0;
79
- right: 0;
80
- bottom: 0;
81
- left: calc(50% - 1.5px);
82
- height: 100%;
83
- width: 3px;
84
- outline: none;
85
- pointer-events: none;
86
- }
87
-
88
- .m_bc02ba3d::before {
89
- content: '';
90
- position: absolute;
91
- right: 0;
92
- top: 0;
93
- height: min(var(--thumb-size), calc(var(--slider-size) / 2));
94
- width: 3px;
95
- }
96
-
97
- :where([data-mantine-color-scheme='light']) .m_bc02ba3d::before {
98
- background-color: var(--mantine-color-gray-7);
99
- }
100
-
101
- :where([data-mantine-color-scheme='dark']) .m_bc02ba3d::before {
102
- background-color: var(--mantine-color-dark-1);
103
- }
104
-
105
- .m_bb8e875b {
106
- font-size: var(--mantine-font-size-xs);
107
- }
@@ -1,108 +0,0 @@
1
- @layer mantine {.m_48204f9b {
2
- width: var(--slider-size);
3
- height: var(--slider-size);
4
- position: relative;
5
- border-radius: 100%;
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- user-select: none;
10
- }
11
-
12
- .m_48204f9b:focus-within {
13
- outline: 2px solid var(--mantine-primary-color-filled);
14
- outline-offset: 2px;
15
- }
16
-
17
- .m_48204f9b {
18
-
19
- --slider-size: 60px;
20
- --thumb-size: calc(var(--slider-size) / 5);
21
- }
22
-
23
- :where([data-mantine-color-scheme='light']) .m_48204f9b {
24
- background-color: var(--mantine-color-gray-1);
25
- }
26
-
27
- :where([data-mantine-color-scheme='dark']) .m_48204f9b {
28
- background-color: var(--mantine-color-dark-5);
29
- }
30
-
31
- .m_bb9cdbad {
32
- position: absolute;
33
- inset: 1px;
34
- border-radius: var(--slider-size);
35
- pointer-events: none;
36
- }
37
-
38
- .m_481dd586 {
39
- width: 2px;
40
- position: absolute;
41
- top: 0;
42
- bottom: 0;
43
- left: calc(50% - 1px);
44
- transform: rotate(var(--angle));
45
- }
46
-
47
- .m_481dd586::before {
48
- content: '';
49
- position: absolute;
50
- top: calc(var(--thumb-size) / 3);
51
- left: 0.5px;
52
- width: 1px;
53
- height: calc(var(--thumb-size) / 1.5);
54
- transform: translate(-50%, -50%);
55
- }
56
-
57
- :where([data-mantine-color-scheme='light']) .m_481dd586::before {
58
- background-color: var(--mantine-color-gray-4);
59
- }
60
-
61
- :where([data-mantine-color-scheme='dark']) .m_481dd586::before {
62
- background-color: var(--mantine-color-dark-3);
63
- }
64
-
65
- .m_481dd586[data-label]::after {
66
- min-width: 18px;
67
- text-align: center;
68
- content: attr(data-label);
69
- position: absolute;
70
- top: -24px;
71
- left: -7px;
72
- transform: rotate(calc(360deg - var(--angle)));
73
- font-size: var(--mantine-font-size-xs);
74
- }
75
-
76
- .m_bc02ba3d {
77
- position: absolute;
78
- top: 0;
79
- right: 0;
80
- bottom: 0;
81
- left: calc(50% - 1.5px);
82
- height: 100%;
83
- width: 3px;
84
- outline: none;
85
- pointer-events: none;
86
- }
87
-
88
- .m_bc02ba3d::before {
89
- content: '';
90
- position: absolute;
91
- right: 0;
92
- top: 0;
93
- height: min(var(--thumb-size), calc(var(--slider-size) / 2));
94
- width: 3px;
95
- }
96
-
97
- :where([data-mantine-color-scheme='light']) .m_bc02ba3d::before {
98
- background-color: var(--mantine-color-gray-7);
99
- }
100
-
101
- :where([data-mantine-color-scheme='dark']) .m_bc02ba3d::before {
102
- background-color: var(--mantine-color-dark-1);
103
- }
104
-
105
- .m_bb8e875b {
106
- font-size: var(--mantine-font-size-xs);
107
- }
108
- }