apptify 0.5.1 → 0.6.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 (67) hide show
  1. package/README.md +19 -66
  2. package/dist/apptify.css +1 -1
  3. package/dist/apptify.js +2298 -2140
  4. package/dist/components/AppleCard.vue.d.ts +76 -0
  5. package/dist/components/button.d.ts +3 -3
  6. package/dist/components/content.d.ts +0 -90
  7. package/dist/components/foundation.d.ts +201 -129
  8. package/dist/components/link.d.ts +31 -0
  9. package/dist/components/overlays.d.ts +8 -2
  10. package/dist/core/context.d.ts +11 -0
  11. package/dist/core/overlay-surface.d.ts +6 -0
  12. package/dist/core/popup-motion.d.ts +5 -5
  13. package/dist/core/popup-placement.d.ts +3 -2
  14. package/dist/index.d.ts +144 -79
  15. package/docs/COMPONENTS.md +23 -9
  16. package/docs/INPUT-WORKSHOP.md +59 -0
  17. package/docs/PLAYGROUND-TEMPLATE.md +9 -9
  18. package/package.json +5 -1
  19. package/templates/playground/README.md +4 -4
  20. package/templates/playground/index.html +1 -1
  21. package/templates/playground/package.json +6 -2
  22. package/templates/playground/source-snapshot.json +138 -53
  23. package/templates/playground/{playground → src}/App.vue +5 -4
  24. package/templates/playground/{playground → src}/ComponentDemo.vue +9 -10
  25. package/templates/playground/{playground → src}/catalog.ts +3 -4
  26. package/templates/playground/src/components/ComponentIndex.vue +43 -0
  27. package/templates/playground/src/components/DirectoryDialog.vue +20 -0
  28. package/templates/playground/src/components/PageFooter.vue +7 -0
  29. package/templates/playground/{playground → src}/components/UserMenu.vue +11 -11
  30. package/templates/playground/src/editor/AppleInputExample.vue +78 -0
  31. package/templates/playground/src/editor/AppleInputPreview.vue +82 -0
  32. package/templates/playground/src/editor/ComponentDocumentLink.vue +19 -0
  33. package/templates/playground/src/editor/ComponentWorkshop.vue +81 -0
  34. package/templates/playground/src/editor/ConfigurableEditor.vue +35 -0
  35. package/templates/playground/src/editor/LiveVueEditor.vue +133 -0
  36. package/templates/playground/src/editor/apple-input-source.ts +2 -0
  37. package/templates/playground/src/editor/apple-input.ts +48 -0
  38. package/templates/playground/src/editor/contract.ts +14 -0
  39. package/templates/playground/src/editor/documents.ts +20 -0
  40. package/templates/playground/src/editor/input-playground.ts +59 -0
  41. package/templates/playground/src/editor/runtime.ts +5 -0
  42. package/templates/playground/src/editor/sections.ts +10 -0
  43. package/templates/playground/{playground → src}/style.css +40 -39
  44. package/templates/playground/{playground → src}/views/[...all].vue +2 -2
  45. package/templates/playground/src/views/component-docs/[component].vue +162 -0
  46. package/templates/playground/src/views/components.vue +148 -0
  47. package/templates/playground/src/views/index.vue +73 -0
  48. package/templates/playground/src/views/settings.vue +224 -0
  49. package/templates/playground/tooling/playground-editor.mjs +114 -0
  50. package/templates/playground/tooling/prepare-input-source.mjs +38 -0
  51. package/templates/playground/tsconfig.json +2 -2
  52. package/templates/playground/vite.config.ts +3 -1
  53. package/tooling/playground-editor.mjs +114 -0
  54. package/tooling/prepare-input-source.mjs +38 -0
  55. package/tooling/prepare-playground.mjs +27 -14
  56. package/tooling/test-create-apptify.mjs +15 -5
  57. package/tooling/test-playground-package.mjs +25 -11
  58. package/templates/playground/playground/components/ComponentIndex.vue +0 -62
  59. package/templates/playground/playground/components/PageFooter.vue +0 -3
  60. package/templates/playground/playground/views/components.vue +0 -126
  61. package/templates/playground/playground/views/index.vue +0 -75
  62. package/templates/playground/playground/views/settings.vue +0 -98
  63. /package/templates/playground/{playground → src}/components/not-found-paper-scene.vue +0 -0
  64. /package/templates/playground/{playground → src}/components/not-found-paper-story.ts +0 -0
  65. /package/templates/playground/{playground → src}/env.d.ts +0 -0
  66. /package/templates/playground/{playground → src}/main.ts +0 -0
  67. /package/templates/playground/{playground → src}/router/index.ts +0 -0
