@mantine/core 7.14.3 → 7.15.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.
Files changed (168) hide show
  1. package/cjs/components/ActionIcon/ActionIcon.cjs +2 -0
  2. package/cjs/components/ActionIcon/ActionIcon.cjs.map +1 -1
  3. package/cjs/components/ActionIcon/ActionIcon.module.css.cjs +1 -1
  4. package/cjs/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.cjs +79 -0
  5. package/cjs/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.cjs.map +1 -0
  6. package/cjs/components/AngleSlider/AngleSlider.cjs +37 -99
  7. package/cjs/components/AngleSlider/AngleSlider.cjs.map +1 -1
  8. package/cjs/components/AppShell/use-resizing/use-resizing.cjs +2 -2
  9. package/cjs/components/AppShell/use-resizing/use-resizing.cjs.map +1 -1
  10. package/cjs/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
  11. package/cjs/components/Button/Button.cjs +2 -0
  12. package/cjs/components/Button/Button.cjs.map +1 -1
  13. package/cjs/components/Button/Button.module.css.cjs +1 -1
  14. package/cjs/components/Button/ButtonGroupSection/ButtonGroupSection.cjs +79 -0
  15. package/cjs/components/Button/ButtonGroupSection/ButtonGroupSection.cjs.map +1 -0
  16. package/cjs/components/Card/Card.cjs.map +1 -1
  17. package/cjs/components/Collapse/use-collapse.cjs.map +1 -1
  18. package/cjs/components/ColorInput/ColorInput.cjs +1 -0
  19. package/cjs/components/ColorInput/ColorInput.cjs.map +1 -1
  20. package/cjs/components/ColorPicker/ColorPicker.cjs +1 -1
  21. package/cjs/components/ColorPicker/ColorPicker.cjs.map +1 -1
  22. package/cjs/components/Combobox/ComboboxEventsTarget/ComboboxEventsTarget.cjs.map +1 -1
  23. package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.cjs.map +1 -1
  24. package/cjs/components/FileButton/FileButton.cjs +1 -1
  25. package/cjs/components/FileButton/FileButton.cjs.map +1 -1
  26. package/cjs/components/FloatingIndicator/FloatingIndicator.cjs.map +1 -1
  27. package/cjs/components/FloatingIndicator/use-floating-indicator.cjs +3 -3
  28. package/cjs/components/FloatingIndicator/use-floating-indicator.cjs.map +1 -1
  29. package/cjs/components/HoverCard/HoverCardTarget/HoverCardTarget.cjs.map +1 -1
  30. package/cjs/components/Menu/MenuItem/MenuItem.cjs +1 -1
  31. package/cjs/components/Menu/MenuItem/MenuItem.cjs.map +1 -1
  32. package/cjs/components/Menu/MenuTarget/MenuTarget.cjs +4 -3
  33. package/cjs/components/Menu/MenuTarget/MenuTarget.cjs.map +1 -1
  34. package/cjs/components/ModalBase/use-lock-scroll.cjs +1 -1
  35. package/cjs/components/ModalBase/use-lock-scroll.cjs.map +1 -1
  36. package/cjs/components/NumberInput/NumberInput.cjs +3 -2
  37. package/cjs/components/NumberInput/NumberInput.cjs.map +1 -1
  38. package/cjs/components/PasswordInput/PasswordInput.cjs +1 -0
  39. package/cjs/components/PasswordInput/PasswordInput.cjs.map +1 -1
  40. package/cjs/components/PillsInput/PillsInput.cjs +1 -1
  41. package/cjs/components/PillsInput/PillsInput.cjs.map +1 -1
  42. package/cjs/components/PillsInput/PillsInput.context.cjs.map +1 -1
  43. package/cjs/components/Popover/Popover.context.cjs.map +1 -1
  44. package/cjs/components/Popover/PopoverTarget/PopoverTarget.cjs +5 -1
  45. package/cjs/components/Popover/PopoverTarget/PopoverTarget.cjs.map +1 -1
  46. package/cjs/components/Popover/use-popover.cjs.map +1 -1
  47. package/cjs/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.cjs +10 -1
  48. package/cjs/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.cjs.map +1 -1
  49. package/cjs/components/Slider/Slider/Slider.cjs +2 -2
  50. package/cjs/components/Slider/Slider/Slider.cjs.map +1 -1
  51. package/cjs/components/Stepper/Stepper.cjs +50 -45
  52. package/cjs/components/Stepper/Stepper.cjs.map +1 -1
  53. package/cjs/components/Stepper/StepperStep/StepperStep.cjs.map +1 -1
  54. package/cjs/components/Table/Table.cjs +2 -1
  55. package/cjs/components/Table/Table.cjs.map +1 -1
  56. package/cjs/components/Tooltip/Tooltip.cjs +3 -2
  57. package/cjs/components/Tooltip/Tooltip.cjs.map +1 -1
  58. package/cjs/components/Tooltip/TooltipFloating/TooltipFloating.cjs +4 -3
  59. package/cjs/components/Tooltip/TooltipFloating/TooltipFloating.cjs.map +1 -1
  60. package/cjs/components/Tooltip/TooltipFloating/use-floating-tooltip.cjs +1 -1
  61. package/cjs/components/Tooltip/TooltipFloating/use-floating-tooltip.cjs.map +1 -1
  62. package/cjs/components/Tooltip/use-tooltip.cjs.map +1 -1
  63. package/cjs/core/MantineProvider/mantine-html-props.cjs +9 -0
  64. package/cjs/core/MantineProvider/mantine-html-props.cjs.map +1 -0
  65. package/cjs/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.cjs +4 -2
  66. package/cjs/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.cjs.map +1 -1
  67. package/cjs/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.cjs +1 -1
  68. package/cjs/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.cjs.map +1 -1
  69. package/cjs/index.cjs +6 -0
  70. package/cjs/index.cjs.map +1 -1
  71. package/esm/components/ActionIcon/ActionIcon.mjs +2 -0
  72. package/esm/components/ActionIcon/ActionIcon.mjs.map +1 -1
  73. package/esm/components/ActionIcon/ActionIcon.module.css.mjs +1 -1
  74. package/esm/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.mjs +77 -0
  75. package/esm/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.mjs.map +1 -0
  76. package/esm/components/AngleSlider/AngleSlider.mjs +39 -101
  77. package/esm/components/AngleSlider/AngleSlider.mjs.map +1 -1
  78. package/esm/components/AppShell/use-resizing/use-resizing.mjs +2 -2
  79. package/esm/components/AppShell/use-resizing/use-resizing.mjs.map +1 -1
  80. package/esm/components/Breadcrumbs/Breadcrumbs.mjs.map +1 -1
  81. package/esm/components/Button/Button.mjs +2 -0
  82. package/esm/components/Button/Button.mjs.map +1 -1
  83. package/esm/components/Button/Button.module.css.mjs +1 -1
  84. package/esm/components/Button/ButtonGroupSection/ButtonGroupSection.mjs +77 -0
  85. package/esm/components/Button/ButtonGroupSection/ButtonGroupSection.mjs.map +1 -0
  86. package/esm/components/Card/Card.mjs.map +1 -1
  87. package/esm/components/Collapse/use-collapse.mjs.map +1 -1
  88. package/esm/components/ColorInput/ColorInput.mjs +1 -0
  89. package/esm/components/ColorInput/ColorInput.mjs.map +1 -1
  90. package/esm/components/ColorPicker/ColorPicker.mjs +1 -1
  91. package/esm/components/ColorPicker/ColorPicker.mjs.map +1 -1
  92. package/esm/components/Combobox/ComboboxEventsTarget/ComboboxEventsTarget.mjs.map +1 -1
  93. package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.mjs.map +1 -1
  94. package/esm/components/FileButton/FileButton.mjs +1 -1
  95. package/esm/components/FileButton/FileButton.mjs.map +1 -1
  96. package/esm/components/FloatingIndicator/FloatingIndicator.mjs.map +1 -1
  97. package/esm/components/FloatingIndicator/use-floating-indicator.mjs +3 -3
  98. package/esm/components/FloatingIndicator/use-floating-indicator.mjs.map +1 -1
  99. package/esm/components/HoverCard/HoverCardTarget/HoverCardTarget.mjs.map +1 -1
  100. package/esm/components/Menu/MenuItem/MenuItem.mjs +1 -1
  101. package/esm/components/Menu/MenuItem/MenuItem.mjs.map +1 -1
  102. package/esm/components/Menu/MenuTarget/MenuTarget.mjs +4 -3
  103. package/esm/components/Menu/MenuTarget/MenuTarget.mjs.map +1 -1
  104. package/esm/components/ModalBase/use-lock-scroll.mjs +1 -1
  105. package/esm/components/ModalBase/use-lock-scroll.mjs.map +1 -1
  106. package/esm/components/NumberInput/NumberInput.mjs +3 -2
  107. package/esm/components/NumberInput/NumberInput.mjs.map +1 -1
  108. package/esm/components/PasswordInput/PasswordInput.mjs +1 -0
  109. package/esm/components/PasswordInput/PasswordInput.mjs.map +1 -1
  110. package/esm/components/PillsInput/PillsInput.context.mjs.map +1 -1
  111. package/esm/components/PillsInput/PillsInput.mjs +1 -1
  112. package/esm/components/PillsInput/PillsInput.mjs.map +1 -1
  113. package/esm/components/Popover/Popover.context.mjs.map +1 -1
  114. package/esm/components/Popover/PopoverTarget/PopoverTarget.mjs +5 -1
  115. package/esm/components/Popover/PopoverTarget/PopoverTarget.mjs.map +1 -1
  116. package/esm/components/Popover/use-popover.mjs.map +1 -1
  117. package/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs +10 -1
  118. package/esm/components/ScrollArea/ScrollAreaThumb/ScrollAreaThumb.mjs.map +1 -1
  119. package/esm/components/Slider/Slider/Slider.mjs +2 -2
  120. package/esm/components/Slider/Slider/Slider.mjs.map +1 -1
  121. package/esm/components/Stepper/Stepper.mjs +50 -45
  122. package/esm/components/Stepper/Stepper.mjs.map +1 -1
  123. package/esm/components/Stepper/StepperStep/StepperStep.mjs.map +1 -1
  124. package/esm/components/Table/Table.mjs +2 -1
  125. package/esm/components/Table/Table.mjs.map +1 -1
  126. package/esm/components/Tooltip/Tooltip.mjs +3 -2
  127. package/esm/components/Tooltip/Tooltip.mjs.map +1 -1
  128. package/esm/components/Tooltip/TooltipFloating/TooltipFloating.mjs +4 -3
  129. package/esm/components/Tooltip/TooltipFloating/TooltipFloating.mjs.map +1 -1
  130. package/esm/components/Tooltip/TooltipFloating/use-floating-tooltip.mjs +1 -1
  131. package/esm/components/Tooltip/TooltipFloating/use-floating-tooltip.mjs.map +1 -1
  132. package/esm/components/Tooltip/use-tooltip.mjs.map +1 -1
  133. package/esm/core/MantineProvider/mantine-html-props.mjs +7 -0
  134. package/esm/core/MantineProvider/mantine-html-props.mjs.map +1 -0
  135. package/esm/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.mjs +4 -2
  136. package/esm/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.mjs.map +1 -1
  137. package/esm/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.mjs +1 -1
  138. package/esm/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.mjs.map +1 -1
  139. package/esm/index.mjs +3 -0
  140. package/esm/index.mjs.map +1 -1
  141. package/lib/components/ActionIcon/ActionIcon.d.ts +6 -0
  142. package/lib/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.d.ts +30 -0
  143. package/lib/components/ActionIcon/index.d.ts +2 -0
  144. package/lib/components/AngleSlider/AngleSlider.d.ts +4 -0
  145. package/lib/components/Button/Button.d.ts +6 -0
  146. package/lib/components/Button/ButtonGroupSection/ButtonGroupSection.d.ts +30 -0
  147. package/lib/components/Button/index.d.ts +2 -0
  148. package/lib/components/Collapse/use-collapse.d.ts +1 -1
  149. package/lib/components/Group/filter-falsy-children/filter-falsy-children.d.ts +1 -1
  150. package/lib/components/Input/use-input-props.d.ts +1 -1
  151. package/lib/components/PillsInput/PillsInput.context.d.ts +1 -1
  152. package/lib/components/Popover/Popover.context.d.ts +1 -1
  153. package/lib/components/Popover/use-popover.d.ts +1 -1
  154. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +1 -1
  155. package/lib/components/Table/Table.d.ts +5 -0
  156. package/lib/components/Tooltip/TooltipFloating/use-floating-tooltip.d.ts +1 -1
  157. package/lib/components/Tooltip/use-tooltip.d.ts +1 -1
  158. package/lib/core/MantineProvider/index.d.ts +1 -0
  159. package/lib/core/MantineProvider/mantine-html-props.d.ts +4 -0
  160. package/package.json +5 -3
  161. package/styles/ActionIcon.css +45 -6
  162. package/styles/ActionIcon.layer.css +45 -6
  163. package/styles/Button.css +51 -6
  164. package/styles/Button.layer.css +51 -6
  165. package/styles/Table.css +17 -0
  166. package/styles/Table.layer.css +17 -0
  167. package/styles.css +113 -12
  168. package/styles.layer.css +113 -12
