@mantine/core 7.12.1 → 7.13.0
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/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.cjs +1 -1
- package/cjs/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.cjs.map +1 -1
- package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.cjs +1 -1
- package/cjs/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.cjs.map +1 -1
- package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.cjs +12 -8
- package/cjs/components/AppShell/AppShellMediaStyles/get-variables/get-variables.cjs.map +1 -1
- package/cjs/components/Badge/Badge.cjs +9 -1
- package/cjs/components/Badge/Badge.cjs.map +1 -1
- package/cjs/components/Checkbox/Checkbox.cjs +0 -1
- package/cjs/components/Checkbox/Checkbox.cjs.map +1 -1
- package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.cjs +4 -2
- package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.cjs.map +1 -1
- package/cjs/components/Grid/Grid.cjs +9 -1
- package/cjs/components/Grid/Grid.cjs.map +1 -1
- package/cjs/components/Grid/Grid.context.cjs.map +1 -1
- package/cjs/components/Grid/Grid.module.css.cjs +1 -1
- package/cjs/components/Grid/GridCol/GridColVariables.cjs +14 -5
- package/cjs/components/Grid/GridCol/GridColVariables.cjs.map +1 -1
- package/cjs/components/Grid/GridVariables.cjs +15 -6
- package/cjs/components/Grid/GridVariables.cjs.map +1 -1
- package/cjs/components/Indicator/Indicator.cjs +2 -2
- package/cjs/components/Indicator/Indicator.cjs.map +1 -1
- package/cjs/components/Loader/loaders/Bars.cjs +1 -0
- package/cjs/components/Loader/loaders/Bars.cjs.map +1 -1
- package/cjs/components/Loader/loaders/Dots.cjs +1 -0
- package/cjs/components/Loader/loaders/Dots.cjs.map +1 -1
- package/cjs/components/Loader/loaders/Oval.cjs +1 -0
- package/cjs/components/Loader/loaders/Oval.cjs.map +1 -1
- package/cjs/components/Menu/Menu.cjs.map +1 -1
- package/cjs/components/Menu/MenuDropdown/MenuDropdown.cjs +1 -10
- package/cjs/components/Menu/MenuDropdown/MenuDropdown.cjs.map +1 -1
- package/cjs/components/ModalBase/ModalBase.cjs +1 -0
- package/cjs/components/ModalBase/ModalBase.cjs.map +1 -1
- package/cjs/components/ModalBase/ModalBaseContent.cjs +1 -0
- package/cjs/components/ModalBase/ModalBaseContent.cjs.map +1 -1
- package/cjs/components/NumberInput/NumberInput.cjs.map +1 -1
- package/cjs/components/PinInput/PinInput.cjs +2 -1
- package/cjs/components/PinInput/PinInput.cjs.map +1 -1
- package/cjs/components/Popover/Popover.cjs.map +1 -1
- package/cjs/components/Popover/PopoverDropdown/PopoverDropdown.cjs +1 -1
- package/cjs/components/Popover/PopoverDropdown/PopoverDropdown.cjs.map +1 -1
- package/cjs/components/Popover/use-popover.cjs.map +1 -1
- package/cjs/components/Radio/Radio.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollArea.cjs +2 -0
- package/cjs/components/ScrollArea/ScrollArea.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.cjs +1 -0
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.cjs +1 -0
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.cjs +1 -0
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.cjs +7 -3
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.cjs +2 -3
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.cjs +3 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.cjs +1 -0
- package/cjs/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.cjs.map +1 -1
- package/cjs/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.cjs +2 -0
- package/cjs/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.cjs.map +1 -1
- package/cjs/components/ScrollArea/utils/add-unlinked-scroll-listener.cjs +2 -1
- package/cjs/components/ScrollArea/utils/add-unlinked-scroll-listener.cjs.map +1 -1
- package/cjs/components/ScrollArea/utils/linear-scale.cjs +2 -1
- package/cjs/components/ScrollArea/utils/linear-scale.cjs.map +1 -1
- package/cjs/components/SimpleGrid/SimpleGridVariables.cjs +1 -1
- package/cjs/components/SimpleGrid/SimpleGridVariables.cjs.map +1 -1
- package/cjs/components/Slider/Track/Track.cjs +2 -2
- package/cjs/components/Slider/Track/Track.cjs.map +1 -1
- package/cjs/components/Slider/utils/get-precision/get-precision.cjs +2 -1
- package/cjs/components/Slider/utils/get-precision/get-precision.cjs.map +1 -1
- package/cjs/components/Switch/Switch.cjs +0 -1
- package/cjs/components/Switch/Switch.cjs.map +1 -1
- package/cjs/components/Tabs/TabsPanel/TabsPanel.cjs +2 -2
- package/cjs/components/Tabs/TabsPanel/TabsPanel.cjs.map +1 -1
- package/cjs/components/TagsInput/TagsInput.cjs +2 -1
- package/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
- package/cjs/components/TagsInput/get-splitted-tags.cjs +2 -1
- package/cjs/components/TagsInput/get-splitted-tags.cjs.map +1 -1
- package/cjs/components/Tooltip/use-tooltip.cjs +1 -1
- package/cjs/components/Tooltip/use-tooltip.cjs.map +1 -1
- package/cjs/components/Tree/Tree.cjs.map +1 -1
- package/cjs/components/Tree/TreeNode.cjs.map +1 -1
- package/cjs/components/Tree/use-tree.cjs +12 -5
- package/cjs/components/Tree/use-tree.cjs.map +1 -1
- package/cjs/core/Box/style-props/parse-style-props/parse-style-props.cjs.map +1 -1
- package/cjs/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.cjs.map +1 -1
- package/cjs/core/utils/find-element-ancestor/find-element-ancestor.cjs +2 -2
- package/cjs/core/utils/find-element-ancestor/find-element-ancestor.cjs.map +1 -1
- package/cjs/core/utils/get-breakpoint-value/get-breakpoint-value.cjs +3 -3
- package/cjs/core/utils/get-breakpoint-value/get-breakpoint-value.cjs.map +1 -1
- package/cjs/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.cjs +3 -3
- package/cjs/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.cjs.map +1 -1
- package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.mjs +1 -1
- package/esm/components/AppShell/AppShellMediaStyles/assign-aside-variables/assign-aside-variables.mjs.map +1 -1
- package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.mjs +1 -1
- package/esm/components/AppShell/AppShellMediaStyles/assign-navbar-variables/assign-navbar-variables.mjs.map +1 -1
- package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.mjs +12 -8
- package/esm/components/AppShell/AppShellMediaStyles/get-variables/get-variables.mjs.map +1 -1
- package/esm/components/Badge/Badge.mjs +9 -1
- package/esm/components/Badge/Badge.mjs.map +1 -1
- package/esm/components/Checkbox/Checkbox.mjs +0 -1
- package/esm/components/Checkbox/Checkbox.mjs.map +1 -1
- package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.mjs +4 -2
- package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.mjs.map +1 -1
- package/esm/components/Grid/Grid.context.mjs.map +1 -1
- package/esm/components/Grid/Grid.mjs +9 -1
- package/esm/components/Grid/Grid.mjs.map +1 -1
- package/esm/components/Grid/Grid.module.css.mjs +1 -1
- package/esm/components/Grid/GridCol/GridColVariables.mjs +14 -5
- package/esm/components/Grid/GridCol/GridColVariables.mjs.map +1 -1
- package/esm/components/Grid/GridVariables.mjs +15 -6
- package/esm/components/Grid/GridVariables.mjs.map +1 -1
- package/esm/components/Indicator/Indicator.mjs +3 -3
- package/esm/components/Indicator/Indicator.mjs.map +1 -1
- package/esm/components/Loader/loaders/Bars.mjs +1 -0
- package/esm/components/Loader/loaders/Bars.mjs.map +1 -1
- package/esm/components/Loader/loaders/Dots.mjs +1 -0
- package/esm/components/Loader/loaders/Dots.mjs.map +1 -1
- package/esm/components/Loader/loaders/Oval.mjs +1 -0
- package/esm/components/Loader/loaders/Oval.mjs.map +1 -1
- package/esm/components/Menu/Menu.mjs.map +1 -1
- package/esm/components/Menu/MenuDropdown/MenuDropdown.mjs +1 -10
- package/esm/components/Menu/MenuDropdown/MenuDropdown.mjs.map +1 -1
- package/esm/components/ModalBase/ModalBase.mjs +1 -0
- package/esm/components/ModalBase/ModalBase.mjs.map +1 -1
- package/esm/components/ModalBase/ModalBaseContent.mjs +1 -0
- package/esm/components/ModalBase/ModalBaseContent.mjs.map +1 -1
- package/esm/components/NumberInput/NumberInput.mjs.map +1 -1
- package/esm/components/PinInput/PinInput.mjs +2 -1
- package/esm/components/PinInput/PinInput.mjs.map +1 -1
- package/esm/components/Popover/Popover.mjs.map +1 -1
- package/esm/components/Popover/PopoverDropdown/PopoverDropdown.mjs +1 -1
- package/esm/components/Popover/PopoverDropdown/PopoverDropdown.mjs.map +1 -1
- package/esm/components/Popover/use-popover.mjs.map +1 -1
- package/esm/components/Radio/Radio.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollArea.mjs +2 -0
- package/esm/components/ScrollArea/ScrollArea.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.mjs +1 -0
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbar.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.mjs +1 -0
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarAuto.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.mjs +1 -0
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarHover.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.mjs +7 -3
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs +2 -3
- package/esm/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.mjs +3 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarX.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.mjs +1 -0
- package/esm/components/ScrollArea/ScrollAreaScrollbar/ScrollbarY.mjs.map +1 -1
- package/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs +2 -0
- package/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs.map +1 -1
- package/esm/components/ScrollArea/utils/add-unlinked-scroll-listener.mjs +2 -1
- package/esm/components/ScrollArea/utils/add-unlinked-scroll-listener.mjs.map +1 -1
- package/esm/components/ScrollArea/utils/linear-scale.mjs +2 -1
- package/esm/components/ScrollArea/utils/linear-scale.mjs.map +1 -1
- package/esm/components/SimpleGrid/SimpleGridVariables.mjs +1 -1
- package/esm/components/SimpleGrid/SimpleGridVariables.mjs.map +1 -1
- package/esm/components/Slider/Track/Track.mjs +3 -3
- package/esm/components/Slider/Track/Track.mjs.map +1 -1
- package/esm/components/Slider/utils/get-precision/get-precision.mjs +2 -1
- package/esm/components/Slider/utils/get-precision/get-precision.mjs.map +1 -1
- package/esm/components/Switch/Switch.mjs +0 -1
- package/esm/components/Switch/Switch.mjs.map +1 -1
- package/esm/components/Tabs/TabsPanel/TabsPanel.mjs +2 -2
- package/esm/components/Tabs/TabsPanel/TabsPanel.mjs.map +1 -1
- package/esm/components/TagsInput/TagsInput.mjs +2 -1
- package/esm/components/TagsInput/TagsInput.mjs.map +1 -1
- package/esm/components/TagsInput/get-splitted-tags.mjs +2 -1
- package/esm/components/TagsInput/get-splitted-tags.mjs.map +1 -1
- package/esm/components/Tooltip/use-tooltip.mjs +1 -1
- package/esm/components/Tooltip/use-tooltip.mjs.map +1 -1
- package/esm/components/Tree/Tree.mjs.map +1 -1
- package/esm/components/Tree/TreeNode.mjs.map +1 -1
- package/esm/components/Tree/use-tree.mjs +12 -5
- package/esm/components/Tree/use-tree.mjs.map +1 -1
- package/esm/core/Box/style-props/parse-style-props/parse-style-props.mjs.map +1 -1
- package/esm/core/MantineProvider/MantineCssVariables/default-css-variables-resolver.mjs.map +1 -1
- package/esm/core/utils/find-element-ancestor/find-element-ancestor.mjs +2 -2
- package/esm/core/utils/find-element-ancestor/find-element-ancestor.mjs.map +1 -1
- package/esm/core/utils/get-breakpoint-value/get-breakpoint-value.mjs +3 -3
- package/esm/core/utils/get-breakpoint-value/get-breakpoint-value.mjs.map +1 -1
- package/esm/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.mjs +3 -3
- package/esm/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.mjs.map +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/Grid/Grid.context.d.ts +4 -1
- package/lib/components/Grid/Grid.d.ts +6 -1
- package/lib/components/Grid/GridVariables.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +1 -1
- package/lib/components/Popover/Popover.d.ts +1 -1
- package/lib/components/Radio/Radio.d.ts +1 -1
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Tree/Tree.d.ts +1 -1
- package/lib/components/Tree/use-tree.d.ts +3 -1
- package/lib/core/Box/style-props/parse-style-props/parse-style-props.d.ts +1 -1
- package/lib/core/Box/style-props/style-props.types.d.ts +41 -41
- package/lib/core/MantineProvider/theme.types.d.ts +2 -2
- package/lib/core/utils/get-breakpoint-value/get-breakpoint-value.d.ts +3 -2
- package/lib/core/utils/get-sorted-breakpoints/get-sorted-breakpoints.d.ts +2 -2
- package/package.json +3 -3
- package/styles/Badge.css +17 -3
- package/styles/Badge.layer.css +17 -3
- package/styles/Grid.css +4 -0
- package/styles/Grid.layer.css +5 -1
- package/styles/TypographyStylesProvider.css +10 -5
- package/styles/TypographyStylesProvider.layer.css +10 -5
- package/styles.css +31 -8
- package/styles.layer.css +31 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MantineTheme } from '../../../MantineProvider';
|
|
2
2
|
import type { SystemPropData } from '../style-props-data';
|
|
3
3
|
import type { StyleProp } from '../style-props.types';
|
|
4
|
-
import
|
|
4
|
+
import { SortMediaQueriesResult } from './sort-media-queries';
|
|
5
5
|
interface ParseStylePropsOptions {
|
|
6
6
|
styleProps: Record<string, StyleProp<any>>;
|
|
7
7
|
theme: MantineTheme;
|
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
import type { MantineBreakpoint, MantineColor, MantineFontSize, MantineLineHeight, MantineSpacing } from '../../MantineProvider';
|
|
2
2
|
export type StyleProp<Value> = Value | Partial<Record<MantineBreakpoint | (string & {}), Value>>;
|
|
3
3
|
export interface MantineStyleProps {
|
|
4
|
-
/**
|
|
4
|
+
/** Margin, theme key: theme.spacing */
|
|
5
5
|
m?: StyleProp<MantineSpacing>;
|
|
6
|
-
/**
|
|
6
|
+
/** MarginBlock, theme key: theme.spacing */
|
|
7
7
|
my?: StyleProp<MantineSpacing>;
|
|
8
|
-
/**
|
|
8
|
+
/** MarginInline, theme key: theme.spacing */
|
|
9
9
|
mx?: StyleProp<MantineSpacing>;
|
|
10
|
-
/**
|
|
10
|
+
/** MarginTop, theme key: theme.spacing */
|
|
11
11
|
mt?: StyleProp<MantineSpacing>;
|
|
12
|
-
/**
|
|
12
|
+
/** MarginBottom, theme key: theme.spacing */
|
|
13
13
|
mb?: StyleProp<MantineSpacing>;
|
|
14
|
-
/**
|
|
14
|
+
/** MarginInlineStart, theme key: theme.spacing */
|
|
15
15
|
ms?: StyleProp<MantineSpacing>;
|
|
16
|
-
/**
|
|
16
|
+
/** MarginInlineEnd, theme key: theme.spacing */
|
|
17
17
|
me?: StyleProp<MantineSpacing>;
|
|
18
|
-
/**
|
|
18
|
+
/** MarginLeft, theme key: theme.spacing */
|
|
19
19
|
ml?: StyleProp<MantineSpacing>;
|
|
20
|
-
/**
|
|
20
|
+
/** MarginRight, theme key: theme.spacing */
|
|
21
21
|
mr?: StyleProp<MantineSpacing>;
|
|
22
|
-
/**
|
|
22
|
+
/** Padding, theme key: theme.spacing */
|
|
23
23
|
p?: StyleProp<MantineSpacing>;
|
|
24
|
-
/**
|
|
24
|
+
/** PaddingBlock, theme key: theme.spacing */
|
|
25
25
|
py?: StyleProp<MantineSpacing>;
|
|
26
|
-
/**
|
|
26
|
+
/** PaddingInline, theme key: theme.spacing */
|
|
27
27
|
px?: StyleProp<MantineSpacing>;
|
|
28
|
-
/**
|
|
28
|
+
/** PaddingTop, theme key: theme.spacing */
|
|
29
29
|
pt?: StyleProp<MantineSpacing>;
|
|
30
|
-
/**
|
|
30
|
+
/** PaddingBottom, theme key: theme.spacing */
|
|
31
31
|
pb?: StyleProp<MantineSpacing>;
|
|
32
|
-
/**
|
|
32
|
+
/** PaddingInlineStart, theme key: theme.spacing */
|
|
33
33
|
ps?: StyleProp<MantineSpacing>;
|
|
34
|
-
/**
|
|
34
|
+
/** PaddingInlineEnd, theme key: theme.spacing */
|
|
35
35
|
pe?: StyleProp<MantineSpacing>;
|
|
36
|
-
/**
|
|
36
|
+
/** PaddingLeft, theme key: theme.spacing */
|
|
37
37
|
pl?: StyleProp<MantineSpacing>;
|
|
38
|
-
/**
|
|
38
|
+
/** PaddingRight, theme key: theme.spacing */
|
|
39
39
|
pr?: StyleProp<MantineSpacing>;
|
|
40
|
-
/**
|
|
40
|
+
/** Border */
|
|
41
41
|
bd?: StyleProp<React.CSSProperties['border']>;
|
|
42
|
-
/**
|
|
42
|
+
/** Background, theme key: theme.colors */
|
|
43
43
|
bg?: StyleProp<MantineColor>;
|
|
44
|
-
/**
|
|
44
|
+
/** Color */
|
|
45
45
|
c?: StyleProp<MantineColor>;
|
|
46
46
|
opacity?: StyleProp<React.CSSProperties['opacity']>;
|
|
47
|
-
/**
|
|
47
|
+
/** FontFamily */
|
|
48
48
|
ff?: StyleProp<'monospace' | 'text' | 'heading' | (string & {})>;
|
|
49
|
-
/**
|
|
49
|
+
/** FontSize, theme key: theme.fontSizes */
|
|
50
50
|
fz?: StyleProp<MantineFontSize | `h${1 | 2 | 3 | 4 | 5 | 6}` | number | (string & {})>;
|
|
51
|
-
/**
|
|
51
|
+
/** FontWeight */
|
|
52
52
|
fw?: StyleProp<React.CSSProperties['fontWeight']>;
|
|
53
|
-
/**
|
|
53
|
+
/** LetterSpacing */
|
|
54
54
|
lts?: StyleProp<React.CSSProperties['letterSpacing']>;
|
|
55
|
-
/**
|
|
55
|
+
/** TextAlign */
|
|
56
56
|
ta?: StyleProp<React.CSSProperties['textAlign']>;
|
|
57
|
-
/**
|
|
57
|
+
/** LineHeight, theme key: lineHeights */
|
|
58
58
|
lh?: StyleProp<MantineLineHeight | `h${1 | 2 | 3 | 4 | 5 | 6}` | number | (string & {})>;
|
|
59
|
-
/**
|
|
59
|
+
/** FontStyle */
|
|
60
60
|
fs?: StyleProp<React.CSSProperties['fontStyle']>;
|
|
61
|
-
/**
|
|
61
|
+
/** TextTransform */
|
|
62
62
|
tt?: StyleProp<React.CSSProperties['textTransform']>;
|
|
63
|
-
/**
|
|
63
|
+
/** TextDecoration */
|
|
64
64
|
td?: StyleProp<React.CSSProperties['textDecoration']>;
|
|
65
|
-
/**
|
|
65
|
+
/** Width, theme key: theme.spacing */
|
|
66
66
|
w?: StyleProp<React.CSSProperties['width']>;
|
|
67
|
-
/**
|
|
67
|
+
/** MinWidth, theme key: theme.spacing*/
|
|
68
68
|
miw?: StyleProp<React.CSSProperties['minWidth']>;
|
|
69
|
-
/**
|
|
69
|
+
/** MaxWidth, theme key: theme.spacing */
|
|
70
70
|
maw?: StyleProp<React.CSSProperties['maxWidth']>;
|
|
71
|
-
/**
|
|
71
|
+
/** Height, theme key: theme.spacing */
|
|
72
72
|
h?: StyleProp<React.CSSProperties['height']>;
|
|
73
|
-
/**
|
|
73
|
+
/** MinHeight, theme key: theme.spacing */
|
|
74
74
|
mih?: StyleProp<React.CSSProperties['minHeight']>;
|
|
75
|
-
/**
|
|
75
|
+
/** MaxHeight, theme key: theme.spacing */
|
|
76
76
|
mah?: StyleProp<React.CSSProperties['maxHeight']>;
|
|
77
|
-
/**
|
|
77
|
+
/** BackgroundSize */
|
|
78
78
|
bgsz?: StyleProp<React.CSSProperties['backgroundSize']>;
|
|
79
|
-
/**
|
|
79
|
+
/** BackgroundPosition */
|
|
80
80
|
bgp?: StyleProp<React.CSSProperties['backgroundPosition']>;
|
|
81
|
-
/**
|
|
81
|
+
/** BackgroundRepeat */
|
|
82
82
|
bgr?: StyleProp<React.CSSProperties['backgroundRepeat']>;
|
|
83
|
-
/**
|
|
83
|
+
/** BackgroundAttachment */
|
|
84
84
|
bga?: StyleProp<React.CSSProperties['backgroundAttachment']>;
|
|
85
|
-
/**
|
|
85
|
+
/** Position */
|
|
86
86
|
pos?: StyleProp<React.CSSProperties['position']>;
|
|
87
87
|
top?: StyleProp<React.CSSProperties['top']>;
|
|
88
88
|
left?: StyleProp<React.CSSProperties['left']>;
|
|
@@ -7,7 +7,7 @@ export interface MantineTheme {
|
|
|
7
7
|
* - `never` – focus ring is always hidden (not recommended)
|
|
8
8
|
*/
|
|
9
9
|
focusRing: 'auto' | 'always' | 'never';
|
|
10
|
-
/**
|
|
10
|
+
/** Rem units scale, change if you customize font-size of `<html />` element
|
|
11
11
|
* default value is `1` (for `100%`/`16px` font-size on `<html />`)
|
|
12
12
|
*/
|
|
13
13
|
scale: number;
|
|
@@ -49,7 +49,7 @@ export interface MantineTheme {
|
|
|
49
49
|
* Default value is `0.3`
|
|
50
50
|
* */
|
|
51
51
|
luminanceThreshold: number;
|
|
52
|
-
/**
|
|
52
|
+
/** Font-family used in all components, system fonts by default */
|
|
53
53
|
fontFamily: string;
|
|
54
54
|
/** Monospace font-family, used in code and other similar components, system fonts by default */
|
|
55
55
|
fontFamilyMonospace: string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export
|
|
1
|
+
import type { MantineBreakpoint } from '../../MantineProvider';
|
|
2
|
+
export type BreakpointsSource = Record<MantineBreakpoint, number | string>;
|
|
3
|
+
export declare function getBreakpointValue(breakpoint: number | string, breakpoints: BreakpointsSource): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare function getSortedBreakpoints(
|
|
1
|
+
import { BreakpointsSource } from '../get-breakpoint-value/get-breakpoint-value';
|
|
2
|
+
export declare function getSortedBreakpoints(values: string[], breakpoints: BreakpointsSource): {
|
|
3
3
|
value: string;
|
|
4
4
|
px: number;
|
|
5
5
|
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.13.0",
|
|
4
4
|
"description": "React components library focused on usability, accessibility and developer experience",
|
|
5
5
|
"homepage": "https://mantine.dev/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"directory": "packages/@mantine/core"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@mantine/hooks": "7.
|
|
46
|
+
"@mantine/hooks": "7.13.0",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-dom": "^18.2.0"
|
|
49
49
|
},
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@mantine-tests/core": "1.1.0",
|
|
60
|
-
"@mantine/hooks": "7.
|
|
60
|
+
"@mantine/hooks": "7.13.0"
|
|
61
61
|
}
|
|
62
62
|
}
|
package/styles/Badge.css
CHANGED
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
--badge-lh: calc(var(--badge-height) - calc(0.125rem * var(--mantine-scale)));
|
|
25
25
|
--badge-color: var(--mantine-color-white);
|
|
26
26
|
--badge-bg: var(--mantine-primary-color-filled);
|
|
27
|
-
--badge-
|
|
27
|
+
--badge-border-width: 1px;
|
|
28
|
+
--badge-bd: var(--badge-border-width) solid transparent;
|
|
28
29
|
|
|
29
30
|
-webkit-tap-highlight-color: transparent;
|
|
30
31
|
font-size: var(--badge-fz);
|
|
@@ -33,8 +34,7 @@
|
|
|
33
34
|
line-height: var(--badge-lh);
|
|
34
35
|
text-decoration: none;
|
|
35
36
|
padding: 0 var(--badge-padding-x);
|
|
36
|
-
display: grid;
|
|
37
|
-
grid-template-columns: auto 1fr auto;
|
|
37
|
+
display: inline-grid;
|
|
38
38
|
align-items: center;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
width: fit-content;
|
|
@@ -49,6 +49,18 @@
|
|
|
49
49
|
border: var(--badge-bd);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
.m_347db0ec:where([data-with-right-section]) {
|
|
53
|
+
grid-template-columns: 1fr auto;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m_347db0ec:where([data-with-left-section], [data-variant='dot']) {
|
|
57
|
+
grid-template-columns: auto 1fr;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.m_347db0ec:where([data-with-left-section][data-with-right-section]) {
|
|
61
|
+
grid-template-columns: auto 1fr auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
52
64
|
.m_347db0ec:where([data-block]) {
|
|
53
65
|
display: flex;
|
|
54
66
|
width: 100%;
|
|
@@ -90,6 +102,7 @@
|
|
|
90
102
|
white-space: nowrap;
|
|
91
103
|
overflow: hidden;
|
|
92
104
|
text-overflow: ellipsis;
|
|
105
|
+
text-align: center;
|
|
93
106
|
}
|
|
94
107
|
|
|
95
108
|
.m_91fdda9b {
|
|
@@ -98,6 +111,7 @@
|
|
|
98
111
|
display: inline-flex;
|
|
99
112
|
justify-content: center;
|
|
100
113
|
align-items: center;
|
|
114
|
+
max-height: calc(var(--badge-height) - var(--badge-border-width) * 2);
|
|
101
115
|
}
|
|
102
116
|
|
|
103
117
|
.m_91fdda9b:where([data-position='left']) {
|
package/styles/Badge.layer.css
CHANGED
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
--badge-lh: calc(var(--badge-height) - calc(0.125rem * var(--mantine-scale)));
|
|
25
25
|
--badge-color: var(--mantine-color-white);
|
|
26
26
|
--badge-bg: var(--mantine-primary-color-filled);
|
|
27
|
-
--badge-
|
|
27
|
+
--badge-border-width: 1px;
|
|
28
|
+
--badge-bd: var(--badge-border-width) solid transparent;
|
|
28
29
|
|
|
29
30
|
-webkit-tap-highlight-color: transparent;
|
|
30
31
|
font-size: var(--badge-fz);
|
|
@@ -33,8 +34,7 @@
|
|
|
33
34
|
line-height: var(--badge-lh);
|
|
34
35
|
text-decoration: none;
|
|
35
36
|
padding: 0 var(--badge-padding-x);
|
|
36
|
-
display: grid;
|
|
37
|
-
grid-template-columns: auto 1fr auto;
|
|
37
|
+
display: inline-grid;
|
|
38
38
|
align-items: center;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
width: fit-content;
|
|
@@ -49,6 +49,18 @@
|
|
|
49
49
|
border: var(--badge-bd);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
.m_347db0ec:where([data-with-right-section]) {
|
|
53
|
+
grid-template-columns: 1fr auto;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m_347db0ec:where([data-with-left-section], [data-variant='dot']) {
|
|
57
|
+
grid-template-columns: auto 1fr;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.m_347db0ec:where([data-with-left-section][data-with-right-section]) {
|
|
61
|
+
grid-template-columns: auto 1fr auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
52
64
|
.m_347db0ec:where([data-block]) {
|
|
53
65
|
display: flex;
|
|
54
66
|
width: 100%;
|
|
@@ -90,6 +102,7 @@
|
|
|
90
102
|
white-space: nowrap;
|
|
91
103
|
overflow: hidden;
|
|
92
104
|
text-overflow: ellipsis;
|
|
105
|
+
text-align: center;
|
|
93
106
|
}
|
|
94
107
|
|
|
95
108
|
.m_91fdda9b {
|
|
@@ -98,6 +111,7 @@
|
|
|
98
111
|
display: inline-flex;
|
|
99
112
|
justify-content: center;
|
|
100
113
|
align-items: center;
|
|
114
|
+
max-height: calc(var(--badge-height) - var(--badge-border-width) * 2);
|
|
101
115
|
}
|
|
102
116
|
|
|
103
117
|
.m_91fdda9b:where([data-position='left']) {
|
package/styles/Grid.css
CHANGED
package/styles/Grid.layer.css
CHANGED
|
@@ -161,30 +161,35 @@
|
|
|
161
161
|
caption-side: bottom;
|
|
162
162
|
margin-bottom: var(--mantine-spacing-md);
|
|
163
163
|
}
|
|
164
|
+
:where([data-mantine-color-scheme='light']) .m_d6493fad :where(table) {
|
|
165
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
166
|
+
}
|
|
167
|
+
:where([data-mantine-color-scheme='dark']) .m_d6493fad :where(table) {
|
|
168
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
169
|
+
}
|
|
164
170
|
.m_d6493fad :where(table) :where(caption) {
|
|
165
171
|
margin-top: var(--mantine-spacing-xs);
|
|
166
172
|
font-size: var(--mantine-font-size-sm);
|
|
167
|
-
color: var(--mantine-color-
|
|
173
|
+
color: var(--mantine-color-dimmed);
|
|
168
174
|
}
|
|
169
175
|
.m_d6493fad :where(table) :where(th) {
|
|
170
176
|
text-align: left;
|
|
171
177
|
font-weight: bold;
|
|
172
|
-
color: var(--mantine-color-gray-7);
|
|
173
178
|
font-size: var(--mantine-font-size-sm);
|
|
174
179
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
175
180
|
}
|
|
176
181
|
.m_d6493fad :where(table) :where(thead th) {
|
|
177
182
|
border-bottom: 1px solid;
|
|
178
|
-
border-color: var(--
|
|
183
|
+
border-color: var(--table-border-color);
|
|
179
184
|
}
|
|
180
185
|
.m_d6493fad :where(table) :where(tfoot th) {
|
|
181
186
|
border-top: 1px solid;
|
|
182
|
-
border-color: var(--
|
|
187
|
+
border-color: var(--table-border-color);
|
|
183
188
|
}
|
|
184
189
|
.m_d6493fad :where(table) :where(td) {
|
|
185
190
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
186
191
|
border-bottom: 1px solid;
|
|
187
|
-
border-color: var(--
|
|
192
|
+
border-color: var(--table-border-color);
|
|
188
193
|
font-size: var(--mantine-font-size-sm);
|
|
189
194
|
}
|
|
190
195
|
.m_d6493fad :where(table) :where(tr:last-of-type td) {
|
|
@@ -161,30 +161,35 @@
|
|
|
161
161
|
caption-side: bottom;
|
|
162
162
|
margin-bottom: var(--mantine-spacing-md);
|
|
163
163
|
}
|
|
164
|
+
:where([data-mantine-color-scheme='light']) .m_d6493fad :where(table) {
|
|
165
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
166
|
+
}
|
|
167
|
+
:where([data-mantine-color-scheme='dark']) .m_d6493fad :where(table) {
|
|
168
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
169
|
+
}
|
|
164
170
|
.m_d6493fad :where(table) :where(caption) {
|
|
165
171
|
margin-top: var(--mantine-spacing-xs);
|
|
166
172
|
font-size: var(--mantine-font-size-sm);
|
|
167
|
-
color: var(--mantine-color-
|
|
173
|
+
color: var(--mantine-color-dimmed);
|
|
168
174
|
}
|
|
169
175
|
.m_d6493fad :where(table) :where(th) {
|
|
170
176
|
text-align: left;
|
|
171
177
|
font-weight: bold;
|
|
172
|
-
color: var(--mantine-color-gray-7);
|
|
173
178
|
font-size: var(--mantine-font-size-sm);
|
|
174
179
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
175
180
|
}
|
|
176
181
|
.m_d6493fad :where(table) :where(thead th) {
|
|
177
182
|
border-bottom: 1px solid;
|
|
178
|
-
border-color: var(--
|
|
183
|
+
border-color: var(--table-border-color);
|
|
179
184
|
}
|
|
180
185
|
.m_d6493fad :where(table) :where(tfoot th) {
|
|
181
186
|
border-top: 1px solid;
|
|
182
|
-
border-color: var(--
|
|
187
|
+
border-color: var(--table-border-color);
|
|
183
188
|
}
|
|
184
189
|
.m_d6493fad :where(table) :where(td) {
|
|
185
190
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
186
191
|
border-bottom: 1px solid;
|
|
187
|
-
border-color: var(--
|
|
192
|
+
border-color: var(--table-border-color);
|
|
188
193
|
font-size: var(--mantine-font-size-sm);
|
|
189
194
|
}
|
|
190
195
|
.m_d6493fad :where(table) :where(tr:last-of-type td) {
|
package/styles.css
CHANGED
|
@@ -2700,7 +2700,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2700
2700
|
--badge-lh: calc(var(--badge-height) - calc(0.125rem * var(--mantine-scale)));
|
|
2701
2701
|
--badge-color: var(--mantine-color-white);
|
|
2702
2702
|
--badge-bg: var(--mantine-primary-color-filled);
|
|
2703
|
-
--badge-
|
|
2703
|
+
--badge-border-width: calc(0.0625rem * var(--mantine-scale));
|
|
2704
|
+
--badge-bd: var(--badge-border-width) solid transparent;
|
|
2704
2705
|
|
|
2705
2706
|
-webkit-tap-highlight-color: transparent;
|
|
2706
2707
|
font-size: var(--badge-fz);
|
|
@@ -2709,8 +2710,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2709
2710
|
line-height: var(--badge-lh);
|
|
2710
2711
|
text-decoration: none;
|
|
2711
2712
|
padding: 0 var(--badge-padding-x);
|
|
2712
|
-
display: grid;
|
|
2713
|
-
grid-template-columns: auto 1fr auto;
|
|
2713
|
+
display: inline-grid;
|
|
2714
2714
|
align-items: center;
|
|
2715
2715
|
justify-content: center;
|
|
2716
2716
|
width: fit-content;
|
|
@@ -2725,6 +2725,18 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2725
2725
|
border: var(--badge-bd);
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
|
+
.m_347db0ec:where([data-with-right-section]) {
|
|
2729
|
+
grid-template-columns: 1fr auto;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
.m_347db0ec:where([data-with-left-section], [data-variant='dot']) {
|
|
2733
|
+
grid-template-columns: auto 1fr;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
.m_347db0ec:where([data-with-left-section][data-with-right-section]) {
|
|
2737
|
+
grid-template-columns: auto 1fr auto;
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2728
2740
|
.m_347db0ec:where([data-block]) {
|
|
2729
2741
|
display: flex;
|
|
2730
2742
|
width: 100%;
|
|
@@ -2766,6 +2778,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2766
2778
|
white-space: nowrap;
|
|
2767
2779
|
overflow: hidden;
|
|
2768
2780
|
text-overflow: ellipsis;
|
|
2781
|
+
text-align: center;
|
|
2769
2782
|
}
|
|
2770
2783
|
|
|
2771
2784
|
.m_91fdda9b {
|
|
@@ -2774,6 +2787,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2774
2787
|
display: inline-flex;
|
|
2775
2788
|
justify-content: center;
|
|
2776
2789
|
align-items: center;
|
|
2790
|
+
max-height: calc(var(--badge-height) - var(--badge-border-width) * 2);
|
|
2777
2791
|
}
|
|
2778
2792
|
|
|
2779
2793
|
.m_91fdda9b:where([data-position='left']) {
|
|
@@ -3873,6 +3887,10 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
3873
3887
|
margin-bottom: var(--mantine-spacing-sm);
|
|
3874
3888
|
}
|
|
3875
3889
|
|
|
3890
|
+
.m_8478a6da {
|
|
3891
|
+
container: mantine-grid / inline-size;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3876
3894
|
.m_410352e9 {
|
|
3877
3895
|
--grid-overflow: visible;
|
|
3878
3896
|
--grid-margin: calc(var(--grid-gutter) / -2);
|
|
@@ -7330,30 +7348,35 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
7330
7348
|
caption-side: bottom;
|
|
7331
7349
|
margin-bottom: var(--mantine-spacing-md);
|
|
7332
7350
|
}
|
|
7351
|
+
:where([data-mantine-color-scheme='light']) .m_d6493fad :where(table) {
|
|
7352
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
7353
|
+
}
|
|
7354
|
+
:where([data-mantine-color-scheme='dark']) .m_d6493fad :where(table) {
|
|
7355
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
7356
|
+
}
|
|
7333
7357
|
.m_d6493fad :where(table) :where(caption) {
|
|
7334
7358
|
margin-top: var(--mantine-spacing-xs);
|
|
7335
7359
|
font-size: var(--mantine-font-size-sm);
|
|
7336
|
-
color: var(--mantine-color-
|
|
7360
|
+
color: var(--mantine-color-dimmed);
|
|
7337
7361
|
}
|
|
7338
7362
|
.m_d6493fad :where(table) :where(th) {
|
|
7339
7363
|
text-align: left;
|
|
7340
7364
|
font-weight: bold;
|
|
7341
|
-
color: var(--mantine-color-gray-7);
|
|
7342
7365
|
font-size: var(--mantine-font-size-sm);
|
|
7343
7366
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
7344
7367
|
}
|
|
7345
7368
|
.m_d6493fad :where(table) :where(thead th) {
|
|
7346
7369
|
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7347
|
-
border-color: var(--
|
|
7370
|
+
border-color: var(--table-border-color);
|
|
7348
7371
|
}
|
|
7349
7372
|
.m_d6493fad :where(table) :where(tfoot th) {
|
|
7350
7373
|
border-top: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7351
|
-
border-color: var(--
|
|
7374
|
+
border-color: var(--table-border-color);
|
|
7352
7375
|
}
|
|
7353
7376
|
.m_d6493fad :where(table) :where(td) {
|
|
7354
7377
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
7355
7378
|
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7356
|
-
border-color: var(--
|
|
7379
|
+
border-color: var(--table-border-color);
|
|
7357
7380
|
font-size: var(--mantine-font-size-sm);
|
|
7358
7381
|
}
|
|
7359
7382
|
.m_d6493fad :where(table) :where(tr:last-of-type td) {
|
package/styles.layer.css
CHANGED
|
@@ -2700,7 +2700,8 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2700
2700
|
--badge-lh: calc(var(--badge-height) - calc(0.125rem * var(--mantine-scale)));
|
|
2701
2701
|
--badge-color: var(--mantine-color-white);
|
|
2702
2702
|
--badge-bg: var(--mantine-primary-color-filled);
|
|
2703
|
-
--badge-
|
|
2703
|
+
--badge-border-width: calc(0.0625rem * var(--mantine-scale));
|
|
2704
|
+
--badge-bd: var(--badge-border-width) solid transparent;
|
|
2704
2705
|
|
|
2705
2706
|
-webkit-tap-highlight-color: transparent;
|
|
2706
2707
|
font-size: var(--badge-fz);
|
|
@@ -2709,8 +2710,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2709
2710
|
line-height: var(--badge-lh);
|
|
2710
2711
|
text-decoration: none;
|
|
2711
2712
|
padding: 0 var(--badge-padding-x);
|
|
2712
|
-
display: grid;
|
|
2713
|
-
grid-template-columns: auto 1fr auto;
|
|
2713
|
+
display: inline-grid;
|
|
2714
2714
|
align-items: center;
|
|
2715
2715
|
justify-content: center;
|
|
2716
2716
|
width: fit-content;
|
|
@@ -2725,6 +2725,18 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2725
2725
|
border: var(--badge-bd);
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
|
+
.m_347db0ec:where([data-with-right-section]) {
|
|
2729
|
+
grid-template-columns: 1fr auto;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
.m_347db0ec:where([data-with-left-section], [data-variant='dot']) {
|
|
2733
|
+
grid-template-columns: auto 1fr;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
.m_347db0ec:where([data-with-left-section][data-with-right-section]) {
|
|
2737
|
+
grid-template-columns: auto 1fr auto;
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2728
2740
|
.m_347db0ec:where([data-block]) {
|
|
2729
2741
|
display: flex;
|
|
2730
2742
|
width: 100%;
|
|
@@ -2766,6 +2778,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2766
2778
|
white-space: nowrap;
|
|
2767
2779
|
overflow: hidden;
|
|
2768
2780
|
text-overflow: ellipsis;
|
|
2781
|
+
text-align: center;
|
|
2769
2782
|
}
|
|
2770
2783
|
|
|
2771
2784
|
.m_91fdda9b {
|
|
@@ -2774,6 +2787,7 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
2774
2787
|
display: inline-flex;
|
|
2775
2788
|
justify-content: center;
|
|
2776
2789
|
align-items: center;
|
|
2790
|
+
max-height: calc(var(--badge-height) - var(--badge-border-width) * 2);
|
|
2777
2791
|
}
|
|
2778
2792
|
|
|
2779
2793
|
.m_91fdda9b:where([data-position='left']) {
|
|
@@ -3873,6 +3887,10 @@ fieldset:disabled .m_d3ea56bb,
|
|
|
3873
3887
|
margin-bottom: var(--mantine-spacing-sm);
|
|
3874
3888
|
}
|
|
3875
3889
|
|
|
3890
|
+
.m_8478a6da {
|
|
3891
|
+
container: mantine-grid / inline-size;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3876
3894
|
.m_410352e9 {
|
|
3877
3895
|
--grid-overflow: visible;
|
|
3878
3896
|
--grid-margin: calc(var(--grid-gutter) / -2);
|
|
@@ -7330,30 +7348,35 @@ fieldset:disabled .m_c9ade57f:where([data-inverted]),
|
|
|
7330
7348
|
caption-side: bottom;
|
|
7331
7349
|
margin-bottom: var(--mantine-spacing-md);
|
|
7332
7350
|
}
|
|
7351
|
+
:where([data-mantine-color-scheme='light']) .m_d6493fad :where(table) {
|
|
7352
|
+
--table-border-color: var(--mantine-color-gray-3);
|
|
7353
|
+
}
|
|
7354
|
+
:where([data-mantine-color-scheme='dark']) .m_d6493fad :where(table) {
|
|
7355
|
+
--table-border-color: var(--mantine-color-dark-4);
|
|
7356
|
+
}
|
|
7333
7357
|
.m_d6493fad :where(table) :where(caption) {
|
|
7334
7358
|
margin-top: var(--mantine-spacing-xs);
|
|
7335
7359
|
font-size: var(--mantine-font-size-sm);
|
|
7336
|
-
color: var(--mantine-color-
|
|
7360
|
+
color: var(--mantine-color-dimmed);
|
|
7337
7361
|
}
|
|
7338
7362
|
.m_d6493fad :where(table) :where(th) {
|
|
7339
7363
|
text-align: left;
|
|
7340
7364
|
font-weight: bold;
|
|
7341
|
-
color: var(--mantine-color-gray-7);
|
|
7342
7365
|
font-size: var(--mantine-font-size-sm);
|
|
7343
7366
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
7344
7367
|
}
|
|
7345
7368
|
.m_d6493fad :where(table) :where(thead th) {
|
|
7346
7369
|
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7347
|
-
border-color: var(--
|
|
7370
|
+
border-color: var(--table-border-color);
|
|
7348
7371
|
}
|
|
7349
7372
|
.m_d6493fad :where(table) :where(tfoot th) {
|
|
7350
7373
|
border-top: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7351
|
-
border-color: var(--
|
|
7374
|
+
border-color: var(--table-border-color);
|
|
7352
7375
|
}
|
|
7353
7376
|
.m_d6493fad :where(table) :where(td) {
|
|
7354
7377
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
7355
7378
|
border-bottom: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
7356
|
-
border-color: var(--
|
|
7379
|
+
border-color: var(--table-border-color);
|
|
7357
7380
|
font-size: var(--mantine-font-size-sm);
|
|
7358
7381
|
}
|
|
7359
7382
|
.m_d6493fad :where(table) :where(tr:last-of-type td) {
|