@@ -0,0 +1,76 @@
1
+ import { type Component, type PropType } from 'vue';
2
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
3
+ type __VLS_Slots = {} & {
4
+ media?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ icon?: (props: typeof __VLS_3) => any;
7
+ } & {
8
+ title?: (props: typeof __VLS_9) => any;
9
+ } & {
10
+ default?: (props: typeof __VLS_11) => any;
11
+ } & {
12
+ actions?: (props: typeof __VLS_13) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
+ icon: PropType<Component | string>;
16
+ iconColor: StringConstructor;
17
+ title: StringConstructor;
18
+ subtitle: StringConstructor;
19
+ text: StringConstructor;
20
+ eyebrow: StringConstructor;
21
+ image: StringConstructor;
22
+ imageAlt: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ href: StringConstructor;
27
+ zoom: {
28
+ type: PropType<"big" | "small" | "none">;
29
+ default: string;
30
+ };
31
+ shadow: {
32
+ type: PropType<"normal" | "static" | "focused" | "none">;
33
+ default: string;
34
+ };
35
+ motion: {
36
+ type: PropType<import("..").ComponentMotion>;
37
+ default: string;
38
+ };
39
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ icon: PropType<Component | string>;
41
+ iconColor: StringConstructor;
42
+ title: StringConstructor;
43
+ subtitle: StringConstructor;
44
+ text: StringConstructor;
45
+ eyebrow: StringConstructor;
46
+ image: StringConstructor;
47
+ imageAlt: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ href: StringConstructor;
52
+ zoom: {
53
+ type: PropType<"big" | "small" | "none">;
54
+ default: string;
55
+ };
56
+ shadow: {
57
+ type: PropType<"normal" | "static" | "focused" | "none">;
58
+ default: string;
59
+ };
60
+ motion: {
61
+ type: PropType<import("..").ComponentMotion>;
62
+ default: string;
63
+ };
64
+ }>> & Readonly<{}>, {
65
+ shadow: "none" | "static" | "normal" | "focused";
66
+ motion: import("..").ComponentMotion;
67
+ zoom: "none" | "big" | "small";
68
+ imageAlt: string;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
71
+ export default _default;
72
+ type __VLS_WithSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
@@ -1,7 +1,7 @@
1
1
  import { type PropType, type Component } from 'vue';
2
2
  export declare const AppleButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  variant: {
4
- type: PropType<"primary" | "secondary" | "outline" | "ghost" | "danger">;
4
+ type: PropType<"primary" | "secondary" | "outline" | "danger">;
5
5
  default: string;
6
6
  };
7
7
  size: {
@@ -28,7 +28,7 @@ export declare const AppleButton: import("vue").DefineComponent<import("vue").Ex
28
28
  };
29
29
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  variant: {
31
- type: PropType<"primary" | "secondary" | "outline" | "ghost" | "danger">;
31
+ type: PropType<"primary" | "secondary" | "outline" | "danger">;
32
32
  default: string;
33
33
  };
34
34
  size: {
@@ -60,7 +60,7 @@ export declare const AppleButton: import("vue").DefineComponent<import("vue").Ex
60
60
  disabled: boolean;
61
61
  iconOnly: boolean;
62
62
  loading: boolean;
63
- variant: "secondary" | "danger" | "primary" | "outline" | "ghost";
63
+ variant: "secondary" | "danger" | "primary" | "outline";
64
64
  ripple: boolean;
65
65
  type: "reset" | "submit" | "button";
66
66
  motion: import("..").ComponentMotion;
@@ -1234,51 +1234,6 @@ export declare const AppleFloatingGroup: import("vue").DefineComponent<import("v
1234
1234
  threshold: number;
1235
1235
  backTop: boolean;
1236
1236
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1237
- export declare const AppleMarquee: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1238
- text: {
1239
- type: StringConstructor;
1240
- default: string;
1241
- };
1242
- duration: {
1243
- type: NumberConstructor;
1244
- default: number;
1245
- };
1246
- paused: BooleanConstructor;
1247
- label: {
1248
- type: StringConstructor;
1249
- default: string;
1250
- };
1251
- motion: {
1252
- type: PropType<Motion>;
1253
- default: string;
1254
- };
1255
- }>, {}, {
1256
- userPaused: boolean;
1257
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1258
- text: {
1259
- type: StringConstructor;
1260
- default: string;
1261
- };
1262
- duration: {
1263
- type: NumberConstructor;
1264
- default: number;
1265
- };
1266
- paused: BooleanConstructor;
1267
- label: {
1268
- type: StringConstructor;
1269
- default: string;
1270
- };
1271
- motion: {
1272
- type: PropType<Motion>;
1273
- default: string;
1274
- };
1275
- }>> & Readonly<{}>, {
1276
- text: string;
1277
- duration: number;
1278
- label: string;
1279
- motion: Motion;
1280
- paused: boolean;
1281
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1282
1237
  export declare const AppleStatistic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1283
1238
  value: {
1284
1239
  type: (NumberConstructor | StringConstructor)[];
@@ -2647,51 +2602,6 @@ export declare const contentComponents: {
2647
2602
  threshold: number;
2648
2603
  backTop: boolean;
2649
2604
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2650
- AppleMarquee: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2651
- text: {
2652
- type: StringConstructor;
2653
- default: string;
2654
- };
2655
- duration: {
2656
- type: NumberConstructor;
2657
- default: number;
2658
- };
2659
- paused: BooleanConstructor;
2660
- label: {
2661
- type: StringConstructor;
2662
- default: string;
2663
- };
2664
- motion: {
2665
- type: PropType<Motion>;
2666
- default: string;
2667
- };
2668
- }>, {}, {
2669
- userPaused: boolean;
2670
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2671
- text: {
2672
- type: StringConstructor;
2673
- default: string;
2674
- };
2675
- duration: {
2676
- type: NumberConstructor;
2677
- default: number;
2678
- };
2679
- paused: BooleanConstructor;
2680
- label: {
2681
- type: StringConstructor;
2682
- default: string;
2683
- };
2684
- motion: {
2685
- type: PropType<Motion>;
2686
- default: string;
2687
- };
2688
- }>> & Readonly<{}>, {
2689
- text: string;
2690
- duration: number;
2691
- label: string;
2692
- motion: Motion;
2693
- paused: boolean;
2694
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2695
2605
  AppleStatistic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2696
2606
  value: {
2697
2607
  type: (NumberConstructor | StringConstructor)[];