@@ -8,7 +8,7 @@ interface BaseProps extends __BaseInputProps, BoxProps, StylesApiProps<{
8
8
  __stylesApiProps?: Record<string, any>;
9
9
  id?: string;
10
10
  }
11
- export declare function useInputProps<T extends BaseProps, U extends Partial<T>>(component: string, defaultProps: U, _props: T): Omit<T & { [Key in Extract<keyof T, never>]-?: {}[Key] | NonNullable<T[Key]>; }, "label" | "style" | "size" | "styles" | "className" | "id" | "vars" | "variant" | "unstyled" | "classNames" | "required" | "mod" | "error" | "description" | "__staticSelector" | "__stylesApiProps" | "withAsterisk" | "labelProps" | "descriptionProps" | "errorProps" | "inputContainer" | "inputWrapperOrder" | "wrapperProps"> & {
11
+ export declare function useInputProps<T extends BaseProps, U extends Partial<T>>(component: string, defaultProps: U, _props: T): Omit<T & { [Key in Extract<keyof T, never>]-?: {}[Key] | NonNullable<T[Key]>; }, "label" | "style" | "size" | "styles" | "className" | "id" | "vars" | "variant" | "unstyled" | "classNames" | "mod" | "error" | "description" | "__staticSelector" | "required" | "__stylesApiProps" | "withAsterisk" | "labelProps" | "descriptionProps" | "errorProps" | "inputContainer" | "inputWrapperOrder" | "wrapperProps"> & {
12
12
  classNames: Partial<Record<string, string>> | ((theme: import("../../core").MantineTheme, props: any, ctx: unknown) => Partial<Record<string, string>>) | undefined;
13
13
  styles: Partial<Record<string, import("../../core").CSSProperties>> | ((theme: import("../../core").MantineTheme, props: any, ctx: unknown) => Partial<Record<string, import("../../core").CSSProperties>>) | undefined;
14
14
  unstyled: boolean | undefined;
@@ -1,7 +1,7 @@
1
1
  import { MantineSize } from '../../core';
2
2
  import { InputVariant } from '../Input';
3
3
  export interface PillsInputContextValue {
4
- fieldRef: React.MutableRefObject<HTMLInputElement | undefined>;
4
+ fieldRef: React.RefObject<HTMLInputElement | null>;
5
5
  size: MantineSize | (string & {});
6
6
  disabled: boolean | undefined;
7
7
  hasError: boolean | undefined;
@@ -9,7 +9,7 @@ interface PopoverContext {
9
9
  y: number;
10
10
  arrowX: number | undefined;
11
11
  arrowY: number | undefined;
12
- arrowRef: React.RefObject<HTMLDivElement>;
12
+ arrowRef: React.RefObject<HTMLDivElement | null>;
13
13
  opened: boolean;
14
14
  transitionProps?: TransitionOverride;
15
15
  reference: (node: HTMLElement) => void;
@@ -12,7 +12,7 @@ interface UsePopoverOptions {
12
12
  onOpen?: () => void;
13
13
  width: PopoverWidth;
14
14
  middlewares: PopoverMiddlewares | undefined;
15
- arrowRef: React.RefObject<HTMLDivElement>;
15
+ arrowRef: React.RefObject<HTMLDivElement | null>;
16
16
  arrowOffset: number;
17
17
  strategy?: FloatingStrategy;
18
18
  }
@@ -21,7 +21,7 @@ export interface StepperStepProps extends BoxProps, CompoundStylesApiProps<Stepp
21
21
  /** Step description */
22
22
  description?: React.ReactNode | StepFragmentComponent;
23
23
  /** Icon wrapper size */
24
- iconSize?: number;
24
+ iconSize?: string | number;
25
25
  /** Icon position relative to step body, controlled by Stepper component */
26
26
  iconPosition?: 'right' | 'left';
27
27
  /** Indicates loading state of the step */
@@ -2,6 +2,7 @@ import { BoxProps, ElementProps, Factory, MantineColor, MantineSpacing, StylesAp
2
2
  import { TableCaption, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr } from './Table.components';
3
3
  import { TableDataRenderer } from './TableDataRenderer';
4
4
  import { TableScrollContainer } from './TableScrollContainer';
5
+ export type TableVariant = 'default' | 'vertical';
5
6
  export type TableStylesNames = 'table' | 'thead' | 'tbody' | 'tfoot' | 'tr' | 'th' | 'td' | 'caption';
6
7
  export type TableCssVariables = {
7
8
  table: '--table-layout' | '--table-border-color' | '--table-caption-side' | '--table-horizontal-spacing' | '--table-vertical-spacing' | '--table-striped-color' | '--table-highlight-on-hover-color' | '--table-sticky-header-offset';
@@ -43,12 +44,15 @@ export interface TableProps extends BoxProps, StylesApiProps<TableFactory>, Elem
43
44
  stickyHeader?: boolean;
44
45
  /** Offset from top at which `Table.Thead` should become sticky, `0` by default */
45
46
  stickyHeaderOffset?: number | string;
47
+ /** Determines whether `font-variant-numeric: tabular-nums` style should be set, `false` by default */
48
+ tabularNums?: boolean;
46
49
  }
47
50
  export type TableFactory = Factory<{
48
51
  props: TableProps;
49
52
  ref: HTMLTableElement;
50
53
  stylesNames: TableStylesNames;
51
54
  vars: TableCssVariables;
55
+ variant: TableVariant;
52
56
  staticComponents: {
53
57
  Thead: typeof TableThead;
54
58
  Tbody: typeof TableTbody;
@@ -66,6 +70,7 @@ export declare const Table: import("../../core").MantineComponent<{
66
70
  ref: HTMLTableElement;
67
71
  stylesNames: TableStylesNames;
68
72
  vars: TableCssVariables;
73
+ variant: TableVariant;
69
74
  staticComponents: {
70
75
  Thead: typeof TableThead;
71
76
  Tbody: typeof TableTbody;
@@ -10,7 +10,7 @@ export declare function useFloatingTooltip<T extends HTMLElement = any>({ offset
10
10
  y: number;
11
11
  opened: boolean | undefined;
12
12
  setOpened: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
13
- boundaryRef: import("react").MutableRefObject<T | undefined>;
13
+ boundaryRef: import("react").RefObject<T | null>;
14
14
  floating: ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);
15
15
  };
16
16
  export {};
@@ -7,7 +7,7 @@ interface UseTooltip {
7
7
  opened?: boolean;
8
8
  defaultOpened?: boolean;
9
9
  offset: number | FloatingAxesOffsets;
10
- arrowRef?: React.RefObject<HTMLDivElement>;
10
+ arrowRef?: React.RefObject<HTMLDivElement | null>;
11
11
  arrowOffset?: number;
12
12
  events?: {
13
13
  hover: boolean;
@@ -20,3 +20,4 @@ export type { CSSVariablesResolver } from './MantineCssVariables/default-css-var
20
20
  export { virtualColor, getCSSColorVariables, isVirtualColor } from './MantineCssVariables';
21
21
  export { useMatches } from './use-matches/use-matches';
22
22
  export type { MantineStylesTransform } from './Mantine.context';
23
+ export { mantineHtmlProps } from './mantine-html-props';
@@ -0,0 +1,4 @@
1
+ export declare const mantineHtmlProps: {
2
+ suppressHydrationWarning: boolean;
3
+ 'data-mantine-color-scheme': string;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine/core",
3
- "version": "7.14.3",
3
+ "version": "7.15.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.14.3",
46
+ "@mantine/hooks": "7.15.0",
47
47
  "react": "^18.x || ^19.x",
48
48
  "react-dom": "^18.x || ^19.x"
49
49
  },
@@ -57,6 +57,8 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@mantine-tests/core": "workspace:*",
60
- "@mantine/hooks": "workspace:*"
60
+ "@mantine/hooks": "workspace:*",
61
+ "react": "^18.3.1",
62
+ "react-dom": "^18.3.1"
61
63
  }
62
64
  }
@@ -106,19 +106,19 @@
106
106
  flex-direction: row;
107
107
  }
108
108
 
109
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):first-child {
109
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):first-child, .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):first-child {
110
110
  border-end-end-radius: 0;
111
111
  border-start-end-radius: 0;
112
112
  border-inline-end-width: calc(var(--ai-border-width) / 2);
113
113
  }
114
114
 
115
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):last-child {
115
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):last-child, .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):last-child {
116
116
  border-end-start-radius: 0;
117
117
  border-start-start-radius: 0;
118
118
  border-inline-start-width: calc(var(--ai-border-width) / 2);
119
119
  }
120
120
 
121
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child) {
121
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child), .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):not(:first-child):not(:last-child) {
122
122
  border-radius: 0;
123
123
  border-inline-width: calc(var(--ai-border-width) / 2);
124
124
  }
@@ -127,19 +127,19 @@
127
127
  flex-direction: column;
128
128
  }
129
129
 
130
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):first-child {
130
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):first-child, .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):first-child {
131
131
  border-end-start-radius: 0;
132
132
  border-end-end-radius: 0;
133
133
  border-bottom-width: calc(var(--ai-border-width) / 2);
134
134
  }
