@mantine/core 8.3.1 → 8.3.3

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 (209) hide show
  1. package/cjs/components/Checkbox/Checkbox.cjs +2 -1
  2. package/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
  3. package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs +2 -1
  4. package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs.map +1 -1
  5. package/cjs/components/Menu/MenuSub/MenuSub.cjs +1 -1
  6. package/cjs/components/Menu/MenuSub/MenuSub.cjs.map +1 -1
  7. package/cjs/components/NavLink/NavLink.cjs +4 -2
  8. package/cjs/components/NavLink/NavLink.cjs.map +1 -1
  9. package/cjs/components/Popover/Popover.cjs +4 -2
  10. package/cjs/components/Popover/Popover.cjs.map +1 -1
  11. package/cjs/components/Tabs/TabsTab/TabsTab.cjs +1 -1
  12. package/cjs/components/Tabs/TabsTab/TabsTab.cjs.map +1 -1
  13. package/esm/components/Checkbox/Checkbox.mjs +2 -1
  14. package/esm/components/Checkbox/Checkbox.mjs.map +1 -1
  15. package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs +2 -1
  16. package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs.map +1 -1
  17. package/esm/components/Menu/MenuSub/MenuSub.mjs +1 -1
  18. package/esm/components/Menu/MenuSub/MenuSub.mjs.map +1 -1
  19. package/esm/components/NavLink/NavLink.mjs +4 -2
  20. package/esm/components/NavLink/NavLink.mjs.map +1 -1
  21. package/esm/components/Popover/Popover.mjs +4 -2
  22. package/esm/components/Popover/Popover.mjs.map +1 -1
  23. package/esm/components/Tabs/TabsTab/TabsTab.mjs +1 -1
  24. package/esm/components/Tabs/TabsTab/TabsTab.mjs.map +1 -1
  25. package/lib/components/Menu/MenuSub/MenuSub.d.ts +2 -0
  26. package/lib/components/NavLink/NavLink.d.ts +4 -0
  27. package/package.json +2 -2
  28. package/styles.css +64 -13
  29. package/styles.layer.css +64 -13
  30. package/styles/Accordion.css +0 -178
  31. package/styles/Accordion.layer.css +0 -179
  32. package/styles/ActionIcon.css +0 -188
  33. package/styles/ActionIcon.layer.css +0 -189
  34. package/styles/Affix.css +0 -8
  35. package/styles/Affix.layer.css +0 -9
  36. package/styles/Alert.css +0 -82
  37. package/styles/Alert.layer.css +0 -83
  38. package/styles/Anchor.css +0 -56
  39. package/styles/Anchor.layer.css +0 -57
  40. package/styles/AngleSlider.css +0 -106
  41. package/styles/AngleSlider.layer.css +0 -107
  42. package/styles/AppShell.css +0 -127
  43. package/styles/AppShell.layer.css +0 -128
  44. package/styles/AspectRatio.css +0 -13
  45. package/styles/AspectRatio.layer.css +0 -14
  46. package/styles/Avatar.css +0 -68
  47. package/styles/Avatar.layer.css +0 -69
  48. package/styles/BackgroundImage.css +0 -9
  49. package/styles/BackgroundImage.layer.css +0 -10
  50. package/styles/Badge.css +0 -127
  51. package/styles/Badge.layer.css +0 -128
  52. package/styles/Blockquote.css +0 -41
  53. package/styles/Blockquote.layer.css +0 -42
  54. package/styles/Breadcrumbs.css +0 -27
  55. package/styles/Breadcrumbs.layer.css +0 -28
  56. package/styles/Burger.css +0 -68
  57. package/styles/Burger.layer.css +0 -69
  58. package/styles/Button.css +0 -261
  59. package/styles/Button.layer.css +0 -262
  60. package/styles/Card.css +0 -54
  61. package/styles/Card.layer.css +0 -55
  62. package/styles/Center.css +0 -9
  63. package/styles/Center.layer.css +0 -10
  64. package/styles/Checkbox.css +0 -103
  65. package/styles/Checkbox.layer.css +0 -104
  66. package/styles/CheckboxCard.css +0 -24
  67. package/styles/CheckboxCard.layer.css +0 -25
  68. package/styles/CheckboxIndicator.css +0 -87
  69. package/styles/CheckboxIndicator.layer.css +0 -88
  70. package/styles/Chip.css +0 -199
  71. package/styles/Chip.layer.css +0 -200
  72. package/styles/CloseButton.css +0 -58
  73. package/styles/CloseButton.layer.css +0 -59
  74. package/styles/Code.css +0 -21
  75. package/styles/Code.layer.css +0 -22
  76. package/styles/ColorInput.css +0 -21
  77. package/styles/ColorInput.layer.css +0 -22
  78. package/styles/ColorPicker.css +0 -160
  79. package/styles/ColorPicker.layer.css +0 -161
  80. package/styles/ColorSwatch.css +0 -71
  81. package/styles/ColorSwatch.layer.css +0 -72
  82. package/styles/Combobox.css +0 -210
  83. package/styles/Combobox.layer.css +0 -211
  84. package/styles/Container.css +0 -37
  85. package/styles/Container.layer.css +0 -38
  86. package/styles/Dialog.css +0 -19
  87. package/styles/Dialog.layer.css +0 -20
  88. package/styles/Divider.css +0 -62
  89. package/styles/Divider.layer.css +0 -63
  90. package/styles/Drawer.css +0 -33
  91. package/styles/Drawer.layer.css +0 -34
  92. package/styles/Fieldset.css +0 -49
  93. package/styles/Fieldset.layer.css +0 -50
  94. package/styles/Flex.css +0 -3
  95. package/styles/Flex.layer.css +0 -4
  96. package/styles/FloatingIndicator.css +0 -20
  97. package/styles/FloatingIndicator.layer.css +0 -21
  98. package/styles/Grid.css +0 -34
  99. package/styles/Grid.layer.css +0 -35
  100. package/styles/Group.css +0 -13
  101. package/styles/Group.layer.css +0 -14
  102. package/styles/Image.css +0 -6
  103. package/styles/Image.layer.css +0 -7
  104. package/styles/Indicator.css +0 -64
  105. package/styles/Indicator.layer.css +0 -65
  106. package/styles/InlineInput.css +0 -66
  107. package/styles/InlineInput.layer.css +0 -67
  108. package/styles/Input.css +0 -301
  109. package/styles/Input.layer.css +0 -302
  110. package/styles/Kbd.css +0 -31
  111. package/styles/Kbd.layer.css +0 -32
  112. package/styles/List.css +0 -49
  113. package/styles/List.layer.css +0 -50
  114. package/styles/Loader.css +0 -114
  115. package/styles/Loader.layer.css +0 -115
  116. package/styles/LoadingOverlay.css +0 -18
  117. package/styles/LoadingOverlay.layer.css +0 -19
  118. package/styles/Mark.css +0 -11
  119. package/styles/Mark.layer.css +0 -12
  120. package/styles/Menu.css +0 -80
  121. package/styles/Menu.layer.css +0 -81
  122. package/styles/Modal.css +0 -61
  123. package/styles/Modal.layer.css +0 -62
  124. package/styles/ModalBase.css +0 -56
  125. package/styles/ModalBase.layer.css +0 -57
  126. package/styles/NavLink.css +0 -118
  127. package/styles/NavLink.layer.css +0 -119
  128. package/styles/Notification.css +0 -131
  129. package/styles/Notification.layer.css +0 -132
  130. package/styles/NumberInput.css +0 -81
  131. package/styles/NumberInput.layer.css +0 -82
  132. package/styles/Overlay.css +0 -19
  133. package/styles/Overlay.layer.css +0 -20
  134. package/styles/Pagination.css +0 -96
  135. package/styles/Pagination.layer.css +0 -97
  136. package/styles/Paper.css +0 -24
  137. package/styles/Paper.layer.css +0 -25
  138. package/styles/PasswordInput.css +0 -62
  139. package/styles/PasswordInput.layer.css +0 -63
  140. package/styles/Pill.css +0 -117
  141. package/styles/Pill.layer.css +0 -118
  142. package/styles/PillsInput.css +0 -45
  143. package/styles/PillsInput.layer.css +0 -46
  144. package/styles/PinInput.css +0 -13
  145. package/styles/PinInput.layer.css +0 -14
  146. package/styles/Popover.css +0 -36
  147. package/styles/Popover.layer.css +0 -37
  148. package/styles/Progress.css +0 -142
  149. package/styles/Progress.layer.css +0 -143
  150. package/styles/Radio.css +0 -109
  151. package/styles/Radio.layer.css +0 -110
  152. package/styles/RadioCard.css +0 -24
  153. package/styles/RadioCard.layer.css +0 -25
  154. package/styles/RadioIndicator.css +0 -91
  155. package/styles/RadioIndicator.layer.css +0 -92
  156. package/styles/Rating.css +0 -82
  157. package/styles/Rating.layer.css +0 -83
  158. package/styles/RingProgress.css +0 -39
  159. package/styles/RingProgress.layer.css +0 -40
  160. package/styles/ScrollArea.css +0 -189
  161. package/styles/ScrollArea.layer.css +0 -190
  162. package/styles/SegmentedControl.css +0 -224
  163. package/styles/SegmentedControl.layer.css +0 -225
  164. package/styles/SemiCircleProgress.css +0 -56
  165. package/styles/SemiCircleProgress.layer.css +0 -57
  166. package/styles/SimpleGrid.css +0 -9
  167. package/styles/SimpleGrid.layer.css +0 -10
  168. package/styles/Skeleton.css +0 -50
  169. package/styles/Skeleton.layer.css +0 -51
  170. package/styles/Slider.css +0 -209
  171. package/styles/Slider.layer.css +0 -210
  172. package/styles/Spoiler.css +0 -21
  173. package/styles/Spoiler.layer.css +0 -22
  174. package/styles/Stack.css +0 -7
  175. package/styles/Stack.layer.css +0 -8
  176. package/styles/Stepper.css +0 -204
  177. package/styles/Stepper.layer.css +0 -205
  178. package/styles/Switch.css +0 -172
  179. package/styles/Switch.layer.css +0 -173
  180. package/styles/Table.css +0 -159
  181. package/styles/Table.layer.css +0 -160
  182. package/styles/TableOfContents.css +0 -38
  183. package/styles/TableOfContents.layer.css +0 -39
  184. package/styles/Tabs.css +0 -368
  185. package/styles/Tabs.layer.css +0 -369
  186. package/styles/Text.css +0 -51
  187. package/styles/Text.layer.css +0 -52
  188. package/styles/ThemeIcon.css +0 -24
  189. package/styles/ThemeIcon.layer.css +0 -25
  190. package/styles/Timeline.css +0 -173
  191. package/styles/Timeline.layer.css +0 -174
  192. package/styles/Title.css +0 -16
  193. package/styles/Title.layer.css +0 -17
  194. package/styles/Tooltip.css +0 -34
  195. package/styles/Tooltip.layer.css +0 -35
  196. package/styles/Tree.css +0 -36
  197. package/styles/Tree.layer.css +0 -37
  198. package/styles/Typography.css +0 -209
  199. package/styles/Typography.layer.css +0 -210
  200. package/styles/UnstyledButton.css +0 -17
  201. package/styles/UnstyledButton.layer.css +0 -18
  202. package/styles/VisuallyHidden.css +0 -11
  203. package/styles/VisuallyHidden.layer.css +0 -12
  204. package/styles/baseline.css +0 -40
  205. package/styles/baseline.layer.css +0 -41
  206. package/styles/default-css-variables.css +0 -519
  207. package/styles/default-css-variables.layer.css +0 -520
  208. package/styles/global.css +0 -40
  209. package/styles/global.layer.css +0 -41
