@orion-ds/react 4.2.3 → 4.2.5
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 -0
- package/dist/components/ActivityFeed/ActivityFeed.module.css +1 -0
- package/dist/components/AgentCard/AgentCard.module.css +1 -0
- package/dist/components/Alert/Alert.module.css +1 -0
- package/dist/components/AlertDialog/AlertDialog.module.css +1 -0
- package/dist/components/Avatar/Avatar.module.css +1 -0
- package/dist/components/Badge/Badge.module.css +1 -0
- package/dist/components/Banner/Banner.module.css +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.module.css +1 -0
- package/dist/components/Button/Button.module.css +1 -0
- package/dist/components/Calendar/Calendar.module.css +1 -0
- package/dist/components/Card/Card.module.css +1 -0
- package/dist/components/Carousel/Carousel.module.css +1 -0
- package/dist/components/Chart/Chart.module.css +1 -0
- package/dist/components/Chat/Chat.module.css +1 -0
- package/dist/components/Checkbox/Checkbox.module.css +1 -0
- package/dist/components/Chip/Chip.module.css +1 -0
- package/dist/components/CodeEditor/CodeEditor.module.css +1 -0
- package/dist/components/Collapsible/Collapsible.module.css +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.module.css +1 -0
- package/dist/components/Combobox/Combobox.module.css +1 -0
- package/dist/components/Command/Command.module.css +1 -0
- package/dist/components/CommandBar/CommandBar.module.css +1 -0
- package/dist/components/DataTable/DataTable.module.css +1 -0
- package/dist/components/DatePicker/DatePicker.module.css +1 -0
- package/dist/components/DetailPanel/DetailPanel.module.css +1 -0
- package/dist/components/Divider/Divider.module.css +1 -0
- package/dist/components/Drawer/Drawer.module.css +1 -0
- package/dist/components/Dropdown/Dropdown.module.css +1 -0
- package/dist/components/EmptyState/EmptyState.module.css +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.module.css +1 -0
- package/dist/components/Field/Field.module.css +1 -0
- package/dist/components/FileUploader/FileUploader.module.css +1 -0
- package/dist/components/FilterBar/FilterBar.module.css +1 -0
- package/dist/components/FormSection/FormSection.module.css +1 -0
- package/dist/components/Icon/Icon.module.css +1 -0
- package/dist/components/IconGallery/IconGallery.module.css +1 -0
- package/dist/components/InputOTP/InputOTP.module.css +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.module.css +1 -0
- package/dist/components/Link/Link.module.css +1 -0
- package/dist/components/List/List.module.css +1 -0
- package/dist/components/MetricCards/MetricCards.module.css +1 -0
- package/dist/components/Modal/Modal.module.css +1 -0
- package/dist/components/NavTree/NavTree.module.css +1 -0
- package/dist/components/Navbar/Navbar.module.css +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.module.css +1 -0
- package/dist/components/PageHeader/PageHeader.module.css +1 -0
- package/dist/components/Pagination/Pagination.module.css +1 -0
- package/dist/components/Popover/Popover.module.css +1 -0
- package/dist/components/ProgressBar/ProgressBar.module.css +1 -0
- package/dist/components/QuickActions/QuickActions.module.css +1 -0
- package/dist/components/Radio/Radio.module.css +1 -0
- package/dist/components/SearchInput/SearchInput.module.css +1 -0
- package/dist/components/Select/Select.module.css +1 -0
- package/dist/components/Sidebar/Sidebar.module.css +1 -0
- package/dist/components/Skeleton/Skeleton.module.css +1 -0
- package/dist/components/Slider/Slider.module.css +1 -0
- package/dist/components/Spinner/Spinner.module.css +1 -0
- package/dist/components/Stepper/Stepper.module.css +1 -0
- package/dist/components/Switch/Switch.module.css +1 -0
- package/dist/components/Table/Table.module.css +1 -0
- package/dist/components/Tabs/Tabs.module.css +1 -0
- package/dist/components/Textarea/Textarea.module.css +1 -0
- package/dist/components/Toast/Toast.module.css +1 -0
- package/dist/components/Toggle/Toggle.module.css +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.module.css +1 -0
- package/dist/components/Tooltip/Tooltip.module.css +1 -0
- package/dist/components/UserMenu/UserMenu.module.css +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.module.css +1 -0
- package/dist/index10.cjs +1 -1
- package/dist/index10.mjs +1 -1
- package/dist/index100.cjs +1 -1
- package/dist/index100.mjs +24 -20
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +44 -42
- package/dist/index102.cjs +1 -1
- package/dist/index102.mjs +30 -62
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +28 -30
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +15 -35
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +64 -30
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +52 -45
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +42 -18
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +28 -28
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +24 -14
- package/dist/index11.cjs +1 -1
- package/dist/index11.mjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +28 -46
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +18 -24
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +14 -46
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +50 -42
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +53 -18
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +62 -22
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +32 -32
- package/dist/index117.cjs +1 -1
- package/dist/index117.mjs +30 -20
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +18 -32
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +56 -52
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +38 -20
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +20 -18
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +40 -32
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +76 -30
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +52 -24
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +30 -28
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +63 -36
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +30 -38
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +32 -40
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +45 -40
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +41 -35
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +28 -44
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +30 -16
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +24 -28
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +11 -21
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +234 -28
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +34 -56
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +44 -57
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +170 -33
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +186 -47
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +28 -36
- package/dist/index141.cjs +1 -1
- package/dist/index141.mjs +90 -28
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +53 -68
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +66 -52
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +124 -62
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +108 -234
- package/dist/index146.cjs +1 -1
- package/dist/index146.mjs +111 -33
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +120 -41
- package/dist/index148.cjs +1 -1
- package/dist/index148.mjs +199 -155
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +23 -186
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +37 -29
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +12 -90
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +29 -53
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +46 -66
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +38 -124
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +36 -108
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +18 -111
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +62 -122
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +18 -214
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +67 -64
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +20 -57
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +106 -27
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +33 -28
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +28 -18
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +18 -24
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +37 -51
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +28 -64
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +46 -33
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +22 -30
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +40 -42
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +20 -12
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +42 -44
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +64 -40
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +55 -28
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +26 -76
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +44 -106
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +28 -26
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +32 -29
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +32 -12
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +44 -16
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +55 -51
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +27 -65
- 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 +1 -1
- 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/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 +1 -1
- 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/index60.cjs +1 -1
- package/dist/index60.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.mjs +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.mjs +40 -28
- package/dist/sections/Container/Container.module.css +1 -0
- package/dist/sections/Section/Section.module.css +1 -0
- package/dist/styles/marker.css +1 -0
- package/dist/styles.css +159 -1
- package/package.json +1 -1
- package/dist/react.css +0 -1
package/dist/index149.mjs
CHANGED
|
@@ -1,188 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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 t = "_pagination_kj56h_8", _ = "_list_kj56h_13", s = "_button_kj56h_26", n = "_pageButton_kj56h_56", i = "_active_kj56h_61", o = "_ellipsis_kj56h_76", a = "_sm_kj56h_89", l = "_md_kj56h_103", e = "_lg_kj56h_117", c = "_disabled_kj56h_139", d = {
|
|
2
|
+
pagination: t,
|
|
3
|
+
list: _,
|
|
4
|
+
button: s,
|
|
5
|
+
pageButton: n,
|
|
6
|
+
active: i,
|
|
7
|
+
ellipsis: o,
|
|
8
|
+
sm: a,
|
|
9
|
+
md: l,
|
|
10
|
+
lg: e,
|
|
11
|
+
disabled: c
|
|
12
|
+
};
|
|
186
13
|
export {
|
|
187
|
-
|
|
14
|
+
i as active,
|
|
15
|
+
s as button,
|
|
16
|
+
d as default,
|
|
17
|
+
c as disabled,
|
|
18
|
+
o as ellipsis,
|
|
19
|
+
e as lg,
|
|
20
|
+
_ as list,
|
|
21
|
+
l as md,
|
|
22
|
+
n as pageButton,
|
|
23
|
+
t as pagination,
|
|
24
|
+
a as sm
|
|
188
25
|
};
|
package/dist/index15.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),n=require("date-fns"),x=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),n=require("date-fns"),x=require("lucide-react"),a=require("./index131.cjs"),O=require("./index14.cjs"),R=["Su","Mo","Tu","We","Th","Fr","Sa"];function _(t,r){const c=t.length,d=(r%c+c)%c;return[...t.slice(d),...t.slice(0,d)]}const C=t=>{const{mode:r="single",min:c,max:d,disabled:m,weekStartsOn:h=0,showOutsideDays:j=!0,className:v,...k}=t,{selected:W,onSelect:F,...E}=k,[f,S]=u.useState(()=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"&&t.selected?n.startOfMonth(t.selected):r==="range"&&t.mode==="range"&&t.selected?.from?n.startOfMonth(t.selected.from):n.startOfMonth(new Date)),N=u.useMemo(()=>{const e=n.startOfMonth(f),s=n.endOfMonth(f),l=n.startOfWeek(e,{weekStartsOn:h}),o=n.endOfWeek(s,{weekStartsOn:h});return n.eachDayOfInterval({start:l,end:o})},[f,h]),B=u.useMemo(()=>_(R,h),[h]),g=u.useCallback(e=>c&&n.isBefore(e,z(c))||d&&n.isAfter(e,P(d))?!0:m?Array.isArray(m)?m.some(s=>n.isSameDay(s,e)):m(e):!1,[c,d,m]),y=u.useCallback(e=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"?t.selected?n.isSameDay(t.selected,e):!1:r==="multiple"&&t.mode==="multiple"?t.selected?.some(s=>n.isSameDay(s,e))??!1:!1,[r,t]),M=u.useCallback(e=>{if(r!=="range"||t.mode!=="range"||!t.selected)return null;const{from:s,to:l}=t.selected;return s?l?n.isSameDay(e,s)&&n.isSameDay(e,l)||n.isSameDay(e,s)?"start":n.isSameDay(e,l)?"end":n.isAfter(e,s)&&n.isBefore(e,l)?"middle":null:n.isSameDay(e,s)?"start":null:null},[r,t]),w=u.useCallback(e=>{if(!g(e)){if(r==="single"&&t.mode!=="range"&&t.mode!=="multiple"){const s=t.onSelect;s?.(e)}else if(r==="range"&&t.mode==="range"){const s=t.onSelect,l=t.selected;!l?.from||l.from&&l.to?s?.({from:e,to:void 0}):n.isBefore(e,l.from)?s?.({from:e,to:l.from}):s?.({from:l.from,to:e})}else if(r==="multiple"&&t.mode==="multiple"){const s=t.onSelect,l=t.selected??[],o=l.findIndex(D=>n.isSameDay(D,e));o>=0?s?.(l.filter((D,L)=>L!==o)):s?.([...l,e])}}},[r,t,g]),A=()=>S(e=>n.subMonths(e,1)),I=()=>S(e=>n.addMonths(e,1)),T=e=>{const s=[a.default.day];if(!n.isSameMonth(e,f)&&s.push(a.default.outside),n.isToday(e)&&s.push(a.default.today),g(e)&&s.push(a.default.disabled),r==="range"){const o=M(e);o==="start"&&(s.push(a.default.rangeStart),t.mode==="range"&&t.selected?.from&&t.selected?.to&&n.isSameDay(t.selected.from,t.selected.to)&&s.push(a.default.rangeEnd)),o==="middle"&&s.push(a.default.rangeMiddle),o==="end"&&s.push(a.default.rangeEnd)}else y(e)&&s.push(a.default.selected);return s.join(" ")},q=[a.default.calendar,v].filter(Boolean).join(" "),b=u.useId();return i.jsxs("div",{className:q,...E,children:[i.jsxs("div",{className:a.default.header,children:[i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronLeft,{size:16}),onClick:A,"aria-label":"Previous month"}),i.jsx("span",{id:b,className:a.default.monthLabel,children:n.format(f,"MMMM yyyy")}),i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronRight,{size:16}),onClick:I,"aria-label":"Next month"})]}),i.jsxs("div",{className:a.default.grid,role:"grid","aria-labelledby":b,children:[B.map(e=>i.jsx("div",{className:a.default.weekday,role:"columnheader","aria-label":e,children:e},e)),N.map(e=>!n.isSameMonth(e,f)&&!j?i.jsx("div",{},e.toISOString()):i.jsx("button",{type:"button",className:T(e),onClick:()=>w(e),disabled:g(e),tabIndex:n.isToday(e)?0:-1,"aria-label":n.format(e,"EEEE, MMMM d, yyyy"),"aria-selected":y(e)||M(e)!==null,children:n.format(e,"d")},e.toISOString()))]})]})};C.displayName="Calendar";function z(t){const r=new Date(t);return r.setHours(0,0,0,0),r}function P(t){const r=new Date(t);return r.setHours(23,59,59,999),r}exports.Calendar=C;
|
package/dist/index15.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as M, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as K, useMemo as N, useCallback as g, useId as Y } from "react";
|
|
3
3
|
import { startOfMonth as S, endOfMonth as q, startOfWeek as G, endOfWeek as J, eachDayOfInterval as Q, isBefore as y, isAfter as k, isSameDay as i, format as b, isSameMonth as x, isToday as w, subMonths as U, addMonths as V } from "date-fns";
|
|
4
4
|
import { ChevronLeft as X, ChevronRight as Z } from "lucide-react";
|
|
5
|
-
import o from "./
|
|
5
|
+
import o from "./index131.mjs";
|
|
6
6
|
import { Button as I } from "./index14.mjs";
|
|
7
7
|
const $ = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
8
8
|
function p(t, r) {
|
package/dist/index150.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="_icon_3txcc_9",r="_xs_3txcc_29",s="_sm_3txcc_34",t="_md_3txcc_39",_="_lg_3txcc_44",n="_xl_3txcc_49",e="_current_3txcc_58",o="_primary_3txcc_62",i="_secondary_3txcc_66",a="_tertiary_3txcc_70",x="_brand_3txcc_74",d="_success_3txcc_78",l="_warning_3txcc_82",u="_error_3txcc_86",y="_info_3txcc_90",m="_inverse_3txcc_94",b="_disabled_3txcc_102",g={icon:c,xs:r,sm:s,md:t,lg:_,xl:n,current:e,primary:o,secondary:i,tertiary:a,brand:x,success:d,warning:l,error:u,info:y,inverse:m,disabled:b};exports.brand=x;exports.current=e;exports.default=g;exports.disabled=b;exports.error=u;exports.icon=c;exports.info=y;exports.inverse=m;exports.lg=_;exports.md=t;exports.primary=o;exports.secondary=i;exports.sm=s;exports.success=d;exports.tertiary=a;exports.warning=l;exports.xl=n;exports.xs=r;
|
package/dist/index150.mjs
CHANGED
|
@@ -1,31 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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 c = "_icon_3txcc_9", _ = "_xs_3txcc_29", t = "_sm_3txcc_34", s = "_md_3txcc_39", n = "_lg_3txcc_44", r = "_xl_3txcc_49", o = "_current_3txcc_58", e = "_primary_3txcc_62", x = "_secondary_3txcc_66", i = "_tertiary_3txcc_70", a = "_brand_3txcc_74", d = "_success_3txcc_78", l = "_warning_3txcc_82", y = "_error_3txcc_86", m = "_info_3txcc_90", u = "_inverse_3txcc_94", b = "_disabled_3txcc_102", g = {
|
|
2
|
+
icon: c,
|
|
3
|
+
xs: _,
|
|
4
|
+
sm: t,
|
|
5
|
+
md: s,
|
|
6
|
+
lg: n,
|
|
7
|
+
xl: r,
|
|
8
|
+
current: o,
|
|
9
|
+
primary: e,
|
|
10
|
+
secondary: x,
|
|
11
|
+
tertiary: i,
|
|
12
|
+
brand: a,
|
|
13
|
+
success: d,
|
|
14
|
+
warning: l,
|
|
15
|
+
error: y,
|
|
16
|
+
info: m,
|
|
17
|
+
inverse: u,
|
|
18
|
+
disabled: b
|
|
19
|
+
};
|
|
29
20
|
export {
|
|
30
|
-
|
|
21
|
+
a as brand,
|
|
22
|
+
o as current,
|
|
23
|
+
g as default,
|
|
24
|
+
b as disabled,
|
|
25
|
+
y as error,
|
|
26
|
+
c as icon,
|
|
27
|
+
m as info,
|
|
28
|
+
u as inverse,
|
|
29
|
+
n as lg,
|
|
30
|
+
s as md,
|
|
31
|
+
e as primary,
|
|
32
|
+
x as secondary,
|
|
33
|
+
t as sm,
|
|
34
|
+
d as success,
|
|
35
|
+
i as tertiary,
|
|
36
|
+
l as warning,
|
|
37
|
+
r as xl,
|
|
38
|
+
_ as xs
|
|
31
39
|
};
|
package/dist/index151.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n="_collapsible_1swsf_3",t="_trigger_1swsf_8",e="_content_1swsf_32",o="_contentOpen_1swsf_38",s="_contentInner_1swsf_42",c={collapsible:n,trigger:t,content:e,contentOpen:o,contentInner:s};exports.collapsible=n;exports.content=e;exports.contentInner=s;exports.contentOpen=o;exports.default=c;exports.trigger=t;
|
package/dist/index151.mjs
CHANGED
|
@@ -1,93 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { useThemeContext as L } from "./index75.mjs";
|
|
8
|
-
const N = (e) => e ? {
|
|
9
|
-
js: "javascript",
|
|
10
|
-
ts: "typescript",
|
|
11
|
-
jsx: "jsx",
|
|
12
|
-
tsx: "tsx",
|
|
13
|
-
py: "python",
|
|
14
|
-
rb: "ruby",
|
|
15
|
-
sh: "bash",
|
|
16
|
-
shell: "bash",
|
|
17
|
-
yml: "yaml",
|
|
18
|
-
md: "markdown"
|
|
19
|
-
}[e.toLowerCase()] || e.toLowerCase() : "text", w = ({
|
|
20
|
-
code: e,
|
|
21
|
-
language: s,
|
|
22
|
-
showLineNumbers: m = !1,
|
|
23
|
-
showCopyButton: p = !0,
|
|
24
|
-
maxHeight: h = "400px",
|
|
25
|
-
className: y,
|
|
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 n = "_collapsible_1swsf_3", t = "_trigger_1swsf_8", e = "_content_1swsf_32", s = "_contentOpen_1swsf_38", o = "_contentInner_1swsf_42", c = {
|
|
2
|
+
collapsible: n,
|
|
3
|
+
trigger: t,
|
|
4
|
+
content: e,
|
|
5
|
+
contentOpen: s,
|
|
6
|
+
contentInner: o
|
|
89
7
|
};
|
|
90
|
-
w.displayName = "ChatCodeBlock";
|
|
91
8
|
export {
|
|
92
|
-
|
|
9
|
+
n as collapsible,
|
|
10
|
+
e as content,
|
|
11
|
+
o as contentInner,
|
|
12
|
+
s as contentOpen,
|
|
13
|
+
c as default,
|
|
14
|
+
t as trigger
|
|
93
15
|
};
|
package/dist/index152.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/index152.mjs
CHANGED
|
@@ -1,55 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
l,
|
|
17
|
-
{
|
|
18
|
-
remarkPlugins: [d],
|
|
19
|
-
components: {
|
|
20
|
-
// Custom code block rendering
|
|
21
|
-
code({ className: r, children: o, ...t }) {
|
|
22
|
-
const n = /language-(\w+)/.exec(r || "");
|
|
23
|
-
if (!n)
|
|
24
|
-
return /* @__PURE__ */ e("code", { className: r, ...t, children: o });
|
|
25
|
-
const s = String(o).replace(/\n$/, "");
|
|
26
|
-
return /* @__PURE__ */ e(p, { code: s, language: n[1] });
|
|
27
|
-
},
|
|
28
|
-
// Custom pre rendering (remove wrapper for code blocks)
|
|
29
|
-
pre({ children: r }) {
|
|
30
|
-
return /* @__PURE__ */ e(c, { children: r });
|
|
31
|
-
},
|
|
32
|
-
// Custom link rendering (open in new tab)
|
|
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 _ = "_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
|
+
};
|
|
53
16
|
export {
|
|
54
|
-
|
|
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
|
|
55
31
|
};
|
package/dist/index153.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_fieldContainer_aewgj_9",r="_fullWidth_aewgj_15",t="_disabled_aewgj_19",n="_label_aewgj_24",o="_labelText_aewgj_40",a="_optional_aewgj_44",_="_required_aewgj_50",s="_inputWrapper_aewgj_57",l="_input_aewgj_57",c="_error_aewgj_133",i="_leftIcon_aewgj_150",g="_rightIcon_aewgj_151",I="_rightIconInteractive_aewgj_171",d="_errorIconInline_aewgj_202",h="_errorIconMessage_aewgj_208",p="_sm_aewgj_213",j="_md_aewgj_222",u="_lg_aewgj_231",w="_hasLeftIcon_aewgj_241",f="_hasRightIcon_aewgj_245",b="_helperText_aewgj_250",M="_errorMessage_aewgj_259",m={fieldContainer:e,fullWidth:r,disabled:t,label:n,labelText:o,optional:a,required:_,inputWrapper:s,input:l,error:c,leftIcon:i,rightIcon:g,rightIconInteractive:I,errorIconInline:d,errorIconMessage:h,sm:p,md:j,lg:u,hasLeftIcon:w,hasRightIcon:f,helperText:b,errorMessage:M};exports.default=m;exports.disabled=t;exports.error=c;exports.errorIconInline=d;exports.errorIconMessage=h;exports.errorMessage=M;exports.fieldContainer=e;exports.fullWidth=r;exports.hasLeftIcon=w;exports.hasRightIcon=f;exports.helperText=b;exports.input=l;exports.inputWrapper=s;exports.label=n;exports.labelText=o;exports.leftIcon=i;exports.lg=u;exports.md=j;exports.optional=a;exports.required=_;exports.rightIcon=g;exports.rightIconInteractive=I;exports.sm=p;
|
package/dist/index153.mjs
CHANGED
|
@@ -1,69 +1,49 @@
|
|
|
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
|
-
className: [a.imagePreview, a.attachmentPreview, m].filter(Boolean).join(" "),
|
|
26
|
-
...s,
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ e("div", { className: a.attachmentPreviewIcon, children: /* @__PURE__ */ e(P, { size: 20 }) }),
|
|
29
|
-
/* @__PURE__ */ e("span", { className: a.attachmentPreviewName, children: "Image failed to load" })
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
) : /* @__PURE__ */ f(u, { children: [
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: [a.imagePreview, m].filter(Boolean).join(" "),
|
|
37
|
-
onClick: c,
|
|
38
|
-
onKeyDown: I,
|
|
39
|
-
role: "button",
|
|
40
|
-
tabIndex: 0,
|
|
41
|
-
"aria-label": r,
|
|
42
|
-
...s,
|
|
43
|
-
children: /* @__PURE__ */ e(
|
|
44
|
-
"img",
|
|
45
|
-
{
|
|
46
|
-
src: h || i,
|
|
47
|
-
alt: r,
|
|
48
|
-
className: a.imagePreviewImg,
|
|
49
|
-
onError: w,
|
|
50
|
-
loading: "lazy"
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
n && /* @__PURE__ */ e(
|
|
56
|
-
y,
|
|
57
|
-
{
|
|
58
|
-
src: i,
|
|
59
|
-
alt: r,
|
|
60
|
-
isOpen: d,
|
|
61
|
-
onClose: () => l(!1)
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
] });
|
|
1
|
+
const e = "_fieldContainer_aewgj_9", n = "_fullWidth_aewgj_15", t = "_disabled_aewgj_19", o = "_label_aewgj_24", _ = "_labelText_aewgj_40", r = "_optional_aewgj_44", a = "_required_aewgj_50", s = "_inputWrapper_aewgj_57", c = "_input_aewgj_57", l = "_error_aewgj_133", g = "_leftIcon_aewgj_150", i = "_rightIcon_aewgj_151", I = "_rightIconInteractive_aewgj_171", j = "_errorIconInline_aewgj_202", w = "_errorIconMessage_aewgj_208", h = "_sm_aewgj_213", d = "_md_aewgj_222", p = "_lg_aewgj_231", f = "_hasLeftIcon_aewgj_241", u = "_hasRightIcon_aewgj_245", b = "_helperText_aewgj_250", x = "_errorMessage_aewgj_259", m = {
|
|
2
|
+
fieldContainer: e,
|
|
3
|
+
fullWidth: n,
|
|
4
|
+
disabled: t,
|
|
5
|
+
label: o,
|
|
6
|
+
labelText: _,
|
|
7
|
+
optional: r,
|
|
8
|
+
required: a,
|
|
9
|
+
inputWrapper: s,
|
|
10
|
+
input: c,
|
|
11
|
+
error: l,
|
|
12
|
+
leftIcon: g,
|
|
13
|
+
rightIcon: i,
|
|
14
|
+
rightIconInteractive: I,
|
|
15
|
+
errorIconInline: j,
|
|
16
|
+
errorIconMessage: w,
|
|
17
|
+
sm: h,
|
|
18
|
+
md: d,
|
|
19
|
+
lg: p,
|
|
20
|
+
hasLeftIcon: f,
|
|
21
|
+
hasRightIcon: u,
|
|
22
|
+
helperText: b,
|
|
23
|
+
errorMessage: x
|
|
65
24
|
};
|
|
66
|
-
x.displayName = "ChatImagePreview";
|
|
67
25
|
export {
|
|
68
|
-
|
|
26
|
+
m as default,
|
|
27
|
+
t as disabled,
|
|
28
|
+
l as error,
|
|
29
|
+
j as errorIconInline,
|
|
30
|
+
w as errorIconMessage,
|
|
31
|
+
x as errorMessage,
|
|
32
|
+
e as fieldContainer,
|
|
33
|
+
n as fullWidth,
|
|
34
|
+
f as hasLeftIcon,
|
|
35
|
+
u as hasRightIcon,
|
|
36
|
+
b as helperText,
|
|
37
|
+
c as input,
|
|
38
|
+
s as inputWrapper,
|
|
39
|
+
o as label,
|
|
40
|
+
_ as labelText,
|
|
41
|
+
g as leftIcon,
|
|
42
|
+
p as lg,
|
|
43
|
+
d as md,
|
|
44
|
+
r as optional,
|
|
45
|
+
a as required,
|
|
46
|
+
i as rightIcon,
|
|
47
|
+
I as rightIconInteractive,
|
|
48
|
+
h as sm
|
|
69
49
|
};
|