135
135
 
136
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):last-child {
136
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):last-child, .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):last-child {
137
137
  border-start-start-radius: 0;
138
138
  border-start-end-radius: 0;
139
139
  border-top-width: calc(var(--ai-border-width) / 2);
140
140
  }
141
141
 
142
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child) {
142
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child), .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):not(:first-child):not(:last-child) {
143
143
  border-radius: 0;
144
144
  border-bottom-width: calc(var(--ai-border-width) / 2);
145
145
  border-top-width: calc(var(--ai-border-width) / 2);
@@ -155,3 +155,42 @@
155
155
  width: 100%;
156
156
  height: 100%;
157
157
  }
158
+
159
+ .m_437b6484 {
160
+ --section-height-xs: 18px;
161
+ --section-height-sm: 22px;
162
+ --section-height-md: 28px;
163
+ --section-height-lg: 34px;
164
+ --section-height-xl: 44px;
165
+
166
+ --section-height-input-xs: 30px;
167
+ --section-height-input-sm: 36px;
168
+ --section-height-input-md: 42px;
169
+ --section-height-input-lg: 50px;
170
+ --section-height-input-xl: 60px;
171
+
172
+ --section-padding-x-xs: 6px;
173
+ --section-padding-x-sm: 8px;
174
+ --section-padding-x-md: 10px;
175
+ --section-padding-x-lg: 12px;
176
+ --section-padding-x-xl: 16px;
177
+
178
+ --section-height: var(--section-height-sm);
179
+ --section-padding-x: var(--section-padding-x-sm);
180
+ --section-color: var(--mantine-color-white);
181
+
182
+ font-weight: 600;
183
+ width: auto;
184
+ border-radius: var(--section-radius, var(--mantine-radius-default));
185
+ font-size: var(--section-fz, var(--mantine-font-size-sm));
186
+ background: var(--section-bg, var(--mantine-primary-color-filled));
187
+ border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
188
+ color: var(--section-color, var(--mantine-color-white));
189
+ height: var(--section-height, var(--section-height-sm));
190
+ padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
191
+ vertical-align: middle;
192
+ line-height: 1;
193
+ display: inline-flex;
194
+ align-items: center;
195
+ justify-content: center;
196
+ }
@@ -106,19 +106,19 @@
106
106
  flex-direction: row;
