vuetify-masonry 0.0.2 → 0.0.4
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.
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type NbMasonryColumns = 1 | 2 | 3 | 4 | 6 | 12;
|
|
2
|
+
export type ColProp = NbMasonryColumns | `${NbMasonryColumns}`;
|
|
3
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
5
|
+
col?: ColProp;
|
|
6
|
+
items?: T[];
|
|
7
|
+
xs?: ColProp;
|
|
8
|
+
sm?: ColProp;
|
|
9
|
+
md?: ColProp;
|
|
10
|
+
lg?: ColProp;
|
|
11
|
+
xl?: ColProp;
|
|
12
|
+
xxl?: ColProp;
|
|
13
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
14
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: {
|
|
17
|
+
item?(_: {
|
|
18
|
+
item: T;
|
|
19
|
+
index: number;
|
|
20
|
+
columnIndex: number;
|
|
21
|
+
}): any;
|
|
22
|
+
};
|
|
23
|
+
emit: {};
|
|
24
|
+
}>) => import('vue').VNode & {
|
|
25
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_PrettifyLocal<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-masonry",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "A simple Vuetify-compatible masonry grid Vue 3 component",
|
|
5
5
|
"main": "dist/vuetify-masonry.umd.js",
|
|
6
6
|
"module": "dist/vuetify-masonry.mjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
9
10
|
"import": "./dist/vuetify-masonry.mjs",
|
|
10
11
|
"require": "./dist/vuetify-masonry.umd.js"
|
|
11
12
|
}
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
28
29
|
"typescript": "^5.0.0",
|
|
29
30
|
"vite": "^7.3.0",
|
|
31
|
+
"vite-plugin-dts": "^4.5.4",
|
|
30
32
|
"vue": "^3.2.0",
|
|
31
33
|
"vuetify": "^3.0.0"
|
|
32
34
|
}
|