@opentiny/tiny-robot 0.3.0-alpha.2 → 0.3.0-alpha.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.
- package/dist/action-group/index.js +45 -42
- package/dist/base-popper/index.js +4 -0
- package/dist/bubble/index.js +1359 -2141
- package/dist/close.js +1 -1
- package/dist/container/index.js +4 -4
- package/dist/dropdown-menu/index.js +79 -64
- package/dist/feedback/index.js +43 -43
- package/dist/flow-layout-buttons/index.js +36 -33
- package/dist/history/index.js +43 -43
- package/dist/icon-button/index.js +18 -19
- package/dist/index.d.ts +562 -1945
- package/dist/index.js +43 -58
- package/dist/index2.js +359 -290
- package/dist/index3.js +137 -298
- package/dist/index4.js +269 -591
- package/dist/index5.js +528 -2048
- package/dist/index6.js +2069 -4665
- package/dist/index7.js +4749 -0
- package/dist/question/index.js +55 -55
- package/dist/sender/index.js +994 -1184
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +74 -74
- package/dist/suggestion-pills/index.js +125 -158
- package/dist/suggestion-popover/index.js +246 -219
- package/dist/tiny-robot-svgs.js +158 -211
- package/dist/useSlotRefs.js +36 -0
- package/dist/utils.js +4 -15
- package/package.json +3 -4
- package/dist/loading.js +0 -4
package/dist/index.js
CHANGED
|
@@ -1,84 +1,69 @@
|
|
|
1
|
-
import { Bubble as s, BubbleList as
|
|
2
|
-
import
|
|
3
|
-
import i from "./
|
|
4
|
-
import a from "./conversations/index.js";
|
|
1
|
+
import { Bubble as s, BubbleList as e } from "./bubble/index.js";
|
|
2
|
+
import n from "./container/index.js";
|
|
3
|
+
import i from "./conversations/index.js";
|
|
5
4
|
import m from "./dropdown-menu/index.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import a from "./feedback/index.js";
|
|
6
|
+
import p from "./history/index.js";
|
|
8
7
|
import l from "./icon-button/index.js";
|
|
9
|
-
import { Prompt as T, Prompts as
|
|
10
|
-
import f from "./
|
|
11
|
-
import g from "./
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
import P, { SuggestionPillButton as S } from "./suggestion-pills/index.js";
|
|
16
|
-
const v = [
|
|
8
|
+
import { Prompt as T, Prompts as u } from "./prompts/index.js";
|
|
9
|
+
import f from "./sender/index.js";
|
|
10
|
+
import c, { SuggestionPillButton as g } from "./suggestion-pills/index.js";
|
|
11
|
+
import b from "./suggestion-popover/index.js";
|
|
12
|
+
import P from "./welcome/index.js";
|
|
13
|
+
const d = [
|
|
17
14
|
s,
|
|
18
|
-
|
|
15
|
+
e,
|
|
19
16
|
n,
|
|
20
17
|
i,
|
|
21
|
-
a,
|
|
22
18
|
m,
|
|
19
|
+
a,
|
|
23
20
|
p,
|
|
24
|
-
u,
|
|
25
21
|
l,
|
|
26
22
|
T,
|
|
27
|
-
|
|
23
|
+
u,
|
|
28
24
|
f,
|
|
29
|
-
g,
|
|
30
25
|
c,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
P
|
|
34
|
-
S
|
|
26
|
+
g,
|
|
27
|
+
b,
|
|
28
|
+
P
|
|
35
29
|
], L = {
|
|
36
|
-
install(
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
|
|
30
|
+
install(r) {
|
|
31
|
+
d.forEach((o) => {
|
|
32
|
+
const t = o.name.replace(/^Tiny/, "").replace(/^Tr/, "");
|
|
33
|
+
r.component(`Tr${t}`, o);
|
|
40
34
|
});
|
|
41
35
|
}
|
|
42
36
|
};
|
|
43
37
|
export {
|
|
44
38
|
s as Bubble,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
q as BubbleMessageClassRenderer,
|
|
49
|
-
n as BubbleProvider,
|
|
50
|
-
i as Container,
|
|
51
|
-
a as Conversations,
|
|
39
|
+
e as BubbleList,
|
|
40
|
+
n as Container,
|
|
41
|
+
i as Conversations,
|
|
52
42
|
m as DropdownMenu,
|
|
53
|
-
|
|
54
|
-
|
|
43
|
+
a as Feedback,
|
|
44
|
+
p as History,
|
|
55
45
|
l as IconButton,
|
|
56
46
|
T as Prompt,
|
|
57
|
-
|
|
58
|
-
f as
|
|
59
|
-
g as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
P as SuggestionPills,
|
|
63
|
-
B as SuggestionPopover,
|
|
47
|
+
u as Prompts,
|
|
48
|
+
f as Sender,
|
|
49
|
+
g as SuggestionPillButton,
|
|
50
|
+
c as SuggestionPills,
|
|
51
|
+
b as SuggestionPopover,
|
|
64
52
|
s as TrBubble,
|
|
65
|
-
|
|
66
|
-
n as
|
|
67
|
-
i as
|
|
68
|
-
a as TrConversations,
|
|
53
|
+
e as TrBubbleList,
|
|
54
|
+
n as TrContainer,
|
|
55
|
+
i as TrConversations,
|
|
69
56
|
m as TrDropdownMenu,
|
|
70
|
-
|
|
71
|
-
|
|
57
|
+
a as TrFeedback,
|
|
58
|
+
p as TrHistory,
|
|
72
59
|
l as TrIconButton,
|
|
73
60
|
T as TrPrompt,
|
|
74
|
-
|
|
75
|
-
f as
|
|
76
|
-
g as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
P as
|
|
80
|
-
|
|
81
|
-
c as TrWelcome,
|
|
82
|
-
c as Welcome,
|
|
61
|
+
u as TrPrompts,
|
|
62
|
+
f as TrSender,
|
|
63
|
+
g as TrSuggestionPillButton,
|
|
64
|
+
c as TrSuggestionPills,
|
|
65
|
+
b as TrSuggestionPopover,
|
|
66
|
+
P as TrWelcome,
|
|
67
|
+
P as Welcome,
|
|
83
68
|
L as default
|
|
84
69
|
};
|