107
107
  }
108
108
 
109
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):first-child {
109
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):first-child, .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):first-child {
110
110
  border-end-end-radius: 0;
111
111
  border-start-end-radius: 0;
112
112
  border-inline-end-width: calc(var(--ai-border-width) / 2);
113
113
  }
114
114
 
115
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):last-child {
115
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):last-child, .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):last-child {
116
116
  border-end-start-radius: 0;
117
117
  border-start-start-radius: 0;
118
118
  border-inline-start-width: calc(var(--ai-border-width) / 2);
119
119
  }
120
120
 
121
- .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child) {
121
+ .m_1a0f1b21[data-orientation='horizontal'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child), .m_1a0f1b21[data-orientation='horizontal'] .m_437b6484:not(:only-child):not(:first-child):not(:last-child) {
122
122
  border-radius: 0;
123
123
  border-inline-width: calc(var(--ai-border-width) / 2);
124
124
  }
@@ -127,19 +127,19 @@
127
127
  flex-direction: column;
128
128
  }
129
129
 
130
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):first-child {
130
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):first-child, .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):first-child {
131
131
  border-end-start-radius: 0;
132
132
  border-end-end-radius: 0;
133
133
  border-bottom-width: calc(var(--ai-border-width) / 2);
134
134
  }
135
135
 
