apptify 0.5.1 → 0.5.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.
Files changed (67) hide show
  1. package/README.md +3 -0
  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 +8 -9
  25. package/templates/playground/{playground → src}/catalog.ts +2 -3
  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 +225 -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 +13 -7
  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
@@ -1,7 +1,10 @@
1
- import { type PropType, type Component } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  import { type Motion } from '../core/context';
3
3
  import { type AppleViewerImage } from './overlays';
4
4
  import { type PhotoSize } from '../core/image-geometry';
5
+ export { AppleLink } from './link';
6
+ import AppleCard from './AppleCard.vue';
7
+ export { AppleCard };
5
8
  export { AppleButton } from './button';
6
9
  export declare const AppleProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
10
  theme: StringConstructor;
@@ -49,6 +52,16 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
49
52
  reduced: boolean;
50
53
  set: (mode: Motion) => void;
51
54
  }>;
55
+ ripple: import("vue").Ref<{
56
+ enabled: boolean;
57
+ set: (enabled: boolean) => void;
58
+ }, {
59
+ enabled: boolean;
60
+ set(enabled: boolean): void;
61
+ } | {
62
+ enabled: boolean;
63
+ set: (enabled: boolean) => void;
64
+ }>;
52
65
  glass: import("vue").Ref<{
53
66
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
54
67
  reset: () => void;
@@ -94,7 +107,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
94
107
  name?: string | undefined;
95
108
  template?: string | object | undefined;
96
109
  render?: Function | undefined;
97
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
110
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
98
111
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
99
112
  inheritAttrs?: boolean | undefined;
100
113
  emits?: any;
@@ -155,7 +168,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
155
168
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
156
169
  FILTERS?: boolean | "suppress-warning" | undefined;
157
170
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
158
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
171
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
159
172
  } | undefined;
160
173
  data?: ((this: any, vm: any) => any) | undefined;
161
174
  computed?: import("vue").ComputedOptions | undefined;
@@ -223,7 +236,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
223
236
  name?: string | undefined;
224
237
  template?: string | object | undefined;
225
238
  render?: Function | undefined;
226
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
239
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
227
240
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
228
241
  inheritAttrs?: boolean | undefined;
229
242
  emits?: any;
@@ -284,7 +297,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
284
297
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
285
298
  FILTERS?: boolean | "suppress-warning" | undefined;
286
299
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
287
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
300
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
288
301
  } | undefined;
289
302
  data?: ((this: any, vm: any) => any) | undefined;
290
303
  computed?: import("vue").ComputedOptions | undefined;
@@ -386,6 +399,16 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
386
399
  reduced: boolean;
387
400
  set: (mode: Motion) => void;
388
401
  }>;
402
+ ripple: import("vue").Ref<{
403
+ enabled: boolean;
404
+ set: (enabled: boolean) => void;
405
+ }, {
406
+ enabled: boolean;
407
+ set(enabled: boolean): void;
408
+ } | {
409
+ enabled: boolean;
410
+ set: (enabled: boolean) => void;
411
+ }>;
389
412
  glass: import("vue").Ref<{
390
413
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
391
414
  reset: () => void;
@@ -431,7 +454,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
431
454
  name?: string | undefined;
432
455
  template?: string | object | undefined;
433
456
  render?: Function | undefined;
434
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
457
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
435
458
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
436
459
  inheritAttrs?: boolean | undefined;
437
460
  emits?: any;
@@ -492,7 +515,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
492
515
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
493
516
  FILTERS?: boolean | "suppress-warning" | undefined;
494
517
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
495
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
518
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
496
519
  } | undefined;
497
520
  data?: ((this: any, vm: any) => any) | undefined;
498
521
  computed?: import("vue").ComputedOptions | undefined;
@@ -560,7 +583,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
560
583
  name?: string | undefined;
561
584
  template?: string | object | undefined;
562
585
  render?: Function | undefined;
563
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
586
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
564
587
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
565
588
  inheritAttrs?: boolean | undefined;
566
589
  emits?: any;
@@ -621,7 +644,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
621
644
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
622
645
  FILTERS?: boolean | "suppress-warning" | undefined;
