@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,172 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@layer mantine {.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
|
+
}
|
|
173
|
+
}
|
package/styles/Table.css
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
.m_b23fa0ef {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-collapse: collapse;
|
|
4
|
+
border-spacing: 0;
|
|
5
|
+
line-height: var(--mantine-line-height);
|
|
6
|
+
font-size: var(--mantine-font-size-sm);
|
|
7
|
+
table-layout: var(--table-layout, auto);
|
|
8
|
+
caption-side: var(--table-caption-side, bottom);
|
|
9
|
+
border: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where([data-mantine-color-scheme='light']) .m_b23fa0ef {
|
|
13
|
+
--table-hover-color: var(--mantine-color-gray-1);
|
|
14
|
+
--table-striped-color: var(--mantine-color-gray-0);
|
|
15
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where([data-mantine-color-scheme='dark']) .m_b23fa0ef {
|
|
19
|
+
--table-hover-color: var(--mantine-color-dark-5);
|
|
20
|
+
--table-striped-color: var(--mantine-color-dark-6);
|
|
21
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.m_b23fa0ef:where([data-with-table-border]) {
|
|
25
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.m_b23fa0ef:where([data-tabular-nums]) {
|
|
29
|
+
font-variant-numeric: tabular-nums;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where([data-mantine-color-scheme='light']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
37
|
+
background-color: var(--mantine-color-gray-0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where([data-mantine-color-scheme='dark']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
41
|
+
background-color: var(--mantine-color-dark-6);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.m_4e7aa4f3 {
|
|
45
|
+
text-align: left;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where([dir="rtl"]) .m_4e7aa4f3 {
|
|
49
|
+
text-align: right;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m_4e7aa4fd {
|
|
53
|
+
border-bottom: none;
|
|
54
|
+
background-color: transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (hover: hover) {
|
|
58
|
+
.m_4e7aa4fd:hover:where([data-hover]) {
|
|
59
|
+
background-color: var(--tr-hover-bg);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media (hover: none) {
|
|
64
|
+
.m_4e7aa4fd:active:where([data-hover]) {
|
|
65
|
+
background-color: var(--tr-hover-bg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.m_4e7aa4fd:where([data-with-row-border]) {
|
|
70
|
+
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.m_4e7aa4ef,
|
|
74
|
+
.m_4e7aa4f3 {
|
|
75
|
+
padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
|
|
76
|
+
}
|
|
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
|
+
|
|
82
|
+
.m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
|
|
83
|
+
border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.m_b2404537 > :where(tr):where([data-with-row-border]:last-of-type) {
|
|
87
|
+
border-bottom: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.m_b2404537 > :where(tr):where([data-striped='odd']:nth-of-type(odd)) {
|
|
91
|
+
background-color: var(--table-striped-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.m_b2404537 > :where(tr):where([data-striped='even']:nth-of-type(even)) {
|
|
95
|
+
background-color: var(--table-striped-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.m_b2404537 > :where(tr)[data-hover] {
|
|
99
|
+
--tr-hover-bg: var(--table-highlight-on-hover-color, var(--table-hover-color));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.m_b242d975 {
|
|
103
|
+
top: var(--table-sticky-header-offset, 0);
|
|
104
|
+
z-index: 3;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_b242d975:where([data-sticky]) {
|
|
108
|
+
position: sticky;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.m_b242d975:where([data-sticky]) :where(.m_4e7aa4f3) {
|
|
112
|
+
position: sticky;
|
|
113
|
+
top: var(--table-sticky-header-offset, 0);
|
|
114
|
+
background-color: var(--mantine-color-body);
|
|
115
|
+
}
|
|
116
|
+
|
|
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;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_9e5a3ac7 {
|
|
141
|
+
color: var(--mantine-color-dimmed);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.m_9e5a3ac7:where([data-side='top']) {
|
|
145
|
+
margin-bottom: var(--mantine-spacing-xs);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.m_9e5a3ac7:where([data-side='bottom']) {
|
|
149
|
+
margin-top: var(--mantine-spacing-xs);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m_a100c15 {
|
|
153
|
+
overflow-x: var(--table-overflow);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.m_62259741 {
|
|
157
|
+
min-width: var(--table-min-width);
|
|
158
|
+
max-height: var(--table-max-height);
|
|
159
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@layer mantine {.m_b23fa0ef {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-collapse: collapse;
|
|
4
|
+
border-spacing: 0;
|
|
5
|
+
line-height: var(--mantine-line-height);
|
|
6
|
+
font-size: var(--mantine-font-size-sm);
|
|
7
|
+
table-layout: var(--table-layout, auto);
|
|
8
|
+
caption-side: var(--table-caption-side, bottom);
|
|
9
|
+
border: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where([data-mantine-color-scheme='light']) .m_b23fa0ef {
|
|
13
|
+
--table-hover-color: var(--mantine-color-gray-1);
|
|
14
|
+
--table-striped-color: var(--mantine-color-gray-0);
|
|
15
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where([data-mantine-color-scheme='dark']) .m_b23fa0ef {
|
|
19
|
+
--table-hover-color: var(--mantine-color-dark-5);
|
|
20
|
+
--table-striped-color: var(--mantine-color-dark-6);
|
|
21
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.m_b23fa0ef:where([data-with-table-border]) {
|
|
25
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.m_b23fa0ef:where([data-tabular-nums]) {
|
|
29
|
+
font-variant-numeric: tabular-nums;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where([data-mantine-color-scheme='light']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
37
|
+
background-color: var(--mantine-color-gray-0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where([data-mantine-color-scheme='dark']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) {
|
|
41
|
+
background-color: var(--mantine-color-dark-6);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.m_4e7aa4f3 {
|
|
45
|
+
text-align: left;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where([dir="rtl"]) .m_4e7aa4f3 {
|
|
49
|
+
text-align: right;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m_4e7aa4fd {
|
|
53
|
+
border-bottom: none;
|
|
54
|
+
background-color: transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (hover: hover) {
|
|
58
|
+
.m_4e7aa4fd:hover:where([data-hover]) {
|
|
59
|
+
background-color: var(--tr-hover-bg);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media (hover: none) {
|
|
64
|
+
.m_4e7aa4fd:active:where([data-hover]) {
|
|
65
|
+
background-color: var(--tr-hover-bg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.m_4e7aa4fd:where([data-with-row-border]) {
|
|
70
|
+
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.m_4e7aa4ef,
|
|
74
|
+
.m_4e7aa4f3 {
|
|
75
|
+
padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs));
|
|
76
|
+
}
|
|
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
|
+
|
|
82
|
+
.m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) {
|
|
83
|
+
border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.m_b2404537 > :where(tr):where([data-with-row-border]:last-of-type) {
|
|
87
|
+
border-bottom: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.m_b2404537 > :where(tr):where([data-striped='odd']:nth-of-type(odd)) {
|
|
91
|
+
background-color: var(--table-striped-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.m_b2404537 > :where(tr):where([data-striped='even']:nth-of-type(even)) {
|
|
95
|
+
background-color: var(--table-striped-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.m_b2404537 > :where(tr)[data-hover] {
|
|
99
|
+
--tr-hover-bg: var(--table-highlight-on-hover-color, var(--table-hover-color));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.m_b242d975 {
|
|
103
|
+
top: var(--table-sticky-header-offset, 0);
|
|
104
|
+
z-index: 3;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.m_b242d975:where([data-sticky]) {
|
|
108
|
+
position: sticky;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.m_b242d975:where([data-sticky]) :where(.m_4e7aa4f3) {
|
|
112
|
+
position: sticky;
|
|
113
|
+
top: var(--table-sticky-header-offset, 0);
|
|
114
|
+
background-color: var(--mantine-color-body);
|
|
115
|
+
}
|
|
116
|
+
|
|
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;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.m_9e5a3ac7 {
|
|
141
|
+
color: var(--mantine-color-dimmed);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.m_9e5a3ac7:where([data-side='top']) {
|
|
145
|
+
margin-bottom: var(--mantine-spacing-xs);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.m_9e5a3ac7:where([data-side='bottom']) {
|
|
149
|
+
margin-top: var(--mantine-spacing-xs);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m_a100c15 {
|
|
153
|
+
overflow-x: var(--table-overflow);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.m_62259741 {
|
|
157
|
+
min-width: var(--table-min-width);
|
|
158
|
+
max-height: var(--table-max-height);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.m_bcaa9990 {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
--toc-depth-offset: 0.8em;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.m_375a65ef {
|
|
8
|
+
display: block;
|
|
9
|
+
padding: 0.3em 0.8em;
|
|
10
|
+
font-size: var(--toc-size, var(--mantine-font-size-md));
|
|
11
|
+
border-radius: var(--toc-radius, var(--mantine-radius-default));
|
|
12
|
+
padding-left: max(calc(var(--depth-offset) * var(--toc-depth-offset)), 0.8em);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (hover: hover) {
|
|
16
|
+
:where([data-mantine-color-scheme='light']) .m_375a65ef:where(:hover):where(:not([data-variant='none'])) {
|
|
17
|
+
background-color: var(--mantine-color-gray-1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:where([data-mantine-color-scheme='dark']) .m_375a65ef:where(:hover):where(:not([data-variant='none'])) {
|
|
21
|
+
background-color: var(--mantine-color-dark-5);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (hover: none) {
|
|
26
|
+
:where([data-mantine-color-scheme='light']) .m_375a65ef:where(:active):where(:not([data-variant='none'])) {
|
|
27
|
+
background-color: var(--mantine-color-gray-1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:where([data-mantine-color-scheme='dark']) .m_375a65ef:where(:active):where(:not([data-variant='none'])) {
|
|
31
|
+
background-color: var(--mantine-color-dark-5);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.m_375a65ef:where([data-active]) {
|
|
36
|
+
background-color: var(--toc-bg);
|
|
37
|
+
color: var(--toc-color);
|
|
38
|
+
}
|