136
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):last-child {
136
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):last-child, .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):last-child {
137
137
  border-start-start-radius: 0;
138
138
  border-start-end-radius: 0;
139
139
  border-top-width: calc(var(--ai-border-width) / 2);
140
140
  }
141
141
 
142
- .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child) {
142
+ .m_1a0f1b21[data-orientation='vertical'] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child), .m_1a0f1b21[data-orientation='vertical'] .m_437b6484:not(:only-child):not(:first-child):not(:last-child) {
143
143
  border-radius: 0;
144
144
  border-bottom-width: calc(var(--ai-border-width) / 2);
145
145
  border-top-width: calc(var(--ai-border-width) / 2);
@@ -155,4 +155,43 @@
155
155
  width: 100%;
156
156
  height: 100%;
157
157
  }
158
+
159
+ .m_437b6484 {
160
+ --section-height-xs: 18px;
161
+ --section-height-sm: 22px;
162
+ --section-height-md: 28px;
163
+ --section-height-lg: 34px;
164
+ --section-height-xl: 44px;
165
+
166
+ --section-height-input-xs: 30px;
167
+ --section-height-input-sm: 36px;
168
+ --section-height-input-md: 42px;
169
+ --section-height-input-lg: 50px;
170
+ --section-height-input-xl: 60px;
171
+
172
+ --section-padding-x-xs: 6px;
173
+ --section-padding-x-sm: 8px;
174
+ --section-padding-x-md: 10px;
175
+ --section-padding-x-lg: 12px;
176
+ --section-padding-x-xl: 16px;
177
+
178
+ --section-height: var(--section-height-sm);
179
+ --section-padding-x: var(--section-padding-x-sm);
180
+ --section-color: var(--mantine-color-white);
181
+
182
+ font-weight: 600;
183
+ width: auto;
184
+ border-radius: var(--section-radius, var(--mantine-radius-default));
185
+ font-size: var(--section-fz, var(--mantine-font-size-sm));
186
+ background: var(--section-bg, var(--mantine-primary-color-filled));
187
+ border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
188
+ color: var(--section-color, var(--mantine-color-white));
189
+ height: var(--section-height, var(--section-height-sm));
190
+ padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
191
+ vertical-align: middle;
192
+ line-height: 1;
193
+ display: inline-flex;
194
+ align-items: center;
195
+ justify-content: center;
196
+ }
158
197
  }