623
646
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
624
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
647
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
625
648
  } | undefined;
626
649
  data?: ((this: any, vm: any) => any) | undefined;
627
650
  computed?: import("vue").ComputedOptions | undefined;
@@ -731,6 +754,16 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
731
754
  reduced: boolean;
732
755
  set: (mode: Motion) => void;
733
756
  }>;
757
+ ripple: import("vue").Ref<{
758
+ enabled: boolean;
759
+ set: (enabled: boolean) => void;
760
+ }, {
761
+ enabled: boolean;
762
+ set(enabled: boolean): void;
763
+ } | {
764
+ enabled: boolean;
765
+ set: (enabled: boolean) => void;
766
+ }>;
734
767
  glass: import("vue").Ref<{
735
768
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
736
769
  reset: () => void;
@@ -776,7 +809,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
776
809
  name?: string | undefined;
777
810
  template?: string | object | undefined;
778
811
  render?: Function | undefined;
779
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
812
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
780
813
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
781
814
  inheritAttrs?: boolean | undefined;
782
815
  emits?: any;
@@ -837,7 +870,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
837
870
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
838
871
  FILTERS?: boolean | "suppress-warning" | undefined;
839
872
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
840
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
873
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
841
874
  } | undefined;
842
875
  data?: ((this: any, vm: any) => any) | undefined;
843
876
  computed?: import("vue").ComputedOptions | undefined;
@@ -905,7 +938,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
905
938
  name?: string | undefined;
906
939
  template?: string | object | undefined;
907
940
  render?: Function | undefined;
908
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
941
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
909
942
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
910
943
  inheritAttrs?: boolean | undefined;
911
944
  emits?: any;
@@ -966,7 +999,7 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
966
999
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
967
1000
  FILTERS?: boolean | "suppress-warning" | undefined;
968
1001
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
969
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
1002
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
970
1003
  } | undefined;
971
1004
  data?: ((this: any, vm: any) => any) | undefined;
972
1005
  computed?: import("vue").ComputedOptions | undefined;
@@ -1028,74 +1061,6 @@ export declare const AppleProvider: import("vue").DefineComponent<import("vue").
1028
1061
  dispose(): void;
1029
1062
  }>;
1030
1063
  }, true, {}, any>;
