@octohirono/stitch-design-system 0.2.0 → 0.3.0
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/ChatFile/ChatFile.d.ts +34 -0
- package/dist/components/ChatFile/ChatFile.js +71 -0
- package/dist/components/ChatFile/chat-file.module.js +12 -0
- package/dist/components/ChatFile/index.d.ts +2 -0
- package/dist/components/ChatImage/ChatImage.d.ts +31 -0
- package/dist/components/ChatImage/ChatImage.js +88 -0
- package/dist/components/ChatImage/chat-image.module.js +12 -0
- package/dist/components/ChatImage/index.d.ts +2 -0
- package/dist/components/ChatInput/ChatInput.d.ts +77 -0
- package/dist/components/ChatInput/ChatInput.js +88 -0
- package/dist/components/ChatInput/chat-input.module.js +11 -0
- package/dist/components/ChatInput/index.d.ts +2 -0
- package/dist/components/ChatList/ChatList.d.ts +58 -0
- package/dist/components/ChatList/ChatList.js +49 -0
- package/dist/components/ChatList/chat-list.module.js +7 -0
- package/dist/components/ChatList/index.d.ts +2 -0
- package/dist/components/ChatMessage/ChatMessage.d.ts +52 -0
- package/dist/components/ChatMessage/ChatMessage.js +71 -0
- package/dist/components/ChatMessage/chat-message.module.js +21 -0
- package/dist/components/ChatMessage/index.d.ts +2 -0
- package/dist/components/ChatMessageActions/ChatMessageActions.d.ts +40 -0
- package/dist/components/ChatMessageActions/ChatMessageActions.js +34 -0
- package/dist/components/ChatMessageActions/chat-message-actions.module.js +7 -0
- package/dist/components/ChatMessageActions/index.d.ts +2 -0
- package/dist/components/ChatVoice/ChatVoice.d.ts +39 -0
- package/dist/components/ChatVoice/ChatVoice.js +44 -0
- package/dist/components/ChatVoice/chat-voice.module.js +12 -0
- package/dist/components/ChatVoice/index.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.js +41 -34
- package/dist/components/ContextMenu/context-menu.module.js +10 -9
- package/dist/components/DropdownMenu/DropdownMenu.js +45 -38
- package/dist/components/DropdownMenu/dropdown-menu.module.js +10 -9
- package/dist/components/Icon/Icon.d.ts +20 -0
- package/dist/components/Icon/Icon.js +35 -2
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/image.module.js +14 -14
- package/dist/components/Select/Select.js +87 -83
- package/dist/components/Select/select.module.js +10 -9
- package/dist/components/TypingIndicator/TypingIndicator.d.ts +24 -0
- package/dist/components/TypingIndicator/TypingIndicator.js +29 -0
- package/dist/components/TypingIndicator/index.d.ts +2 -0
- package/dist/components/TypingIndicator/typing-indicator.module.js +8 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +36 -28
- package/dist/style.css +873 -411
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
//#region packages/react/src/components/Image/image.module.less
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_image_94mwe_1", t = "_img_94mwe_19", n = "_loaded_94mwe_26", r = "_error_94mwe_29", i = "_preview_94mwe_71", a = "_mask_94mwe_82", o = "_dialog_94mwe_92", s = "_previewImg_94mwe_97", c = "_closeBtn_94mwe_105", l = {
|
|
3
3
|
image: e,
|
|
4
4
|
img: t,
|
|
5
5
|
loaded: n,
|
|
6
6
|
error: r,
|
|
7
|
-
"image-accent": "_image-
|
|
8
|
-
"image-danger": "_image-
|
|
9
|
-
"image-success": "_image-
|
|
10
|
-
"image-warning": "_image-
|
|
11
|
-
"image-info": "_image-
|
|
12
|
-
"image-cat-1": "_image-cat-
|
|
13
|
-
"image-cat-2": "_image-cat-
|
|
14
|
-
"image-cat-3": "_image-cat-
|
|
15
|
-
"image-cat-4": "_image-cat-
|
|
16
|
-
"image-cat-5": "_image-cat-
|
|
17
|
-
"image-cat-6": "_image-cat-
|
|
7
|
+
"image-accent": "_image-accent_94mwe_38",
|
|
8
|
+
"image-danger": "_image-danger_94mwe_41",
|
|
9
|
+
"image-success": "_image-success_94mwe_44",
|
|
10
|
+
"image-warning": "_image-warning_94mwe_47",
|
|
11
|
+
"image-info": "_image-info_94mwe_50",
|
|
12
|
+
"image-cat-1": "_image-cat-1_94mwe_53",
|
|
13
|
+
"image-cat-2": "_image-cat-2_94mwe_56",
|
|
14
|
+
"image-cat-3": "_image-cat-3_94mwe_59",
|
|
15
|
+
"image-cat-4": "_image-cat-4_94mwe_62",
|
|
16
|
+
"image-cat-5": "_image-cat-5_94mwe_65",
|
|
17
|
+
"image-cat-6": "_image-cat-6_94mwe_68",
|
|
18
18
|
preview: i,
|
|
19
19
|
mask: a,
|
|
20
|
-
"stitch-image-fade-in": "_stitch-image-fade-
|
|
20
|
+
"stitch-image-fade-in": "_stitch-image-fade-in_94mwe_1",
|
|
21
21
|
dialog: o,
|
|
22
22
|
previewImg: s,
|
|
23
|
-
"stitch-image-zoom-in": "_stitch-image-zoom-
|
|
23
|
+
"stitch-image-zoom-in": "_stitch-image-zoom-in_94mwe_1",
|
|
24
24
|
closeBtn: c
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
@@ -1,118 +1,122 @@
|
|
|
1
1
|
import { Icon as e } from "../Icon/Icon.js";
|
|
2
|
-
import t from "
|
|
3
|
-
import
|
|
4
|
-
import c from "
|
|
5
|
-
import
|
|
2
|
+
import { ScrollArea as t } from "../ScrollArea/ScrollArea.js";
|
|
3
|
+
import n from "./select.module.js";
|
|
4
|
+
import { useCallback as r, useEffect as i, useId as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
5
|
+
import l from "clsx";
|
|
6
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
7
|
//#region packages/react/src/components/Select/Select.tsx
|
|
7
|
-
var
|
|
8
|
-
let [
|
|
9
|
-
|
|
10
|
-
if (!
|
|
8
|
+
var f = ({ options: f, value: p, defaultValue: m, onChange: h, placeholder: g = "请选择", size: _ = "middle", disabled: v = !1, className: y, style: b, "aria-label": x, "aria-labelledby": S }) => {
|
|
9
|
+
let [C, w] = c(m), T = p !== void 0, E = T ? p : C, [D, O] = c(!1), [k, A] = c(null), j = s(null), M = s(null), N = `stitch-select-${a().replace(/:/g, "")}`, P = `${N}-listbox`, F = (e) => `${N}-option-${e}`, I = f.find((e) => e.value === E), L = I ? I.label : g, R = I !== void 0, z = o(() => f.filter((e) => !e.disabled).map((e) => e.value), [f]);
|
|
10
|
+
i(() => {
|
|
11
|
+
if (!D) return;
|
|
11
12
|
let e = (e) => {
|
|
12
|
-
|
|
13
|
+
j.current && !j.current.contains(e.target) && O(!1);
|
|
13
14
|
};
|
|
14
15
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
15
|
-
}, [
|
|
16
|
-
if (
|
|
17
|
-
let e =
|
|
18
|
-
|
|
19
|
-
} else
|
|
20
|
-
}, [
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
}, [
|
|
24
|
-
if (!
|
|
25
|
-
let t =
|
|
26
|
-
|
|
16
|
+
}, [D]), i(() => {
|
|
17
|
+
if (D) {
|
|
18
|
+
let e = z[0] ?? null;
|
|
19
|
+
A(E != null && z.includes(E) ? E : e);
|
|
20
|
+
} else A(null);
|
|
21
|
+
}, [D]);
|
|
22
|
+
let B = r((e) => {
|
|
23
|
+
T || w(e), h?.(e), O(!1), M.current?.focus();
|
|
24
|
+
}, [T, h]), V = (e) => {
|
|
25
|
+
if (!z.length) return;
|
|
26
|
+
let t = k == null ? -1 : z.indexOf(k), n = t < 0 ? e === 1 ? 0 : z.length - 1 : (t + e + z.length) % z.length;
|
|
27
|
+
A(z[n]);
|
|
27
28
|
};
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
ref:
|
|
30
|
-
className:
|
|
31
|
-
style:
|
|
29
|
+
return /* @__PURE__ */ d("div", {
|
|
30
|
+
ref: j,
|
|
31
|
+
className: l(n.wrapper, v && n.disabled, y),
|
|
32
|
+
style: b,
|
|
32
33
|
onKeyDown: (e) => {
|
|
33
|
-
if (
|
|
34
|
+
if (v) return;
|
|
34
35
|
let { key: t } = e;
|
|
35
|
-
if (!
|
|
36
|
-
(t === "Enter" || t === " " || t === "ArrowDown" || t === "ArrowUp") && (e.preventDefault(),
|
|
36
|
+
if (!D) {
|
|
37
|
+
(t === "Enter" || t === " " || t === "ArrowDown" || t === "ArrowUp") && (e.preventDefault(), O(!0));
|
|
37
38
|
return;
|
|
38
39
|
}
|
|
39
40
|
switch (t) {
|
|
40
41
|
case "Escape":
|
|
41
|
-
e.preventDefault(),
|
|
42
|
+
e.preventDefault(), O(!1), M.current?.focus();
|
|
42
43
|
break;
|
|
43
44
|
case "ArrowDown":
|
|
44
|
-
e.preventDefault(),
|
|
45
|
+
e.preventDefault(), V(1);
|
|
45
46
|
break;
|
|
46
47
|
case "ArrowUp":
|
|
47
|
-
e.preventDefault(),
|
|
48
|
+
e.preventDefault(), V(-1);
|
|
48
49
|
break;
|
|
49
50
|
case "Home":
|
|
50
|
-
e.preventDefault(),
|
|
51
|
+
e.preventDefault(), z.length && A(z[0]);
|
|
51
52
|
break;
|
|
52
53
|
case "End":
|
|
53
|
-
e.preventDefault(),
|
|
54
|
+
e.preventDefault(), z.length && A(z[z.length - 1]);
|
|
54
55
|
break;
|
|
55
56
|
case "Enter":
|
|
56
|
-
case " ": e.preventDefault(),
|
|
57
|
+
case " ": e.preventDefault(), k != null && B(k);
|
|
57
58
|
}
|
|
58
59
|
},
|
|
59
|
-
children: [/* @__PURE__ */
|
|
60
|
-
ref:
|
|
61
|
-
className:
|
|
62
|
-
onClick: () => !
|
|
60
|
+
children: [/* @__PURE__ */ d("div", {
|
|
61
|
+
ref: M,
|
|
62
|
+
className: l(n.trigger, n[_], D && n.open),
|
|
63
|
+
onClick: () => !v && O((e) => !e),
|
|
63
64
|
role: "combobox",
|
|
64
65
|
"aria-haspopup": "listbox",
|
|
65
|
-
"aria-expanded":
|
|
66
|
-
"aria-controls":
|
|
67
|
-
"aria-activedescendant":
|
|
68
|
-
"aria-disabled":
|
|
69
|
-
"aria-label":
|
|
70
|
-
"aria-labelledby":
|
|
71
|
-
tabIndex:
|
|
72
|
-
children: [/* @__PURE__ */
|
|
73
|
-
className:
|
|
74
|
-
children:
|
|
75
|
-
}), /* @__PURE__ */
|
|
66
|
+
"aria-expanded": D,
|
|
67
|
+
"aria-controls": D ? P : void 0,
|
|
68
|
+
"aria-activedescendant": D && k != null ? F(k) : void 0,
|
|
69
|
+
"aria-disabled": v || void 0,
|
|
70
|
+
"aria-label": x,
|
|
71
|
+
"aria-labelledby": S,
|
|
72
|
+
tabIndex: v ? -1 : 0,
|
|
73
|
+
children: [/* @__PURE__ */ u("span", {
|
|
74
|
+
className: R ? n.value : n.placeholder,
|
|
75
|
+
children: L
|
|
76
|
+
}), /* @__PURE__ */ u(e, {
|
|
76
77
|
name: "chevron-down",
|
|
77
78
|
size: "1em",
|
|
78
|
-
className:
|
|
79
|
+
className: l(n.arrow, D && n.arrowOpen)
|
|
79
80
|
})]
|
|
80
|
-
}),
|
|
81
|
-
className:
|
|
81
|
+
}), D && /* @__PURE__ */ u("div", {
|
|
82
|
+
className: n.dropdown,
|
|
82
83
|
role: "listbox",
|
|
83
|
-
id:
|
|
84
|
-
"aria-label":
|
|
85
|
-
"aria-labelledby":
|
|
86
|
-
"aria-activedescendant":
|
|
87
|
-
children:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
children:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
84
|
+
id: P,
|
|
85
|
+
"aria-label": x,
|
|
86
|
+
"aria-labelledby": S,
|
|
87
|
+
"aria-activedescendant": k == null ? void 0 : F(k),
|
|
88
|
+
children: /* @__PURE__ */ u(t, {
|
|
89
|
+
className: n.dropdownScroll,
|
|
90
|
+
children: f.map((t) => {
|
|
91
|
+
let r = E === t.value, i = k === t.value;
|
|
92
|
+
return /* @__PURE__ */ d("div", {
|
|
93
|
+
id: F(t.value),
|
|
94
|
+
role: "option",
|
|
95
|
+
"aria-selected": r,
|
|
96
|
+
"aria-disabled": t.disabled || void 0,
|
|
97
|
+
className: l(n.option, {
|
|
98
|
+
[n.optionActive]: i,
|
|
99
|
+
[n.optionSelected]: r,
|
|
100
|
+
[n.optionDisabled]: t.disabled
|
|
101
|
+
}),
|
|
102
|
+
onClick: () => !t.disabled && B(t.value),
|
|
103
|
+
onMouseEnter: () => {
|
|
104
|
+
t.disabled || A(t.value);
|
|
105
|
+
},
|
|
106
|
+
children: [/* @__PURE__ */ u("span", {
|
|
107
|
+
className: n.optionLabel,
|
|
108
|
+
children: t.label
|
|
109
|
+
}), r && /* @__PURE__ */ u(e, {
|
|
110
|
+
name: "check",
|
|
111
|
+
size: "1em",
|
|
112
|
+
className: n.checkMark
|
|
113
|
+
})]
|
|
114
|
+
}, String(t.value));
|
|
115
|
+
})
|
|
112
116
|
})
|
|
113
117
|
})]
|
|
114
118
|
});
|
|
115
119
|
};
|
|
116
|
-
|
|
120
|
+
f.displayName = "Select";
|
|
117
121
|
//#endregion
|
|
118
|
-
export {
|
|
122
|
+
export { f as Select };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region packages/react/src/components/Select/select.module.less
|
|
2
|
-
var e = "
|
|
2
|
+
var e = "_wrapper_i7k60_1", t = "_trigger_i7k60_8", n = "_open_i7k60_30", r = "_small_i7k60_33", i = "_middle_i7k60_38", a = "_large_i7k60_43", o = "_value_i7k60_48", s = "_placeholder_i7k60_55", c = "_arrow_i7k60_62", l = "_arrowOpen_i7k60_67", u = "_dropdown_i7k60_71", d = "_dropdownFadeIn_i7k60_1", f = "_dropdownScroll_i7k60_86", p = "_option_i7k60_102", m = "_optionLabel_i7k60_115", h = "_optionActive_i7k60_119", g = "_optionSelected_i7k60_122", _ = "_checkMark_i7k60_126", v = "_optionDisabled_i7k60_130", y = "_disabled_i7k60_137", b = {
|
|
3
3
|
wrapper: e,
|
|
4
4
|
trigger: t,
|
|
5
5
|
open: n,
|
|
@@ -12,13 +12,14 @@ var e = "_wrapper_13o0n_1", t = "_trigger_13o0n_8", n = "_open_13o0n_30", r = "_
|
|
|
12
12
|
arrowOpen: l,
|
|
13
13
|
dropdown: u,
|
|
14
14
|
dropdownFadeIn: d,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
dropdownScroll: f,
|
|
16
|
+
option: p,
|
|
17
|
+
optionLabel: m,
|
|
18
|
+
optionActive: h,
|
|
19
|
+
optionSelected: g,
|
|
20
|
+
checkMark: _,
|
|
21
|
+
optionDisabled: v,
|
|
22
|
+
disabled: y
|
|
22
23
|
};
|
|
23
24
|
//#endregion
|
|
24
|
-
export { c as arrow, l as arrowOpen,
|
|
25
|
+
export { c as arrow, l as arrowOpen, _ as checkMark, b as default, y as disabled, u as dropdown, d as dropdownFadeIn, f as dropdownScroll, a as large, i as middle, n as open, p as option, h as optionActive, v as optionDisabled, m as optionLabel, g as optionSelected, s as placeholder, r as small, t as trigger, o as value, e as wrapper };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 「对方正在输入」指示:三点循环动画(IM 语境是**对方**的态)。点为角色变量小元素
|
|
4
|
+
* (`--stitch-text-muted` 铺底的小圆,非 emoji / Unicode / 裸 svg),动效走 `--stitch-motion-*`
|
|
5
|
+
* (不超设计动效窗)。无 Ant 对应件 → 取 Ant 最近惯例(`label` 可访问名 + 透传原生属性)。
|
|
6
|
+
*
|
|
7
|
+
* 跨-prop 注意事项:
|
|
8
|
+
* - **纯呈现件**:只画「正在输入」的三点动画,不含业务(谁在输入、何时出现由上层决定)。
|
|
9
|
+
* - **可及名走 `label`**:根节点 `role="status"`(`aria-live` 区,屏幕阅读器读出 `label`),
|
|
10
|
+
* 三点纯装饰(`aria-hidden`)。默认可访问名「对方正在输入」。
|
|
11
|
+
* - **动效降级**:尊重 `prefers-reduced-motion`——用户关动效时三点停在静止态、不循环。
|
|
12
|
+
*/
|
|
13
|
+
export interface TypingIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
14
|
+
/**
|
|
15
|
+
* 可访问名(屏幕阅读器读出,如「张三正在输入」)
|
|
16
|
+
* @default '对方正在输入'
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/** 自定义类名(挂到根容器) */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** 行内样式(挂到根容器) */
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
}
|
|
24
|
+
export declare const TypingIndicator: React.FC<TypingIndicatorProps>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import e from "./typing-indicator.module.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import t from "clsx";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
//#region packages/react/src/components/TypingIndicator/TypingIndicator.tsx
|
|
6
|
+
var i = ({ label: i = "对方正在输入", className: a, style: o, ...s }) => /* @__PURE__ */ r("span", {
|
|
7
|
+
className: t(e.indicator, a),
|
|
8
|
+
style: o,
|
|
9
|
+
role: "status",
|
|
10
|
+
"aria-label": i,
|
|
11
|
+
...s,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ n("span", {
|
|
14
|
+
className: e.dot,
|
|
15
|
+
"aria-hidden": "true"
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ n("span", {
|
|
18
|
+
className: e.dot,
|
|
19
|
+
"aria-hidden": "true"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ n("span", {
|
|
22
|
+
className: e.dot,
|
|
23
|
+
"aria-hidden": "true"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
i.displayName = "TypingIndicator";
|
|
28
|
+
//#endregion
|
|
29
|
+
export { i as TypingIndicator };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region packages/react/src/components/TypingIndicator/typing-indicator.module.less
|
|
2
|
+
var e = "_indicator_hslxz_1", t = "_dot_hslxz_11", n = {
|
|
3
|
+
indicator: e,
|
|
4
|
+
dot: t,
|
|
5
|
+
"stitch-typing-bounce": "_stitch-typing-bounce_hslxz_1"
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as default, t as dot, e as indicator };
|
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,22 @@ export { Table } from './components/Table';
|
|
|
52
52
|
export type { TableProps, TableColumn } from './components/Table';
|
|
53
53
|
export { CodeBlock } from './components/CodeBlock';
|
|
54
54
|
export type { CodeBlockProps } from './components/CodeBlock';
|
|
55
|
+
export { ChatMessage } from './components/ChatMessage';
|
|
56
|
+
export type { ChatMessageProps, ChatMessageVariant, ChatMessageStatus, } from './components/ChatMessage';
|
|
57
|
+
export { ChatMessageActions } from './components/ChatMessageActions';
|
|
58
|
+
export type { ChatMessageActionsProps, ChatMessageAction, } from './components/ChatMessageActions';
|
|
59
|
+
export { ChatList } from './components/ChatList';
|
|
60
|
+
export type { ChatListProps, ChatListItem } from './components/ChatList';
|
|
61
|
+
export { ChatInput } from './components/ChatInput';
|
|
62
|
+
export type { ChatInputProps, ChatInputSubmitType, ChatInputAutoSize, } from './components/ChatInput';
|
|
63
|
+
export { TypingIndicator } from './components/TypingIndicator';
|
|
64
|
+
export type { TypingIndicatorProps } from './components/TypingIndicator';
|
|
65
|
+
export { ChatImage } from './components/ChatImage';
|
|
66
|
+
export type { ChatImageProps } from './components/ChatImage';
|
|
67
|
+
export { ChatFile } from './components/ChatFile';
|
|
68
|
+
export type { ChatFileProps } from './components/ChatFile';
|
|
69
|
+
export { ChatVoice } from './components/ChatVoice';
|
|
70
|
+
export type { ChatVoiceProps } from './components/ChatVoice';
|
|
55
71
|
export { LineChart } from './components/LineChart';
|
|
56
72
|
export type { LineChartProps, LineChartSeries } from './components/LineChart';
|
|
57
73
|
export { BarChart } from './components/BarChart';
|
package/dist/index.js
CHANGED
|
@@ -19,32 +19,40 @@ import { Radio as _ } from "./components/Radio/Radio.js";
|
|
|
19
19
|
import { Switch as v } from "./components/Switch/Switch.js";
|
|
20
20
|
import { Slider as y } from "./components/Slider/Slider.js";
|
|
21
21
|
import { Label as b } from "./components/Label/Label.js";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
22
|
+
import { ScrollArea as x } from "./components/ScrollArea/ScrollArea.js";
|
|
23
|
+
import { Select as S } from "./components/Select/Select.js";
|
|
24
|
+
import { Calendar as C } from "./components/Calendar/Calendar.js";
|
|
25
|
+
import { Popover as w } from "./components/Popover/Popover.js";
|
|
26
|
+
import { DatePicker as T } from "./components/DatePicker/DatePicker.js";
|
|
27
|
+
import { Form as E } from "./components/Form/Form.js";
|
|
28
|
+
import { Tag as D } from "./components/Tag/Tag.js";
|
|
29
|
+
import { Table as O } from "./components/Table/Table.js";
|
|
30
|
+
import { CodeBlock as k } from "./components/CodeBlock/CodeBlock.js";
|
|
31
|
+
import { ChatMessage as A } from "./components/ChatMessage/ChatMessage.js";
|
|
32
|
+
import { DropdownMenu as j } from "./components/DropdownMenu/DropdownMenu.js";
|
|
33
|
+
import { ContextMenu as M } from "./components/ContextMenu/ContextMenu.js";
|
|
34
|
+
import { ChatMessageActions as N } from "./components/ChatMessageActions/ChatMessageActions.js";
|
|
35
35
|
import { Loading as P } from "./components/Loading/Loading.js";
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
|
|
36
|
+
import { ChatList as F } from "./components/ChatList/ChatList.js";
|
|
37
|
+
import { ChatInput as I } from "./components/ChatInput/ChatInput.js";
|
|
38
|
+
import { TypingIndicator as L } from "./components/TypingIndicator/TypingIndicator.js";
|
|
39
|
+
import { ChatImage as R } from "./components/ChatImage/ChatImage.js";
|
|
40
|
+
import { ChatFile as z } from "./components/ChatFile/ChatFile.js";
|
|
41
|
+
import { ChatVoice as B } from "./components/ChatVoice/ChatVoice.js";
|
|
42
|
+
import { LineChart as V } from "./components/LineChart/LineChart.js";
|
|
43
|
+
import { BarChart as H } from "./components/BarChart/BarChart.js";
|
|
44
|
+
import { PieChart as U } from "./components/PieChart/PieChart.js";
|
|
45
|
+
import { Stat as W } from "./components/Stat/Stat.js";
|
|
46
|
+
import { StatGroup as G } from "./components/Stat/StatGroup.js";
|
|
47
|
+
import { Progress as K } from "./components/Progress/Progress.js";
|
|
48
|
+
import { Skeleton as q } from "./components/Skeleton/Skeleton.js";
|
|
49
|
+
import { Notification as J } from "./components/Notification/NotificationPortal.js";
|
|
50
|
+
import { Modal as Y } from "./components/Modal/Modal.js";
|
|
51
|
+
import { AlertDialog as X } from "./components/AlertDialog/AlertDialog.js";
|
|
52
|
+
import { Drawer as Z } from "./components/Drawer/Drawer.js";
|
|
53
|
+
import { Tooltip as Q } from "./components/Tooltip/Tooltip.js";
|
|
54
|
+
import { HoverCard as $ } from "./components/HoverCard/HoverCard.js";
|
|
55
|
+
import { Menubar as ee } from "./components/Menubar/Menubar.js";
|
|
56
|
+
import { Toolbar as te } from "./components/Toolbar/Toolbar.js";
|
|
57
|
+
import { NavigationMenu as ne } from "./components/NavigationMenu/NavigationMenu.js";
|
|
58
|
+
export { u as Accordion, X as AlertDialog, d as AspectRatio, f as Avatar, H as BarChart, e as Button, C as Calendar, o as Card, z as ChatFile, R as ChatImage, I as ChatInput, F as ChatList, A as ChatMessage, N as ChatMessageActions, B as ChatVoice, g as Checkbox, k as CodeBlock, c as Collapse, M as ContextMenu, T as DatePicker, s as Divider, Z as Drawer, j as DropdownMenu, E as Form, $ as HoverCard, t as ICON_LIST, n as Icon, a as Image, p as Input, b as Label, V as LineChart, P as Loading, ee as Menubar, Y as Modal, ne as NavigationMenu, J as Notification, h as OtpField, m as PasswordInput, U as PieChart, w as Popover, K as Progress, _ as Radio, x as ScrollArea, S as Select, q as Skeleton, y as Slider, W as Stat, G as StatGroup, v as Switch, O as Table, l as Tabs, D as Tag, r as Toggle, i as ToggleGroup, te as Toolbar, Q as Tooltip, L as TypingIndicator };
|