package/styles/Button.css CHANGED
@@ -184,19 +184,19 @@
184
184
  flex-direction: row;
185
185
  }
186
186
 
187
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child {
187
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):first-child {
188
188
  border-end-end-radius: 0;
189
189
  border-start-end-radius: 0;
190
190
  border-inline-end-width: calc(var(--button-border-width) / 2);
191
191
  }
192
192
 
193
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child {
193
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):last-child {
194
194
  border-end-start-radius: 0;
195
195
  border-start-start-radius: 0;
196
196
  border-inline-start-width: calc(var(--button-border-width) / 2);
197
197
  }
198
198
 
199
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child) {
199
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
200
200
  border-radius: 0;
201
201
  border-inline-width: calc(var(--button-border-width) / 2);
202
202
  }
@@ -205,20 +205,65 @@
205
205
  flex-direction: column;
206
206
  }
207
207
 
208
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child {
208
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):first-child {
209
209
  border-end-start-radius: 0;
210
210
  border-end-end-radius: 0;
211
211
  border-bottom-width: calc(var(--button-border-width) / 2);
212
212
  }
213
213
 
214
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child {
214
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):last-child {
215
215
  border-start-start-radius: 0;
216
216
  border-start-end-radius: 0;
217
217
  border-top-width: calc(var(--button-border-width) / 2);
218
218
  }
