@40rty/ams-ui 0.5.4 → 0.5.6
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/dist/{chunk-2QRYXSCB.js → chunk-CKNELL6G.js} +582 -823
- package/dist/{chunk-JQNZ5UUK.js → chunk-I5QE47QY.js} +12 -41
- package/dist/chunk-WDL5PHO2.js +36 -0
- package/dist/chunk-WVD2Y2N2.js +318 -0
- package/dist/conversation.js +10 -7
- package/dist/css/shell/spacefront-island.css +113 -74
- package/dist/index.js +12 -12
- package/dist/island.js +80 -51
- package/dist/shell.js +19 -11
- package/dist/types/catalog-data/content.d.ts +16 -16
- package/dist/types/catalog-data/ecommerce.d.ts +88 -88
- package/dist/types/catalog-data/social.d.ts +28 -28
- package/dist/types/conversation/blocks/schemas.d.ts +72 -72
- package/dist/types/shell/SpacefrontIsland.d.ts +13 -10
- package/dist/types/shell/index.d.ts +1 -1
- package/dist/types/shell/mobile/MorphIsland.d.ts +1 -1
- package/dist/types/shell/mobile/{hero-entry-point.d.ts → entry-point.d.ts} +35 -14
- package/dist/types/shell/mobile/island-metrics.d.ts +1 -1
- package/dist/types/shell/use-scroll-edges.d.ts +15 -0
- package/package.json +2 -2
package/dist/shell.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
AnimatedPlaceholder,
|
|
4
|
-
AttachButton,
|
|
5
|
-
AttachmentStrip,
|
|
6
4
|
BottomSheet,
|
|
7
5
|
Button,
|
|
8
6
|
ChromeSurface,
|
|
@@ -12,13 +10,11 @@ import {
|
|
|
12
10
|
ConversationHistoryButton,
|
|
13
11
|
ConversationTransition,
|
|
14
12
|
DefaultMobileShell,
|
|
15
|
-
DictationButton,
|
|
16
13
|
ISLAND_BOTTOM_GAP,
|
|
17
14
|
ISLAND_KEYBOARD_GAP,
|
|
18
15
|
InlineCompletion,
|
|
19
16
|
KEYBOARD_LIKELY_MIN_PX,
|
|
20
17
|
LauncherDock,
|
|
21
|
-
ListeningWaveform,
|
|
22
18
|
MenuDrawer,
|
|
23
19
|
MenuFlyout,
|
|
24
20
|
MenuNavBar,
|
|
@@ -36,11 +32,13 @@ import {
|
|
|
36
32
|
VoiceControl,
|
|
37
33
|
VoiceIsland,
|
|
38
34
|
resolveShellSlot,
|
|
39
|
-
|
|
35
|
+
useClaimEntryPoint,
|
|
36
|
+
useEntryPoint,
|
|
37
|
+
useFocusWithin,
|
|
40
38
|
useOnScreen,
|
|
41
39
|
usePromptComposer,
|
|
42
40
|
useShellDock
|
|
43
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CKNELL6G.js";
|
|
44
42
|
import {
|
|
45
43
|
SIDE_DOCK_EASE,
|
|
46
44
|
SIDE_DOCK_REVEAL_MS,
|
|
@@ -48,14 +46,22 @@ import {
|
|
|
48
46
|
useSideDockSpacing
|
|
49
47
|
} from "./chunk-H6MSAD5M.js";
|
|
50
48
|
import {
|
|
51
|
-
DragSheet
|
|
52
|
-
|
|
53
|
-
} from "./chunk-JQNZ5UUK.js";
|
|
49
|
+
DragSheet
|
|
50
|
+
} from "./chunk-I5QE47QY.js";
|
|
54
51
|
import "./chunk-2HM6EVDV.js";
|
|
55
52
|
import "./chunk-RMJDSHLA.js";
|
|
56
|
-
import "./chunk-432XYPDT.js";
|
|
57
53
|
import "./chunk-PHXP2SKS.js";
|
|
58
54
|
import "./chunk-GQURT3IR.js";
|
|
55
|
+
import {
|
|
56
|
+
AttachButton,
|
|
57
|
+
AttachmentStrip,
|
|
58
|
+
DictationButton,
|
|
59
|
+
ListeningWaveform
|
|
60
|
+
} from "./chunk-WVD2Y2N2.js";
|
|
61
|
+
import {
|
|
62
|
+
Spinner
|
|
63
|
+
} from "./chunk-WDL5PHO2.js";
|
|
64
|
+
import "./chunk-432XYPDT.js";
|
|
59
65
|
export {
|
|
60
66
|
AnimatedPlaceholder,
|
|
61
67
|
AttachButton,
|
|
@@ -98,7 +104,9 @@ export {
|
|
|
98
104
|
VoiceControl,
|
|
99
105
|
VoiceIsland,
|
|
100
106
|
resolveShellSlot,
|
|
101
|
-
|
|
107
|
+
useClaimEntryPoint,
|
|
108
|
+
useEntryPoint,
|
|
109
|
+
useFocusWithin,
|
|
102
110
|
useOnScreen,
|
|
103
111
|
usePromptComposer,
|
|
104
112
|
useShellDock,
|
|
@@ -410,8 +410,8 @@ export declare const blogPostsProps: z.ZodObject<{
|
|
|
410
410
|
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
id: string;
|
|
413
|
-
handle: string;
|
|
414
413
|
title: string;
|
|
414
|
+
handle: string;
|
|
415
415
|
content: string;
|
|
416
416
|
tags: string[];
|
|
417
417
|
author: string;
|
|
@@ -476,8 +476,8 @@ export declare const blogPostsProps: z.ZodObject<{
|
|
|
476
476
|
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
478
|
id: string;
|
|
479
|
-
handle: string;
|
|
480
479
|
title: string;
|
|
480
|
+
handle: string;
|
|
481
481
|
content: string;
|
|
482
482
|
tags: string[];
|
|
483
483
|
author: string;
|
|
@@ -553,8 +553,8 @@ export declare const blogPostsProps: z.ZodObject<{
|
|
|
553
553
|
title: string;
|
|
554
554
|
articles: {
|
|
555
555
|
id: string;
|
|
556
|
-
handle: string;
|
|
557
556
|
title: string;
|
|
557
|
+
handle: string;
|
|
558
558
|
content: string;
|
|
559
559
|
tags: string[];
|
|
560
560
|
author: string;
|
|
@@ -571,8 +571,8 @@ export declare const blogPostsProps: z.ZodObject<{
|
|
|
571
571
|
contentHtml?: string | undefined;
|
|
572
572
|
} | {
|
|
573
573
|
id: string;
|
|
574
|
-
handle: string;
|
|
575
574
|
title: string;
|
|
575
|
+
handle: string;
|
|
576
576
|
content: string;
|
|
577
577
|
tags: string[];
|
|
578
578
|
author: string;
|
|
@@ -687,8 +687,8 @@ export declare const articleDetailProps: z.ZodObject<{
|
|
|
687
687
|
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
689
|
id: string;
|
|
690
|
-
handle: string;
|
|
691
690
|
title: string;
|
|
691
|
+
handle: string;
|
|
692
692
|
content: string;
|
|
693
693
|
tags: string[];
|
|
694
694
|
author: string;
|
|
@@ -753,8 +753,8 @@ export declare const articleDetailProps: z.ZodObject<{
|
|
|
753
753
|
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
754
754
|
}, "strip", z.ZodTypeAny, {
|
|
755
755
|
id: string;
|
|
756
|
-
handle: string;
|
|
757
756
|
title: string;
|
|
757
|
+
handle: string;
|
|
758
758
|
content: string;
|
|
759
759
|
tags: string[];
|
|
760
760
|
author: string;
|
|
@@ -791,8 +791,8 @@ export declare const articleDetailProps: z.ZodObject<{
|
|
|
791
791
|
}, "strip", z.ZodTypeAny, {
|
|
792
792
|
article: {
|
|
793
793
|
id: string;
|
|
794
|
-
handle: string;
|
|
795
794
|
title: string;
|
|
795
|
+
handle: string;
|
|
796
796
|
content: string;
|
|
797
797
|
tags: string[];
|
|
798
798
|
author: string;
|
|
@@ -809,8 +809,8 @@ export declare const articleDetailProps: z.ZodObject<{
|
|
|
809
809
|
contentHtml?: string | undefined;
|
|
810
810
|
} | {
|
|
811
811
|
id: string;
|
|
812
|
-
handle: string;
|
|
813
812
|
title: string;
|
|
813
|
+
handle: string;
|
|
814
814
|
content: string;
|
|
815
815
|
tags: string[];
|
|
816
816
|
author: string;
|
|
@@ -879,8 +879,8 @@ export declare const pageDetailProps: z.ZodObject<{
|
|
|
879
879
|
seoDescription: z.ZodOptional<z.ZodString>;
|
|
880
880
|
}, "strip", z.ZodTypeAny, {
|
|
881
881
|
id: string;
|
|
882
|
-
handle: string;
|
|
883
882
|
title: string;
|
|
883
|
+
handle: string;
|
|
884
884
|
body: string;
|
|
885
885
|
bodySummary: string;
|
|
886
886
|
updatedAt: string;
|
|
@@ -909,8 +909,8 @@ export declare const pageDetailProps: z.ZodObject<{
|
|
|
909
909
|
seoDescription: z.ZodOptional<z.ZodString>;
|
|
910
910
|
}, "strip", z.ZodTypeAny, {
|
|
911
911
|
id: string;
|
|
912
|
-
handle: string;
|
|
913
912
|
title: string;
|
|
913
|
+
handle: string;
|
|
914
914
|
body: string;
|
|
915
915
|
bodySummary: string;
|
|
916
916
|
updatedAt: string;
|
|
@@ -931,8 +931,8 @@ export declare const pageDetailProps: z.ZodObject<{
|
|
|
931
931
|
}, "strip", z.ZodTypeAny, {
|
|
932
932
|
page: {
|
|
933
933
|
id: string;
|
|
934
|
-
handle: string;
|
|
935
934
|
title: string;
|
|
935
|
+
handle: string;
|
|
936
936
|
body: string;
|
|
937
937
|
bodySummary: string;
|
|
938
938
|
updatedAt: string;
|
|
@@ -941,8 +941,8 @@ export declare const pageDetailProps: z.ZodObject<{
|
|
|
941
941
|
seoDescription?: string | undefined;
|
|
942
942
|
} | {
|
|
943
943
|
id: string;
|
|
944
|
-
handle: string;
|
|
945
944
|
title: string;
|
|
945
|
+
handle: string;
|
|
946
946
|
body: string;
|
|
947
947
|
bodySummary: string;
|
|
948
948
|
updatedAt: string;
|
|
@@ -986,8 +986,8 @@ export declare const policyDetailProps: z.ZodObject<{
|
|
|
986
986
|
}, "strip", z.ZodTypeAny, {
|
|
987
987
|
kind: string;
|
|
988
988
|
id: string;
|
|
989
|
-
handle: string;
|
|
990
989
|
title: string;
|
|
990
|
+
handle: string;
|
|
991
991
|
url: string;
|
|
992
992
|
body: string;
|
|
993
993
|
bodyHtml?: string | undefined;
|
|
@@ -1010,8 +1010,8 @@ export declare const policyDetailProps: z.ZodObject<{
|
|
|
1010
1010
|
}, "strip", z.ZodTypeAny, {
|
|
1011
1011
|
kind: string;
|
|
1012
1012
|
id: string;
|
|
1013
|
-
handle: string;
|
|
1014
1013
|
title: string;
|
|
1014
|
+
handle: string;
|
|
1015
1015
|
url: string;
|
|
1016
1016
|
body: string;
|
|
1017
1017
|
bodyHtml?: string | undefined;
|
|
@@ -1031,16 +1031,16 @@ export declare const policyDetailProps: z.ZodObject<{
|
|
|
1031
1031
|
policy: {
|
|
1032
1032
|
kind: string;
|
|
1033
1033
|
id: string;
|
|
1034
|
-
handle: string;
|
|
1035
1034
|
title: string;
|
|
1035
|
+
handle: string;
|
|
1036
1036
|
url: string;
|
|
1037
1037
|
body: string;
|
|
1038
1038
|
bodyHtml?: string | undefined;
|
|
1039
1039
|
} | {
|
|
1040
1040
|
kind: string;
|
|
1041
1041
|
id: string;
|
|
1042
|
-
handle: string;
|
|
1043
1042
|
title: string;
|
|
1043
|
+
handle: string;
|
|
1044
1044
|
url: string;
|
|
1045
1045
|
body: string;
|
|
1046
1046
|
bodyHtml?: string | undefined;
|