@mantine/core 8.3.3 → 8.3.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.
- package/cjs/components/Input/InputClearSection/InputClearSection.cjs +1 -1
- package/cjs/components/Input/InputClearSection/InputClearSection.cjs.map +1 -1
- package/cjs/components/Transition/get-transition-styles/get-transition-styles.cjs +0 -1
- package/cjs/components/Transition/get-transition-styles/get-transition-styles.cjs.map +1 -1
- package/esm/components/Input/InputClearSection/InputClearSection.mjs +1 -1
- package/esm/components/Input/InputClearSection/InputClearSection.mjs.map +1 -1
- package/esm/components/Transition/get-transition-styles/get-transition-styles.mjs +0 -1
- package/esm/components/Transition/get-transition-styles/get-transition-styles.mjs.map +1 -1
- package/package.json +2 -2
- package/styles/Accordion.css +178 -0
- package/styles/Accordion.layer.css +179 -0
- package/styles/ActionIcon.css +188 -0
- package/styles/ActionIcon.layer.css +189 -0
- package/styles/Affix.css +8 -0
- package/styles/Affix.layer.css +9 -0
- package/styles/Alert.css +82 -0
- package/styles/Alert.layer.css +83 -0
- package/styles/Anchor.css +56 -0
- package/styles/Anchor.layer.css +57 -0
- package/styles/AngleSlider.css +106 -0
- package/styles/AngleSlider.layer.css +107 -0
- package/styles/AppShell.css +127 -0
- package/styles/AppShell.layer.css +128 -0
- package/styles/AspectRatio.css +13 -0
- package/styles/AspectRatio.layer.css +14 -0
- package/styles/Avatar.css +68 -0
- package/styles/Avatar.layer.css +69 -0
- package/styles/BackgroundImage.css +9 -0
- package/styles/BackgroundImage.layer.css +10 -0
- package/styles/Badge.css +127 -0
- package/styles/Badge.layer.css +128 -0
- package/styles/Blockquote.css +41 -0
- package/styles/Blockquote.layer.css +42 -0
- package/styles/Breadcrumbs.css +27 -0
- package/styles/Breadcrumbs.layer.css +28 -0
- package/styles/Burger.css +68 -0
- package/styles/Burger.layer.css +69 -0
- package/styles/Button.css +261 -0
- package/styles/Button.layer.css +262 -0
- package/styles/Card.css +54 -0
- package/styles/Card.layer.css +55 -0
- package/styles/Center.css +9 -0
- package/styles/Center.layer.css +10 -0
- package/styles/Checkbox.css +110 -0
- package/styles/Checkbox.layer.css +111 -0
- package/styles/CheckboxCard.css +24 -0
- package/styles/CheckboxCard.layer.css +25 -0
- package/styles/CheckboxIndicator.css +97 -0
- package/styles/CheckboxIndicator.layer.css +98 -0
- package/styles/Chip.css +199 -0
- package/styles/Chip.layer.css +200 -0
- package/styles/CloseButton.css +58 -0
- package/styles/CloseButton.layer.css +59 -0
- package/styles/Code.css +21 -0
- package/styles/Code.layer.css +22 -0
- package/styles/ColorInput.css +21 -0
- package/styles/ColorInput.layer.css +22 -0
- package/styles/ColorPicker.css +160 -0
- package/styles/ColorPicker.layer.css +161 -0
- package/styles/ColorSwatch.css +71 -0
- package/styles/ColorSwatch.layer.css +72 -0
- package/styles/Combobox.css +210 -0
- package/styles/Combobox.layer.css +211 -0
- package/styles/Container.css +37 -0
- package/styles/Container.layer.css +38 -0
- package/styles/Dialog.css +19 -0
- package/styles/Dialog.layer.css +20 -0
- package/styles/Divider.css +62 -0
- package/styles/Divider.layer.css +63 -0
- package/styles/Drawer.css +33 -0
- package/styles/Drawer.layer.css +34 -0
- package/styles/Fieldset.css +49 -0
- package/styles/Fieldset.layer.css +50 -0
- package/styles/Flex.css +3 -0
- package/styles/Flex.layer.css +4 -0
- package/styles/FloatingIndicator.css +20 -0
- package/styles/FloatingIndicator.layer.css +21 -0
- package/styles/Grid.css +34 -0
- package/styles/Grid.layer.css +35 -0
- package/styles/Group.css +13 -0
- package/styles/Group.layer.css +14 -0
- package/styles/Image.css +6 -0
- package/styles/Image.layer.css +7 -0
- package/styles/Indicator.css +64 -0
- package/styles/Indicator.layer.css +65 -0
- package/styles/InlineInput.css +66 -0
- package/styles/InlineInput.layer.css +67 -0
- package/styles/Input.css +333 -0
- package/styles/Input.layer.css +334 -0
- package/styles/Kbd.css +31 -0
- package/styles/Kbd.layer.css +32 -0
- package/styles/List.css +51 -0
- package/styles/List.layer.css +52 -0
- package/styles/Loader.css +114 -0
- package/styles/Loader.layer.css +115 -0
- package/styles/LoadingOverlay.css +18 -0
- package/styles/LoadingOverlay.layer.css +19 -0
- package/styles/Mark.css +11 -0
- package/styles/Mark.layer.css +12 -0
- package/styles/Menu.css +80 -0
- package/styles/Menu.layer.css +81 -0
- package/styles/Modal.css +61 -0
- package/styles/Modal.layer.css +62 -0
- package/styles/ModalBase.css +56 -0
- package/styles/ModalBase.layer.css +57 -0
- package/styles/NavLink.css +118 -0
- package/styles/NavLink.layer.css +119 -0
- package/styles/Notification.css +131 -0
- package/styles/Notification.layer.css +132 -0
- package/styles/NumberInput.css +81 -0
- package/styles/NumberInput.layer.css +82 -0
- package/styles/Overlay.css +19 -0
- package/styles/Overlay.layer.css +20 -0
- package/styles/Pagination.css +96 -0
- package/styles/Pagination.layer.css +97 -0
- package/styles/Paper.css +24 -0
- package/styles/Paper.layer.css +25 -0
- package/styles/PasswordInput.css +62 -0
- package/styles/PasswordInput.layer.css +63 -0
- package/styles/Pill.css +117 -0
- package/styles/Pill.layer.css +118 -0
- package/styles/PillsInput.css +45 -0
- package/styles/PillsInput.layer.css +46 -0
- package/styles/PinInput.css +13 -0
- package/styles/PinInput.layer.css +14 -0
- package/styles/Popover.css +36 -0
- package/styles/Popover.layer.css +37 -0
- package/styles/Progress.css +142 -0
- package/styles/Progress.layer.css +143 -0
- package/styles/Radio.css +109 -0
- package/styles/Radio.layer.css +110 -0
- package/styles/RadioCard.css +24 -0
- package/styles/RadioCard.layer.css +25 -0
- package/styles/RadioIndicator.css +91 -0
- package/styles/RadioIndicator.layer.css +92 -0
- package/styles/Rating.css +82 -0
- package/styles/Rating.layer.css +83 -0
- package/styles/RingProgress.css +39 -0
- package/styles/RingProgress.layer.css +40 -0
- package/styles/ScrollArea.css +189 -0
- package/styles/ScrollArea.layer.css +190 -0
- package/styles/SegmentedControl.css +224 -0
- package/styles/SegmentedControl.layer.css +225 -0
- package/styles/SemiCircleProgress.css +56 -0
- package/styles/SemiCircleProgress.layer.css +57 -0
- package/styles/SimpleGrid.css +9 -0
- package/styles/SimpleGrid.layer.css +10 -0
- package/styles/Skeleton.css +50 -0
- package/styles/Skeleton.layer.css +51 -0
- package/styles/Slider.css +209 -0
- package/styles/Slider.layer.css +210 -0
- package/styles/Spoiler.css +21 -0
- package/styles/Spoiler.layer.css +22 -0
- package/styles/Stack.css +7 -0
- package/styles/Stack.layer.css +8 -0
- package/styles/Stepper.css +204 -0
- package/styles/Stepper.layer.css +205 -0
- package/styles/Switch.css +172 -0
- package/styles/Switch.layer.css +173 -0
- package/styles/Table.css +159 -0
- package/styles/Table.layer.css +160 -0
- package/styles/TableOfContents.css +38 -0
- package/styles/TableOfContents.layer.css +39 -0
- package/styles/Tabs.css +368 -0
- package/styles/Tabs.layer.css +369 -0
- package/styles/Text.css +51 -0
- package/styles/Text.layer.css +52 -0
- package/styles/ThemeIcon.css +24 -0
- package/styles/ThemeIcon.layer.css +25 -0
- package/styles/Timeline.css +173 -0
- package/styles/Timeline.layer.css +174 -0
- package/styles/Title.css +16 -0
- package/styles/Title.layer.css +17 -0
- package/styles/Tooltip.css +34 -0
- package/styles/Tooltip.layer.css +35 -0
- package/styles/Tree.css +36 -0
- package/styles/Tree.layer.css +37 -0
- package/styles/Typography.css +209 -0
- package/styles/Typography.layer.css +210 -0
- package/styles/UnstyledButton.css +17 -0
- package/styles/UnstyledButton.layer.css +18 -0
- package/styles/VisuallyHidden.css +11 -0
- package/styles/VisuallyHidden.layer.css +12 -0
- package/styles/baseline.css +40 -0
- package/styles/baseline.layer.css +41 -0
- package/styles/default-css-variables.css +519 -0
- package/styles/default-css-variables.layer.css +520 -0
- package/styles/global.css +40 -0
- package/styles/global.layer.css +41 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
.m_77c9d27d {
|
|
2
|
+
--button-height-xs: 30px;
|
|
3
|
+
--button-height-sm: 36px;
|
|
4
|
+
--button-height-md: 42px;
|
|
5
|
+
--button-height-lg: 50px;
|
|
6
|
+
--button-height-xl: 60px;
|
|
7
|
+
|
|
8
|
+
--button-height-compact-xs: 22px;
|
|
9
|
+
--button-height-compact-sm: 26px;
|
|
10
|
+
--button-height-compact-md: 30px;
|
|
11
|
+
--button-height-compact-lg: 34px;
|
|
12
|
+
--button-height-compact-xl: 40px;
|
|
13
|
+
|
|
14
|
+
--button-padding-x-xs: 14px;
|
|
15
|
+
--button-padding-x-sm: 18px;
|
|
16
|
+
--button-padding-x-md: 22px;
|
|
17
|
+
--button-padding-x-lg: 26px;
|
|
18
|
+
--button-padding-x-xl: 32px;
|
|
19
|
+
|
|
20
|
+
--button-padding-x-compact-xs: 7px;
|
|
21
|
+
--button-padding-x-compact-sm: 8px;
|
|
22
|
+
--button-padding-x-compact-md: 10px;
|
|
23
|
+
--button-padding-x-compact-lg: 12px;
|
|
24
|
+
--button-padding-x-compact-xl: 14px;
|
|
25
|
+
|
|
26
|
+
--button-height: var(--button-height-sm);
|
|
27
|
+
--button-padding-x: var(--button-padding-x-sm);
|
|
28
|
+
--button-color: var(--mantine-color-white);
|
|
29
|
+
|
|
30
|
+
user-select: none;
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
position: relative;
|
|
33
|
+
line-height: 1;
|
|
34
|
+
text-align: center;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
width: auto;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
border-radius: var(--button-radius, var(--mantine-radius-default));
|
|
41
|
+
font-size: var(--button-fz, var(--mantine-font-size-sm));
|
|
42
|
+
background: var(--button-bg, var(--mantine-primary-color-filled));
|
|
43
|
+
border: var(--button-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
|
|
44
|
+
color: var(--button-color, var(--mantine-color-white));
|
|
45
|
+
height: var(--button-height, var(--button-height-sm));
|
|
46
|
+
padding-inline: var(--button-padding-x, var(--button-padding-x-sm));
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_77c9d27d:where([data-block]) {
|
|
51
|
+
display: block;
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.m_77c9d27d:where([data-with-left-section]) {
|
|
56
|
+
padding-inline-start: calc(var(--button-padding-x) / 1.5);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_77c9d27d:where([data-with-right-section]) {
|
|
60
|
+
padding-inline-end: calc(var(--button-padding-x) / 1.5);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.m_77c9d27d:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
64
|
+
cursor: not-allowed;
|
|
65
|
+
border: 1px solid transparent;
|
|
66
|
+
transform: none;
|
|
67
|
+
color: var(--mantine-color-disabled-color);
|
|
68
|
+
background: var(--mantine-color-disabled);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.m_77c9d27d::before {
|
|
72
|
+
content: '';
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
position: absolute;
|
|
75
|
+
inset: -1px;
|
|
76
|
+
border-radius: var(--button-radius, var(--mantine-radius-default));
|
|
77
|
+
transform: translateY(-100%);
|
|
78
|
+
opacity: 0;
|
|
79
|
+
filter: blur(12px);
|
|
80
|
+
transition:
|
|
81
|
+
transform 150ms ease,
|
|
82
|
+
opacity 100ms ease;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where([data-mantine-color-scheme='light']) .m_77c9d27d::before {
|
|
86
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:where([data-mantine-color-scheme='dark']) .m_77c9d27d::before {
|
|
90
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.m_77c9d27d:where([data-loading]) {
|
|
94
|
+
cursor: not-allowed;
|
|
95
|
+
transform: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.m_77c9d27d:where([data-loading])::before {
|
|
99
|
+
transform: translateY(0);
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.m_77c9d27d:where([data-loading]) .m_80f1301b {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
transform: translateY(100%);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (hover: hover) {
|
|
109
|
+
.m_77c9d27d:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
110
|
+
background-color: var(--button-hover, var(--mantine-primary-color-filled-hover));
|
|
111
|
+
color: var(--button-hover-color, var(--button-color));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (hover: none) {
|
|
116
|
+
.m_77c9d27d:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
117
|
+
background-color: var(--button-hover, var(--mantine-primary-color-filled-hover));
|
|
118
|
+
color: var(--button-hover-color, var(--button-color));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_80f1301b {
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: var(--button-justify, center);
|
|
126
|
+
height: 100%;
|
|
127
|
+
overflow: visible;
|
|
128
|
+
transition:
|
|
129
|
+
transform 150ms ease,
|
|
130
|
+
opacity 100ms ease;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.m_811560b9 {
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
height: 100%;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.m_811560b9:where([data-loading]) {
|
|
143
|
+
opacity: 0.2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.m_a74036a {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_a74036a:where([data-position='left']) {
|
|
152
|
+
margin-inline-end: var(--mantine-spacing-xs);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.m_a74036a:where([data-position='right']) {
|
|
156
|
+
margin-inline-start: var(--mantine-spacing-xs);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.m_a25b86ee {
|
|
160
|
+
position: absolute;
|
|
161
|
+
left: 50%;
|
|
162
|
+
top: 50%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.m_80d6d844 {
|
|
166
|
+
--button-border-width: 1px;
|
|
167
|
+
display: flex;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.m_80d6d844 :where(.m_77c9d27d):focus {
|
|
171
|
+
position: relative;
|
|
172
|
+
z-index: 1;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.m_80d6d844[data-orientation='horizontal'] {
|
|
176
|
+
flex-direction: row;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):first-child {
|
|
180
|
+
border-end-end-radius: 0;
|
|
181
|
+
border-start-end-radius: 0;
|
|
182
|
+
border-inline-end-width: calc(var(--button-border-width) / 2);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):last-child {
|
|
186
|
+
border-end-start-radius: 0;
|
|
187
|
+
border-start-start-radius: 0;
|
|
188
|
+
border-inline-start-width: calc(var(--button-border-width) / 2);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
|
|
192
|
+
border-radius: 0;
|
|
193
|
+
border-inline-width: calc(var(--button-border-width) / 2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.m_80d6d844[data-orientation='vertical'] {
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):first-child {
|
|
201
|
+
border-end-start-radius: 0;
|
|
202
|
+
border-end-end-radius: 0;
|
|
203
|
+
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):last-child {
|
|
207
|
+
border-start-start-radius: 0;
|
|
208
|
+
border-start-end-radius: 0;
|
|
209
|
+
border-top-width: calc(var(--button-border-width) / 2);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
|
|
213
|
+
border-radius: 0;
|
|
214
|
+
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
215
|
+
border-top-width: calc(var(--button-border-width) / 2);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.m_70be2a01 {
|
|
219
|
+
--section-height-xs: 30px;
|
|
220
|
+
--section-height-sm: 36px;
|
|
221
|
+
--section-height-md: 42px;
|
|
222
|
+
--section-height-lg: 50px;
|
|
223
|
+
--section-height-xl: 60px;
|
|
224
|
+
|
|
225
|
+
--section-height-compact-xs: 22px;
|
|
226
|
+
--section-height-compact-sm: 26px;
|
|
227
|
+
--section-height-compact-md: 30px;
|
|
228
|
+
--section-height-compact-lg: 34px;
|
|
229
|
+
--section-height-compact-xl: 40px;
|
|
230
|
+
|
|
231
|
+
--section-padding-x-xs: 14px;
|
|
232
|
+
--section-padding-x-sm: 18px;
|
|
233
|
+
--section-padding-x-md: 22px;
|
|
234
|
+
--section-padding-x-lg: 26px;
|
|
235
|
+
--section-padding-x-xl: 32px;
|
|
236
|
+
|
|
237
|
+
--section-padding-x-compact-xs: 7px;
|
|
238
|
+
--section-padding-x-compact-sm: 8px;
|
|
239
|
+
--section-padding-x-compact-md: 10px;
|
|
240
|
+
--section-padding-x-compact-lg: 12px;
|
|
241
|
+
--section-padding-x-compact-xl: 14px;
|
|
242
|
+
|
|
243
|
+
--section-height: var(--section-height-sm);
|
|
244
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
245
|
+
--section-color: var(--mantine-color-white);
|
|
246
|
+
|
|
247
|
+
font-weight: 600;
|
|
248
|
+
width: auto;
|
|
249
|
+
border-radius: var(--section-radius, var(--mantine-radius-default));
|
|
250
|
+
font-size: var(--section-fz, var(--mantine-font-size-sm));
|
|
251
|
+
background: var(--section-bg, var(--mantine-primary-color-filled));
|
|
252
|
+
border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
|
|
253
|
+
color: var(--section-color, var(--mantine-color-white));
|
|
254
|
+
height: var(--section-height, var(--section-height-sm));
|
|
255
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
256
|
+
vertical-align: middle;
|
|
257
|
+
line-height: 1;
|
|
258
|
+
display: inline-flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
justify-content: center;
|
|
261
|
+
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
@layer mantine {.m_77c9d27d {
|
|
2
|
+
--button-height-xs: 30px;
|
|
3
|
+
--button-height-sm: 36px;
|
|
4
|
+
--button-height-md: 42px;
|
|
5
|
+
--button-height-lg: 50px;
|
|
6
|
+
--button-height-xl: 60px;
|
|
7
|
+
|
|
8
|
+
--button-height-compact-xs: 22px;
|
|
9
|
+
--button-height-compact-sm: 26px;
|
|
10
|
+
--button-height-compact-md: 30px;
|
|
11
|
+
--button-height-compact-lg: 34px;
|
|
12
|
+
--button-height-compact-xl: 40px;
|
|
13
|
+
|
|
14
|
+
--button-padding-x-xs: 14px;
|
|
15
|
+
--button-padding-x-sm: 18px;
|
|
16
|
+
--button-padding-x-md: 22px;
|
|
17
|
+
--button-padding-x-lg: 26px;
|
|
18
|
+
--button-padding-x-xl: 32px;
|
|
19
|
+
|
|
20
|
+
--button-padding-x-compact-xs: 7px;
|
|
21
|
+
--button-padding-x-compact-sm: 8px;
|
|
22
|
+
--button-padding-x-compact-md: 10px;
|
|
23
|
+
--button-padding-x-compact-lg: 12px;
|
|
24
|
+
--button-padding-x-compact-xl: 14px;
|
|
25
|
+
|
|
26
|
+
--button-height: var(--button-height-sm);
|
|
27
|
+
--button-padding-x: var(--button-padding-x-sm);
|
|
28
|
+
--button-color: var(--mantine-color-white);
|
|
29
|
+
|
|
30
|
+
user-select: none;
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
position: relative;
|
|
33
|
+
line-height: 1;
|
|
34
|
+
text-align: center;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
width: auto;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
border-radius: var(--button-radius, var(--mantine-radius-default));
|
|
41
|
+
font-size: var(--button-fz, var(--mantine-font-size-sm));
|
|
42
|
+
background: var(--button-bg, var(--mantine-primary-color-filled));
|
|
43
|
+
border: var(--button-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
|
|
44
|
+
color: var(--button-color, var(--mantine-color-white));
|
|
45
|
+
height: var(--button-height, var(--button-height-sm));
|
|
46
|
+
padding-inline: var(--button-padding-x, var(--button-padding-x-sm));
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m_77c9d27d:where([data-block]) {
|
|
51
|
+
display: block;
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.m_77c9d27d:where([data-with-left-section]) {
|
|
56
|
+
padding-inline-start: calc(var(--button-padding-x) / 1.5);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.m_77c9d27d:where([data-with-right-section]) {
|
|
60
|
+
padding-inline-end: calc(var(--button-padding-x) / 1.5);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.m_77c9d27d:where(:disabled:not([data-loading]), [data-disabled]:not([data-loading])) {
|
|
64
|
+
cursor: not-allowed;
|
|
65
|
+
border: 1px solid transparent;
|
|
66
|
+
transform: none;
|
|
67
|
+
color: var(--mantine-color-disabled-color);
|
|
68
|
+
background: var(--mantine-color-disabled);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.m_77c9d27d::before {
|
|
72
|
+
content: '';
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
position: absolute;
|
|
75
|
+
inset: -1px;
|
|
76
|
+
border-radius: var(--button-radius, var(--mantine-radius-default));
|
|
77
|
+
transform: translateY(-100%);
|
|
78
|
+
opacity: 0;
|
|
79
|
+
filter: blur(12px);
|
|
80
|
+
transition:
|
|
81
|
+
transform 150ms ease,
|
|
82
|
+
opacity 100ms ease;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where([data-mantine-color-scheme='light']) .m_77c9d27d::before {
|
|
86
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:where([data-mantine-color-scheme='dark']) .m_77c9d27d::before {
|
|
90
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.m_77c9d27d:where([data-loading]) {
|
|
94
|
+
cursor: not-allowed;
|
|
95
|
+
transform: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.m_77c9d27d:where([data-loading])::before {
|
|
99
|
+
transform: translateY(0);
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.m_77c9d27d:where([data-loading]) .m_80f1301b {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
transform: translateY(100%);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (hover: hover) {
|
|
109
|
+
.m_77c9d27d:hover:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
110
|
+
background-color: var(--button-hover, var(--mantine-primary-color-filled-hover));
|
|
111
|
+
color: var(--button-hover-color, var(--button-color));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (hover: none) {
|
|
116
|
+
.m_77c9d27d:active:where(:not([data-loading], :disabled, [data-disabled])) {
|
|
117
|
+
background-color: var(--button-hover, var(--mantine-primary-color-filled-hover));
|
|
118
|
+
color: var(--button-hover-color, var(--button-color));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.m_80f1301b {
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: var(--button-justify, center);
|
|
126
|
+
height: 100%;
|
|
127
|
+
overflow: visible;
|
|
128
|
+
transition:
|
|
129
|
+
transform 150ms ease,
|
|
130
|
+
opacity 100ms ease;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.m_811560b9 {
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
height: 100%;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.m_811560b9:where([data-loading]) {
|
|
143
|
+
opacity: 0.2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.m_a74036a {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.m_a74036a:where([data-position='left']) {
|
|
152
|
+
margin-inline-end: var(--mantine-spacing-xs);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.m_a74036a:where([data-position='right']) {
|
|
156
|
+
margin-inline-start: var(--mantine-spacing-xs);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.m_a25b86ee {
|
|
160
|
+
position: absolute;
|
|
161
|
+
left: 50%;
|
|
162
|
+
top: 50%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.m_80d6d844 {
|
|
166
|
+
--button-border-width: 1px;
|
|
167
|
+
display: flex;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.m_80d6d844 :where(.m_77c9d27d):focus {
|
|
171
|
+
position: relative;
|
|
172
|
+
z-index: 1;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.m_80d6d844[data-orientation='horizontal'] {
|
|
176
|
+
flex-direction: row;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):first-child {
|
|
180
|
+
border-end-end-radius: 0;
|
|
181
|
+
border-start-end-radius: 0;
|
|
182
|
+
border-inline-end-width: calc(var(--button-border-width) / 2);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):last-child {
|
|
186
|
+
border-end-start-radius: 0;
|
|
187
|
+
border-start-start-radius: 0;
|
|
188
|
+
border-inline-start-width: calc(var(--button-border-width) / 2);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
|
|
192
|
+
border-radius: 0;
|
|
193
|
+
border-inline-width: calc(var(--button-border-width) / 2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.m_80d6d844[data-orientation='vertical'] {
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):first-child {
|
|
201
|
+
border-end-start-radius: 0;
|
|
202
|
+
border-end-end-radius: 0;
|
|
203
|
+
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):last-child {
|
|
207
|
+
border-start-start-radius: 0;
|
|
208
|
+
border-start-end-radius: 0;
|
|
209
|
+
border-top-width: calc(var(--button-border-width) / 2);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
|
|
213
|
+
border-radius: 0;
|
|
214
|
+
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
215
|
+
border-top-width: calc(var(--button-border-width) / 2);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.m_70be2a01 {
|
|
219
|
+
--section-height-xs: 30px;
|
|
220
|
+
--section-height-sm: 36px;
|
|
221
|
+
--section-height-md: 42px;
|
|
222
|
+
--section-height-lg: 50px;
|
|
223
|
+
--section-height-xl: 60px;
|
|
224
|
+
|
|
225
|
+
--section-height-compact-xs: 22px;
|
|
226
|
+
--section-height-compact-sm: 26px;
|
|
227
|
+
--section-height-compact-md: 30px;
|
|
228
|
+
--section-height-compact-lg: 34px;
|
|
229
|
+
--section-height-compact-xl: 40px;
|
|
230
|
+
|
|
231
|
+
--section-padding-x-xs: 14px;
|
|
232
|
+
--section-padding-x-sm: 18px;
|
|
233
|
+
--section-padding-x-md: 22px;
|
|
234
|
+
--section-padding-x-lg: 26px;
|
|
235
|
+
--section-padding-x-xl: 32px;
|
|
236
|
+
|
|
237
|
+
--section-padding-x-compact-xs: 7px;
|
|
238
|
+
--section-padding-x-compact-sm: 8px;
|
|
239
|
+
--section-padding-x-compact-md: 10px;
|
|
240
|
+
--section-padding-x-compact-lg: 12px;
|
|
241
|
+
--section-padding-x-compact-xl: 14px;
|
|
242
|
+
|
|
243
|
+
--section-height: var(--section-height-sm);
|
|
244
|
+
--section-padding-x: var(--section-padding-x-sm);
|
|
245
|
+
--section-color: var(--mantine-color-white);
|
|
246
|
+
|
|
247
|
+
font-weight: 600;
|
|
248
|
+
width: auto;
|
|
249
|
+
border-radius: var(--section-radius, var(--mantine-radius-default));
|
|
250
|
+
font-size: var(--section-fz, var(--mantine-font-size-sm));
|
|
251
|
+
background: var(--section-bg, var(--mantine-primary-color-filled));
|
|
252
|
+
border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
|
|
253
|
+
color: var(--section-color, var(--mantine-color-white));
|
|
254
|
+
height: var(--section-height, var(--section-height-sm));
|
|
255
|
+
padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
|
|
256
|
+
vertical-align: middle;
|
|
257
|
+
line-height: 1;
|
|
258
|
+
display: inline-flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
justify-content: center;
|
|
261
|
+
}
|
|
262
|
+
}
|
package/styles/Card.css
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.m_e615b15f {
|
|
2
|
+
--card-padding: var(--mantine-spacing-md);
|
|
3
|
+
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
padding: var(--card-padding);
|
|
9
|
+
color: var(--mantine-color-text);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where([data-mantine-color-scheme='light']) .m_e615b15f {
|
|
13
|
+
background-color: var(--mantine-color-white);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where([data-mantine-color-scheme='dark']) .m_e615b15f {
|
|
17
|
+
background-color: var(--mantine-color-dark-6);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.m_599a2148 {
|
|
21
|
+
display: block;
|
|
22
|
+
margin-inline: calc(var(--card-padding) * -1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.m_599a2148:where(:first-child) {
|
|
26
|
+
margin-top: calc(var(--card-padding) * -1);
|
|
27
|
+
border-top: none !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.m_599a2148:where(:last-child) {
|
|
31
|
+
margin-bottom: calc(var(--card-padding) * -1);
|
|
32
|
+
border-bottom: none !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.m_599a2148:where([data-inherit-padding]) {
|
|
36
|
+
padding-inline: var(--card-padding);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.m_599a2148:where([data-with-border]) {
|
|
40
|
+
border-top: 1px solid;
|
|
41
|
+
border-bottom: 1px solid;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where([data-mantine-color-scheme='light']) .m_599a2148 {
|
|
45
|
+
border-color: var(--mantine-color-gray-3);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where([data-mantine-color-scheme='dark']) .m_599a2148 {
|
|
49
|
+
border-color: var(--mantine-color-dark-4);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m_599a2148 + .m_599a2148 {
|
|
53
|
+
border-top: none !important;
|
|
54
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@layer mantine {.m_e615b15f {
|
|
2
|
+
--card-padding: var(--mantine-spacing-md);
|
|
3
|
+
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
padding: var(--card-padding);
|
|
9
|
+
color: var(--mantine-color-text);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where([data-mantine-color-scheme='light']) .m_e615b15f {
|
|
13
|
+
background-color: var(--mantine-color-white);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where([data-mantine-color-scheme='dark']) .m_e615b15f {
|
|
17
|
+
background-color: var(--mantine-color-dark-6);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.m_599a2148 {
|
|
21
|
+
display: block;
|
|
22
|
+
margin-inline: calc(var(--card-padding) * -1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.m_599a2148:where(:first-child) {
|
|
26
|
+
margin-top: calc(var(--card-padding) * -1);
|
|
27
|
+
border-top: none !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.m_599a2148:where(:last-child) {
|
|
31
|
+
margin-bottom: calc(var(--card-padding) * -1);
|
|
32
|
+
border-bottom: none !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.m_599a2148:where([data-inherit-padding]) {
|
|
36
|
+
padding-inline: var(--card-padding);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.m_599a2148:where([data-with-border]) {
|
|
40
|
+
border-top: 1px solid;
|
|
41
|
+
border-bottom: 1px solid;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where([data-mantine-color-scheme='light']) .m_599a2148 {
|
|
45
|
+
border-color: var(--mantine-color-gray-3);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where([data-mantine-color-scheme='dark']) .m_599a2148 {
|
|
49
|
+
border-color: var(--mantine-color-dark-4);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m_599a2148 + .m_599a2148 {
|
|
53
|
+
border-top: none !important;
|
|
54
|
+
}
|
|
55
|
+
}
|