@orion-ds/react 4.2.3 → 4.2.4
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 +30 -20
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +40 -42
- package/dist/index102.cjs +1 -1
- package/dist/index102.mjs +44 -60
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +24 -30
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +12 -36
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +44 -30
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +22 -45
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +38 -18
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +14 -30
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +18 -14
- package/dist/index11.cjs +1 -1
- package/dist/index11.mjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +27 -45
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +30 -24
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +52 -46
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +37 -43
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +28 -18
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +40 -22
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +46 -33
- package/dist/index117.cjs +1 -1
- package/dist/index117.mjs +28 -20
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +22 -32
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +28 -52
- package/dist/index12.cjs +1 -1
- package/dist/index12.mjs +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +62 -20
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +32 -18
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +45 -32
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +28 -30
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +33 -24
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +38 -28
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +32 -38
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +42 -38
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +40 -40
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +30 -40
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +62 -36
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +106 -44
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +57 -16
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +24 -28
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +30 -22
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +18 -28
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +52 -55
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +30 -56
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +28 -33
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +42 -46
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +19 -37
- package/dist/index141.cjs +1 -1
- package/dist/index141.mjs +44 -28
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +65 -67
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +20 -52
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +33 -62
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +76 -234
- package/dist/index146.cjs +1 -1
- package/dist/index146.mjs +65 -34
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +65 -44
- package/dist/index148.cjs +1 -1
- package/dist/index148.mjs +18 -170
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +21 -186
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +57 -29
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +24 -90
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +54 -53
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +26 -66
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +27 -124
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +46 -108
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +42 -111
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +30 -122
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +55 -214
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +16 -64
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +12 -57
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +50 -27
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +20 -28
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +33 -18
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +36 -24
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +67 -50
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +28 -64
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +16 -31
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +234 -30
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +34 -43
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +44 -13
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +170 -44
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +186 -41
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +29 -29
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +90 -76
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +53 -107
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +66 -26
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +124 -30
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +108 -12
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +111 -18
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +122 -53
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +214 -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 +36 -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 +141 -1
- package/package.json +1 -1
- package/dist/react.css +0 -1
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("./index138.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 "./index138.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 i="_quickActions_1iws7_8",o="_fixed_1iws7_12",n="_fabTrigger_1iws7_54",t="_fabTriggerIcon_1iws7_81",c="_fabTriggerIconRotate_1iws7_88",e="_fabActions_1iws7_92",_="_open_1iws7_103",a="_fabAction_1iws7_92",s="_fabActionIcon_1iws7_136",r="_fabActionLabel_1iws7_144",b="_bar_1iws7_154",A="_barAction_1iws7_165",u="_barActionIcon_1iws7_183",f="_barActionLabel_1iws7_191",g="_menuTrigger_1iws7_208",m="_menu_1iws7_208",w="_menuSlide_1iws7_1",l="_menuAction_1iws7_250",p="_menuActionIcon_1iws7_269",I="_menuActionLabel_1iws7_278",d="_actionDisabled_1iws7_301",T="_shortcut_1iws7_311",L={quickActions:i,fixed:o,"position-bottom-right":"_position-bottom-right_1iws7_17","position-bottom-left":"_position-bottom-left_1iws7_22","position-bottom-center":"_position-bottom-center_1iws7_27","position-top-right":"_position-top-right_1iws7_33","position-top-left":"_position-top-left_1iws7_38","variant-fab":"_variant-fab_1iws7_47",fabTrigger:n,fabTriggerIcon:t,fabTriggerIconRotate:c,fabActions:e,open:_,fabAction:a,fabActionIcon:s,fabActionLabel:r,"variant-bar":"_variant-bar_1iws7_154",bar:b,barAction:A,barActionIcon:u,barActionLabel:f,"variant-menu":"_variant-menu_1iws7_201",menuTrigger:g,menu:m,menuSlide:w,menuAction:l,menuActionIcon:p,menuActionLabel:I,"action-primary":"_action-primary_1iws7_289","action-danger":"_action-danger_1iws7_293",actionDisabled:d,shortcut:T};exports.actionDisabled=d;exports.bar=b;exports.barAction=A;exports.barActionIcon=u;exports.barActionLabel=f;exports.default=L;exports.fabAction=a;exports.fabActionIcon=s;exports.fabActionLabel=r;exports.fabActions=e;exports.fabTrigger=n;exports.fabTriggerIcon=t;exports.fabTriggerIconRotate=c;exports.fixed=o;exports.menu=m;exports.menuAction=l;exports.menuActionIcon=p;exports.menuActionLabel=I;exports.menuSlide=w;exports.menuTrigger=g;exports.open=_;exports.quickActions=i;exports.shortcut=T;
|
package/dist/index150.mjs
CHANGED
|
@@ -1,31 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
const i = "_quickActions_1iws7_8", o = "_fixed_1iws7_12", n = "_fabTrigger_1iws7_54", t = "_fabTriggerIcon_1iws7_81", _ = "_fabTriggerIconRotate_1iws7_88", c = "_fabActions_1iws7_92", s = "_open_1iws7_103", a = "_fabAction_1iws7_92", e = "_fabActionIcon_1iws7_136", r = "_fabActionLabel_1iws7_144", b = "_bar_1iws7_154", A = "_barAction_1iws7_165", w = "_barActionIcon_1iws7_183", f = "_barActionLabel_1iws7_191", g = "_menuTrigger_1iws7_208", m = "_menu_1iws7_208", u = "_menuSlide_1iws7_1", l = "_menuAction_1iws7_250", p = "_menuActionIcon_1iws7_269", I = "_menuActionLabel_1iws7_278", d = "_actionDisabled_1iws7_301", T = "_shortcut_1iws7_311", L = {
|
|
2
|
+
quickActions: i,
|
|
3
|
+
fixed: o,
|
|
4
|
+
"position-bottom-right": "_position-bottom-right_1iws7_17",
|
|
5
|
+
"position-bottom-left": "_position-bottom-left_1iws7_22",
|
|
6
|
+
"position-bottom-center": "_position-bottom-center_1iws7_27",
|
|
7
|
+
"position-top-right": "_position-top-right_1iws7_33",
|
|
8
|
+
"position-top-left": "_position-top-left_1iws7_38",
|
|
9
|
+
"variant-fab": "_variant-fab_1iws7_47",
|
|
10
|
+
fabTrigger: n,
|
|
11
|
+
fabTriggerIcon: t,
|
|
12
|
+
fabTriggerIconRotate: _,
|
|
13
|
+
fabActions: c,
|
|
14
|
+
open: s,
|
|
15
|
+
fabAction: a,
|
|
16
|
+
fabActionIcon: e,
|
|
17
|
+
fabActionLabel: r,
|
|
18
|
+
"variant-bar": "_variant-bar_1iws7_154",
|
|
19
|
+
bar: b,
|
|
20
|
+
barAction: A,
|
|
21
|
+
barActionIcon: w,
|
|
22
|
+
barActionLabel: f,
|
|
23
|
+
"variant-menu": "_variant-menu_1iws7_201",
|
|
24
|
+
menuTrigger: g,
|
|
25
|
+
menu: m,
|
|
26
|
+
menuSlide: u,
|
|
27
|
+
menuAction: l,
|
|
28
|
+
menuActionIcon: p,
|
|
29
|
+
menuActionLabel: I,
|
|
30
|
+
"action-primary": "_action-primary_1iws7_289",
|
|
31
|
+
"action-danger": "_action-danger_1iws7_293",
|
|
32
|
+
actionDisabled: d,
|
|
33
|
+
shortcut: T
|
|
34
|
+
};
|
|
29
35
|
export {
|
|
30
|
-
|
|
36
|
+
d as actionDisabled,
|
|
37
|
+
b as bar,
|
|
38
|
+
A as barAction,
|
|
39
|
+
w as barActionIcon,
|
|
40
|
+
f as barActionLabel,
|
|
41
|
+
L as default,
|
|
42
|
+
a as fabAction,
|
|
43
|
+
e as fabActionIcon,
|
|
44
|
+
r as fabActionLabel,
|
|
45
|
+
c as fabActions,
|
|
46
|
+
n as fabTrigger,
|
|
47
|
+
t as fabTriggerIcon,
|
|
48
|
+
_ as fabTriggerIconRotate,
|
|
49
|
+
o as fixed,
|
|
50
|
+
m as menu,
|
|
51
|
+
l as menuAction,
|
|
52
|
+
p as menuActionIcon,
|
|
53
|
+
I as menuActionLabel,
|
|
54
|
+
u as menuSlide,
|
|
55
|
+
g as menuTrigger,
|
|
56
|
+
s as open,
|
|
57
|
+
i as quickActions,
|
|
58
|
+
T as shortcut
|
|
31
59
|
};
|
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 t="_banner_1j8yh_5",n="_container_1j8yh_49",e="_content_1j8yh_61",s="_splitLayout_1j8yh_71",o="_splitContent_1j8yh_86",i="_splitImage_1j8yh_90",_="_eyebrow_1j8yh_98",c="_title_1j8yh_116",a="_description_1j8yh_130",l="_actions_1j8yh_143",r="_dismissButton_1j8yh_154",y={banner:t,container:n,content:e,splitLayout:s,splitContent:o,splitImage:i,eyebrow:_,title:c,description:a,actions:l,dismissButton:r};exports.actions=l;exports.banner=t;exports.container=n;exports.content=e;exports.default=y;exports.description=a;exports.dismissButton=r;exports.eyebrow=_;exports.splitContent=o;exports.splitImage=i;exports.splitLayout=s;exports.title=c;
|
package/dist/index151.mjs
CHANGED
|
@@ -1,93 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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 t = "_banner_1j8yh_5", n = "_container_1j8yh_49", s = "_content_1j8yh_61", o = "_splitLayout_1j8yh_71", _ = "_splitContent_1j8yh_86", e = "_splitImage_1j8yh_90", i = "_eyebrow_1j8yh_98", c = "_title_1j8yh_116", y = "_description_1j8yh_130", a = "_actions_1j8yh_143", l = "_dismissButton_1j8yh_154", p = {
|
|
2
|
+
banner: t,
|
|
3
|
+
container: n,
|
|
4
|
+
content: s,
|
|
5
|
+
splitLayout: o,
|
|
6
|
+
splitContent: _,
|
|
7
|
+
splitImage: e,
|
|
8
|
+
eyebrow: i,
|
|
9
|
+
title: c,
|
|
10
|
+
description: y,
|
|
11
|
+
actions: a,
|
|
12
|
+
dismissButton: l
|
|
89
13
|
};
|
|
90
|
-
w.displayName = "ChatCodeBlock";
|
|
91
14
|
export {
|
|
92
|
-
|
|
15
|
+
a as actions,
|
|
16
|
+
t as banner,
|
|
17
|
+
n as container,
|
|
18
|
+
s as content,
|
|
19
|
+
p as default,
|
|
20
|
+
y as description,
|
|
21
|
+
l as dismissButton,
|
|
22
|
+
i as eyebrow,
|
|
23
|
+
_ as splitContent,
|
|
24
|
+
e as splitImage,
|
|
25
|
+
o as splitLayout,
|
|
26
|
+
c as title
|
|
93
27
|
};
|
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 e="_formSection_fr6de_8",o="_divider_fr6de_13",n="_disabled_fr6de_19",r="_header_fr6de_28",_="_collapsible_fr6de_41",t="_collapsed_fr6de_54",d="_headerContent_fr6de_58",l="_headerText_fr6de_64",c="_icon_fr6de_69",i="_title_fr6de_81",s="_description_fr6de_90",a="_collapseIcon_fr6de_98",p="_iconCollapsed_fr6de_104",f="_content_fr6de_112",u="_fields_fr6de_118",g="_actionsWrapper_fr6de_124",b="_group_fr6de_134",h="_groupLabel_fr6de_140",m="_groupFields_fr6de_147",v="_groupHelp_fr6de_164",C="_actions_fr6de_124",S={formSection:e,divider:o,disabled:n,header:r,collapsible:_,collapsed:t,headerContent:d,headerText:l,icon:c,title:i,description:s,collapseIcon:a,iconCollapsed:p,content:f,fields:u,actionsWrapper:g,group:b,groupLabel:h,groupFields:m,"columns-1":"_columns-1_fr6de_152","columns-2":"_columns-2_fr6de_156","columns-3":"_columns-3_fr6de_160",groupHelp:v,actions:C,"align-start":"_align-start_fr6de_182","align-center":"_align-center_fr6de_186","align-end":"_align-end_fr6de_190","align-between":"_align-between_fr6de_194","variant-card":"_variant-card_fr6de_202","variant-inline":"_variant-inline_fr6de_221"};exports.actions=C;exports.actionsWrapper=g;exports.collapseIcon=a;exports.collapsed=t;exports.collapsible=_;exports.content=f;exports.default=S;exports.description=s;exports.disabled=n;exports.divider=o;exports.fields=u;exports.formSection=e;exports.group=b;exports.groupFields=m;exports.groupHelp=v;exports.groupLabel=h;exports.header=r;exports.headerContent=d;exports.headerText=l;exports.icon=c;exports.iconCollapsed=p;exports.title=i;
|
package/dist/index152.mjs
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
a({ href: r, children: o, ...t }) {
|
|
34
|
-
const n = r?.startsWith("http");
|
|
35
|
-
return /* @__PURE__ */ e(
|
|
36
|
-
"a",
|
|
37
|
-
{
|
|
38
|
-
href: r,
|
|
39
|
-
target: n ? "_blank" : void 0,
|
|
40
|
-
rel: n ? "noopener noreferrer" : void 0,
|
|
41
|
-
...t,
|
|
42
|
-
children: o
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
children: a
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
f.displayName = "ChatMarkdown";
|
|
1
|
+
const e = "_formSection_fr6de_8", _ = "_divider_fr6de_13", n = "_disabled_fr6de_19", o = "_header_fr6de_28", r = "_collapsible_fr6de_41", d = "_collapsed_fr6de_54", t = "_headerContent_fr6de_58", c = "_headerText_fr6de_64", l = "_icon_fr6de_69", s = "_title_fr6de_81", a = "_description_fr6de_90", i = "_collapseIcon_fr6de_98", f = "_iconCollapsed_fr6de_104", p = "_content_fr6de_112", g = "_fields_fr6de_118", u = "_actionsWrapper_fr6de_124", b = "_group_fr6de_134", h = "_groupLabel_fr6de_140", m = "_groupFields_fr6de_147", v = "_groupHelp_fr6de_164", C = "_actions_fr6de_124", x = {
|
|
2
|
+
formSection: e,
|
|
3
|
+
divider: _,
|
|
4
|
+
disabled: n,
|
|
5
|
+
header: o,
|
|
6
|
+
collapsible: r,
|
|
7
|
+
collapsed: d,
|
|
8
|
+
headerContent: t,
|
|
9
|
+
headerText: c,
|
|
10
|
+
icon: l,
|
|
11
|
+
title: s,
|
|
12
|
+
description: a,
|
|
13
|
+
collapseIcon: i,
|
|
14
|
+
iconCollapsed: f,
|
|
15
|
+
content: p,
|
|
16
|
+
fields: g,
|
|
17
|
+
actionsWrapper: u,
|
|
18
|
+
group: b,
|
|
19
|
+
groupLabel: h,
|
|
20
|
+
groupFields: m,
|
|
21
|
+
"columns-1": "_columns-1_fr6de_152",
|
|
22
|
+
"columns-2": "_columns-2_fr6de_156",
|
|
23
|
+
"columns-3": "_columns-3_fr6de_160",
|
|
24
|
+
groupHelp: v,
|
|
25
|
+
actions: C,
|
|
26
|
+
"align-start": "_align-start_fr6de_182",
|
|
27
|
+
"align-center": "_align-center_fr6de_186",
|
|
28
|
+
"align-end": "_align-end_fr6de_190",
|
|
29
|
+
"align-between": "_align-between_fr6de_194",
|
|
30
|
+
"variant-card": "_variant-card_fr6de_202",
|
|
31
|
+
"variant-inline": "_variant-inline_fr6de_221"
|
|
32
|
+
};
|
|
53
33
|
export {
|
|
54
|
-
|
|
34
|
+
C as actions,
|
|
35
|
+
u as actionsWrapper,
|
|
36
|
+
i as collapseIcon,
|
|
37
|
+
d as collapsed,
|
|
38
|
+
r as collapsible,
|
|
39
|
+
p as content,
|
|
40
|
+
x as default,
|
|
41
|
+
a as description,
|
|
42
|
+
n as disabled,
|
|
43
|
+
_ as divider,
|
|
44
|
+
g as fields,
|
|
45
|
+
e as formSection,
|
|
46
|
+
b as group,
|
|
47
|
+
m as groupFields,
|
|
48
|
+
v as groupHelp,
|
|
49
|
+
h as groupLabel,
|
|
50
|
+
o as header,
|
|
51
|
+
t as headerContent,
|
|
52
|
+
c as headerText,
|
|
53
|
+
l as icon,
|
|
54
|
+
f as iconCollapsed,
|
|
55
|
+
s as title
|
|
55
56
|
};
|
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="_trigger_9nsdr_9",r="_menu_9nsdr_14",s="_visible_9nsdr_31",t="_group_9nsdr_45",n="_groupLabel_9nsdr_49",o="_separator_9nsdr_59",_="_item_9nsdr_69",a="_disabled_9nsdr_82",d="_danger_9nsdr_98",i="_icon_9nsdr_111",l="_label_9nsdr_122",c="_shortcut_9nsdr_126",u={trigger:e,menu:r,visible:s,group:t,groupLabel:n,separator:o,item:_,disabled:a,danger:d,icon:i,label:l,shortcut:c};exports.danger=d;exports.default=u;exports.disabled=a;exports.group=t;exports.groupLabel=n;exports.icon=i;exports.item=_;exports.label=l;exports.menu=r;exports.separator=o;exports.shortcut=c;exports.trigger=e;exports.visible=s;
|
package/dist/index153.mjs
CHANGED
|
@@ -1,69 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}) => {
|
|
15
|
-
const [d, l] = g(!1), [p, v] = g(!1), c = () => {
|
|
16
|
-
o ? o() : n && l(!0);
|
|
17
|
-
}, I = (t) => {
|
|
18
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), c());
|
|
19
|
-
}, w = () => {
|
|
20
|
-
v(!0);
|
|
21
|
-
};
|
|
22
|
-
return p ? /* @__PURE__ */ f(
|
|
23
|
-
"div",
|
|
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 s = "_trigger_9nsdr_9", r = "_menu_9nsdr_14", _ = "_visible_9nsdr_31", n = "_group_9nsdr_45", t = "_groupLabel_9nsdr_49", e = "_separator_9nsdr_59", o = "_item_9nsdr_69", d = "_disabled_9nsdr_82", a = "_danger_9nsdr_98", c = "_icon_9nsdr_111", i = "_label_9nsdr_122", l = "_shortcut_9nsdr_126", g = {
|
|
2
|
+
trigger: s,
|
|
3
|
+
menu: r,
|
|
4
|
+
visible: _,
|
|
5
|
+
group: n,
|
|
6
|
+
groupLabel: t,
|
|
7
|
+
separator: e,
|
|
8
|
+
item: o,
|
|
9
|
+
disabled: d,
|
|
10
|
+
danger: a,
|
|
11
|
+
icon: c,
|
|
12
|
+
label: i,
|
|
13
|
+
shortcut: l
|
|
65
14
|
};
|
|
66
|
-
x.displayName = "ChatImagePreview";
|
|
67
15
|
export {
|
|
68
|
-
|
|
16
|
+
a as danger,
|
|
17
|
+
g as default,
|
|
18
|
+
d as disabled,
|
|
19
|
+
n as group,
|
|
20
|
+
t as groupLabel,
|
|
21
|
+
c as icon,
|
|
22
|
+
o as item,
|
|
23
|
+
i as label,
|
|
24
|
+
r as menu,
|
|
25
|
+
e as separator,
|
|
26
|
+
l as shortcut,
|
|
27
|
+
s as trigger,
|
|
28
|
+
_ as visible
|
|
69
29
|
};
|
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 n="_link_1ch8i_9",i="_subtle_1ch8i_38",c="_brand_1ch8i_46",o="_sm_1ch8i_58",_="_md_1ch8i_63",t="_lg_1ch8i_68",e="_underline_1ch8i_77",r="_icon_1ch8i_92",l="_iconRight_1ch8i_124",s="_iconExternal_1ch8i_129",d="_iconArrow_1ch8i_134",h="_iconArrowLeft_1ch8i_139",u={link:n,default:"_default_1ch8i_30",subtle:i,brand:c,sm:o,md:_,lg:t,underline:e,icon:r,iconRight:l,iconExternal:s,iconArrow:d,iconArrowLeft:h};exports.brand=c;exports.default=u;exports.icon=r;exports.iconArrow=d;exports.iconArrowLeft=h;exports.iconExternal=s;exports.iconRight=l;exports.lg=t;exports.link=n;exports.md=_;exports.sm=o;exports.subtle=i;exports.underline=e;
|