@@ -1,204 +0,0 @@
1
- .m_cbb4ea7e {
2
- --stepper-icon-size-xs: 34px;
3
- --stepper-icon-size-sm: 36px;
4
- --stepper-icon-size-md: 42px;
5
- --stepper-icon-size-lg: 48px;
6
- --stepper-icon-size-xl: 52px;
7
-
8
- --stepper-icon-size: var(--stepper-icon-size-md);
9
- --stepper-color: var(--mantine-primary-color-filled);
10
- --stepper-content-padding: var(--mantine-spacing-md);
11
- --stepper-spacing: var(--mantine-spacing-md);
12
- --stepper-radius: 1000px;
13
- --stepper-fz: var(--mantine-font-size-md);
14
- --stepper-outline-thickness: 2px;
15
- }
16
-
17
- [data-mantine-color-scheme='light'] .m_cbb4ea7e {
18
- --stepper-outline-color: var(--mantine-color-gray-2);
19
- }
20
-
21
- [data-mantine-color-scheme='dark'] .m_cbb4ea7e {
22
- --stepper-outline-color: var(--mantine-color-dark-5);
23
- }
24
-
25
- .m_aaf89d0b {
26
- display: flex;
27
- flex-wrap: nowrap;
28
- align-items: center;
29
- }
30
-
31
- .m_aaf89d0b:where([data-wrap]) {
32
- flex-wrap: wrap;
33
- gap: var(--mantine-spacing-md) 0;
34
- }
35
-
36
- .m_aaf89d0b:where([data-orientation='vertical']) {
37
- flex-direction: column;
38
- }
39
-
40
- .m_aaf89d0b:where([data-orientation='vertical']):where([data-icon-position='left']) {
41
- align-items: flex-start;
42
- }
43
-
44
- .m_aaf89d0b:where([data-orientation='vertical']):where([data-icon-position='right']) {
45
- align-items: flex-end;
46
- }
47
-
48
- .m_aaf89d0b:where([data-orientation='horizontal']) {
49
- flex-direction: row;
50
- }
51
-
52
- .m_2a371ac9 {
53
- transition: background-color 150ms ease;
54
- flex: 1;
55
- height: var(--stepper-outline-thickness);
56
- margin-inline: var(--mantine-spacing-md);
57
- background-color: var(--stepper-outline-color);
58
- }
59
-
60
- .m_2a371ac9:where([data-active]) {
61
- background-color: var(--stepper-color);
62
- }
63
-
64
- .m_78da155d {
65
- padding-top: var(--stepper-content-padding);
66
- }
67
-
68
- .m_cbb57068 {
69
- --step-color: var(--stepper-color);
70
-
71
- display: flex;
72
- cursor: default;
73
- }
74
-
75
- .m_cbb57068:where([data-allow-click]) {
76
- cursor: pointer;
77
- }
78
-
79
- .m_cbb57068:where([data-icon-position='left']) {
80
- flex-direction: row;
81
- }
82
-
83
- .m_cbb57068:where([data-icon-position='right']) {
84
- flex-direction: row-reverse;
85
- }
86
-
87
- .m_f56b1e2c {
88
- align-items: center;
89
- }
90
-
91
- .m_833edb7e {
92
- --separator-spacing: calc(var(--mantine-spacing-xs) / 2);
93
-
94
- justify-content: flex-start;
95
- min-height: calc(var(--stepper-icon-size) + var(--mantine-spacing-xl) + var(--separator-spacing));
96
- margin-top: var(--separator-spacing);
97
- overflow: hidden;
98
- }
99
-
100
- .m_833edb7e:where(:first-of-type) {
101
- margin-top: 0;
102
- }
103
-
104
- .m_833edb7e:where(:last-of-type) {
105
- min-height: auto;
106
- }
107
-
108
- .m_833edb7e:where(:last-of-type) .m_6496b3f3 {
109
- display: none;
110
- }
111
-
112
- .m_818e70b {
113
- position: relative;
114
- }
115
-
116
- .m_6496b3f3 {
117
- top: calc(var(--stepper-icon-size) + var(--separator-spacing));
118
- inset-inline-start: calc(var(--stepper-icon-size) / 2);
119
- height: 100vh;
120
- position: absolute;
121
- border-inline-start: var(--stepper-outline-thickness) solid var(--stepper-outline-color);
122
- }
123
-
124
- .m_6496b3f3:where([data-active]) {
125
- border-color: var(--stepper-color);
126
- }
127
-
128
- .m_1959ad01 {
129
- height: var(--stepper-icon-size);
130
- width: var(--stepper-icon-size);
131
- min-height: var(--stepper-icon-size);
132
- min-width: var(--stepper-icon-size);
133
- border-radius: var(--stepper-radius);
134
- font-size: var(--stepper-fz);
135
- display: flex;
136
- align-items: center;
137
- justify-content: center;
138
- position: relative;
139
- font-weight: bold;
140
- transition:
141
- background-color 150ms ease,
142
- border-color 150ms ease;
143
- border: var(--stepper-outline-thickness) solid var(--stepper-outline-color);
144
- background-color: var(--stepper-outline-color);
145
- }
146
-
147
- :where([data-mantine-color-scheme='light']) .m_1959ad01 {
148
- color: var(--mantine-color-gray-7);
149
- }
150
-
151
- :where([data-mantine-color-scheme='dark']) .m_1959ad01 {
152
- color: var(--mantine-color-dark-1);
153
- }
154
-
155
- .m_1959ad01:where([data-progress]) {
156
- border-color: var(--step-color);
157
- }
158
-
159
- .m_1959ad01:where([data-completed]) {
160
- color: var(--stepper-icon-color, var(--mantine-color-white));
161
- background-color: var(--step-color);
162
- border-color: var(--step-color);
163
- }
164
-
165
- .m_a79331dc {
166
- position: absolute;
167
- inset: 0;
168
- display: flex;
169
- align-items: center;
170
- justify-content: center;
171
- color: var(--stepper-icon-color, var(--mantine-color-white));
172
- }
173
-
174
- .m_1956aa2a {
175
- display: flex;
176
- flex-direction: column;
177
- }
178
-
179
- .m_1956aa2a:where([data-icon-position='left']) {
180
- margin-inline-start: var(--mantine-spacing-sm);
181
- }
182
-
183
- .m_1956aa2a:where([data-icon-position='right']) {
184
- text-align: right;
185
- margin-inline-end: var(--mantine-spacing-sm);
186
- }
187
-
188
- :where([dir="rtl"]) .m_1956aa2a:where([data-icon-position='right']) {
189
- text-align: left;
190
- }
191
-
192
- .m_12051f6c {
193
- font-weight: 500;
194
- font-size: var(--stepper-fz);
195
- line-height: 1;
196
- }
197
-
198
- .m_164eea74 {
199
- margin-top: calc(var(--stepper-spacing) / 3);
200
- margin-bottom: calc(var(--stepper-spacing) / 3);
201
- font-size: calc(var(--stepper-fz) - calc(0.125rem * var(--mantine-scale)));
202
- line-height: 1;
203
- color: var(--mantine-color-dimmed);
204
- }
@@ -1,205 +0,0 @@
1
- @layer mantine {.m_cbb4ea7e {
2
- --stepper-icon-size-xs: 34px;
3
- --stepper-icon-size-sm: 36px;
4
- --stepper-icon-size-md: 42px;
5
- --stepper-icon-size-lg: 48px;
6
- --stepper-icon-size-xl: 52px;
7
-
8
- --stepper-icon-size: var(--stepper-icon-size-md);
9
- --stepper-color: var(--mantine-primary-color-filled);
10
- --stepper-content-padding: var(--mantine-spacing-md);
11
- --stepper-spacing: var(--mantine-spacing-md);
12
- --stepper-radius: 1000px;
13
- --stepper-fz: var(--mantine-font-size-md);
14
- --stepper-outline-thickness: 2px;
15
- }
16
-
17
- [data-mantine-color-scheme='light'] .m_cbb4ea7e {
18
- --stepper-outline-color: var(--mantine-color-gray-2);
19
- }
20
-
21
- [data-mantine-color-scheme='dark'] .m_cbb4ea7e {
22
- --stepper-outline-color: var(--mantine-color-dark-5);
23
- }
24
-
25
- .m_aaf89d0b {
26
- display: flex;
27
- flex-wrap: nowrap;
28
- align-items: center;
29
- }
30
-
31
- .m_aaf89d0b:where([data-wrap]) {
32
- flex-wrap: wrap;
33
- gap: var(--mantine-spacing-md) 0;
34
- }
35
-
36
- .m_aaf89d0b:where([data-orientation='vertical']) {
37
- flex-direction: column;
38
- }
39
-
40
- .m_aaf89d0b:where([data-orientation='vertical']):where([data-icon-position='left']) {
41
- align-items: flex-start;
42
- }
43
-
44
- .m_aaf89d0b:where([data-orientation='vertical']):where([data-icon-position='right']) {
45
- align-items: flex-end;
46
- }
47
-
48
- .m_aaf89d0b:where([data-orientation='horizontal']) {
49
- flex-direction: row;
50
- }
51
-
52
- .m_2a371ac9 {
53
- transition: background-color 150ms ease;
54
- flex: 1;
55
- height: var(--stepper-outline-thickness);
56
- margin-inline: var(--mantine-spacing-md);
57
- background-color: var(--stepper-outline-color);
58
- }
59
-
60
- .m_2a371ac9:where([data-active]) {
61
- background-color: var(--stepper-color);
62
- }
63
-
64
- .m_78da155d {
65
- padding-top: var(--stepper-content-padding);
66
- }
67
-
68
- .m_cbb57068 {
69
- --step-color: var(--stepper-color);
70
-
71
- display: flex;
72
- cursor: default;
73
- }
74
-
75
- .m_cbb57068:where([data-allow-click]) {
76
- cursor: pointer;
77
- }
78
-
79
- .m_cbb57068:where([data-icon-position='left']) {
80
- flex-direction: row;
81
- }
82
-
83
- .m_cbb57068:where([data-icon-position='right']) {
84
- flex-direction: row-reverse;
85
- }
86
-
87
- .m_f56b1e2c {
88
- align-items: center;
89
- }
90
-
91
- .m_833edb7e {
92
- --separator-spacing: calc(var(--mantine-spacing-xs) / 2);
93
-
94
- justify-content: flex-start;
95
- min-height: calc(var(--stepper-icon-size) + var(--mantine-spacing-xl) + var(--separator-spacing));
96
- margin-top: var(--separator-spacing);
97
- overflow: hidden;
98
- }
99
-
100
- .m_833edb7e:where(:first-of-type) {
101
- margin-top: 0;
102
- }
103
-
104
- .m_833edb7e:where(:last-of-type) {
105
- min-height: auto;
106
- }
107
-
108
- .m_833edb7e:where(:last-of-type) .m_6496b3f3 {
109
- display: none;
110
- }
111
-
112
- .m_818e70b {
113
- position: relative;
114
- }
115
-
116
- .m_6496b3f3 {
117
- top: calc(var(--stepper-icon-size) + var(--separator-spacing));
118
- inset-inline-start: calc(var(--stepper-icon-size) / 2);
119
- height: 100vh;
120
- position: absolute;
121
- border-inline-start: var(--stepper-outline-thickness) solid var(--stepper-outline-color);
122
- }
123
-
124
- .m_6496b3f3:where([data-active]) {
125
- border-color: var(--stepper-color);
126
- }
127
-
128
- .m_1959ad01 {
129
- height: var(--stepper-icon-size);
130
- width: var(--stepper-icon-size);
131
- min-height: var(--stepper-icon-size);
132
- min-width: var(--stepper-icon-size);
133
- border-radius: var(--stepper-radius);
134
- font-size: var(--stepper-fz);
135
- display: flex;
136
- align-items: center;
137
- justify-content: center;
138
- position: relative;
139
- font-weight: bold;
140
- transition:
141
- background-color 150ms ease,
142
- border-color 150ms ease;
143
- border: var(--stepper-outline-thickness) solid var(--stepper-outline-color);
144
- background-color: var(--stepper-outline-color);
145
- }
146
-
147
- :where([data-mantine-color-scheme='light']) .m_1959ad01 {
148
- color: var(--mantine-color-gray-7);
149
- }
150
-
151
- :where([data-mantine-color-scheme='dark']) .m_1959ad01 {
152
- color: var(--mantine-color-dark-1);
153
- }
154
-
155
- .m_1959ad01:where([data-progress]) {
156
- border-color: var(--step-color);
157
- }
158
-
159
- .m_1959ad01:where([data-completed]) {
160
- color: var(--stepper-icon-color, var(--mantine-color-white));
161
- background-color: var(--step-color);
162
- border-color: var(--step-color);
163
- }
164
-
165
- .m_a79331dc {
166
- position: absolute;
167
- inset: 0;
168
- display: flex;
169
- align-items: center;
170
- justify-content: center;
171
- color: var(--stepper-icon-color, var(--mantine-color-white));
172
- }
173
-
174
- .m_1956aa2a {
175
- display: flex;
176
- flex-direction: column;
177
- }
178
-
179
- .m_1956aa2a:where([data-icon-position='left']) {
180
- margin-inline-start: var(--mantine-spacing-sm);
181
- }
182
-
183
- .m_1956aa2a:where([data-icon-position='right']) {
184
- text-align: right;
185
- margin-inline-end: var(--mantine-spacing-sm);
186
- }
187
-
188
- :where([dir="rtl"]) .m_1956aa2a:where([data-icon-position='right']) {
189
- text-align: left;
190
- }
191
-
192
- .m_12051f6c {
193
- font-weight: 500;
194
- font-size: var(--stepper-fz);
195
- line-height: 1;
196
- }
197
-
198
- .m_164eea74 {
199
- margin-top: calc(var(--stepper-spacing) / 3);
200
- margin-bottom: calc(var(--stepper-spacing) / 3);
201
- font-size: calc(var(--stepper-fz) - calc(0.125rem * var(--mantine-scale)));
202
- line-height: 1;
203
- color: var(--mantine-color-dimmed);
204
- }
205
- }
package/styles/Switch.css DELETED
@@ -1,172 +0,0 @@
1
- .m_5f93f3bb {
2
- --switch-height-xs: 16px;
3
- --switch-height-sm: 20px;
4
- --switch-height-md: 24px;
5
- --switch-height-lg: 30px;
6
- --switch-height-xl: 36px;
7
-
8
- --switch-width-xs: 32px;
9
- --switch-width-sm: 38px;
10
- --switch-width-md: 46px;
11
- --switch-width-lg: 56px;
12
- --switch-width-xl: 72px;
13
-
14
- --switch-thumb-size-xs: 12px;
15
- --switch-thumb-size-sm: 14px;
16
- --switch-thumb-size-md: 18px;
17
- --switch-thumb-size-lg: 22px;
18
- --switch-thumb-size-xl: 28px;
19
-
20
- --switch-label-font-size-xs: 5px;
21
- --switch-label-font-size-sm: 6px;
22
- --switch-label-font-size-md: 7px;
23
- --switch-label-font-size-lg: 9px;
24
- --switch-label-font-size-xl: 11px;
25
-
26
- --switch-track-label-padding-xs: 2px;
27
- --switch-track-label-padding-sm: 2.5px;
28
- --switch-track-label-padding-md: 3px;
29
- --switch-track-label-padding-lg: 3px;
30
- --switch-track-label-padding-xl: 3.5px;
31
-
32
- --switch-height: var(--switch-height-sm);
33
- --switch-width: var(--switch-width-sm);
34
- --switch-thumb-size: var(--switch-thumb-size-sm);
35
- --switch-label-font-size: var(--switch-label-font-size-sm);
36
- --switch-track-label-padding: var(--switch-track-label-padding-sm);
37
- --switch-radius: 1000px;
38
- --switch-color: var(--mantine-primary-color-filled);
39
- --switch-disabled-color: var(--mantine-color-disabled);
40
-
41
- position: relative;
42
- }
43
-
44
- .m_926b4011 {
45
- height: 0;
46
- width: 0;
47
- opacity: 0;
48
- margin: 0;
49
- padding: 0;
50
- position: absolute;
51
- overflow: hidden;
52
- white-space: nowrap;
53
- }
54
-
55
- .m_9307d992 {
56
- -webkit-tap-highlight-color: transparent;
57
- cursor: var(--switch-cursor, var(--mantine-cursor-type));
58
- overflow: hidden;
59
- position: relative;
60
- border-radius: var(--switch-radius);
61
- background-color: var(--switch-bg);
62
- height: var(--switch-height);
63
- min-width: var(--switch-width);
64
- margin: 0;
65
- transition:
66
- background-color 150ms ease,
67
- border-color 150ms ease;
68
- appearance: none;
69
- display: flex;
70
- align-items: center;
71
- font-size: var(--switch-label-font-size);
72
- font-weight: 600;
73
- order: var(--switch-order, 1);
74
- user-select: none;
75
- z-index: 0;
76
- line-height: 0;
77
- color: var(--switch-text-color);
78
- }
79
-
80
- .m_9307d992:where([data-without-labels]) {
81
- width: var(--switch-width);
82
- }
83
-
84
- .m_926b4011:focus-visible + .m_9307d992 {
85
- outline: 2px solid var(--mantine-primary-color-filled);
86
- outline-offset: 2px;
87
- }
88
-
89
- .m_926b4011:checked + .m_9307d992 {
90
- --switch-bg: var(--switch-color);
91
- --switch-text-color: var(--mantine-color-white);
92
- }
93
-
94
- .m_926b4011:disabled + .m_9307d992,
95
- .m_926b4011[data-disabled] + .m_9307d992 {
96
- --switch-bg: var(--switch-disabled-color);
97
- --switch-cursor: not-allowed;
98
- }
99
-
100
- [data-mantine-color-scheme='light'] .m_9307d992 {
101
- --switch-bg: var(--mantine-color-gray-3);
102
- --switch-text-color: var(--mantine-color-gray-6);
103
- }
104
-
105
- [data-mantine-color-scheme='dark'] .m_9307d992 {
106
- --switch-bg: var(--mantine-color-dark-5);
107
- --switch-text-color: var(--mantine-color-dark-1);
108
- }
109
-
110
- .m_9307d992[data-label-position='left'] {
111
- --switch-order: 2;
112
- }
113
-
114
- .m_93039a1d {
115
- position: absolute;
116
- z-index: 1;
117
- border-radius: var(--switch-radius);
118
- display: flex;
119
- background-color: var(--switch-thumb-bg, var(--mantine-color-white));
120
- height: var(--switch-thumb-size);
121
- width: var(--switch-thumb-size);
122
- inset-inline-start: var(--switch-thumb-start, var(--switch-track-label-padding));
123
- transition: inset-inline-start 150ms ease;
124
- }
125
-
126
- .m_93039a1d:where([data-with-thumb-indicator])::before {
127
- content: '';
128
- width: 40%;
129
- height: 40%;
130
- background-color: var(--switch-bg);
131
- position: absolute;
132
- border-radius: var(--switch-radius);
133
- top: 50%;
134
- left: 50%;
135
- transform: translate(-50%, -50%);
136
- }
137
-
138
- .m_93039a1d > * {
139
- margin: auto;
140
- }
141
-
142
- .m_926b4011:checked + * > .m_93039a1d {
143
- --switch-thumb-start: calc(100% - var(--switch-thumb-size) - var(--switch-track-label-padding));
144
- }
145
-
146
- .m_926b4011:disabled + * > .m_93039a1d,
147
- .m_926b4011[data-disabled] + * > .m_93039a1d {
148
- --switch-thumb-bg: var(--switch-thumb-bg-disabled);
149
- }
150
-
151
- [data-mantine-color-scheme='light'] .m_93039a1d {
152
- --switch-thumb-bg-disabled: var(--mantine-color-gray-0);
153
- }
154
-
155
- [data-mantine-color-scheme='dark'] .m_93039a1d {
156
- --switch-thumb-bg-disabled: var(--mantine-color-dark-3);
157
- }
158
-
159
- .m_8277e082 {
160
- height: 100%;
161
- display: grid;
162
- place-content: center;
163
- min-width: calc(var(--switch-width) - var(--switch-thumb-size));
164
- padding-inline: var(--switch-track-label-padding);
165
- margin-inline-start: calc(var(--switch-thumb-size) + var(--switch-track-label-padding));
166
- transition: margin 150ms ease;
167
- }
168
-
169
- .m_926b4011:checked + * > .m_8277e082 {
170
- margin-inline-end: calc(var(--switch-thumb-size) + var(--switch-track-label-padding));
171
- margin-inline-start: 0;
172
- }