apptify 0.2.0 → 0.5.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/README.md +95 -22
- package/dist/apptify.css +1 -1
- package/dist/apptify.js +4153 -2177
- package/dist/components/button.d.ts +1 -1
- package/dist/components/content.d.ts +73 -362
- package/dist/components/date-picker.d.ts +10 -0
- package/dist/components/forms.d.ts +77 -18
- package/dist/components/foundation.d.ts +2061 -111
- package/dist/components/gallery-scrollbar.d.ts +46 -0
- package/dist/components/mobile-image-viewer.d.ts +166 -0
- package/dist/components/navibar.d.ts +80 -0
- package/dist/components/overlays.d.ts +127 -158
- package/dist/components/tabs.d.ts +117 -0
- package/dist/core/context.d.ts +573 -9
- package/dist/core/desktop-image-enter.d.ts +6 -0
- package/dist/core/desktop-image-return.d.ts +1 -0
- package/dist/core/device.d.ts +5 -0
- package/dist/core/image-gallery-motion.d.ts +2 -0
- package/dist/core/image-geometry.d.ts +28 -0
- package/dist/core/image-motion.d.ts +18 -0
- package/dist/core/layers.d.ts +2 -0
- package/dist/core/motion.d.ts +2 -0
- package/dist/core/popup-motion.d.ts +12 -0
- package/dist/core/popup-placement.d.ts +31 -0
- package/dist/core/preview-navigation.d.ts +5 -0
- package/dist/index.d.ts +1214 -339
- package/docs/COMPONENTS.md +17 -15
- package/docs/PLAYGROUND-TEMPLATE.md +74 -0
- package/docs/VALIDATION.md +24 -0
- package/package.json +26 -7
- package/templates/playground/README.md +17 -0
- package/templates/playground/gitignore +3 -0
- package/templates/playground/index.html +26 -0
- package/templates/playground/package.json +26 -0
- package/templates/playground/playground/App.vue +73 -0
- package/templates/playground/playground/ComponentDemo.vue +234 -0
- package/templates/playground/playground/catalog.ts +80 -0
- package/templates/playground/playground/components/ComponentIndex.vue +62 -0
- package/templates/playground/playground/components/PageFooter.vue +3 -0
- package/templates/playground/playground/components/UserMenu.vue +132 -0
- package/templates/playground/playground/components/not-found-paper-scene.vue +210 -0
- package/templates/playground/playground/components/not-found-paper-story.ts +149 -0
- package/templates/playground/playground/env.d.ts +1 -0
- package/templates/playground/playground/main.ts +8 -0
- package/templates/playground/playground/router/index.ts +24 -0
- package/templates/playground/playground/style.css +228 -0
- package/templates/playground/playground/views/[...all].vue +68 -0
- package/templates/playground/playground/views/components.vue +126 -0
- package/templates/playground/playground/views/index.vue +75 -0
- package/templates/playground/playground/views/settings.vue +98 -0
- package/templates/playground/public/images/SOURCES.md +21 -0
- package/templates/playground/public/images/airpods-max-orange.jpg +0 -0
- package/templates/playground/public/images/architecture.jpg +0 -0
- package/templates/playground/public/images/city.jpg +0 -0
- package/templates/playground/public/images/coast.jpg +0 -0
- package/templates/playground/public/images/desert.jpg +0 -0
- package/templates/playground/public/images/food.jpg +0 -0
- package/templates/playground/public/images/forest.jpg +0 -0
- package/templates/playground/public/images/lake.jpg +0 -0
- package/templates/playground/public/images/mountains.jpg +0 -0
- package/templates/playground/public/images/snow.jpg +0 -0
- package/templates/playground/public/images/sunset.jpg +0 -0
- package/templates/playground/public/images/waterfall.jpg +0 -0
- package/templates/playground/source-snapshot.json +111 -0
- package/templates/playground/tsconfig.json +24 -0
- package/templates/playground/vite.config.ts +9 -0
- package/tooling/create-playground.mjs +35 -0
- package/tooling/prepare-package.mjs +35 -0
- package/tooling/prepare-playground.mjs +90 -0
- package/tooling/test-playground-package.mjs +188 -0
- package/tooling/vite.d.ts +5 -0
- package/tooling/vite.js +10 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { AppleItem, AppleValue } from './content';
|
|
3
|
+
type Motion = 'inherit' | 'auto' | 'full' | 'reduced' | 'none';
|
|
4
|
+
export declare const AppleTabs: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
variant: {
|
|
6
|
+
type: PropType<"underline" | "bar">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: PropType<AppleValue>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: BooleanConstructor;
|
|
18
|
+
items: {
|
|
19
|
+
type: PropType<AppleItem[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
motion: {
|
|
23
|
+
type: PropType<Motion>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {
|
|
27
|
+
uid: string;
|
|
28
|
+
}, {
|
|
29
|
+
localValue: AppleValue | undefined;
|
|
30
|
+
backward: boolean;
|
|
31
|
+
panelPoses: Map<string, string>;
|
|
32
|
+
}, {
|
|
33
|
+
activeValue(): AppleValue | undefined;
|
|
34
|
+
activeItem(): AppleItem | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
select(item: AppleItem): void;
|
|
37
|
+
keydown(event: KeyboardEvent, index: number): void;
|
|
38
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
variant: {
|
|
40
|
+
type: PropType<"underline" | "bar">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: PropType<AppleValue>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
label: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
disabled: BooleanConstructor;
|
|
52
|
+
items: {
|
|
53
|
+
type: PropType<AppleItem[]>;
|
|
54
|
+
default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
motion: {
|
|
57
|
+
type: PropType<Motion>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
label: string;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
variant: "bar" | "underline";
|
|
67
|
+
motion: Motion;
|
|
68
|
+
modelValue: AppleValue;
|
|
69
|
+
items: AppleItem[];
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
export declare const AppleTabBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
72
|
+
modelValue: {
|
|
73
|
+
type: PropType<AppleValue>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
label: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
disabled: BooleanConstructor;
|
|
81
|
+
items: {
|
|
82
|
+
type: PropType<AppleItem[]>;
|
|
83
|
+
default: () => never[];
|
|
84
|
+
};
|
|
85
|
+
motion: {
|
|
86
|
+
type: PropType<Motion>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: PropType<AppleValue>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
label: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
disabled: BooleanConstructor;
|
|
99
|
+
items: {
|
|
100
|
+
type: PropType<AppleItem[]>;
|
|
101
|
+
default: () => never[];
|
|
102
|
+
};
|
|
103
|
+
motion: {
|
|
104
|
+
type: PropType<Motion>;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{
|
|
108
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
label: string;
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
motion: Motion;
|
|
114
|
+
modelValue: AppleValue;
|
|
115
|
+
items: AppleItem[];
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
export {};
|