@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.
- package/cjs/components/Checkbox/Checkbox.cjs +2 -1
- package/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
- package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs +2 -1
- package/cjs/components/Checkbox/CheckboxIndicator/CheckboxIndicator.cjs.map +1 -1
- package/cjs/components/Menu/MenuSub/MenuSub.cjs +1 -1
- package/cjs/components/Menu/MenuSub/MenuSub.cjs.map +1 -1
- package/cjs/components/NavLink/NavLink.cjs +4 -2
- package/cjs/components/NavLink/NavLink.cjs.map +1 -1
- package/cjs/components/Popover/Popover.cjs +4 -2
- package/cjs/components/Popover/Popover.cjs.map +1 -1
- package/cjs/components/Tabs/TabsTab/TabsTab.cjs +1 -1
- package/cjs/components/Tabs/TabsTab/TabsTab.cjs.map +1 -1
- package/esm/components/Checkbox/Checkbox.mjs +2 -1
- package/esm/components/Checkbox/Checkbox.mjs.map +1 -1
- package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs +2 -1
- package/esm/components/Checkbox/CheckboxIndicator/CheckboxIndicator.mjs.map +1 -1
- package/esm/components/Menu/MenuSub/MenuSub.mjs +1 -1
- package/esm/components/Menu/MenuSub/MenuSub.mjs.map +1 -1
- package/esm/components/NavLink/NavLink.mjs +4 -2
- package/esm/components/NavLink/NavLink.mjs.map +1 -1
- package/esm/components/Popover/Popover.mjs +4 -2
- package/esm/components/Popover/Popover.mjs.map +1 -1
- package/esm/components/Tabs/TabsTab/TabsTab.mjs +1 -1
- package/esm/components/Tabs/TabsTab/TabsTab.mjs.map +1 -1
- package/lib/components/Menu/MenuSub/MenuSub.d.ts +2 -0
- package/lib/components/NavLink/NavLink.d.ts +4 -0
- package/package.json +2 -2
- package/styles.css +64 -13
- package/styles.layer.css +64 -13
- package/styles/Accordion.css +0 -178
- package/styles/Accordion.layer.css +0 -179
- package/styles/ActionIcon.css +0 -188
- package/styles/ActionIcon.layer.css +0 -189
- package/styles/Affix.css +0 -8
- package/styles/Affix.layer.css +0 -9
- package/styles/Alert.css +0 -82
- package/styles/Alert.layer.css +0 -83
- package/styles/Anchor.css +0 -56
- package/styles/Anchor.layer.css +0 -57
- package/styles/AngleSlider.css +0 -106
- package/styles/AngleSlider.layer.css +0 -107
- package/styles/AppShell.css +0 -127
- package/styles/AppShell.layer.css +0 -128
- package/styles/AspectRatio.css +0 -13
- package/styles/AspectRatio.layer.css +0 -14
- package/styles/Avatar.css +0 -68
- package/styles/Avatar.layer.css +0 -69
- package/styles/BackgroundImage.css +0 -9
- package/styles/BackgroundImage.layer.css +0 -10
- package/styles/Badge.css +0 -127
- package/styles/Badge.layer.css +0 -128
- package/styles/Blockquote.css +0 -41
- package/styles/Blockquote.layer.css +0 -42
- package/styles/Breadcrumbs.css +0 -27
- package/styles/Breadcrumbs.layer.css +0 -28
- package/styles/Burger.css +0 -68
- package/styles/Burger.layer.css +0 -69
- package/styles/Button.css +0 -261
- package/styles/Button.layer.css +0 -262
- package/styles/Card.css +0 -54
- package/styles/Card.layer.css +0 -55
- package/styles/Center.css +0 -9
- package/styles/Center.layer.css +0 -10
- package/styles/Checkbox.css +0 -103
- package/styles/Checkbox.layer.css +0 -104
- package/styles/CheckboxCard.css +0 -24
- package/styles/CheckboxCard.layer.css +0 -25
- package/styles/CheckboxIndicator.css +0 -87
- package/styles/CheckboxIndicator.layer.css +0 -88
- package/styles/Chip.css +0 -199
- package/styles/Chip.layer.css +0 -200
- package/styles/CloseButton.css +0 -58
- package/styles/CloseButton.layer.css +0 -59
- package/styles/Code.css +0 -21
- package/styles/Code.layer.css +0 -22
- package/styles/ColorInput.css +0 -21
- package/styles/ColorInput.layer.css +0 -22
- package/styles/ColorPicker.css +0 -160
- package/styles/ColorPicker.layer.css +0 -161
- package/styles/ColorSwatch.css +0 -71
- package/styles/ColorSwatch.layer.css +0 -72
- package/styles/Combobox.css +0 -210
- package/styles/Combobox.layer.css +0 -211
- package/styles/Container.css +0 -37
- package/styles/Container.layer.css +0 -38
- package/styles/Dialog.css +0 -19
- package/styles/Dialog.layer.css +0 -20
- package/styles/Divider.css +0 -62
- package/styles/Divider.layer.css +0 -63
- package/styles/Drawer.css +0 -33
- package/styles/Drawer.layer.css +0 -34
- package/styles/Fieldset.css +0 -49
- package/styles/Fieldset.layer.css +0 -50
- package/styles/Flex.css +0 -3
- package/styles/Flex.layer.css +0 -4
- package/styles/FloatingIndicator.css +0 -20
- package/styles/FloatingIndicator.layer.css +0 -21
- package/styles/Grid.css +0 -34
- package/styles/Grid.layer.css +0 -35
- package/styles/Group.css +0 -13
- package/styles/Group.layer.css +0 -14
- package/styles/Image.css +0 -6
- package/styles/Image.layer.css +0 -7
- package/styles/Indicator.css +0 -64
- package/styles/Indicator.layer.css +0 -65
- package/styles/InlineInput.css +0 -66
- package/styles/InlineInput.layer.css +0 -67
- package/styles/Input.css +0 -301
- package/styles/Input.layer.css +0 -302
- package/styles/Kbd.css +0 -31
- package/styles/Kbd.layer.css +0 -32
- package/styles/List.css +0 -49
- package/styles/List.layer.css +0 -50
- package/styles/Loader.css +0 -114
- package/styles/Loader.layer.css +0 -115
- package/styles/LoadingOverlay.css +0 -18
- package/styles/LoadingOverlay.layer.css +0 -19
- package/styles/Mark.css +0 -11
- package/styles/Mark.layer.css +0 -12
- package/styles/Menu.css +0 -80
- package/styles/Menu.layer.css +0 -81
- package/styles/Modal.css +0 -61
- package/styles/Modal.layer.css +0 -62
- package/styles/ModalBase.css +0 -56
- package/styles/ModalBase.layer.css +0 -57
- package/styles/NavLink.css +0 -118
- package/styles/NavLink.layer.css +0 -119
- package/styles/Notification.css +0 -131
- package/styles/Notification.layer.css +0 -132
- package/styles/NumberInput.css +0 -81
- package/styles/NumberInput.layer.css +0 -82
- package/styles/Overlay.css +0 -19
- package/styles/Overlay.layer.css +0 -20
- package/styles/Pagination.css +0 -96
- package/styles/Pagination.layer.css +0 -97
- package/styles/Paper.css +0 -24
- package/styles/Paper.layer.css +0 -25
- package/styles/PasswordInput.css +0 -62
- package/styles/PasswordInput.layer.css +0 -63
- package/styles/Pill.css +0 -117
- package/styles/Pill.layer.css +0 -118
- package/styles/PillsInput.css +0 -45
- package/styles/PillsInput.layer.css +0 -46
- package/styles/PinInput.css +0 -13
- package/styles/PinInput.layer.css +0 -14
- package/styles/Popover.css +0 -36
- package/styles/Popover.layer.css +0 -37
- package/styles/Progress.css +0 -142
- package/styles/Progress.layer.css +0 -143
- package/styles/Radio.css +0 -109
- package/styles/Radio.layer.css +0 -110
- package/styles/RadioCard.css +0 -24
- package/styles/RadioCard.layer.css +0 -25
- package/styles/RadioIndicator.css +0 -91
- package/styles/RadioIndicator.layer.css +0 -92
- package/styles/Rating.css +0 -82
- package/styles/Rating.layer.css +0 -83
- package/styles/RingProgress.css +0 -39
- package/styles/RingProgress.layer.css +0 -40
- package/styles/ScrollArea.css +0 -189
- package/styles/ScrollArea.layer.css +0 -190
- package/styles/SegmentedControl.css +0 -224
- package/styles/SegmentedControl.layer.css +0 -225
- package/styles/SemiCircleProgress.css +0 -56
- package/styles/SemiCircleProgress.layer.css +0 -57
- package/styles/SimpleGrid.css +0 -9
- package/styles/SimpleGrid.layer.css +0 -10
- package/styles/Skeleton.css +0 -50
- package/styles/Skeleton.layer.css +0 -51
- package/styles/Slider.css +0 -209
- package/styles/Slider.layer.css +0 -210
- package/styles/Spoiler.css +0 -21
- package/styles/Spoiler.layer.css +0 -22
- package/styles/Stack.css +0 -7
- package/styles/Stack.layer.css +0 -8
- package/styles/Stepper.css +0 -204
- package/styles/Stepper.layer.css +0 -205
- package/styles/Switch.css +0 -172
- package/styles/Switch.layer.css +0 -173
- package/styles/Table.css +0 -159
- package/styles/Table.layer.css +0 -160
- package/styles/TableOfContents.css +0 -38
- package/styles/TableOfContents.layer.css +0 -39
- package/styles/Tabs.css +0 -368
- package/styles/Tabs.layer.css +0 -369
- package/styles/Text.css +0 -51
- package/styles/Text.layer.css +0 -52
- package/styles/ThemeIcon.css +0 -24
- package/styles/ThemeIcon.layer.css +0 -25
- package/styles/Timeline.css +0 -173
- package/styles/Timeline.layer.css +0 -174
- package/styles/Title.css +0 -16
- package/styles/Title.layer.css +0 -17
- package/styles/Tooltip.css +0 -34
- package/styles/Tooltip.layer.css +0 -35
- package/styles/Tree.css +0 -36
- package/styles/Tree.layer.css +0 -37
- package/styles/Typography.css +0 -209
- package/styles/Typography.layer.css +0 -210
- package/styles/UnstyledButton.css +0 -17
- package/styles/UnstyledButton.layer.css +0 -18
- package/styles/VisuallyHidden.css +0 -11
- package/styles/VisuallyHidden.layer.css +0 -12
- package/styles/baseline.css +0 -40
- package/styles/baseline.layer.css +0 -41
- package/styles/default-css-variables.css +0 -519
- package/styles/default-css-variables.layer.css +0 -520
- package/styles/global.css +0 -40
- package/styles/global.layer.css +0 -41
package/styles/Switch.layer.css
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
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
|
-
}
|
package/styles/Table.layer.css
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@layer mantine {.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
|
-
}
|
|
39
|
-
}
|