@orion-ds/react 4.2.8 → 4.2.9
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/components/Accordion/Accordion.module.css +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.module.css +1 -1
- package/dist/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/Card/Card.types.d.ts +2 -0
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/components/CodeEditor/CodeEditor.types.d.ts.map +1 -1
- package/dist/components/NavTree/NavTree.d.ts.map +1 -1
- package/dist/components/NavTree/NavTree.module.css +1 -1
- package/dist/components/NavTree/NavTree.stories.d.ts.map +1 -1
- package/dist/components/NavTree/NavTree.types.d.ts +2 -2
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.module.css +1 -1
- package/dist/components/SearchInput/SearchInput.stories.d.ts +1 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.types.d.ts +5 -1
- package/dist/components/SearchInput/SearchInput.types.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.module.css +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +6 -0
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/components/UserMenu/UserMenu.d.ts.map +1 -1
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.d.ts.map +1 -1
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.types.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/examples/LandingPage.example.d.ts.map +1 -1
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.mjs +1 -1
- package/dist/index100.cjs +1 -1
- package/dist/index100.mjs +62 -33
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +16 -24
- package/dist/index102.cjs +1 -1
- package/dist/index102.mjs +28 -26
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +30 -40
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +40 -53
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +36 -62
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +53 -29
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +46 -20
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +14 -18
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +28 -30
- package/dist/index11.cjs +1 -1
- package/dist/index11.mjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +65 -30
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +24 -46
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +35 -52
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +30 -28
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +32 -44
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +57 -12
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +18 -30
- package/dist/index117.cjs +1 -1
- package/dist/index117.mjs +12 -32
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +64 -33
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +28 -30
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +32 -35
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +76 -36
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +33 -20
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +40 -14
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +53 -27
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +42 -18
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +19 -37
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +37 -29
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +28 -24
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +36 -28
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +18 -28
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +18 -28
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +234 -42
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +34 -53
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +44 -37
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +170 -50
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +186 -19
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +27 -153
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +88 -216
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +53 -29
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +66 -42
- package/dist/index141.cjs +1 -1
- package/dist/index141.mjs +124 -44
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +108 -16
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +111 -46
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +122 -64
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +214 -30
- package/dist/index146.cjs +1 -1
- package/dist/index146.mjs +41 -39
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +27 -32
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +46 -62
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +24 -42
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +24 -24
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +20 -40
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +24 -18
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +28 -76
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +39 -66
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +22 -65
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +63 -39
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +12 -234
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +34 -34
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +73 -69
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +21 -44
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +42 -170
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +21 -186
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +29 -29
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +44 -90
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +63 -53
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +28 -66
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +20 -124
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +67 -108
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +30 -111
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +24 -122
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +44 -214
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +46 -106
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +28 -22
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +106 -18
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +52 -64
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +45 -18
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +36 -55
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +55 -12
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +50 -38
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +29 -25
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +52 -45
- package/dist/index185.cjs +1 -1
- package/dist/index185.mjs +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.mjs +2 -2
- package/dist/index20.cjs +1 -1
- package/dist/index20.mjs +14 -14
- package/dist/index21.cjs +1 -1
- package/dist/index21.mjs +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.mjs +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.mjs +56 -36
- package/dist/index24.cjs +1 -1
- package/dist/index24.mjs +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.mjs +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.mjs +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.mjs +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.mjs +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.mjs +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.mjs +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.mjs +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.mjs +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.mjs +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.mjs +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.mjs +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.mjs +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.mjs +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.mjs +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.mjs +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.mjs +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.mjs +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.mjs +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.mjs +1 -1
- package/dist/index48.mjs +95 -31
- package/dist/index49.cjs +1 -1
- package/dist/index49.mjs +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.mjs +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.mjs +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.mjs +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.mjs +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.mjs +82 -78
- package/dist/index54.cjs +1 -1
- package/dist/index54.mjs +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.mjs +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.mjs +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.mjs +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.mjs +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.mjs +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.mjs +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.mjs +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.mjs +42 -39
- package/dist/index64.cjs +1 -1
- package/dist/index64.mjs +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.mjs +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.mjs +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.mjs +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.mjs +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.mjs +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.mjs +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.mjs +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.mjs +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.mjs +17 -15
- package/dist/index73.cjs +1 -1
- package/dist/index73.mjs +1 -1
- package/dist/index76.cjs +1 -1
- package/dist/index76.mjs +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.mjs +1 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.mjs +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.mjs +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.mjs +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.mjs +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.mjs +21 -3
- package/dist/index82.cjs +1 -1
- package/dist/index82.mjs +2 -2
- package/dist/index9.cjs +1 -1
- package/dist/index9.mjs +1 -1
- package/dist/index94.mjs +3 -1
- package/dist/index97.cjs +1 -1
- package/dist/index97.mjs +154 -24
- package/dist/index98.cjs +1 -1
- package/dist/index98.mjs +218 -46
- package/dist/index99.cjs +1 -1
- package/dist/index99.mjs +30 -55
- package/dist/styles.css +6 -5
- package/dist/theme.css +1 -0
- package/dist/tokens/brands.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index162.mjs
CHANGED
|
@@ -1,188 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
allowAttachments: R = !0,
|
|
13
|
-
allowVoiceRecording: z = !0,
|
|
14
|
-
allowAudioUpload: ne = !0,
|
|
15
|
-
disabled: s = !1,
|
|
16
|
-
maxLength: f,
|
|
17
|
-
acceptedFileTypes: w = [
|
|
18
|
-
"image/*",
|
|
19
|
-
"audio/*",
|
|
20
|
-
".pdf",
|
|
21
|
-
".doc",
|
|
22
|
-
".docx",
|
|
23
|
-
".txt"
|
|
24
|
-
],
|
|
25
|
-
isLoading: i = !1,
|
|
26
|
-
pendingAttachments: x,
|
|
27
|
-
onRemoveAttachment: B,
|
|
28
|
-
className: j,
|
|
29
|
-
...k
|
|
30
|
-
}, o) => {
|
|
31
|
-
const [g, h] = O(!1), m = X(null), {
|
|
32
|
-
value: v,
|
|
33
|
-
setValue: D,
|
|
34
|
-
attachments: F,
|
|
35
|
-
addAttachments: l,
|
|
36
|
-
removeAttachment: I,
|
|
37
|
-
handleSubmit: A,
|
|
38
|
-
handleKeyDown: V,
|
|
39
|
-
textareaRef: b,
|
|
40
|
-
isEmpty: P
|
|
41
|
-
} = Y({
|
|
42
|
-
maxLength: f,
|
|
43
|
-
onSend: p,
|
|
44
|
-
disabled: s || i
|
|
45
|
-
}), u = x || F, M = B || I, W = r(
|
|
46
|
-
(e) => {
|
|
47
|
-
b.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
|
|
48
|
-
},
|
|
49
|
-
[o, b]
|
|
50
|
-
), K = r(
|
|
51
|
-
(e) => {
|
|
52
|
-
const a = e.target.files;
|
|
53
|
-
a && a.length > 0 && l(Array.from(a)), m.current && (m.current.value = "");
|
|
54
|
-
},
|
|
55
|
-
[l]
|
|
56
|
-
), T = r(
|
|
57
|
-
(e) => {
|
|
58
|
-
const a = e.clipboardData.items, d = [];
|
|
59
|
-
for (const C of a)
|
|
60
|
-
if (C.type.startsWith("image/")) {
|
|
61
|
-
const N = C.getAsFile();
|
|
62
|
-
N && d.push(N);
|
|
63
|
-
}
|
|
64
|
-
d.length > 0 && (e.preventDefault(), l(d));
|
|
65
|
-
},
|
|
66
|
-
[l]
|
|
67
|
-
), U = r(
|
|
68
|
-
(e) => {
|
|
69
|
-
const a = Object.assign(e, {
|
|
70
|
-
name: `voice-${Date.now()}.webm`,
|
|
71
|
-
lastModified: Date.now()
|
|
72
|
-
});
|
|
73
|
-
l([a]), h(!1);
|
|
74
|
-
},
|
|
75
|
-
[l]
|
|
76
|
-
), $ = r(() => {
|
|
77
|
-
s || i || A();
|
|
78
|
-
}, [s, i, A]), y = !P || u.length > 0;
|
|
79
|
-
return /* @__PURE__ */ t(
|
|
80
|
-
"div",
|
|
81
|
-
{
|
|
82
|
-
className: [n.inputContainer, j].filter(Boolean).join(" "),
|
|
83
|
-
children: /* @__PURE__ */ c("div", { className: n.inputWrapper, children: [
|
|
84
|
-
u.length > 0 && /* @__PURE__ */ t("div", { className: n.pendingAttachments, children: u.map((e, a) => /* @__PURE__ */ c("div", { className: n.pendingAttachment, children: [
|
|
85
|
-
ee(e),
|
|
86
|
-
/* @__PURE__ */ t("span", { children: e.name }),
|
|
87
|
-
/* @__PURE__ */ c("span", { className: n.pendingAttachmentSize, children: [
|
|
88
|
-
"(",
|
|
89
|
-
L(e.size),
|
|
90
|
-
")"
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ t(
|
|
93
|
-
"button",
|
|
94
|
-
{
|
|
95
|
-
className: n.pendingAttachmentRemove,
|
|
96
|
-
onClick: () => M(a),
|
|
97
|
-
"aria-label": `Remove ${e.name}`,
|
|
98
|
-
children: /* @__PURE__ */ t(_, { size: 14 })
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
] }, a)) }),
|
|
102
|
-
g && /* @__PURE__ */ t(
|
|
103
|
-
Z,
|
|
104
|
-
{
|
|
105
|
-
onRecordingComplete: U,
|
|
106
|
-
onCancel: () => h(!1)
|
|
107
|
-
}
|
|
108
|
-
),
|
|
109
|
-
!g && /* @__PURE__ */ c("div", { className: n.inputBox, children: [
|
|
110
|
-
R && /* @__PURE__ */ c("div", { className: n.inputActions, children: [
|
|
111
|
-
/* @__PURE__ */ t(
|
|
112
|
-
"input",
|
|
113
|
-
{
|
|
114
|
-
ref: m,
|
|
115
|
-
type: "file",
|
|
116
|
-
accept: w.join(","),
|
|
117
|
-
multiple: !0,
|
|
118
|
-
onChange: K,
|
|
119
|
-
style: { display: "none" },
|
|
120
|
-
"aria-hidden": "true"
|
|
121
|
-
}
|
|
122
|
-
),
|
|
123
|
-
/* @__PURE__ */ t(
|
|
124
|
-
"button",
|
|
125
|
-
{
|
|
126
|
-
className: n.inputButton,
|
|
127
|
-
onClick: () => m.current?.click(),
|
|
128
|
-
disabled: s || i,
|
|
129
|
-
"aria-label": "Attach file",
|
|
130
|
-
title: "Attach file",
|
|
131
|
-
children: /* @__PURE__ */ t(q, { size: 20 })
|
|
132
|
-
}
|
|
133
|
-
)
|
|
134
|
-
] }),
|
|
135
|
-
/* @__PURE__ */ t(
|
|
136
|
-
"textarea",
|
|
137
|
-
{
|
|
138
|
-
ref: W,
|
|
139
|
-
className: n.inputTextarea,
|
|
140
|
-
value: v,
|
|
141
|
-
onChange: (e) => D(e.target.value),
|
|
142
|
-
onKeyDown: V,
|
|
143
|
-
onPaste: T,
|
|
144
|
-
placeholder: S,
|
|
145
|
-
disabled: s || i,
|
|
146
|
-
maxLength: f,
|
|
147
|
-
rows: 1,
|
|
148
|
-
"aria-label": "Message input",
|
|
149
|
-
...k
|
|
150
|
-
}
|
|
151
|
-
),
|
|
152
|
-
/* @__PURE__ */ c("div", { className: n.inputActions, children: [
|
|
153
|
-
z && !v && u.length === 0 && /* @__PURE__ */ t(
|
|
154
|
-
"button",
|
|
155
|
-
{
|
|
156
|
-
className: n.inputButton,
|
|
157
|
-
onClick: () => h(!0),
|
|
158
|
-
disabled: s || i,
|
|
159
|
-
"aria-label": "Record voice message",
|
|
160
|
-
title: "Record voice message",
|
|
161
|
-
children: /* @__PURE__ */ t(G, { size: 20 })
|
|
162
|
-
}
|
|
163
|
-
),
|
|
164
|
-
/* @__PURE__ */ t(
|
|
165
|
-
"button",
|
|
166
|
-
{
|
|
167
|
-
className: [
|
|
168
|
-
n.inputButton,
|
|
169
|
-
y && n.inputButtonPrimary
|
|
170
|
-
].filter(Boolean).join(" "),
|
|
171
|
-
onClick: $,
|
|
172
|
-
disabled: s || i || !y,
|
|
173
|
-
"aria-label": "Send message",
|
|
174
|
-
title: "Send message",
|
|
175
|
-
children: i ? /* @__PURE__ */ t("span", { className: n.inputSpinner }) : /* @__PURE__ */ t(H, { size: 20 })
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
] })
|
|
179
|
-
] })
|
|
180
|
-
] })
|
|
181
|
-
}
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
);
|
|
185
|
-
te.displayName = "ChatInput";
|
|
1
|
+
const e = "_skeleton_1gy8f_9", n = "_text_1gy8f_18", _ = "_circular_1gy8f_24", t = "_rectangular_1gy8f_28", s = "_rounded_1gy8f_32", o = "_pulse_1gy8f_40", c = "_wave_1gy8f_44", l = "_none_1gy8f_65", r = "_lines_1gy8f_92", a = {
|
|
2
|
+
skeleton: e,
|
|
3
|
+
text: n,
|
|
4
|
+
circular: _,
|
|
5
|
+
rectangular: t,
|
|
6
|
+
rounded: s,
|
|
7
|
+
pulse: o,
|
|
8
|
+
wave: c,
|
|
9
|
+
none: l,
|
|
10
|
+
lines: r
|
|
11
|
+
};
|
|
186
12
|
export {
|
|
187
|
-
|
|
13
|
+
_ as circular,
|
|
14
|
+
a as default,
|
|
15
|
+
r as lines,
|
|
16
|
+
l as none,
|
|
17
|
+
o as pulse,
|
|
18
|
+
t as rectangular,
|
|
19
|
+
s as rounded,
|
|
20
|
+
e as skeleton,
|
|
21
|
+
n as text,
|
|
22
|
+
c as wave
|
|
188
23
|
};
|
package/dist/index163.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s="_breadcrumb_12bqk_8",e="_item_12bqk_20",_="_link_12bqk_26",o="_current_12bqk_49",c="_separator_12bqk_59",n="_chevron_12bqk_69",t="_slash_12bqk_86",r="_icon_12bqk_94",l="_homeIcon_12bqk_112",i="_ellipsis_12bqk_120",b="_sm_12bqk_135",m="_md_12bqk_158",a="_lg_12bqk_175",k={breadcrumb:s,item:e,link:_,current:o,separator:c,chevron:n,slash:t,icon:r,homeIcon:l,ellipsis:i,sm:b,md:m,lg:a};exports.breadcrumb=s;exports.chevron=n;exports.current=o;exports.default=k;exports.ellipsis=i;exports.homeIcon=l;exports.icon=r;exports.item=e;exports.lg=a;exports.link=_;exports.md=m;exports.separator=c;exports.slash=t;exports.sm=b;
|
package/dist/index163.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: [
|
|
19
|
-
e.messageBubble,
|
|
20
|
-
e.messageBubbleAssistant,
|
|
21
|
-
e.thinkingBubble
|
|
22
|
-
].join(" "),
|
|
23
|
-
children: /* @__PURE__ */ s("span", { className: e.thinkingSpinner })
|
|
24
|
-
}
|
|
25
|
-
) })
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
t.displayName = "ChatTypingIndicator";
|
|
1
|
+
const _ = "_breadcrumb_12bqk_8", s = "_item_12bqk_20", o = "_link_12bqk_26", c = "_current_12bqk_49", n = "_separator_12bqk_59", t = "_chevron_12bqk_69", e = "_slash_12bqk_86", r = "_icon_12bqk_94", b = "_homeIcon_12bqk_112", l = "_ellipsis_12bqk_120", k = "_sm_12bqk_135", i = "_md_12bqk_158", m = "_lg_12bqk_175", a = {
|
|
2
|
+
breadcrumb: _,
|
|
3
|
+
item: s,
|
|
4
|
+
link: o,
|
|
5
|
+
current: c,
|
|
6
|
+
separator: n,
|
|
7
|
+
chevron: t,
|
|
8
|
+
slash: e,
|
|
9
|
+
icon: r,
|
|
10
|
+
homeIcon: b,
|
|
11
|
+
ellipsis: l,
|
|
12
|
+
sm: k,
|
|
13
|
+
md: i,
|
|
14
|
+
lg: m
|
|
15
|
+
};
|
|
29
16
|
export {
|
|
30
|
-
|
|
17
|
+
_ as breadcrumb,
|
|
18
|
+
t as chevron,
|
|
19
|
+
c as current,
|
|
20
|
+
a as default,
|
|
21
|
+
l as ellipsis,
|
|
22
|
+
b as homeIcon,
|
|
23
|
+
r as icon,
|
|
24
|
+
s as item,
|
|
25
|
+
m as lg,
|
|
26
|
+
o as link,
|
|
27
|
+
i as md,
|
|
28
|
+
n as separator,
|
|
29
|
+
e as slash,
|
|
30
|
+
k as sm
|
|
31
31
|
};
|
package/dist/index164.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_metricCards_19r8j_8",r="_card_19r8j_33",a="_interactive_19r8j_49",c="_loading_19r8j_63",_="_cardHeader_19r8j_71",t="_cardIcon_19r8j_77",o="_label_19r8j_88",n="_cardBody_19r8j_100",s="_value_19r8j_107",i="_skeleton_19r8j_116",l="_pulse_19r8j_1",d="_sparkline_19r8j_134",j="_cardFooter_19r8j_143",v="_change_19r8j_150",p="_positive_19r8j_159",g="_negative_19r8j_163",u="_changeLabel_19r8j_167",b="_description_19r8j_173",h={metricCards:e,"cols-2":"_cols-2_19r8j_13","cols-3":"_cols-3_19r8j_17","cols-4":"_cols-4_19r8j_21","cols-5":"_cols-5_19r8j_25",card:r,interactive:a,loading:c,cardHeader:_,cardIcon:t,label:o,cardBody:n,value:s,skeleton:i,pulse:l,sparkline:d,cardFooter:j,change:v,positive:p,negative:g,changeLabel:u,description:b,"variant-compact":"_variant-compact_19r8j_184","variant-detailed":"_variant-detailed_19r8j_214"};exports.card=r;exports.cardBody=n;exports.cardFooter=j;exports.cardHeader=_;exports.cardIcon=t;exports.change=v;exports.changeLabel=u;exports.default=h;exports.description=b;exports.interactive=a;exports.label=o;exports.loading=c;exports.metricCards=e;exports.negative=g;exports.positive=p;exports.pulse=l;exports.skeleton=i;exports.sparkline=d;exports.value=s;
|
package/dist/index164.mjs
CHANGED
|
@@ -1,93 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
...C
|
|
27
|
-
}) => {
|
|
28
|
-
const [a, i] = g(!1);
|
|
29
|
-
let l = "dark";
|
|
30
|
-
try {
|
|
31
|
-
l = L().theme;
|
|
32
|
-
} catch {
|
|
33
|
-
}
|
|
34
|
-
const u = k(async () => {
|
|
35
|
-
try {
|
|
36
|
-
await navigator.clipboard.writeText(e), i(!0), setTimeout(() => i(!1), 2e3);
|
|
37
|
-
} catch (n) {
|
|
38
|
-
console.error("Failed to copy code:", n);
|
|
39
|
-
}
|
|
40
|
-
}, [e]), c = N(s), f = l === "light" ? B : b;
|
|
41
|
-
return /* @__PURE__ */ r(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
className: [t.codeBlock, y].filter(Boolean).join(" "),
|
|
45
|
-
...C,
|
|
46
|
-
children: [
|
|
47
|
-
/* @__PURE__ */ r("div", { className: t.codeBlockHeader, children: [
|
|
48
|
-
/* @__PURE__ */ o("span", { className: t.codeBlockLanguage, children: c }),
|
|
49
|
-
p && /* @__PURE__ */ o(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
className: [t.codeBlockCopy, a && t.codeBlockCopied].filter(Boolean).join(" "),
|
|
53
|
-
onClick: u,
|
|
54
|
-
"aria-label": a ? "Copied!" : "Copy code",
|
|
55
|
-
children: a ? /* @__PURE__ */ r(d, { children: [
|
|
56
|
-
/* @__PURE__ */ o(j, { size: 14 }),
|
|
57
|
-
"Copied!"
|
|
58
|
-
] }) : /* @__PURE__ */ r(d, { children: [
|
|
59
|
-
/* @__PURE__ */ o(v, { size: 14 }),
|
|
60
|
-
"Copy"
|
|
61
|
-
] })
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
] }),
|
|
65
|
-
/* @__PURE__ */ o("div", { className: t.codeBlockContent, style: { maxHeight: h }, children: /* @__PURE__ */ o(
|
|
66
|
-
x,
|
|
67
|
-
{
|
|
68
|
-
language: c,
|
|
69
|
-
style: f,
|
|
70
|
-
showLineNumbers: m,
|
|
71
|
-
customStyle: {
|
|
72
|
-
margin: 0,
|
|
73
|
-
padding: 0,
|
|
74
|
-
background: "transparent",
|
|
75
|
-
fontSize: "inherit",
|
|
76
|
-
lineHeight: "inherit"
|
|
77
|
-
},
|
|
78
|
-
codeTagProps: {
|
|
79
|
-
style: {
|
|
80
|
-
fontFamily: "var(--font-mono)"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
children: e
|
|
84
|
-
}
|
|
85
|
-
) })
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
);
|
|
1
|
+
const _ = "_metricCards_19r8j_8", r = "_card_19r8j_33", c = "_interactive_19r8j_49", e = "_loading_19r8j_63", a = "_cardHeader_19r8j_71", o = "_cardIcon_19r8j_77", t = "_label_19r8j_88", n = "_cardBody_19r8j_100", s = "_value_19r8j_107", i = "_skeleton_19r8j_116", l = "_pulse_19r8j_1", d = "_sparkline_19r8j_134", j = "_cardFooter_19r8j_143", v = "_change_19r8j_150", p = "_positive_19r8j_159", g = "_negative_19r8j_163", u = "_changeLabel_19r8j_167", b = "_description_19r8j_173", h = {
|
|
2
|
+
metricCards: _,
|
|
3
|
+
"cols-2": "_cols-2_19r8j_13",
|
|
4
|
+
"cols-3": "_cols-3_19r8j_17",
|
|
5
|
+
"cols-4": "_cols-4_19r8j_21",
|
|
6
|
+
"cols-5": "_cols-5_19r8j_25",
|
|
7
|
+
card: r,
|
|
8
|
+
interactive: c,
|
|
9
|
+
loading: e,
|
|
10
|
+
cardHeader: a,
|
|
11
|
+
cardIcon: o,
|
|
12
|
+
label: t,
|
|
13
|
+
cardBody: n,
|
|
14
|
+
value: s,
|
|
15
|
+
skeleton: i,
|
|
16
|
+
pulse: l,
|
|
17
|
+
sparkline: d,
|
|
18
|
+
cardFooter: j,
|
|
19
|
+
change: v,
|
|
20
|
+
positive: p,
|
|
21
|
+
negative: g,
|
|
22
|
+
changeLabel: u,
|
|
23
|
+
description: b,
|
|
24
|
+
"variant-compact": "_variant-compact_19r8j_184",
|
|
25
|
+
"variant-detailed": "_variant-detailed_19r8j_214"
|
|
89
26
|
};
|
|
90
|
-
w.displayName = "ChatCodeBlock";
|
|
91
27
|
export {
|
|
92
|
-
|
|
28
|
+
r as card,
|
|
29
|
+
n as cardBody,
|
|
30
|
+
j as cardFooter,
|
|
31
|
+
a as cardHeader,
|
|
32
|
+
o as cardIcon,
|
|
33
|
+
v as change,
|
|
34
|
+
u as changeLabel,
|
|
35
|
+
h as default,
|
|
36
|
+
b as description,
|
|
37
|
+
c as interactive,
|
|
38
|
+
t as label,
|
|
39
|
+
e as loading,
|
|
40
|
+
_ as metricCards,
|
|
41
|
+
g as negative,
|
|
42
|
+
p as positive,
|
|
43
|
+
l as pulse,
|
|
44
|
+
i as skeleton,
|
|
45
|
+
d as sparkline,
|
|
46
|
+
s as value
|
|
93
47
|
};
|
package/dist/index165.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_navTree_jffsm_12",o="_header_jffsm_29",n="_footer_jffsm_36",t="_treeContent_jffsm_47",s="_section_jffsm_76",d="_sectionHeader_jffsm_81",c="_sectionHeaderNode_jffsm_101",_="_sectionChevron_jffsm_106",i="_sectionChevronOpen_jffsm_118",f="_sectionTitle_jffsm_123",r="_sectionTitleNode_jffsm_137",l="_sectionBody_jffsm_149",v="_sectionActions_jffsm_155",h="_node_jffsm_183",C="_nodeRow_jffsm_188",m="_nodeRowActive_jffsm_209",a="_nodeLabel_jffsm_217",j="_nodeChevron_jffsm_223",p="_nodeChevronOpen_jffsm_239",O="_nodeChevronHidden_jffsm_244",T="_nodeActions_jffsm_278",A="_nodeChildren_jffsm_316",B="_nodeNested_jffsm_326",H="_iconSlot_jffsm_335",N="_slotIcon_jffsm_346",g="_slotChevron_jffsm_357",y="_slotChevronOpen_jffsm_371",w="_sectionBadge_jffsm_410",R="_nodeBadge_jffsm_425",u="_empty_jffsm_442",b={navTree:e,header:o,footer:n,treeContent:t,section:s,sectionHeader:d,sectionHeaderNode:c,sectionChevron:_,sectionChevronOpen:i,sectionTitle:f,sectionTitleNode:r,sectionBody:l,sectionActions:v,node:h,nodeRow:C,nodeRowActive:m,nodeLabel:a,nodeChevron:j,nodeChevronOpen:p,nodeChevronHidden:O,nodeActions:T,nodeChildren:A,nodeNested:B,iconSlot:H,slotIcon:N,slotChevron:g,slotChevronOpen:y,sectionBadge:w,nodeBadge:R,empty:u};exports.default=b;exports.empty=u;exports.footer=n;exports.header=o;exports.iconSlot=H;exports.navTree=e;exports.node=h;exports.nodeActions=T;exports.nodeBadge=R;exports.nodeChevron=j;exports.nodeChevronHidden=O;exports.nodeChevronOpen=p;exports.nodeChildren=A;exports.nodeLabel=a;exports.nodeNested=B;exports.nodeRow=C;exports.nodeRowActive=m;exports.section=s;exports.sectionActions=v;exports.sectionBadge=w;exports.sectionBody=l;exports.sectionChevron=_;exports.sectionChevronOpen=i;exports.sectionHeader=d;exports.sectionHeaderNode=c;exports.sectionTitle=f;exports.sectionTitleNode=r;exports.slotChevron=g;exports.slotChevronOpen=y;exports.slotIcon=N;exports.treeContent=t;
|
package/dist/index165.mjs
CHANGED
|
@@ -1,55 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
a({ href: r, children: o, ...t }) {
|
|
34
|
-
const n = r?.startsWith("http");
|
|
35
|
-
return /* @__PURE__ */ e(
|
|
36
|
-
"a",
|
|
37
|
-
{
|
|
38
|
-
href: r,
|
|
39
|
-
target: n ? "_blank" : void 0,
|
|
40
|
-
rel: n ? "noopener noreferrer" : void 0,
|
|
41
|
-
...t,
|
|
42
|
-
children: o
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
children: a
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
f.displayName = "ChatMarkdown";
|
|
1
|
+
const e = "_navTree_jffsm_12", o = "_header_jffsm_29", n = "_footer_jffsm_36", s = "_treeContent_jffsm_47", t = "_section_jffsm_76", _ = "_sectionHeader_jffsm_81", c = "_sectionHeaderNode_jffsm_101", d = "_sectionChevron_jffsm_106", f = "_sectionChevronOpen_jffsm_118", i = "_sectionTitle_jffsm_123", r = "_sectionTitleNode_jffsm_137", m = "_sectionBody_jffsm_149", j = "_sectionActions_jffsm_155", h = "_node_jffsm_183", v = "_nodeRow_jffsm_188", C = "_nodeRowActive_jffsm_209", l = "_nodeLabel_jffsm_217", a = "_nodeChevron_jffsm_223", p = "_nodeChevronOpen_jffsm_239", A = "_nodeChevronHidden_jffsm_244", B = "_nodeActions_jffsm_278", H = "_nodeChildren_jffsm_316", N = "_nodeNested_jffsm_326", O = "_iconSlot_jffsm_335", T = "_slotIcon_jffsm_346", y = "_slotChevron_jffsm_357", g = "_slotChevronOpen_jffsm_371", w = "_sectionBadge_jffsm_410", R = "_nodeBadge_jffsm_425", b = "_empty_jffsm_442", I = {
|
|
2
|
+
navTree: e,
|
|
3
|
+
header: o,
|
|
4
|
+
footer: n,
|
|
5
|
+
treeContent: s,
|
|
6
|
+
section: t,
|
|
7
|
+
sectionHeader: _,
|
|
8
|
+
sectionHeaderNode: c,
|
|
9
|
+
sectionChevron: d,
|
|
10
|
+
sectionChevronOpen: f,
|
|
11
|
+
sectionTitle: i,
|
|
12
|
+
sectionTitleNode: r,
|
|
13
|
+
sectionBody: m,
|
|
14
|
+
sectionActions: j,
|
|
15
|
+
node: h,
|
|
16
|
+
nodeRow: v,
|
|
17
|
+
nodeRowActive: C,
|
|
18
|
+
nodeLabel: l,
|
|
19
|
+
nodeChevron: a,
|
|
20
|
+
nodeChevronOpen: p,
|
|
21
|
+
nodeChevronHidden: A,
|
|
22
|
+
nodeActions: B,
|
|
23
|
+
nodeChildren: H,
|
|
24
|
+
nodeNested: N,
|
|
25
|
+
iconSlot: O,
|
|
26
|
+
slotIcon: T,
|
|
27
|
+
slotChevron: y,
|
|
28
|
+
slotChevronOpen: g,
|
|
29
|
+
sectionBadge: w,
|
|
30
|
+
nodeBadge: R,
|
|
31
|
+
empty: b
|
|
32
|
+
};
|
|
53
33
|
export {
|
|
54
|
-
|
|
34
|
+
I as default,
|
|
35
|
+
b as empty,
|
|
36
|
+
n as footer,
|
|
37
|
+
o as header,
|
|
38
|
+
O as iconSlot,
|
|
39
|
+
e as navTree,
|
|
40
|
+
h as node,
|
|
41
|
+
B as nodeActions,
|
|
42
|
+
R as nodeBadge,
|
|
43
|
+
a as nodeChevron,
|
|
44
|
+
A as nodeChevronHidden,
|
|
45
|
+
p as nodeChevronOpen,
|
|
46
|
+
H as nodeChildren,
|
|
47
|
+
l as nodeLabel,
|
|
48
|
+
N as nodeNested,
|
|
49
|
+
v as nodeRow,
|
|
50
|
+
C as nodeRowActive,
|
|
51
|
+
t as section,
|
|
52
|
+
j as sectionActions,
|
|
53
|
+
w as sectionBadge,
|
|
54
|
+
m as sectionBody,
|
|
55
|
+
d as sectionChevron,
|
|
56
|
+
f as sectionChevronOpen,
|
|
57
|
+
_ as sectionHeader,
|
|
58
|
+
c as sectionHeaderNode,
|
|
59
|
+
i as sectionTitle,
|
|
60
|
+
r as sectionTitleNode,
|
|
61
|
+
y as slotChevron,
|
|
62
|
+
g as slotChevronOpen,
|
|
63
|
+
T as slotIcon,
|
|
64
|
+
s as treeContent
|
|
55
65
|
};
|
package/dist/index166.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="_backdrop_35vfn_8",_="_fadeIn_35vfn_1",e="_modal_35vfn_32",n="_slideUp_35vfn_1",l="_sm_35vfn_67",t="_md_35vfn_71",d="_lg_35vfn_75",s="_xl_35vfn_79",f="_full_35vfn_83",c="_header_35vfn_93",a="_closeButton_35vfn_105",r="_body_35vfn_145",u="_footer_35vfn_153",v={backdrop:o,fadeIn:_,modal:e,slideUp:n,sm:l,md:t,lg:d,xl:s,full:f,header:c,closeButton:a,body:r,footer:u};exports.backdrop=o;exports.body=r;exports.closeButton=a;exports.default=v;exports.fadeIn=_;exports.footer=u;exports.full=f;exports.header=c;exports.lg=d;exports.md=t;exports.modal=e;exports.slideUp=n;exports.sm=l;exports.xl=s;
|