219
219
 
220
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child) {
220
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
221
221
  border-radius: 0;
222
222
  border-bottom-width: calc(var(--button-border-width) / 2);
223
223
  border-top-width: calc(var(--button-border-width) / 2);
224
224
  }
225
+
226
+ .m_70be2a01 {
227
+ --section-height-xs: 30px;
228
+ --section-height-sm: 36px;
229
+ --section-height-md: 42px;
230
+ --section-height-lg: 50px;
231
+ --section-height-xl: 60px;
232
+
233
+ --section-height-compact-xs: 22px;
234
+ --section-height-compact-sm: 26px;
235
+ --section-height-compact-md: 30px;
236
+ --section-height-compact-lg: 34px;
237
+ --section-height-compact-xl: 40px;
238
+
239
+ --section-padding-x-xs: 14px;
240
+ --section-padding-x-sm: 18px;
241
+ --section-padding-x-md: 22px;
242
+ --section-padding-x-lg: 26px;
243
+ --section-padding-x-xl: 32px;
244
+
245
+ --section-padding-x-compact-xs: 7px;
246
+ --section-padding-x-compact-sm: 8px;
247
+ --section-padding-x-compact-md: 10px;
248
+ --section-padding-x-compact-lg: 12px;
249
+ --section-padding-x-compact-xl: 14px;
250
+
251
+ --section-height: var(--section-height-sm);
252
+ --section-padding-x: var(--section-padding-x-sm);
253
+ --section-color: var(--mantine-color-white);
254
+
255
+ font-weight: 600;
256
+ width: auto;
257
+ border-radius: var(--section-radius, var(--mantine-radius-default));
258
+ font-size: var(--section-fz, var(--mantine-font-size-sm));
259
+ background: var(--section-bg, var(--mantine-primary-color-filled));
260
+ border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
261
+ color: var(--section-color, var(--mantine-color-white));
262
+ height: var(--section-height, var(--section-height-sm));
263
+ padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
264
+ vertical-align: middle;
265
+ line-height: 1;
266
+ display: inline-flex;
267
+ align-items: center;
268
+ justify-content: center;
269
+ }
@@ -184,19 +184,19 @@
184
184
  flex-direction: row;
185
185
  }
186
186
 
187
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child {
187
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):first-child {
188
188
  border-end-end-radius: 0;
189
189
  border-start-end-radius: 0;
190
190
  border-inline-end-width: calc(var(--button-border-width) / 2);
191
191
  }
