@mantine/core 7.11.2 → 7.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Accordion/Accordion.cjs +2 -0
- package/cjs/components/Accordion/Accordion.cjs.map +1 -1
- package/cjs/components/Accordion/AccordionPanel/AccordionPanel.cjs.map +1 -1
- package/cjs/components/Combobox/Combobox.module.css.cjs +1 -1
- package/cjs/components/FloatingIndicator/use-floating-indicator.cjs +2 -2
- package/cjs/components/FloatingIndicator/use-floating-indicator.cjs.map +1 -1
- package/cjs/components/Menu/MenuDropdown/MenuDropdown.cjs +10 -1
- package/cjs/components/Menu/MenuDropdown/MenuDropdown.cjs.map +1 -1
- package/cjs/components/Menu/MenuItem/MenuItem.cjs +1 -0
- package/cjs/components/Menu/MenuItem/MenuItem.cjs.map +1 -1
- package/cjs/components/PinInput/PinInput.cjs +3 -1
- package/cjs/components/PinInput/PinInput.cjs.map +1 -1
- package/cjs/components/Popover/use-popover.cjs +9 -5
- package/cjs/components/Popover/use-popover.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollArea.cjs +9 -0
- package/cjs/components/ScrollArea/ScrollArea.cjs.map +1 -1
- package/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -0
- package/cjs/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs +136 -0
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.cjs.map +1 -0
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.module.css.cjs +7 -0
- package/cjs/components/SemiCircleProgress/SemiCircleProgress.module.css.cjs.map +1 -0
- package/cjs/components/Switch/Switch.cjs +1 -1
- package/cjs/components/Switch/Switch.cjs.map +1 -1
- package/cjs/components/TagsInput/TagsInput.cjs +2 -0
- package/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
- package/cjs/components/Tooltip/TooltipGroup/TooltipGroup.cjs +1 -0
- package/cjs/components/Tooltip/TooltipGroup/TooltipGroup.cjs.map +1 -1
- package/cjs/components/Tree/Tree.cjs.map +1 -1
- package/cjs/components/Tree/TreeNode.cjs +1 -0
- package/cjs/components/Tree/TreeNode.cjs.map +1 -1
- package/cjs/components/Tree/get-all-checked-nodes/get-all-checked-nodes.cjs +39 -0
- package/cjs/components/Tree/get-all-checked-nodes/get-all-checked-nodes.cjs.map +1 -0
- package/cjs/components/Tree/get-children-nodes-values/get-children-nodes-values.cjs +38 -0
- package/cjs/components/Tree/get-children-nodes-values/get-children-nodes-values.cjs.map +1 -0
- package/cjs/components/Tree/is-node-checked/is-node-checked.cjs +32 -0
- package/cjs/components/Tree/is-node-checked/is-node-checked.cjs.map +1 -0
- package/cjs/components/Tree/is-node-indeterminate/is-node-indeterminate.cjs +29 -0
- package/cjs/components/Tree/is-node-indeterminate/is-node-indeterminate.cjs.map +1 -0
- package/cjs/components/Tree/use-tree.cjs +33 -3
- package/cjs/components/Tree/use-tree.cjs.map +1 -1
- package/cjs/core/factory/factory.cjs +10 -0
- package/cjs/core/factory/factory.cjs.map +1 -1
- package/cjs/core/utils/memoize/memoize.cjs +18 -0
- package/cjs/core/utils/memoize/memoize.cjs.map +1 -0
- package/cjs/index.cjs +5 -0
- package/cjs/index.cjs.map +1 -1
- package/esm/components/Accordion/Accordion.mjs +2 -0
- package/esm/components/Accordion/Accordion.mjs.map +1 -1
- package/esm/components/Accordion/AccordionPanel/AccordionPanel.mjs.map +1 -1
- package/esm/components/Combobox/Combobox.module.css.mjs +1 -1
- package/esm/components/FloatingIndicator/use-floating-indicator.mjs +2 -2
- package/esm/components/FloatingIndicator/use-floating-indicator.mjs.map +1 -1
- package/esm/components/Menu/MenuDropdown/MenuDropdown.mjs +10 -1
- package/esm/components/Menu/MenuDropdown/MenuDropdown.mjs.map +1 -1
- package/esm/components/Menu/MenuItem/MenuItem.mjs +1 -0
- package/esm/components/Menu/MenuItem/MenuItem.mjs.map +1 -1
- package/esm/components/PinInput/PinInput.mjs +3 -1
- package/esm/components/PinInput/PinInput.mjs.map +1 -1
- package/esm/components/Popover/use-popover.mjs +9 -5
- package/esm/components/Popover/use-popover.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollArea.mjs +9 -0
- package/esm/components/ScrollArea/ScrollArea.mjs.map +1 -1
- package/esm/components/SegmentedControl/SegmentedControl.mjs +1 -0
- package/esm/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
- package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs +134 -0
- package/esm/components/SemiCircleProgress/SemiCircleProgress.mjs.map +1 -0
- package/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs +5 -0
- package/esm/components/SemiCircleProgress/SemiCircleProgress.module.css.mjs.map +1 -0
- package/esm/components/Switch/Switch.mjs +1 -1
- package/esm/components/Switch/Switch.mjs.map +1 -1
- package/esm/components/TagsInput/TagsInput.mjs +2 -0
- package/esm/components/TagsInput/TagsInput.mjs.map +1 -1
- package/esm/components/Tooltip/TooltipGroup/TooltipGroup.mjs +1 -0
- package/esm/components/Tooltip/TooltipGroup/TooltipGroup.mjs.map +1 -1
- package/esm/components/Tree/Tree.mjs.map +1 -1
- package/esm/components/Tree/TreeNode.mjs +1 -0
- package/esm/components/Tree/TreeNode.mjs.map +1 -1
- package/esm/components/Tree/get-all-checked-nodes/get-all-checked-nodes.mjs +37 -0
- package/esm/components/Tree/get-all-checked-nodes/get-all-checked-nodes.mjs.map +1 -0
- package/esm/components/Tree/get-children-nodes-values/get-children-nodes-values.mjs +35 -0
- package/esm/components/Tree/get-children-nodes-values/get-children-nodes-values.mjs.map +1 -0
- package/esm/components/Tree/is-node-checked/is-node-checked.mjs +29 -0
- package/esm/components/Tree/is-node-checked/is-node-checked.mjs.map +1 -0
- package/esm/components/Tree/is-node-indeterminate/is-node-indeterminate.mjs +26 -0
- package/esm/components/Tree/is-node-indeterminate/is-node-indeterminate.mjs.map +1 -0
- package/esm/components/Tree/use-tree.mjs +33 -3
- package/esm/components/Tree/use-tree.mjs.map +1 -1
- package/esm/core/factory/factory.mjs +10 -1
- package/esm/core/factory/factory.mjs.map +1 -1
- package/esm/core/utils/memoize/memoize.mjs +16 -0
- package/esm/core/utils/memoize/memoize.mjs.map +1 -0
- package/esm/index.mjs +3 -1
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -0
- package/lib/components/Accordion/AccordionPanel/AccordionPanel.d.ts +3 -1
- package/lib/components/PinInput/PinInput.d.ts +3 -0
- package/lib/components/ScrollArea/ScrollArea.d.ts +4 -0
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +39 -0
- package/lib/components/SemiCircleProgress/index.d.ts +2 -0
- package/lib/components/Tooltip/TooltipGroup/TooltipGroup.d.ts +7 -0
- package/lib/components/Tree/Tree.d.ts +2 -0
- package/lib/components/Tree/get-all-checked-nodes/get-all-checked-nodes.d.ts +11 -0
- package/lib/components/Tree/get-children-nodes-values/get-children-nodes-values.d.ts +3 -0
- package/lib/components/Tree/index.d.ts +1 -0
- package/lib/components/Tree/is-node-checked/is-node-checked.d.ts +3 -0
- package/lib/components/Tree/is-node-indeterminate/is-node-indeterminate.d.ts +3 -0
- package/lib/components/Tree/use-tree.d.ts +13 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/core/factory/factory.d.ts +1 -0
- package/lib/core/factory/index.d.ts +1 -1
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/core/utils/memoize/memoize.d.ts +1 -0
- package/package.json +3 -3
- package/styles/Badge.css +3 -1
- package/styles/Badge.layer.css +3 -1
- package/styles/Chip.css +1 -1
- package/styles/Chip.layer.css +1 -1
- package/styles/Combobox.css +4 -0
- package/styles/Combobox.layer.css +4 -0
- package/styles/Pill.css +2 -0
- package/styles/Pill.layer.css +2 -0
- package/styles/ScrollArea.css +1 -1
- package/styles/ScrollArea.layer.css +1 -1
- package/styles/SemiCircleProgress.css +56 -0
- package/styles/SemiCircleProgress.layer.css +57 -0
- package/styles/Slider.css +1 -1
- package/styles/Slider.layer.css +1 -1
- package/styles/Switch.css +4 -0
- package/styles/Switch.layer.css +4 -0
- package/styles/global.css +4 -0
- package/styles/global.layer.css +4 -0
- package/styles.css +77 -4
- package/styles.layer.css +77 -4
package/styles.css
CHANGED
|
@@ -68,6 +68,10 @@ body {
|
|
|
68
68
|
transform: translateY(calc(0.0625rem * var(--mantine-scale)));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
fieldset:disabled .mantine-active:active {
|
|
72
|
+
transform: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
71
75
|
:where([dir="rtl"]) .mantine-rotate-rtl {
|
|
72
76
|
transform: rotate(180deg);
|
|
73
77
|
}
|
|
@@ -694,7 +698,7 @@ body {
|
|
|
694
698
|
}
|
|
695
699
|
|
|
696
700
|
.m_d8b5e363::before {
|
|
697
|
-
content: '
|
|
701
|
+
content: '';
|
|
698
702
|
position: absolute;
|
|
699
703
|
top: 50%;
|
|
700
704
|
left: 50%;
|
|
@@ -2086,6 +2090,10 @@ body {
|
|
|
2086
2090
|
padding-inline-end: 0;
|
|
2087
2091
|
}
|
|
2088
2092
|
|
|
2093
|
+
.m_88b62a41:has([data-mantine-scrollbar]) .m_985517d8 {
|
|
2094
|
+
max-width: calc(100% + var(--combobox-padding));
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2089
2097
|
.m_88b62a41[data-hidden] {
|
|
2090
2098
|
display: none;
|
|
2091
2099
|
}
|
|
@@ -2701,7 +2709,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2701
2709
|
line-height: var(--badge-lh);
|
|
2702
2710
|
text-decoration: none;
|
|
2703
2711
|
padding: 0 var(--badge-padding-x);
|
|
2704
|
-
display:
|
|
2712
|
+
display: grid;
|
|
2713
|
+
grid-template-columns: auto 1fr auto;
|
|
2705
2714
|
align-items: center;
|
|
2706
2715
|
justify-content: center;
|
|
2707
2716
|
width: fit-content;
|
|
@@ -2723,6 +2732,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2723
2732
|
|
|
2724
2733
|
.m_347db0ec:where([data-circle]) {
|
|
2725
2734
|
padding-inline: calc(0.125rem * var(--mantine-scale));
|
|
2735
|
+
display: flex;
|
|
2726
2736
|
width: var(--badge-height);
|
|
2727
2737
|
}
|
|
2728
2738
|
|
|
@@ -3225,7 +3235,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
3225
3235
|
--chip-checked-padding-sm: calc(0.625rem * var(--mantine-scale));
|
|
3226
3236
|
--chip-checked-padding-md: calc(0.73125rem * var(--mantine-scale));
|
|
3227
3237
|
--chip-checked-padding-lg: calc(0.84375rem * var(--mantine-scale));
|
|
3228
|
-
--chip-checked-padding-xl: calc(0.
|
|
3238
|
+
--chip-checked-padding-xl: calc(0.98125rem * var(--mantine-scale));
|
|
3229
3239
|
|
|
3230
3240
|
--chip-spacing-xs: calc(0.625rem * var(--mantine-scale));
|
|
3231
3241
|
--chip-spacing-sm: calc(0.75rem * var(--mantine-scale));
|
|
@@ -4294,6 +4304,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
4294
4304
|
padding-inline-start: 0.1em;
|
|
4295
4305
|
padding-inline-end: 0.3em;
|
|
4296
4306
|
flex: 0;
|
|
4307
|
+
border-end-end-radius: var(--pill-radius, 50%);
|
|
4308
|
+
border-start-end-radius: var(--pill-radius, 50%);
|
|
4297
4309
|
}
|
|
4298
4310
|
|
|
4299
4311
|
.m_7cda1cd6[data-disabled] > .m_ae386778,
|
|
@@ -5622,6 +5634,63 @@ fieldset:disabled .m_1738fcb2,
|
|
|
5622
5634
|
z-index: 2;
|
|
5623
5635
|
}
|
|
5624
5636
|
|
|
5637
|
+
.m_fa528724 {
|
|
5638
|
+
--scp-filled-segment-color: var(--mantine-primary-color-filled);
|
|
5639
|
+
--scp-transition-duration: 0ms;
|
|
5640
|
+
--scp-thickness: calc(0.625rem * var(--mantine-scale));
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
:where([data-mantine-color-scheme='light']) .m_fa528724 {
|
|
5644
|
+
--scp-empty-segment-color: var(--mantine-color-gray-2);
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5647
|
+
:where([data-mantine-color-scheme='dark']) .m_fa528724 {
|
|
5648
|
+
--scp-empty-segment-color: var(--mantine-color-dark-4);
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
.m_fa528724 {
|
|
5652
|
+
|
|
5653
|
+
position: relative;
|
|
5654
|
+
width: fit-content;
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
.m_62e9e7e2 {
|
|
5658
|
+
display: block;
|
|
5659
|
+
transform: var(--scp-rotation);
|
|
5660
|
+
overflow: hidden;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
.m_c573fb6f {
|
|
5664
|
+
transition:
|
|
5665
|
+
stroke-dashoffset var(--scp-transition-duration) ease,
|
|
5666
|
+
stroke-dasharray var(--scp-transition-duration) ease,
|
|
5667
|
+
stroke var(--scp-transition-duration);
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
.m_4fa340f2 {
|
|
5671
|
+
position: absolute;
|
|
5672
|
+
margin: 0;
|
|
5673
|
+
padding: 0;
|
|
5674
|
+
inset-inline: 0;
|
|
5675
|
+
text-align: center;
|
|
5676
|
+
z-index: 1;
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
.m_4fa340f2:where([data-position='bottom']) {
|
|
5680
|
+
bottom: 0;
|
|
5681
|
+
padding-inline: calc(var(--scp-thickness) * 2);
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
.m_4fa340f2:where([data-position='bottom']):where([data-orientation='down']) {
|
|
5685
|
+
bottom: auto;
|
|
5686
|
+
top: 0;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.m_4fa340f2:where([data-position='center']) {
|
|
5690
|
+
top: 50%;
|
|
5691
|
+
padding-inline: calc(var(--scp-thickness) * 3);
|
|
5692
|
+
}
|
|
5693
|
+
|
|
5625
5694
|
.m_925c2d2c {
|
|
5626
5695
|
container: simple-grid / inline-size;
|
|
5627
5696
|
}
|
|
@@ -5860,7 +5929,7 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
5860
5929
|
height: var(--slider-size);
|
|
5861
5930
|
width: var(--slider-size);
|
|
5862
5931
|
border-radius: calc(62.5rem * var(--mantine-scale));
|
|
5863
|
-
transform: translateX(
|
|
5932
|
+
transform: translateX(calc(var(--slider-size) / -2));
|
|
5864
5933
|
background-color: var(--mantine-color-white);
|
|
5865
5934
|
pointer-events: none;
|
|
5866
5935
|
}
|
|
@@ -6239,6 +6308,10 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
6239
6308
|
color: var(--switch-text-color);
|
|
6240
6309
|
}
|
|
6241
6310
|
|
|
6311
|
+
.m_9307d992:where([data-without-labels]) {
|
|
6312
|
+
width: var(--switch-width);
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6242
6315
|
.m_926b4011:focus-visible + .m_9307d992 {
|
|
6243
6316
|
outline: 2px solid var(--mantine-primary-color-filled);
|
|
6244
6317
|
outline-offset: calc(0.125rem * var(--mantine-scale));
|
package/styles.layer.css
CHANGED
|
@@ -68,6 +68,10 @@ body {
|
|
|
68
68
|
transform: translateY(calc(0.0625rem * var(--mantine-scale)));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
fieldset:disabled .mantine-active:active {
|
|
72
|
+
transform: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
71
75
|
:where([dir="rtl"]) .mantine-rotate-rtl {
|
|
72
76
|
transform: rotate(180deg);
|
|
73
77
|
}
|
|
@@ -694,7 +698,7 @@ body {
|
|
|
694
698
|
}
|
|
695
699
|
|
|
696
700
|
.m_d8b5e363::before {
|
|
697
|
-
content: '
|
|
701
|
+
content: '';
|
|
698
702
|
position: absolute;
|
|
699
703
|
top: 50%;
|
|
700
704
|
left: 50%;
|
|
@@ -2086,6 +2090,10 @@ body {
|
|
|
2086
2090
|
padding-inline-end: 0;
|
|
2087
2091
|
}
|
|
2088
2092
|
|
|
2093
|
+
.m_88b62a41:has([data-mantine-scrollbar]) .m_985517d8 {
|
|
2094
|
+
max-width: calc(100% + var(--combobox-padding));
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2089
2097
|
.m_88b62a41[data-hidden] {
|
|
2090
2098
|
display: none;
|
|
2091
2099
|
}
|
|
@@ -2701,7 +2709,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2701
2709
|
line-height: var(--badge-lh);
|
|
2702
2710
|
text-decoration: none;
|
|
2703
2711
|
padding: 0 var(--badge-padding-x);
|
|
2704
|
-
display:
|
|
2712
|
+
display: grid;
|
|
2713
|
+
grid-template-columns: auto 1fr auto;
|
|
2705
2714
|
align-items: center;
|
|
2706
2715
|
justify-content: center;
|
|
2707
2716
|
width: fit-content;
|
|
@@ -2723,6 +2732,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2723
2732
|
|
|
2724
2733
|
.m_347db0ec:where([data-circle]) {
|
|
2725
2734
|
padding-inline: calc(0.125rem * var(--mantine-scale));
|
|
2735
|
+
display: flex;
|
|
2726
2736
|
width: var(--badge-height);
|
|
2727
2737
|
}
|
|
2728
2738
|
|
|
@@ -3225,7 +3235,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
3225
3235
|
--chip-checked-padding-sm: calc(0.625rem * var(--mantine-scale));
|
|
3226
3236
|
--chip-checked-padding-md: calc(0.73125rem * var(--mantine-scale));
|
|
3227
3237
|
--chip-checked-padding-lg: calc(0.84375rem * var(--mantine-scale));
|
|
3228
|
-
--chip-checked-padding-xl: calc(0.
|
|
3238
|
+
--chip-checked-padding-xl: calc(0.98125rem * var(--mantine-scale));
|
|
3229
3239
|
|
|
3230
3240
|
--chip-spacing-xs: calc(0.625rem * var(--mantine-scale));
|
|
3231
3241
|
--chip-spacing-sm: calc(0.75rem * var(--mantine-scale));
|
|
@@ -4294,6 +4304,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
4294
4304
|
padding-inline-start: 0.1em;
|
|
4295
4305
|
padding-inline-end: 0.3em;
|
|
4296
4306
|
flex: 0;
|
|
4307
|
+
border-end-end-radius: var(--pill-radius, 50%);
|
|
4308
|
+
border-start-end-radius: var(--pill-radius, 50%);
|
|
4297
4309
|
}
|
|
4298
4310
|
|
|
4299
4311
|
.m_7cda1cd6[data-disabled] > .m_ae386778,
|
|
@@ -5622,6 +5634,63 @@ fieldset:disabled .m_1738fcb2,
|
|
|
5622
5634
|
z-index: 2;
|
|
5623
5635
|
}
|
|
5624
5636
|
|
|
5637
|
+
.m_fa528724 {
|
|
5638
|
+
--scp-filled-segment-color: var(--mantine-primary-color-filled);
|
|
5639
|
+
--scp-transition-duration: 0ms;
|
|
5640
|
+
--scp-thickness: calc(0.625rem * var(--mantine-scale));
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
:where([data-mantine-color-scheme='light']) .m_fa528724 {
|
|
5644
|
+
--scp-empty-segment-color: var(--mantine-color-gray-2);
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5647
|
+
:where([data-mantine-color-scheme='dark']) .m_fa528724 {
|
|
5648
|
+
--scp-empty-segment-color: var(--mantine-color-dark-4);
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
.m_fa528724 {
|
|
5652
|
+
|
|
5653
|
+
position: relative;
|
|
5654
|
+
width: fit-content;
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
.m_62e9e7e2 {
|
|
5658
|
+
display: block;
|
|
5659
|
+
transform: var(--scp-rotation);
|
|
5660
|
+
overflow: hidden;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
.m_c573fb6f {
|
|
5664
|
+
transition:
|
|
5665
|
+
stroke-dashoffset var(--scp-transition-duration) ease,
|
|
5666
|
+
stroke-dasharray var(--scp-transition-duration) ease,
|
|
5667
|
+
stroke var(--scp-transition-duration);
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
.m_4fa340f2 {
|
|
5671
|
+
position: absolute;
|
|
5672
|
+
margin: 0;
|
|
5673
|
+
padding: 0;
|
|
5674
|
+
inset-inline: 0;
|
|
5675
|
+
text-align: center;
|
|
5676
|
+
z-index: 1;
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
.m_4fa340f2:where([data-position='bottom']) {
|
|
5680
|
+
bottom: 0;
|
|
5681
|
+
padding-inline: calc(var(--scp-thickness) * 2);
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
.m_4fa340f2:where([data-position='bottom']):where([data-orientation='down']) {
|
|
5685
|
+
bottom: auto;
|
|
5686
|
+
top: 0;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.m_4fa340f2:where([data-position='center']) {
|
|
5690
|
+
top: 50%;
|
|
5691
|
+
padding-inline: calc(var(--scp-thickness) * 3);
|
|
5692
|
+
}
|
|
5693
|
+
|
|
5625
5694
|
.m_925c2d2c {
|
|
5626
5695
|
container: simple-grid / inline-size;
|
|
5627
5696
|
}
|
|
@@ -5860,7 +5929,7 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
5860
5929
|
height: var(--slider-size);
|
|
5861
5930
|
width: var(--slider-size);
|
|
5862
5931
|
border-radius: calc(62.5rem * var(--mantine-scale));
|
|
5863
|
-
transform: translateX(
|
|
5932
|
+
transform: translateX(calc(var(--slider-size) / -2));
|
|
5864
5933
|
background-color: var(--mantine-color-white);
|
|
5865
5934
|
pointer-events: none;
|
|
5866
5935
|
}
|
|
@@ -6239,6 +6308,10 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
6239
6308
|
color: var(--switch-text-color);
|
|
6240
6309
|
}
|
|
6241
6310
|
|
|
6311
|
+
.m_9307d992:where([data-without-labels]) {
|
|
6312
|
+
width: var(--switch-width);
|
|
6313
|
+
}
|
|
6314
|
+
|
|
6242
6315
|
.m_926b4011:focus-visible + .m_9307d992 {
|
|
6243
6316
|
outline: 2px solid var(--mantine-primary-color-filled);
|
|
6244
6317
|
outline-offset: calc(0.125rem * var(--mantine-scale));
|