@mantine-vue/table 2.2.2 → 2.3.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/index.cjs +10 -22
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +11 -23
- package/esm/index.mjs.map +1 -1
- package/lib/mantine.types.d.ts +3 -27
- package/lib/types.d.ts +1 -1
- package/package.json +4 -4
package/lib/mantine.types.d.ts
CHANGED
|
@@ -2,31 +2,7 @@
|
|
|
2
2
|
* Mantine component prop-type bridge.
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
5
|
-
import { type AutocompleteProps, type BoxProps, type ModalProps, type MultiSelectProps, type SelectProps } from '@mantine-vue/core';
|
|
6
|
-
export type { AutocompleteProps, BoxProps, ModalProps, MultiSelectProps, SelectProps };
|
|
7
|
-
/** Permissive stand-in for a Mantine Vue component's props (Box props + passthrough attributes). */
|
|
8
|
-
type MantineComponentProps = BoxProps & Record<string, any>;
|
|
9
|
-
export type ActionIconProps = MantineComponentProps;
|
|
10
|
-
export type AlertProps = MantineComponentProps;
|
|
11
|
-
export type BadgeProps = MantineComponentProps;
|
|
12
|
-
export type CheckboxProps = MantineComponentProps;
|
|
13
|
-
export type HighlightProps = MantineComponentProps;
|
|
14
|
-
export type LoadingOverlayProps = MantineComponentProps;
|
|
15
|
-
export type PaginationProps = MantineComponentProps;
|
|
16
|
-
export type PaperProps = MantineComponentProps;
|
|
17
|
-
export type ProgressProps = MantineComponentProps;
|
|
18
|
-
export type RadioProps = MantineComponentProps;
|
|
19
|
-
export type RangeSliderProps = MantineComponentProps;
|
|
20
|
-
export type SkeletonProps = MantineComponentProps;
|
|
21
|
-
export type SwitchProps = MantineComponentProps;
|
|
22
|
-
export type TextInputProps = MantineComponentProps;
|
|
23
|
-
export type UnstyledButtonProps = MantineComponentProps;
|
|
24
|
-
export type TableProps = MantineComponentProps;
|
|
25
|
-
export type TableTbodyProps = MantineComponentProps;
|
|
26
|
-
export type TableTdProps = MantineComponentProps;
|
|
27
|
-
export type TableTfootProps = MantineComponentProps;
|
|
28
|
-
export type TableTheadProps = MantineComponentProps;
|
|
29
|
-
export type TableThProps = MantineComponentProps;
|
|
30
|
-
export type TableTrProps = MantineComponentProps;
|
|
5
|
+
import { type ActionIconProps, type AlertProps, type AutocompleteProps, type BadgeProps, type BoxProps, type CheckboxProps, type HighlightProps, type LoadingOverlayProps, type ModalProps, type MultiSelectProps, type PaginationProps, type PaperProps, type ProgressProps, type RadioProps, type RangeSliderProps, type SelectProps, type SkeletonProps, type SwitchProps, type TableProps, type TableTbodyProps, type TableTdProps, type TableTfootProps, type TableThProps, type TableTheadProps, type TableTrProps, type TextInputProps, type UnstyledButtonProps } from '@mantine-vue/core';
|
|
6
|
+
export type { ActionIconProps, AlertProps, AutocompleteProps, BadgeProps, BoxProps, CheckboxProps, HighlightProps, LoadingOverlayProps, ModalProps, MultiSelectProps, PaginationProps, PaperProps, ProgressProps, RadioProps, RangeSliderProps, SelectProps, SkeletonProps, SwitchProps, TableProps, TableTbodyProps, TableTdProps, TableTfootProps, TableThProps, TableTheadProps, TableTrProps, TextInputProps, UnstyledButtonProps, };
|
|
31
7
|
/** From `@mantine-vue/dates` not yet exported as a named interface. */
|
|
32
|
-
export type DateInputProps =
|
|
8
|
+
export type DateInputProps = BoxProps & Record<string, any>;
|
package/lib/types.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export type Xor<A, B> = Prettify<{
|
|
|
33
33
|
export type HTMLPropsRef<T extends HTMLElement> = {
|
|
34
34
|
ref?: Ref<null | T> | null;
|
|
35
35
|
style?: CSSProperties;
|
|
36
|
-
} & Omit<Partial<HTMLAttributes>, 'color' | 'label' | 'ref' | 'style' | 'title'>;
|
|
36
|
+
} & Omit<Partial<HTMLAttributes>, 'color' | 'label' | 'ref' | 'style' | 'title'> & Record<string, any>;
|
|
37
37
|
export type MantineShade = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
38
38
|
export type MVT_PaginationProps = {
|
|
39
39
|
rowsPerPageOptions?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/table",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "A fully featured Vue 3 implementation of TanStack Vue Table",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data grid",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"vue": "^3.5.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@mantine-vue/core": "2.
|
|
69
|
-
"@mantine-vue/dates": "2.
|
|
70
|
-
"@mantine-vue/hooks": "2.
|
|
68
|
+
"@mantine-vue/core": "2.3.0",
|
|
69
|
+
"@mantine-vue/dates": "2.3.0",
|
|
70
|
+
"@mantine-vue/hooks": "2.3.0",
|
|
71
71
|
"@tabler/icons-vue": ">=3.0.0",
|
|
72
72
|
"@tanstack/match-sorter-utils": ">=8.7",
|
|
73
73
|
"@tanstack/vue-table": ">=8.20",
|