1031
- export declare const AppleLink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1032
- href: StringConstructor;
1033
- external: BooleanConstructor;
1034
- disabled: BooleanConstructor;
1035
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1036
- href: StringConstructor;
1037
- external: BooleanConstructor;
1038
- disabled: BooleanConstructor;
1039
- }>> & Readonly<{}>, {
1040
- disabled: boolean;
1041
- external: boolean;
1042
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1043
- export declare const AppleCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1044
- title: StringConstructor;
1045
- subtitle: StringConstructor;
1046
- text: StringConstructor;
1047
- eyebrow: StringConstructor;
1048
- icon: PropType<Component | string>;
1049
- iconColor: StringConstructor;
1050
- image: StringConstructor;
1051
- imageAlt: {
1052
- type: StringConstructor;
1053
- default: string;
1054
- };
1055
- href: StringConstructor;
1056
- zoom: {
1057
- type: PropType<"big" | "small" | "none">;
1058
- default: string;
1059
- };
1060
- shadow: {
1061
- type: PropType<"normal" | "static" | "focused" | "none">;
1062
- default: string;
1063
- };
1064
- motion: {
1065
- type: PropType<import("..").ComponentMotion>;
1066
- default: string;
1067
- };
1068
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1069
- title: StringConstructor;
1070
- subtitle: StringConstructor;
1071
- text: StringConstructor;
1072
- eyebrow: StringConstructor;
1073
- icon: PropType<Component | string>;
1074
- iconColor: StringConstructor;
1075
- image: StringConstructor;
1076
- imageAlt: {
1077
- type: StringConstructor;
1078
- default: string;
1079
- };
1080
- href: StringConstructor;
1081
- zoom: {
1082
- type: PropType<"big" | "small" | "none">;
1083
- default: string;
1084
- };
1085
- shadow: {
1086
- type: PropType<"normal" | "static" | "focused" | "none">;
1087
- default: string;
1088
- };
1089
- motion: {
1090
- type: PropType<import("..").ComponentMotion>;
1091
- default: string;
1092
- };
1093
- }>> & Readonly<{}>, {
1094
- shadow: "none" | "static" | "normal" | "focused";
1095
- motion: import("..").ComponentMotion;
1096
- zoom: "none" | "big" | "small";
1097
- imageAlt: string;
1098
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1099
1064
  export interface AppleImageItem extends Omit<AppleViewerImage, 'src'> {
1100
1065
  src?: string;
1101
1066
  label?: string;
@@ -1413,6 +1378,16 @@ export declare const foundationComponents: {
1413
1378
  reduced: boolean;
1414
1379
  set: (mode: Motion) => void;
1415
1380
  }>;
1381
+ ripple: import("vue").Ref<{
1382
+ enabled: boolean;
1383
+ set: (enabled: boolean) => void;
1384
+ }, {
1385
+ enabled: boolean;
1386
+ set(enabled: boolean): void;
1387
+ } | {
1388
+ enabled: boolean;
1389
+ set: (enabled: boolean) => void;
1390
+ }>;
1416
1391
  glass: import("vue").Ref<{
1417
1392
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
1418
1393
  reset: () => void;
@@ -1458,7 +1433,7 @@ export declare const foundationComponents: {
1458
1433
  name?: string | undefined;
1459
1434
  template?: string | object | undefined;
1460
1435
  render?: Function | undefined;
1461
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1436
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1462
1437
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
1463
1438
  inheritAttrs?: boolean | undefined;
1464
1439
  emits?: any;
@@ -1519,7 +1494,7 @@ export declare const foundationComponents: {
1519
1494
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1520
1495
  FILTERS?: boolean | "suppress-warning" | undefined;
1521
1496
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1522
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
1497
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
1523
1498
  } | undefined;
1524
1499
  data?: ((this: any, vm: any) => any) | undefined;
1525
1500
  computed?: import("vue").ComputedOptions | undefined;
@@ -1587,7 +1562,7 @@ export declare const foundationComponents: {
1587
1562
  name?: string | undefined;
1588
1563
  template?: string | object | undefined;
1589
1564
  render?: Function | undefined;
1590
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1565
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1591
1566
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
1592
1567
  inheritAttrs?: boolean | undefined;
1593
1568
  emits?: any;
@@ -1648,7 +1623,7 @@ export declare const foundationComponents: {
1648
1623
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1649
1624
  FILTERS?: boolean | "suppress-warning" | undefined;
1650
1625
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1651
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
1626
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
1652
1627
  } | undefined;
1653
1628
  data?: ((this: any, vm: any) => any) | undefined;
1654
1629
  computed?: import("vue").ComputedOptions | undefined;
@@ -1750,6 +1725,16 @@ export declare const foundationComponents: {
1750
1725
  reduced: boolean;
1751
1726
  set: (mode: Motion) => void;
1752
1727
  }>;
1728
+ ripple: import("vue").Ref<{
1729
+ enabled: boolean;
1730
+ set: (enabled: boolean) => void;
1731
+ }, {
1732
+ enabled: boolean;
1733
+ set(enabled: boolean): void;
1734
+ } | {
1735
+ enabled: boolean;
1736
+ set: (enabled: boolean) => void;
1737
+ }>;
1753
1738
  glass: import("vue").Ref<{
1754
1739
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
1755
1740
  reset: () => void;
@@ -1795,7 +1780,7 @@ export declare const foundationComponents: {
1795
1780
  name?: string | undefined;
1796
1781
  template?: string | object | undefined;
1797
1782
  render?: Function | undefined;
1798
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1783
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1799
1784
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
1800
1785
  inheritAttrs?: boolean | undefined;
1801
1786
  emits?: any;
@@ -1856,7 +1841,7 @@ export declare const foundationComponents: {
1856
1841
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1857
1842
  FILTERS?: boolean | "suppress-warning" | undefined;
1858
1843
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1859
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
1844
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
1860
1845
  } | undefined;
1861
1846
  data?: ((this: any, vm: any) => any) | undefined;
1862
1847
  computed?: import("vue").ComputedOptions | undefined;
@@ -1924,7 +1909,7 @@ export declare const foundationComponents: {
1924
1909
  name?: string | undefined;
1925
1910
  template?: string | object | undefined;
1926
1911
  render?: Function | undefined;
1927
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1912
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
1928
1913
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
1929
1914
  inheritAttrs?: boolean | undefined;
1930
1915
  emits?: any;
@@ -1985,7 +1970,7 @@ export declare const foundationComponents: {
1985
1970
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1986
1971
  FILTERS?: boolean | "suppress-warning" | undefined;
1987
1972
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1988
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
1973
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
1989
1974
  } | undefined;
1990
1975
  data?: ((this: any, vm: any) => any) | undefined;
1991
1976
  computed?: import("vue").ComputedOptions | undefined;
@@ -2095,6 +2080,16 @@ export declare const foundationComponents: {
2095
2080
  reduced: boolean;
2096
2081
  set: (mode: Motion) => void;
2097
2082
  }>;
2083
+ ripple: import("vue").Ref<{
2084
+ enabled: boolean;
2085
+ set: (enabled: boolean) => void;
2086
+ }, {
2087
+ enabled: boolean;
2088
+ set(enabled: boolean): void;
2089
+ } | {
2090
+ enabled: boolean;
2091
+ set: (enabled: boolean) => void;
2092
+ }>;
2098
2093
  glass: import("vue").Ref<{
2099
2094
  set: (value: Partial<import("..").AppleGlassSettings>) => void;
2100
2095
  reset: () => void;
@@ -2140,7 +2135,7 @@ export declare const foundationComponents: {
2140
2135
  name?: string | undefined;
2141
2136
  template?: string | object | undefined;
2142
2137
  render?: Function | undefined;
2143
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
2138
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
2144
2139
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
2145
2140
  inheritAttrs?: boolean | undefined;
2146
2141
  emits?: any;
@@ -2201,7 +2196,7 @@ export declare const foundationComponents: {
2201
2196
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
2202
2197
  FILTERS?: boolean | "suppress-warning" | undefined;
2203
2198
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
2204
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
2199
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
2205
2200
  } | undefined;
2206
2201
  data?: ((this: any, vm: any) => any) | undefined;
2207
2202
  computed?: import("vue").ComputedOptions | undefined;
@@ -2269,7 +2264,7 @@ export declare const foundationComponents: {
2269
2264
  name?: string | undefined;
2270
2265
  template?: string | object | undefined;
2271
2266
  render?: Function | undefined;
2272
- components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
2267
+ components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
2273
2268
  directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
2274
2269
  inheritAttrs?: boolean | undefined;
2275
2270
  emits?: any;
@@ -2330,7 +2325,7 @@ export declare const foundationComponents: {
2330
2325
  RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
2331
2326
  FILTERS?: boolean | "suppress-warning" | undefined;
2332
2327
  PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
2333
- MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
2328
+ MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3) | undefined;
2334
2329
  } | undefined;
2335
2330
  data?: ((this: any, vm: any) => any) | undefined;
2336
2331
  computed?: import("vue").ComputedOptions | undefined;
@@ -2394,14 +2389,14 @@ export declare const foundationComponents: {
2394
2389
  }, true, {}, any>;
2395
2390
  AppleButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2396
2391
  variant: {
2397
- type: PropType<"primary" | "secondary" | "outline" | "ghost" | "danger">;
2392
+ type: PropType<"primary" | "secondary" | "outline" | "danger">;
2398
2393
  default: string;
2399
2394
  };
2400
2395
  size: {
2401
2396
  type: PropType<"small" | "medium" | "large">;
2402
2397
  default: string;
2403
2398
  };
2404
- icon: PropType<Component>;
2399
+ icon: PropType<import("vue").Component>;
2405
2400
  iconOnly: BooleanConstructor;
2406
2401
  label: StringConstructor;
2407
2402
  disabled: BooleanConstructor;
@@ -2421,14 +2416,14 @@ export declare const foundationComponents: {
2421
2416
  };
2422
2417
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2423
2418
  variant: {
2424
- type: PropType<"primary" | "secondary" | "outline" | "ghost" | "danger">;
2419
+ type: PropType<"primary" | "secondary" | "outline" | "danger">;
2425
2420
  default: string;
2426
2421
  };
2427
2422
  size: {
2428
2423
  type: PropType<"small" | "medium" | "large">;
2429
2424
  default: string;
2430
2425
  };
2431
- icon: PropType<Component>;
2426
+ icon: PropType<import("vue").Component>;
2432
2427
  iconOnly: BooleanConstructor;
2433
2428
  label: StringConstructor;
2434
2429
  disabled: BooleanConstructor;
@@ -2453,55 +2448,120 @@ export declare const foundationComponents: {
2453
2448
  disabled: boolean;
2454
2449
  iconOnly: boolean;
2455
2450
  loading: boolean;
2456
- variant: "secondary" | "danger" | "primary" | "outline" | "ghost";
2451
+ variant: "secondary" | "danger" | "primary" | "outline";
2457
2452
  ripple: boolean;
2458
2453
  type: "reset" | "submit" | "button";
2459
2454
  motion: import("..").ComponentMotion;
2460
2455
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2461
2456
  AppleLink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2457
+ as: {
2458
+ type: PropType<"a" | "button">;
2459
+ default: string;
2460
+ };
2462
2461
  href: StringConstructor;
2463
2462
  external: BooleanConstructor;
2464
2463
  disabled: BooleanConstructor;
2465
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2464
+ icon: PropType<import("vue").Component>;
2465
+ iconOnly: BooleanConstructor;
2466
+ label: StringConstructor;
2467
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2468
+ as: {
2469
+ type: PropType<"a" | "button">;
2470
+ default: string;
2471
+ };
2466
2472
  href: StringConstructor;
2467
2473
  external: BooleanConstructor;
2468
2474
  disabled: BooleanConstructor;
2469
- }>> & Readonly<{}>, {
2475
+ icon: PropType<import("vue").Component>;
2476
+ iconOnly: BooleanConstructor;
2477
+ label: StringConstructor;
2478
+ }>> & Readonly<{
2479
+ onClick?: ((...args: any[]) => any) | undefined;
2480
+ }>, {
2470
2481
  disabled: boolean;
2482
+ iconOnly: boolean;
2471
2483
  external: boolean;
2484
+ as: "a" | "button";
2472
2485
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2473
- AppleCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2474
- title: StringConstructor;
2475
- subtitle: StringConstructor;
2476
- text: StringConstructor;
2477
- eyebrow: StringConstructor;
2478
- icon: PropType<Component | string>;
2486
+ AppleCard: {
2487
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
2488
+ icon: PropType<import("vue").Component | string>;
2489
+ iconColor: StringConstructor;
2490
+ title: StringConstructor;
2491
+ subtitle: StringConstructor;
2492
+ text: StringConstructor;
2493
+ eyebrow: StringConstructor;
2494
+ image: StringConstructor;
2495
+ imageAlt: {
2496
+ type: StringConstructor;
2497
+ default: string;
2498
+ };
2499
+ href: StringConstructor;
2500
+ zoom: {
2501
+ type: PropType<"big" | "small" | "none">;
2502
+ default: string;
2503
+ };
2504
+ shadow: {
2505
+ type: PropType<"normal" | "static" | "focused" | "none">;
2506
+ default: string;
2507
+ };
2508
+ motion: {
2509
+ type: PropType<import("..").ComponentMotion>;
2510
+ default: string;
2511
+ };
2512
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
2513
+ shadow: "none" | "static" | "normal" | "focused";
2514
+ motion: import("..").ComponentMotion;
2515
+ zoom: "none" | "big" | "small";
2516
+ imageAlt: string;
2517
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
2518
+ P: {};
2519
+ B: {};
2520
+ D: {};
2521
+ C: {};
2522
+ M: {};
2523
+ Defaults: {};
2524
+ }, Readonly<import("vue").ExtractPropTypes<{
2525
+ icon: PropType<import("vue").Component | string>;
2526
+ iconColor: StringConstructor;
2527
+ title: StringConstructor;
2528
+ subtitle: StringConstructor;
2529
+ text: StringConstructor;
2530
+ eyebrow: StringConstructor;
2531
+ image: StringConstructor;
2532
+ imageAlt: {
2533
+ type: StringConstructor;
2534
+ default: string;
2535
+ };
2536
+ href: StringConstructor;
2537
+ zoom: {
2538
+ type: PropType<"big" | "small" | "none">;
2539
+ default: string;
2540
+ };
2541
+ shadow: {
2542
+ type: PropType<"normal" | "static" | "focused" | "none">;
2543
+ default: string;
2544
+ };
2545
+ motion: {
2546
+ type: PropType<import("..").ComponentMotion>;
2547
+ default: string;
2548
+ };
2549
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
2550
+ shadow: "none" | "static" | "normal" | "focused";
2551
+ motion: import("..").ComponentMotion;
2552
+ zoom: "none" | "big" | "small";
2553
+ imageAlt: string;
2554
+ }>;
2555
+ __isFragment?: never;
2556
+ __isTeleport?: never;
2557
+ __isSuspense?: never;
2558
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
2559
+ icon: PropType<import("vue").Component | string>;
2479
2560
  iconColor: StringConstructor;
2480
- image: StringConstructor;
2481
- imageAlt: {
2482
- type: StringConstructor;
2483
- default: string;
2484
- };
2485
- href: StringConstructor;
2486
- zoom: {
2487
- type: PropType<"big" | "small" | "none">;
2488
- default: string;
2489
- };
2490
- shadow: {
2491
- type: PropType<"normal" | "static" | "focused" | "none">;
2492
- default: string;
2493
- };
2494
- motion: {
2495
- type: PropType<import("..").ComponentMotion>;
2496
- default: string;
2497
- };
2498
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2499
2561
  title: StringConstructor;
2500
2562
  subtitle: StringConstructor;
2501
2563
  text: StringConstructor;
2502
2564
  eyebrow: StringConstructor;
2503
- icon: PropType<Component | string>;
2504
- iconColor: StringConstructor;
2505
2565
  image: StringConstructor;
2506
2566
  imageAlt: {
2507
2567
  type: StringConstructor;
@@ -2520,12 +2580,24 @@ export declare const foundationComponents: {
2520
2580
  type: PropType<import("..").ComponentMotion>;
2521
2581
  default: string;
2522
2582
  };
2523
- }>> & Readonly<{}>, {
2583
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
2524
2584
  shadow: "none" | "static" | "normal" | "focused";
2525
2585
  motion: import("..").ComponentMotion;
2526
2586
  zoom: "none" | "big" | "small";
2527
2587
  imageAlt: string;
2528
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2588
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2589
+ $slots: {
2590
+ media?: (props: {}) => any;
2591
+ } & {
2592
+ icon?: (props: {}) => any;
2593
+ } & {
2594
+ title?: (props: {}) => any;
2595
+ } & {
2596
+ default?: (props: {}) => any;
2597
+ } & {
2598
+ actions?: (props: {}) => any;
2599
+ };
2600
+ });
2529
2601
  AppleImage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2530
2602
  preview: {
2531
2603
  type: BooleanConstructor;
@@ -0,0 +1,31 @@
1
+ import { type Component, type PropType } from 'vue';
2
+ export declare const AppleLink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ as: {
4
+ type: PropType<"a" | "button">;
5
+ default: string;
6
+ };
7
+ href: StringConstructor;
8
+ external: BooleanConstructor;
9
+ disabled: BooleanConstructor;
10
+ icon: PropType<Component>;
11
+ iconOnly: BooleanConstructor;
12
+ label: StringConstructor;
13
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ as: {
15
+ type: PropType<"a" | "button">;
16
+ default: string;
17
+ };
18
+ href: StringConstructor;
19
+ external: BooleanConstructor;
20
+ disabled: BooleanConstructor;
21
+ icon: PropType<Component>;
22
+ iconOnly: BooleanConstructor;
23
+ label: StringConstructor;
24
+ }>> & Readonly<{
25
+ onClick?: ((...args: any[]) => any) | undefined;
26
+ }>, {
27
+ disabled: boolean;
28
+ iconOnly: boolean;
29
+ external: boolean;
30
+ as: "a" | "button";
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;