@opentiny/tiny-robot 0.2.0-alpha.4 → 0.2.0-alpha.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/action-group/index.js +70 -68
- package/dist/bubble/index.js +18 -17
- package/dist/close.js +1 -1
- package/dist/container/index.js +9 -9
- package/dist/dropdown-menu/index.js +72 -0
- package/dist/feedback/index.js +33 -33
- package/dist/flow-layout-buttons/index.js +123 -0
- package/dist/history/index.js +44 -44
- package/dist/icon-button/index.js +17 -16
- package/dist/index.d.ts +380 -68
- package/dist/index.js +55 -40
- package/dist/index2.js +4588 -341
- package/dist/index3.js +457 -3847
- package/dist/index4.js +1 -1
- package/dist/index5.js +3727 -3069
- package/dist/index6.js +3107 -4493
- package/dist/question/index.js +109 -109
- package/dist/sender/index.js +892 -562
- package/dist/shared/index.js +8 -0
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +76 -76
- package/dist/suggestion-pills/index.js +120 -0
- package/dist/suggestion-popover/index.js +178 -0
- package/dist/tiny-robot-svgs.js +300 -145
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,62 +1,77 @@
|
|
|
1
1
|
import { Bubble as t, BubbleList as e } from "./bubble/index.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import p from "./
|
|
7
|
-
import
|
|
8
|
-
import T from "./
|
|
9
|
-
import l from "./
|
|
10
|
-
import
|
|
2
|
+
import n from "./container/index.js";
|
|
3
|
+
import i from "./conversations/index.js";
|
|
4
|
+
import m from "./dropdown-menu/index.js";
|
|
5
|
+
import a from "./feedback/index.js";
|
|
6
|
+
import p from "./history/index.js";
|
|
7
|
+
import u from "./icon-button/index.js";
|
|
8
|
+
import { Prompt as T, Prompts as f } from "./prompts/index.js";
|
|
9
|
+
import l from "./question/index.js";
|
|
10
|
+
import c from "./sender/index.js";
|
|
11
|
+
import g from "./welcome/index.js";
|
|
11
12
|
import b from "./suggestion/index.js";
|
|
12
|
-
|
|
13
|
+
import P from "./suggestion-popover/index.js";
|
|
14
|
+
import S, { SuggestionPillButton as d } from "./suggestion-pills/index.js";
|
|
15
|
+
const B = [
|
|
13
16
|
t,
|
|
14
17
|
e,
|
|
15
|
-
m,
|
|
16
|
-
a,
|
|
17
18
|
n,
|
|
18
19
|
i,
|
|
20
|
+
m,
|
|
21
|
+
a,
|
|
19
22
|
p,
|
|
20
|
-
|
|
21
|
-
f,
|
|
23
|
+
u,
|
|
22
24
|
T,
|
|
25
|
+
f,
|
|
23
26
|
l,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
c,
|
|
28
|
+
g,
|
|
29
|
+
b,
|
|
30
|
+
P,
|
|
31
|
+
S,
|
|
32
|
+
d
|
|
33
|
+
], Q = {
|
|
34
|
+
install(r) {
|
|
35
|
+
B.forEach((o) => {
|
|
36
|
+
const s = o.name.replace(/^Tiny/, "").replace(/^Tr/, "");
|
|
37
|
+
r.component(`Tr${s}`, o);
|
|
31
38
|
});
|
|
32
39
|
}
|
|
33
40
|
};
|
|
34
41
|
export {
|
|
35
42
|
t as Bubble,
|
|
36
43
|
e as BubbleList,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
p as
|
|
42
|
-
|
|
44
|
+
n as Container,
|
|
45
|
+
i as Conversations,
|
|
46
|
+
m as DropdownMenu,
|
|
47
|
+
a as Feedback,
|
|
48
|
+
p as History,
|
|
49
|
+
u as IconButton,
|
|
50
|
+
T as Prompt,
|
|
43
51
|
f as Prompts,
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
l as Question,
|
|
53
|
+
c as Sender,
|
|
46
54
|
b as Suggestion,
|
|
55
|
+
d as SuggestionPillButton,
|
|
56
|
+
S as SuggestionPills,
|
|
57
|
+
P as SuggestionPopover,
|
|
47
58
|
t as TrBubble,
|
|
48
59
|
e as TrBubbleList,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
p as
|
|
54
|
-
|
|
60
|
+
n as TrContainer,
|
|
61
|
+
i as TrConversations,
|
|
62
|
+
m as TrDropdownMenu,
|
|
63
|
+
a as TrFeedback,
|
|
64
|
+
p as TrHistory,
|
|
65
|
+
u as TrIconButton,
|
|
66
|
+
T as TrPrompt,
|
|
55
67
|
f as TrPrompts,
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
l as TrQuestion,
|
|
69
|
+
c as TrSender,
|
|
58
70
|
b as TrSuggestion,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
71
|
+
d as TrSuggestionPillButton,
|
|
72
|
+
S as TrSuggestionPills,
|
|
73
|
+
P as TrSuggestionPopover,
|
|
74
|
+
g as TrWelcome,
|
|
75
|
+
g as Welcome,
|
|
76
|
+
Q as default
|
|
62
77
|
};
|