@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/index154.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_card_iidct_8",t="_base_iidct_27",i="_glass_iidct_32",a="_elevated_iidct_39",o="_outlined_iidct_44",n="_image_iidct_49",_="_imageOverlay_iidct_58",d="_gradientBottom_iidct_68",c="_gradientTop_iidct_78",r="_gradientCenter_iidct_88",g="_imageContent_iidct_101",s="_imageTitle_iidct_108",m="_imageDescription_iidct_119",l="_imageMeta_iidct_130",v="_interactive_iidct_144",u="_header_iidct_173",b="_body_iidct_180",y="_footer_iidct_192",p={card:e,base:t,glass:i,elevated:a,outlined:o,image:n,imageOverlay:_,gradientBottom:d,gradientTop:c,gradientCenter:r,imageContent:g,imageTitle:s,imageDescription:m,imageMeta:l,interactive:v,header:u,body:b,footer:y};exports.base=t;exports.body=b;exports.card=e;exports.default=p;exports.elevated=a;exports.footer=y;exports.glass=i;exports.gradientBottom=d;exports.gradientCenter=r;exports.gradientTop=c;exports.header=u;exports.image=n;exports.imageContent=g;exports.imageDescription=m;exports.imageMeta=l;exports.imageOverlay=_;exports.imageTitle=s;exports.interactive=v;exports.outlined=o;
|
package/dist/index154.mjs
CHANGED
|
@@ -1,127 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
f(!1), u(0);
|
|
21
|
-
}, []), D = s(() => {
|
|
22
|
-
const e = n.current;
|
|
23
|
-
e && (c ? e.pause() : e.play().catch(() => {
|
|
24
|
-
f(!1);
|
|
25
|
-
}), f(!c));
|
|
26
|
-
}, [c]), x = s(
|
|
27
|
-
(e) => {
|
|
28
|
-
const l = n.current;
|
|
29
|
-
if (!l || !a) return;
|
|
30
|
-
const d = e.currentTarget.getBoundingClientRect(), P = (e.clientX - d.left) / d.width * a;
|
|
31
|
-
l.currentTime = P, u(P);
|
|
32
|
-
},
|
|
33
|
-
[a]
|
|
34
|
-
), A = s(
|
|
35
|
-
(e) => {
|
|
36
|
-
const l = n.current;
|
|
37
|
-
if (!l || !a) return;
|
|
38
|
-
const d = 5;
|
|
39
|
-
let i = t;
|
|
40
|
-
switch (e.key) {
|
|
41
|
-
case "ArrowRight":
|
|
42
|
-
case "ArrowUp":
|
|
43
|
-
e.preventDefault(), i = Math.min(t + d, a);
|
|
44
|
-
break;
|
|
45
|
-
case "ArrowLeft":
|
|
46
|
-
case "ArrowDown":
|
|
47
|
-
e.preventDefault(), i = Math.max(t - d, 0);
|
|
48
|
-
break;
|
|
49
|
-
case "Home":
|
|
50
|
-
e.preventDefault(), i = 0;
|
|
51
|
-
break;
|
|
52
|
-
case "End":
|
|
53
|
-
e.preventDefault(), i = a;
|
|
54
|
-
break;
|
|
55
|
-
default:
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
l.currentTime = i, u(i);
|
|
59
|
-
},
|
|
60
|
-
[t, a]
|
|
61
|
-
), E = a > 0 ? t / a * 100 : 0;
|
|
62
|
-
return R(() => () => {
|
|
63
|
-
const e = n.current;
|
|
64
|
-
e && e.pause();
|
|
65
|
-
}, []), /* @__PURE__ */ p(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
className: [o.audioPlayer, w].filter(Boolean).join(" "),
|
|
69
|
-
...T,
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ r(
|
|
72
|
-
"audio",
|
|
73
|
-
{
|
|
74
|
-
ref: n,
|
|
75
|
-
src: g,
|
|
76
|
-
onLoadedMetadata: N,
|
|
77
|
-
onTimeUpdate: b,
|
|
78
|
-
onEnded: C,
|
|
79
|
-
preload: "metadata"
|
|
80
|
-
}
|
|
81
|
-
),
|
|
82
|
-
/* @__PURE__ */ r(
|
|
83
|
-
"button",
|
|
84
|
-
{
|
|
85
|
-
className: o.audioPlayerButton,
|
|
86
|
-
onClick: D,
|
|
87
|
-
"aria-label": c ? "Pause" : "Play",
|
|
88
|
-
children: c ? /* @__PURE__ */ r(j, { size: 16 }) : /* @__PURE__ */ r(B, { size: 16 })
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerProgress, children: [
|
|
92
|
-
y && /* @__PURE__ */ r("span", { className: o.attachmentPreviewName, children: y }),
|
|
93
|
-
/* @__PURE__ */ r(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
className: o.audioPlayerTrack,
|
|
97
|
-
onClick: x,
|
|
98
|
-
onKeyDown: A,
|
|
99
|
-
role: "slider",
|
|
100
|
-
"aria-label": "Audio progress",
|
|
101
|
-
"aria-valuemin": 0,
|
|
102
|
-
"aria-valuemax": a,
|
|
103
|
-
"aria-valuenow": t,
|
|
104
|
-
"aria-valuetext": `${m(t)} of ${m(a)}`,
|
|
105
|
-
tabIndex: 0,
|
|
106
|
-
children: /* @__PURE__ */ r(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
className: o.audioPlayerFill,
|
|
110
|
-
style: { width: `${E}%` }
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerTime, children: [
|
|
116
|
-
/* @__PURE__ */ r("span", { children: m(t) }),
|
|
117
|
-
/* @__PURE__ */ r("span", { children: m(a) })
|
|
118
|
-
] })
|
|
119
|
-
] })
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
);
|
|
1
|
+
const t = "_card_iidct_8", e = "_base_iidct_27", i = "_glass_iidct_32", _ = "_elevated_iidct_39", a = "_outlined_iidct_44", o = "_image_iidct_49", c = "_imageOverlay_iidct_58", n = "_gradientBottom_iidct_68", d = "_gradientTop_iidct_78", s = "_gradientCenter_iidct_88", r = "_imageContent_iidct_101", g = "_imageTitle_iidct_108", m = "_imageDescription_iidct_119", l = "_imageMeta_iidct_130", v = "_interactive_iidct_144", p = "_header_iidct_173", y = "_body_iidct_180", b = "_footer_iidct_192", C = {
|
|
2
|
+
card: t,
|
|
3
|
+
base: e,
|
|
4
|
+
glass: i,
|
|
5
|
+
elevated: _,
|
|
6
|
+
outlined: a,
|
|
7
|
+
image: o,
|
|
8
|
+
imageOverlay: c,
|
|
9
|
+
gradientBottom: n,
|
|
10
|
+
gradientTop: d,
|
|
11
|
+
gradientCenter: s,
|
|
12
|
+
imageContent: r,
|
|
13
|
+
imageTitle: g,
|
|
14
|
+
imageDescription: m,
|
|
15
|
+
imageMeta: l,
|
|
16
|
+
interactive: v,
|
|
17
|
+
header: p,
|
|
18
|
+
body: y,
|
|
19
|
+
footer: b
|
|
123
20
|
};
|
|
124
|
-
L.displayName = "ChatAudioPlayer";
|
|
125
21
|
export {
|
|
126
|
-
|
|
22
|
+
e as base,
|
|
23
|
+
y as body,
|
|
24
|
+
t as card,
|
|
25
|
+
C as default,
|
|
26
|
+
_ as elevated,
|
|
27
|
+
b as footer,
|
|
28
|
+
i as glass,
|
|
29
|
+
n as gradientBottom,
|
|
30
|
+
s as gradientCenter,
|
|
31
|
+
d as gradientTop,
|
|
32
|
+
p as header,
|
|
33
|
+
o as image,
|
|
34
|
+
r as imageContent,
|
|
35
|
+
m as imageDescription,
|
|
36
|
+
l as imageMeta,
|
|
37
|
+
c as imageOverlay,
|
|
38
|
+
g as imageTitle,
|
|
39
|
+
v as interactive,
|
|
40
|
+
a as outlined
|
|
127
41
|
};
|
package/dist/index155.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_gallery_nbesj_7",n="_header_nbesj_14",o="_searchContainer_nbesj_33",s="_searchIcon_nbesj_39",c="_searchInput_nbesj_48",t="_resultCount_nbesj_69",a="_categories_nbesj_80",_="_categoryBtn_nbesj_88",r="_active_nbesj_106",i="_iconGrid_nbesj_113",l="_iconItem_nbesj_121",u="_iconDisplay_nbesj_149",d="_iconName_nbesj_158",g="_copiedBadge_nbesj_172",b="_noResults_nbesj_208",j="_usageInfo_nbesj_220",h="_codeBlock_nbesj_235",I={gallery:e,header:n,searchContainer:o,searchIcon:s,searchInput:c,resultCount:t,categories:a,categoryBtn:_,active:r,iconGrid:i,iconItem:l,iconDisplay:u,iconName:d,copiedBadge:g,noResults:b,usageInfo:j,codeBlock:h};exports.active=r;exports.categories=a;exports.categoryBtn=_;exports.codeBlock=h;exports.copiedBadge=g;exports.default=I;exports.gallery=e;exports.header=n;exports.iconDisplay=u;exports.iconGrid=i;exports.iconItem=l;exports.iconName=d;exports.noResults=b;exports.resultCount=t;exports.searchContainer=o;exports.searchIcon=s;exports.searchInput=c;exports.usageInfo=j;
|
package/dist/index155.mjs
CHANGED
|
@@ -1,111 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
stopRecording: u,
|
|
20
|
-
cancelRecording: N,
|
|
21
|
-
reset: l,
|
|
22
|
-
isSupported: f
|
|
23
|
-
} = S({
|
|
24
|
-
maxDuration: m,
|
|
25
|
-
onRecordingComplete: d,
|
|
26
|
-
onError: (g) => console.error("Recording error:", g)
|
|
27
|
-
}), p = () => {
|
|
28
|
-
o ? u() : i ? (d?.(i), l()) : h();
|
|
29
|
-
}, B = () => {
|
|
30
|
-
N(), v?.();
|
|
31
|
-
};
|
|
32
|
-
return f ? s ? /* @__PURE__ */ c(
|
|
33
|
-
"div",
|
|
34
|
-
{
|
|
35
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
36
|
-
...n,
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r(
|
|
39
|
-
"span",
|
|
40
|
-
{
|
|
41
|
-
className: [
|
|
42
|
-
e.voiceRecorderLabel,
|
|
43
|
-
e.voiceRecorderError
|
|
44
|
-
].join(" "),
|
|
45
|
-
children: s
|
|
46
|
-
}
|
|
47
|
-
) }),
|
|
48
|
-
/* @__PURE__ */ r(
|
|
49
|
-
"button",
|
|
50
|
-
{
|
|
51
|
-
className: e.inputButton,
|
|
52
|
-
onClick: l,
|
|
53
|
-
"aria-label": "Try again",
|
|
54
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
) : /* @__PURE__ */ c(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
63
|
-
...n,
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ r(
|
|
66
|
-
"button",
|
|
67
|
-
{
|
|
68
|
-
className: [
|
|
69
|
-
e.voiceRecorderButton,
|
|
70
|
-
!o && !i && e.voiceRecorderButtonIdle
|
|
71
|
-
].filter(Boolean).join(" "),
|
|
72
|
-
onClick: p,
|
|
73
|
-
"aria-label": o ? "Stop recording" : i ? "Send recording" : "Start recording",
|
|
74
|
-
children: o ? /* @__PURE__ */ r(b, { size: 20 }) : i ? /* @__PURE__ */ r(C, { size: 20 }) : /* @__PURE__ */ r(j, { size: 20 })
|
|
75
|
-
}
|
|
76
|
-
),
|
|
77
|
-
/* @__PURE__ */ c("div", { className: e.voiceRecorderInfo, children: [
|
|
78
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderDuration, children: k(R) }),
|
|
79
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: o ? "Recording..." : i ? "Recording ready" : "Click to record" })
|
|
80
|
-
] }),
|
|
81
|
-
o && /* @__PURE__ */ c("div", { className: e.voiceRecorderWaveform, children: [
|
|
82
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
83
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
84
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
85
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
86
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar })
|
|
87
|
-
] }),
|
|
88
|
-
(o || i) && /* @__PURE__ */ r("div", { className: e.voiceRecorderActions, children: /* @__PURE__ */ r(
|
|
89
|
-
"button",
|
|
90
|
-
{
|
|
91
|
-
className: e.inputButton,
|
|
92
|
-
onClick: B,
|
|
93
|
-
"aria-label": "Cancel recording",
|
|
94
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
95
|
-
}
|
|
96
|
-
) })
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
) : /* @__PURE__ */ r(
|
|
100
|
-
"div",
|
|
101
|
-
{
|
|
102
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
103
|
-
...n,
|
|
104
|
-
children: /* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: "Voice recording is not supported in this browser" }) })
|
|
105
|
-
}
|
|
106
|
-
);
|
|
1
|
+
const e = "_gallery_nbesj_7", n = "_header_nbesj_14", s = "_searchContainer_nbesj_33", o = "_searchIcon_nbesj_39", c = "_searchInput_nbesj_48", t = "_resultCount_nbesj_69", _ = "_categories_nbesj_80", a = "_categoryBtn_nbesj_88", r = "_active_nbesj_106", i = "_iconGrid_nbesj_113", l = "_iconItem_nbesj_121", b = "_iconDisplay_nbesj_149", j = "_iconName_nbesj_158", d = "_copiedBadge_nbesj_172", u = "_noResults_nbesj_208", g = "_usageInfo_nbesj_220", h = "_codeBlock_nbesj_235", I = {
|
|
2
|
+
gallery: e,
|
|
3
|
+
header: n,
|
|
4
|
+
searchContainer: s,
|
|
5
|
+
searchIcon: o,
|
|
6
|
+
searchInput: c,
|
|
7
|
+
resultCount: t,
|
|
8
|
+
categories: _,
|
|
9
|
+
categoryBtn: a,
|
|
10
|
+
active: r,
|
|
11
|
+
iconGrid: i,
|
|
12
|
+
iconItem: l,
|
|
13
|
+
iconDisplay: b,
|
|
14
|
+
iconName: j,
|
|
15
|
+
copiedBadge: d,
|
|
16
|
+
noResults: u,
|
|
17
|
+
usageInfo: g,
|
|
18
|
+
codeBlock: h
|
|
107
19
|
};
|
|
108
|
-
z.displayName = "ChatVoiceRecorder";
|
|
109
20
|
export {
|
|
110
|
-
|
|
21
|
+
r as active,
|
|
22
|
+
_ as categories,
|
|
23
|
+
a as categoryBtn,
|
|
24
|
+
h as codeBlock,
|
|
25
|
+
d as copiedBadge,
|
|
26
|
+
I as default,
|
|
27
|
+
e as gallery,
|
|
28
|
+
n as header,
|
|
29
|
+
b as iconDisplay,
|
|
30
|
+
i as iconGrid,
|
|
31
|
+
l as iconItem,
|
|
32
|
+
j as iconName,
|
|
33
|
+
u as noResults,
|
|
34
|
+
t as resultCount,
|
|
35
|
+
s as searchContainer,
|
|
36
|
+
o as searchIcon,
|
|
37
|
+
c as searchInput,
|
|
38
|
+
g as usageInfo
|
|
111
39
|
};
|
package/dist/index156.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="_trigger_1xlzd_16",t="_triggerFullWidth_1xlzd_21",o="_popover_1xlzd_28",e="_visible_1xlzd_46",_="_content_1xlzd_57",l="_arrow_1xlzd_68",i={trigger:r,triggerFullWidth:t,popover:o,visible:e,content:_,arrow:l,"arrow-top":"_arrow-top_1xlzd_78","arrow-bottom":"_arrow-bottom_1xlzd_86","arrow-left":"_arrow-left_1xlzd_94","arrow-right":"_arrow-right_1xlzd_102"};exports.arrow=l;exports.content=_;exports.default=i;exports.popover=o;exports.trigger=r;exports.triggerFullWidth=t;exports.visible=e;
|
package/dist/index156.mjs
CHANGED
|
@@ -1,114 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
children: D,
|
|
13
|
-
className: v,
|
|
14
|
-
...y
|
|
15
|
-
}) => {
|
|
16
|
-
const [U, f] = I(!1), i = W(null), c = a(
|
|
17
|
-
(e) => {
|
|
18
|
-
if (!e || e.length === 0) return;
|
|
19
|
-
const o = [];
|
|
20
|
-
Array.from(e).forEach((t) => {
|
|
21
|
-
if (r && t.size > r) {
|
|
22
|
-
console.warn(
|
|
23
|
-
`File ${t.name} exceeds max size of ${g(r)}`
|
|
24
|
-
);
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const j = s.includes("*/*"), w = s.flatMap((n) => (n.endsWith("/*"), n));
|
|
28
|
-
if (!(j || w.some((n) => {
|
|
29
|
-
if (n.endsWith("/*")) {
|
|
30
|
-
const x = n.split("/")[0];
|
|
31
|
-
return t.type.startsWith(`${x}/`);
|
|
32
|
-
}
|
|
33
|
-
return t.type === n || t.name.endsWith(n);
|
|
34
|
-
}))) {
|
|
35
|
-
console.warn(`File ${t.name} type not accepted`);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
o.push(t);
|
|
39
|
-
}), o.length > 0 && h?.(o);
|
|
40
|
-
},
|
|
41
|
-
[s, r, h]
|
|
42
|
-
), C = a((e) => {
|
|
43
|
-
e.preventDefault(), e.stopPropagation(), f(!0);
|
|
44
|
-
}, []), k = a((e) => {
|
|
45
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
46
|
-
}, []), F = a(
|
|
47
|
-
(e) => {
|
|
48
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
49
|
-
const { files: o } = e.dataTransfer;
|
|
50
|
-
c(o);
|
|
51
|
-
},
|
|
52
|
-
[c]
|
|
53
|
-
), N = a(
|
|
54
|
-
(e) => {
|
|
55
|
-
c(e.target.files), i.current && (i.current.value = "");
|
|
56
|
-
},
|
|
57
|
-
[c]
|
|
58
|
-
), u = a(() => {
|
|
59
|
-
i.current?.click();
|
|
60
|
-
}, []), b = a(
|
|
61
|
-
(e) => {
|
|
62
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), u());
|
|
63
|
-
},
|
|
64
|
-
[u]
|
|
65
|
-
);
|
|
66
|
-
return /* @__PURE__ */ d(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: [
|
|
70
|
-
l.fileUpload,
|
|
71
|
-
U && l.fileUploadDragging,
|
|
72
|
-
v
|
|
73
|
-
].filter(Boolean).join(" "),
|
|
74
|
-
onDragOver: C,
|
|
75
|
-
onDragLeave: k,
|
|
76
|
-
onDrop: F,
|
|
77
|
-
onClick: u,
|
|
78
|
-
onKeyDown: b,
|
|
79
|
-
role: "button",
|
|
80
|
-
tabIndex: 0,
|
|
81
|
-
"aria-label": "Upload files",
|
|
82
|
-
...y,
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ p(
|
|
85
|
-
"input",
|
|
86
|
-
{
|
|
87
|
-
ref: i,
|
|
88
|
-
type: "file",
|
|
89
|
-
accept: s.join(","),
|
|
90
|
-
multiple: m,
|
|
91
|
-
onChange: N,
|
|
92
|
-
style: { display: "none" },
|
|
93
|
-
"aria-hidden": "true"
|
|
94
|
-
}
|
|
95
|
-
),
|
|
96
|
-
D || /* @__PURE__ */ d(A, { children: [
|
|
97
|
-
/* @__PURE__ */ p("div", { className: l.fileUploadIcon, children: /* @__PURE__ */ p($, { size: 32 }) }),
|
|
98
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadText, children: [
|
|
99
|
-
/* @__PURE__ */ p("strong", { children: "Click to upload" }),
|
|
100
|
-
" or drag and drop"
|
|
101
|
-
] }),
|
|
102
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadHint, children: [
|
|
103
|
-
"Max file size: ",
|
|
104
|
-
g(r)
|
|
105
|
-
] })
|
|
106
|
-
] })
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
);
|
|
1
|
+
const r = "_trigger_1xlzd_16", t = "_triggerFullWidth_1xlzd_21", o = "_popover_1xlzd_28", _ = "_visible_1xlzd_46", l = "_content_1xlzd_57", e = "_arrow_1xlzd_68", i = {
|
|
2
|
+
trigger: r,
|
|
3
|
+
triggerFullWidth: t,
|
|
4
|
+
popover: o,
|
|
5
|
+
visible: _,
|
|
6
|
+
content: l,
|
|
7
|
+
arrow: e,
|
|
8
|
+
"arrow-top": "_arrow-top_1xlzd_78",
|
|
9
|
+
"arrow-bottom": "_arrow-bottom_1xlzd_86",
|
|
10
|
+
"arrow-left": "_arrow-left_1xlzd_94",
|
|
11
|
+
"arrow-right": "_arrow-right_1xlzd_102"
|
|
110
12
|
};
|
|
111
|
-
P.displayName = "ChatFileUpload";
|
|
112
13
|
export {
|
|
113
|
-
|
|
14
|
+
e as arrow,
|
|
15
|
+
l as content,
|
|
16
|
+
i as default,
|
|
17
|
+
o as popover,
|
|
18
|
+
r as trigger,
|
|
19
|
+
t as triggerFullWidth,
|
|
20
|
+
_ as visible
|
|
114
21
|
};
|
package/dist/index157.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_navTree_6iya4_12",o="_header_6iya4_29",n="_footer_6iya4_36",t="_treeContent_6iya4_47",i="_section_6iya4_76",s="_sectionHeader_6iya4_81",d="_sectionHeaderNode_6iya4_100",c="_sectionChevron_6iya4_105",_="_sectionChevronOpen_6iya4_117",a="_sectionTitle_6iya4_122",r="_sectionTitleNode_6iya4_136",y="_sectionBody_6iya4_148",l="_sectionActions_6iya4_154",v="_node_6iya4_182",h="_nodeRow_6iya4_187",C="_nodeRowActive_6iya4_208",p="_nodeLabel_6iya4_216",O="_nodeChevron_6iya4_222",T="_nodeChevronOpen_6iya4_238",A="_nodeChevronHidden_6iya4_243",B="_nodeActions_6iya4_277",H="_nodeChildren_6iya4_311",N="_nodeNested_6iya4_321",g="_iconSlot_6iya4_330",w="_slotIcon_6iya4_341",R="_slotChevron_6iya4_352",u="_slotChevronOpen_6iya4_364",b="_sectionBadge_6iya4_403",f="_nodeBadge_6iya4_418",S="_empty_6iya4_435",m={navTree:e,header:o,footer:n,treeContent:t,section:i,sectionHeader:s,sectionHeaderNode:d,sectionChevron:c,sectionChevronOpen:_,sectionTitle:a,sectionTitleNode:r,sectionBody:y,sectionActions:l,node:v,nodeRow:h,nodeRowActive:C,nodeLabel:p,nodeChevron:O,nodeChevronOpen:T,nodeChevronHidden:A,nodeActions:B,nodeChildren:H,nodeNested:N,iconSlot:g,slotIcon:w,slotChevron:R,slotChevronOpen:u,sectionBadge:b,nodeBadge:f,empty:S};exports.default=m;exports.empty=S;exports.footer=n;exports.header=o;exports.iconSlot=g;exports.navTree=e;exports.node=v;exports.nodeActions=B;exports.nodeBadge=f;exports.nodeChevron=O;exports.nodeChevronHidden=A;exports.nodeChevronOpen=T;exports.nodeChildren=H;exports.nodeLabel=p;exports.nodeNested=N;exports.nodeRow=h;exports.nodeRowActive=C;exports.section=i;exports.sectionActions=l;exports.sectionBadge=b;exports.sectionBody=y;exports.sectionChevron=c;exports.sectionChevronOpen=_;exports.sectionHeader=s;exports.sectionHeaderNode=d;exports.sectionTitle=a;exports.sectionTitleNode=r;exports.slotChevron=R;exports.slotChevronOpen=u;exports.slotIcon=w;exports.treeContent=t;
|