192
192
 
193
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child {
193
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):last-child {
194
194
  border-end-start-radius: 0;
195
195
  border-start-start-radius: 0;
196
196
  border-inline-start-width: calc(var(--button-border-width) / 2);
197
197
  }
198
198
 
199
- .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child) {
199
+ .m_80d6d844[data-orientation='horizontal'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='horizontal'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
200
200
  border-radius: 0;
201
201
  border-inline-width: calc(var(--button-border-width) / 2);
202
202
  }
@@ -205,21 +205,66 @@
205
205
  flex-direction: column;
206
206
  }
207
207
 
208
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child {
208
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):first-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):first-child {
209
209
  border-end-start-radius: 0;
210
210
  border-end-end-radius: 0;
211
211
  border-bottom-width: calc(var(--button-border-width) / 2);
212
212
  }
213
213
 
214
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child {
214
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):last-child, .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):last-child {
215
215
  border-start-start-radius: 0;
216
216
  border-start-end-radius: 0;
217
217
  border-top-width: calc(var(--button-border-width) / 2);
218
218
  }
219
219
 
220
- .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child) {
220
+ .m_80d6d844[data-orientation='vertical'] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child), .m_80d6d844[data-orientation='vertical'] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child) {
221
221
  border-radius: 0;
222
222
  border-bottom-width: calc(var(--button-border-width) / 2);
223
223
  border-top-width: calc(var(--button-border-width) / 2);
224
224
  }
225
+
226
+ .m_70be2a01 {
227
+ --section-height-xs: 30px;
228
+ --section-height-sm: 36px;
229
+ --section-height-md: 42px;
230
+ --section-height-lg: 50px;
231
+ --section-height-xl: 60px;
232
+
233
+ --section-height-compact-xs: 22px;
234
+ --section-height-compact-sm: 26px;
235
+ --section-height-compact-md: 30px;
236
+ --section-height-compact-lg: 34px;
237
+ --section-height-compact-xl: 40px;
238
+
239
+ --section-padding-x-xs: 14px;
240
+ --section-padding-x-sm: 18px;
241
+ --section-padding-x-md: 22px;
242
+ --section-padding-x-lg: 26px;
243
+ --section-padding-x-xl: 32px;
244
+
245
+ --section-padding-x-compact-xs: 7px;
246
+ --section-padding-x-compact-sm: 8px;
247
+ --section-padding-x-compact-md: 10px;
248
+ --section-padding-x-compact-lg: 12px;
249
+ --section-padding-x-compact-xl: 14px;
250
+
251
+ --section-height: var(--section-height-sm);
252
+ --section-padding-x: var(--section-padding-x-sm);
253
+ --section-color: var(--mantine-color-white);
254
+
255
+ font-weight: 600;
256
+ width: auto;
257
+ border-radius: var(--section-radius, var(--mantine-radius-default));
258
+ font-size: var(--section-fz, var(--mantine-font-size-sm));
259
+ background: var(--section-bg, var(--mantine-primary-color-filled));
260
+ border: var(--section-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
261
+ color: var(--section-color, var(--mantine-color-white));
262
+ height: var(--section-height, var(--section-height-sm));
263
+ padding-inline: var(--section-padding-x, var(--section-padding-x-sm));
264
+ vertical-align: middle;
265
+ line-height: 1;
266
+ display: inline-flex;
267
+ align-items: center;
268
+ justify-content: center;
269
+ }
225
270
  }
package/styles/Table.css CHANGED
@@ -1,6 +1,7 @@
1
1
  .m_b23fa0ef {
2
2
  width: 100%;
3
3
  border-collapse: collapse;
4
+ border-spacing: 0;
4
5
  line-height: var(--mantine-line-height);
5
6
  font-size: var(--mantine-font-size-sm);
6
7
  table-layout: var(--table-layout, auto);
@@ -24,6 +25,22 @@
24
25
  border: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
25
26
  }
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
+
27
44
  .m_4e7aa4f3 {
28
45
  text-align: left;
29
46
  }
@@ -1,6 +1,7 @@
1
1
  @layer mantine {.m_b23fa0ef {
2
2
  width: 100%;
3
3
  border-collapse: collapse;
4
+ border-spacing: 0;
4
5
  line-height: var(--mantine-line-height);
5
6
  font-size: var(--mantine-font-size-sm);
6
7
  table-layout: var(--table-layout, auto);
@@ -24,6 +25,22 @@
24
25
  border: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color);
25
26
  }
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
+
27
44
  .m_4e7aa4f3 {
28
45
  text-align: left;
29
46
  }