@alfadocs/ui-kit-debug 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
- package/dist/_chunks/accordion-DOmxGEWU.js.map +1 -0
- package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-CalZqycc.js} +13 -3
- package/dist/_chunks/agenda-card-CalZqycc.js.map +1 -0
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js +22 -0
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js.map +1 -0
- package/dist/_chunks/agenda-tray-3ffFDQZC.js +181 -0
- package/dist/_chunks/agenda-tray-3ffFDQZC.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-BBiDlEIS.js +476 -0
- package/dist/_chunks/ai-prompt-input-BBiDlEIS.js.map +1 -0
- package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
- package/dist/_chunks/alert-B1sj8Ss0.js.map +1 -0
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js.map → apexcharts-theme-BJigns_V.js.map} +1 -1
- package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
- package/dist/_chunks/app-frame-CDJOgPXe.js.map +1 -0
- package/dist/_chunks/{aspect-ratio-CxsdG8vk.js → aspect-ratio-DeSNzASA.js} +12 -12
- package/dist/_chunks/aspect-ratio-DeSNzASA.js.map +1 -0
- package/dist/_chunks/audio-recorder-B4U1LuiQ.js +457 -0
- package/dist/_chunks/audio-recorder-B4U1LuiQ.js.map +1 -0
- package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
- package/dist/_chunks/audio-visualiser-ByDEFLNm.js.map +1 -0
- package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
- package/dist/_chunks/autocomplete-D4oUZbsP.js.map +1 -0
- package/dist/_chunks/avatar-Dcr6XuDQ.js.map +1 -1
- package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
- package/dist/_chunks/badge-DKFbntoa.js.map +1 -0
- package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-B8zgIM-m.js} +64 -45
- package/dist/_chunks/balance-cell-renderer-B8zgIM-m.js.map +1 -0
- package/dist/_chunks/breadcrumb-D1snXjPb.js +379 -0
- package/dist/_chunks/breadcrumb-D1snXjPb.js.map +1 -0
- package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
- package/dist/_chunks/button-DD_0Xdmr.js.map +1 -0
- package/dist/_chunks/button-group-CONver7M.js.map +1 -1
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -1
- package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
- package/dist/_chunks/calendar-zy0tUUVG.js.map +1 -0
- package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
- package/dist/_chunks/card-CWzuTLYE.js.map +1 -0
- package/dist/_chunks/chart-BLvFl169.js +292 -0
- package/dist/_chunks/chart-BLvFl169.js.map +1 -0
- package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
- package/dist/_chunks/chat-container-ClzsWXp2.js.map +1 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js.map +1 -0
- package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
- package/dist/_chunks/chat-message-DoAhgUTj.js.map +1 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js +196 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js.map +1 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js +208 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js.map +1 -0
- package/dist/_chunks/collapsible-CuxUBoHJ.js +147 -0
- package/dist/_chunks/collapsible-CuxUBoHJ.js.map +1 -0
- package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-CTIcHlDF.js} +321 -205
- package/dist/_chunks/color-picker-CTIcHlDF.js.map +1 -0
- package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
- package/dist/_chunks/combobox-DCNXqbC7.js.map +1 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js.map +1 -0
- package/dist/_chunks/date-picker-B1PO1ZQP.js +1822 -0
- package/dist/_chunks/date-picker-B1PO1ZQP.js.map +1 -0
- package/dist/_chunks/date-range-picker-mix2nEVC.js +287 -0
- package/dist/_chunks/date-range-picker-mix2nEVC.js.map +1 -0
- package/dist/_chunks/date-time-picker-Dnong_BY.js +308 -0
- package/dist/_chunks/date-time-picker-Dnong_BY.js.map +1 -0
- package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
- package/dist/_chunks/description-list-BYA77Yud.js.map +1 -0
- package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
- package/dist/_chunks/dialog-BPD7wlGE.js.map +1 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js.map +1 -0
- package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
- package/dist/_chunks/empty-state-3CLJIXSj.js.map +1 -0
- package/dist/_chunks/file-upload-C947ACDK.js +829 -0
- package/dist/_chunks/file-upload-C947ACDK.js.map +1 -0
- package/dist/_chunks/flag-DZ6V7-hU.js.map +1 -1
- package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
- package/dist/_chunks/floating-action-button-C8OYj8mE.js.map +1 -0
- package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
- package/dist/_chunks/form-field-Bmkeh7WY.js.map +1 -0
- package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
- package/dist/_chunks/form-field-context-B3APVHKx.js.map +1 -0
- package/dist/_chunks/freemium-paywall-CnvceDav.js +267 -0
- package/dist/_chunks/freemium-paywall-CnvceDav.js.map +1 -0
- package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
- package/dist/_chunks/header-D0ULgQl3.js.map +1 -0
- package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
- package/dist/_chunks/icon-button-C4CGcYuz.js.map +1 -0
- package/dist/_chunks/icon-button-group-DeV3FpNY.js.map +1 -1
- package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
- package/dist/_chunks/kbd-Cglkd7CY.js.map +1 -0
- package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
- package/dist/_chunks/key-value-pair-CgWvAIGb.js.map +1 -0
- package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-CfEY-xi2.js} +16 -20
- package/dist/_chunks/leo-sidebar-CfEY-xi2.js.map +1 -0
- package/dist/_chunks/link-8QmFjIz2.js +118 -0
- package/dist/_chunks/link-8QmFjIz2.js.map +1 -0
- package/dist/_chunks/list-qP6p0NTw.js +434 -0
- package/dist/_chunks/list-qP6p0NTw.js.map +1 -0
- package/dist/_chunks/live-region-C41SO3cA.js.map +1 -1
- package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
- package/dist/_chunks/logo-_Z-jLq80.js.map +1 -0
- package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
- package/dist/_chunks/matrix-rain-CRPMXcVx.js.map +1 -0
- package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-ChCX9Iv6.js} +64 -60
- package/dist/_chunks/message-card-ChCX9Iv6.js.map +1 -0
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js +22 -0
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js.map +1 -0
- package/dist/_chunks/message-tray-n8q9ITXI.js +414 -0
- package/dist/_chunks/message-tray-n8q9ITXI.js.map +1 -0
- package/dist/_chunks/multi-select-wqqrgjUQ.js +545 -0
- package/dist/_chunks/multi-select-wqqrgjUQ.js.map +1 -0
- package/dist/_chunks/navigation-menu-ClbHeawy.js +279 -0
- package/dist/_chunks/navigation-menu-ClbHeawy.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -1
- package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-hBlPN1-c.js} +15 -14
- package/dist/_chunks/notification-card-hBlPN1-c.js.map +1 -0
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js +22 -0
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js.map +1 -0
- package/dist/_chunks/notification-tray-C5cnXbl9.js +448 -0
- package/dist/_chunks/notification-tray-C5cnXbl9.js.map +1 -0
- package/dist/_chunks/number-input-Q7wkHnvQ.js +337 -0
- package/dist/_chunks/number-input-Q7wkHnvQ.js.map +1 -0
- package/dist/_chunks/otp-input-C9gUByF0.js +260 -0
- package/dist/_chunks/otp-input-C9gUByF0.js.map +1 -0
- package/dist/_chunks/pagination-3AC4zTsi.js +462 -0
- package/dist/_chunks/pagination-3AC4zTsi.js.map +1 -0
- package/dist/_chunks/password-input-C4LmjIH1.js +301 -0
- package/dist/_chunks/password-input-C4LmjIH1.js.map +1 -0
- package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BlsEUKWB.js} +10 -15
- package/dist/_chunks/{patient-shell-7cXqIMFg.js.map → patient-shell-BlsEUKWB.js.map} +1 -1
- package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-C3vT_npe.js} +212 -201
- package/dist/_chunks/payment-form-C3vT_npe.js.map +1 -0
- package/dist/_chunks/pdf-viewer-CZIfY08H.js +895 -0
- package/dist/_chunks/pdf-viewer-CZIfY08H.js.map +1 -0
- package/dist/_chunks/phone-input-CSHJOJ13.js +508 -0
- package/dist/_chunks/phone-input-CSHJOJ13.js.map +1 -0
- package/dist/_chunks/popover-DekUKNBk.js +293 -0
- package/dist/_chunks/popover-DekUKNBk.js.map +1 -0
- package/dist/_chunks/privacy-lock-BKsI6ReN.js +193 -0
- package/dist/_chunks/privacy-lock-BKsI6ReN.js.map +1 -0
- package/dist/_chunks/progress-C11tqhoI.js +298 -0
- package/dist/_chunks/progress-C11tqhoI.js.map +1 -0
- package/dist/_chunks/{radio-cs8N1wJi.js → radio-DvF59ThA.js} +14 -13
- package/dist/_chunks/radio-DvF59ThA.js.map +1 -0
- package/dist/_chunks/radio-group-Cz1a4QCA.js +152 -0
- package/dist/_chunks/radio-group-Cz1a4QCA.js.map +1 -0
- package/dist/_chunks/react-day-picker-C04L_28V.js.map +1 -1
- package/dist/_chunks/recaptcha-widget-NyfOfLII.js +192 -0
- package/dist/_chunks/recaptcha-widget-NyfOfLII.js.map +1 -0
- package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
- package/dist/_chunks/resizable-mpXXyIsN.js.map +1 -0
- package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor-C7TCIlQO.js} +387 -291
- package/dist/_chunks/rich-text-editor-C7TCIlQO.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -1
- package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
- package/dist/_chunks/scroll-area-DEDU-lp-.js.map +1 -0
- package/dist/_chunks/search-bar-BTDfgYtg.js +585 -0
- package/dist/_chunks/search-bar-BTDfgYtg.js.map +1 -0
- package/dist/_chunks/search-input-CdJIEjFo.js +236 -0
- package/dist/_chunks/search-input-CdJIEjFo.js.map +1 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js +69 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js.map +1 -0
- package/dist/_chunks/select-y6bXV1f1.js +411 -0
- package/dist/_chunks/select-y6bXV1f1.js.map +1 -0
- package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
- package/dist/_chunks/separator-CYU_bGFn.js.map +1 -0
- package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-4tgMFwj0.js} +141 -65
- package/dist/_chunks/sheet-4tgMFwj0.js.map +1 -0
- package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-Bx3wCDyy.js} +576 -484
- package/dist/_chunks/sidebar-Bx3wCDyy.js.map +1 -0
- package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
- package/dist/_chunks/sign-in-with-alfadocs-button-B9UrqOqH.js.map +1 -0
- package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture-DjMlFOzS.js} +258 -253
- package/dist/_chunks/signature-capture-DjMlFOzS.js.map +1 -0
- package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
- package/dist/_chunks/skeleton-CZbwyJAA.js.map +1 -0
- package/dist/_chunks/skip-link-DmZ3c6cb.js.map +1 -1
- package/dist/_chunks/slider-BT2bZWsy.js +326 -0
- package/dist/_chunks/slider-BT2bZWsy.js.map +1 -0
- package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
- package/dist/_chunks/slot-grid-CgpYgBkW.js.map +1 -0
- package/dist/_chunks/sparkline-_gy8aJDG.js +252 -0
- package/dist/_chunks/sparkline-_gy8aJDG.js.map +1 -0
- package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
- package/dist/_chunks/spinner-DLaYfLPl.js.map +1 -0
- package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
- package/dist/_chunks/stat-B9PHSPbN.js.map +1 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +322 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js.map +1 -0
- package/dist/_chunks/stepper-calendar-BLOJUE0-.js +648 -0
- package/dist/_chunks/stepper-calendar-BLOJUE0-.js.map +1 -0
- package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
- package/dist/_chunks/stepper-progress-jFY8BSf7.js.map +1 -0
- package/dist/_chunks/streaming-text-BgjCTVOw.js.map +1 -1
- package/dist/_chunks/suggestion-chip-C4Jz0LrM.js +167 -0
- package/dist/_chunks/suggestion-chip-C4Jz0LrM.js.map +1 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js +46 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js.map +1 -0
- package/dist/_chunks/switch-C0psfIQF.js +196 -0
- package/dist/_chunks/switch-C0psfIQF.js.map +1 -0
- package/dist/_chunks/tabs-DaFA3Muo.js +399 -0
- package/dist/_chunks/tabs-DaFA3Muo.js.map +1 -0
- package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
- package/dist/_chunks/tag-DuLMjRbF.js.map +1 -0
- package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-Dw_ZJDL8.js} +6 -2
- package/dist/_chunks/task-card-Dw_ZJDL8.js.map +1 -0
- package/dist/_chunks/task-card.agent-CUPKYd7w.js +22 -0
- package/dist/_chunks/task-card.agent-CUPKYd7w.js.map +1 -0
- package/dist/_chunks/task-tray-XlIW9ueh.js +195 -0
- package/dist/_chunks/task-tray-XlIW9ueh.js.map +1 -0
- package/dist/_chunks/text-area-CO9Dz0qX.js +239 -0
- package/dist/_chunks/text-area-CO9Dz0qX.js.map +1 -0
- package/dist/_chunks/text-input-DZwt9L8H.js +275 -0
- package/dist/_chunks/text-input-DZwt9L8H.js.map +1 -0
- package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
- package/dist/_chunks/{theme-root-DDb0TJjd.js.map → theme-root-CSKD5ZRm.js.map} +1 -1
- package/dist/_chunks/theme-toggle-B9zzCnvl.js +396 -0
- package/dist/_chunks/theme-toggle-B9zzCnvl.js.map +1 -0
- package/dist/_chunks/time-picker-DvPUmHH-.js +412 -0
- package/dist/_chunks/time-picker-DvPUmHH-.js.map +1 -0
- package/dist/_chunks/timeline-BvmnQadS.js +279 -0
- package/dist/_chunks/timeline-BvmnQadS.js.map +1 -0
- package/dist/_chunks/timestamp-BV2lC-wV.js.map +1 -1
- package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BwKXA0km.js} +443 -344
- package/dist/_chunks/toast.agent-BwKXA0km.js.map +1 -0
- package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme-3mITSXiZ.js} +256 -265
- package/dist/_chunks/tooth-scheme-3mITSXiZ.js.map +1 -0
- package/dist/_chunks/transcript-panel-Bx5ANMsv.js +346 -0
- package/dist/_chunks/transcript-panel-Bx5ANMsv.js.map +1 -0
- package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
- package/dist/_chunks/typing-indicator-BZ5jXZPn.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -1
- package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
- package/dist/_chunks/use-theme-B1cwAXJR.js.map +1 -0
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js.map → visually-hidden-BHxEUGyT.js.map} +1 -1
- package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
- package/dist/_chunks/warning-stack-VygGHSqC.js.map +1 -0
- package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-C-nlogPC.js} +563 -488
- package/dist/_chunks/workflow-map-C-nlogPC.js.map +1 -0
- package/dist/agent-catalog.json +3577 -351
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -1
- package/dist/components/_shared/date-locale.d.ts.map +1 -1
- package/dist/components/_shared/index.d.ts +2 -2
- package/dist/components/_shared/index.d.ts.map +1 -1
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -1
- package/dist/components/_shared/safe-html.d.ts.map +1 -1
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -1
- package/dist/components/_shared/use-focus-trap.d.ts.map +1 -1
- package/dist/components/accordion/accordion.agent.d.ts +2 -1
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.d.ts.map +1 -1
- package/dist/components/accordion/index.js +5 -6
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/agenda-card/agenda-card.agent.d.ts +3 -0
- package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
- package/dist/components/agenda-card/index.d.ts +1 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +3 -1
- package/dist/components/agenda-card/index.js.map +1 -1
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts +4 -0
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +18 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -1
- package/dist/components/agenda-tray/index.d.ts +2 -1
- package/dist/components/agenda-tray/index.d.ts.map +1 -1
- package/dist/components/agenda-tray/index.js +3 -2
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +18 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
- package/dist/components/ai-prompt-input/index.d.ts +2 -1
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -1
- package/dist/components/ai-prompt-input/index.js +3 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.d.ts.map +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/app-frame/app-frame.d.ts.map +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +10 -1
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -1
- package/dist/components/audio-recorder/index.d.ts +2 -1
- package/dist/components/audio-recorder/index.d.ts.map +1 -1
- package/dist/components/audio-recorder/index.js +3 -2
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +20 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.js +5 -4
- package/dist/components/button/button.agent.d.ts.map +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/icon-button.d.ts.map +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts.map +1 -1
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/chart/chart.agent.d.ts.map +1 -1
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.d.ts +1 -1
- package/dist/components/chart/index.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -1
- package/dist/components/chat-container/chat-container.d.ts +4 -2
- package/dist/components/chat-container/chat-container.d.ts.map +1 -1
- package/dist/components/chat-container/index.js +2 -3
- package/dist/components/chat-container/index.js.map +1 -1
- package/dist/components/chat-input/chat-input.agent.d.ts +4 -0
- package/dist/components/chat-input/chat-input.agent.d.ts.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts +10 -1
- package/dist/components/chat-input/chat-input.d.ts.map +1 -1
- package/dist/components/chat-input/index.d.ts +2 -1
- package/dist/components/chat-input/index.d.ts.map +1 -1
- package/dist/components/chat-input/index.js +3 -2
- package/dist/components/chat-message/chat-message.d.ts.map +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/checkbox.agent.d.ts +4 -0
- package/dist/components/checkbox/checkbox.agent.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +6 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/index.d.ts +1 -1
- package/dist/components/checkbox-group/index.d.ts.map +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/collapsible.agent.d.ts +4 -0
- package/dist/components/collapsible/collapsible.agent.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +7 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/index.d.ts +3 -2
- package/dist/components/collapsible/index.d.ts.map +1 -1
- package/dist/components/collapsible/index.js +4 -3
- package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
- package/dist/components/color-picker/color-picker.agent.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.agent.d.ts +2 -1
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +10 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.d.ts.map +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -1
- package/dist/components/command-palette/command-palette.d.ts +52 -12
- package/dist/components/command-palette/command-palette.d.ts.map +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts +3 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/toolbar.d.ts +6 -5
- package/dist/components/data-table/toolbar.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.agent.d.ts +4 -0
- package/dist/components/date-picker/date-picker.agent.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +15 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +3 -2
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +16 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/index.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.js +3 -2
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +16 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.d.ts +2 -1
- package/dist/components/date-time-picker/index.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.js +3 -2
- package/dist/components/description-list/description-list.d.ts +1 -2
- package/dist/components/description-list/description-list.d.ts.map +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/dialog.agent.d.ts +5 -6
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -1
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +20 -17
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/index.js +3 -4
- package/dist/components/dropdown-menu/index.js.map +1 -1
- package/dist/components/empty-state/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -1
- package/dist/components/file-upload/file-upload.d.ts +12 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.d.ts.map +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/flag/flag.d.ts.map +1 -1
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/form-field-context.d.ts.map +1 -1
- package/dist/components/form-field/form-field.d.ts.map +1 -1
- package/dist/components/form-field/index.js +2 -2
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts +4 -0
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +7 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
- package/dist/components/freemium-paywall/index.d.ts +2 -1
- package/dist/components/freemium-paywall/index.d.ts.map +1 -1
- package/dist/components/freemium-paywall/index.js +3 -2
- package/dist/components/header/header.d.ts.map +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/kbd/kbd.d.ts.map +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +5 -0
- package/dist/components/link/index.js.map +1 -0
- package/dist/components/link/link.d.ts +39 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +2 -1
- package/dist/components/list/index.d.ts.map +1 -1
- package/dist/components/list/index.js +3 -2
- package/dist/components/list/list.agent.d.ts +4 -0
- package/dist/components/list/list.agent.d.ts.map +1 -0
- package/dist/components/list/list.d.ts +8 -2
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/live-region/live-region.d.ts.map +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts.map +1 -1
- package/dist/components/message-card/index.d.ts +2 -1
- package/dist/components/message-card/index.d.ts.map +1 -1
- package/dist/components/message-card/index.js +5 -3
- package/dist/components/message-card/index.js.map +1 -1
- package/dist/components/message-card/message-card.agent.d.ts +3 -0
- package/dist/components/message-card/message-card.agent.d.ts.map +1 -0
- package/dist/components/message-card/message-card.d.ts.map +1 -1
- package/dist/components/message-tray/index.d.ts +2 -1
- package/dist/components/message-tray/index.d.ts.map +1 -1
- package/dist/components/message-tray/index.js +3 -2
- package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
- package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +26 -1
- package/dist/components/message-tray/message-tray.d.ts.map +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -1
- package/dist/components/multi-select/multi-select.d.ts +10 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -1
- package/dist/components/navigation-menu/index.d.ts +2 -1
- package/dist/components/navigation-menu/index.d.ts.map +1 -1
- package/dist/components/navigation-menu/index.js +7 -6
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +27 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/components/notification-card/index.d.ts +2 -1
- package/dist/components/notification-card/index.d.ts.map +1 -1
- package/dist/components/notification-card/index.js +5 -3
- package/dist/components/notification-card/index.js.map +1 -1
- package/dist/components/notification-card/notification-card.agent.d.ts +3 -0
- package/dist/components/notification-card/notification-card.agent.d.ts.map +1 -0
- package/dist/components/notification-card/notification-card.d.ts.map +1 -1
- package/dist/components/notification-tray/index.d.ts +2 -1
- package/dist/components/notification-tray/index.d.ts.map +1 -1
- package/dist/components/notification-tray/index.js +3 -2
- package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
- package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +26 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.agent.d.ts +4 -0
- package/dist/components/number-input/number-input.agent.d.ts.map +1 -0
- package/dist/components/number-input/number-input.d.ts +7 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -1
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
- package/dist/components/otp-input/otp-input.agent.d.ts.map +1 -0
- package/dist/components/otp-input/otp-input.d.ts +10 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.agent.d.ts +2 -1
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -1
- package/dist/components/pagination/pagination.d.ts +11 -6
- package/dist/components/pagination/pagination.d.ts.map +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/password-input.agent.d.ts +4 -0
- package/dist/components/password-input/password-input.agent.d.ts.map +1 -0
- package/dist/components/password-input/password-input.d.ts +9 -0
- package/dist/components/password-input/password-input.d.ts.map +1 -1
- package/dist/components/payment-form/index.js +7 -8
- package/dist/components/payment-form/index.js.map +1 -1
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
- package/dist/components/payment-form/payment-form.d.ts +3 -1
- package/dist/components/payment-form/payment-form.d.ts.map +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/phone-input/index.d.ts +1 -1
- package/dist/components/phone-input/index.d.ts.map +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
- package/dist/components/phone-input/phone-input.agent.d.ts.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +7 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -1
- package/dist/components/popover/index.js +3 -4
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/popover/popover.agent.d.ts +2 -1
- package/dist/components/popover/popover.agent.d.ts.map +1 -1
- package/dist/components/popover/popover.d.ts +8 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/privacy-lock/index.d.ts +2 -1
- package/dist/components/privacy-lock/index.d.ts.map +1 -1
- package/dist/components/privacy-lock/index.js +3 -2
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +6 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -1
- package/dist/components/progress/index.js +3 -4
- package/dist/components/progress/index.js.map +1 -1
- package/dist/components/progress/progress.agent.d.ts.map +1 -1
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
- package/dist/components/radio-group/radio-group.agent.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group/radio.d.ts.map +1 -1
- package/dist/components/recaptcha-widget/index.d.ts +3 -0
- package/dist/components/recaptcha-widget/index.d.ts.map +1 -0
- package/dist/components/recaptcha-widget/index.js +6 -0
- package/dist/components/recaptcha-widget/index.js.map +1 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts +4 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts.map +1 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +56 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts.map +1 -0
- package/dist/components/resizable/index.d.ts +1 -1
- package/dist/components/resizable/index.d.ts.map +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resizable/resizable-context.d.ts.map +1 -1
- package/dist/components/resizable/resizable.agent.d.ts +2 -1
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -1
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/search-bar/index.d.ts +2 -1
- package/dist/components/search-bar/index.d.ts.map +1 -1
- package/dist/components/search-bar/index.js +3 -2
- package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
- package/dist/components/search-bar/search-bar.agent.d.ts.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +26 -0
- package/dist/components/search-bar/search-bar.d.ts.map +1 -1
- package/dist/components/search-input/index.d.ts +2 -1
- package/dist/components/search-input/index.d.ts.map +1 -1
- package/dist/components/search-input/index.js +4 -2
- package/dist/components/search-input/index.js.map +1 -1
- package/dist/components/search-input/search-input.agent.d.ts +4 -0
- package/dist/components/search-input/search-input.agent.d.ts.map +1 -0
- package/dist/components/search-input/search-input.d.ts +27 -0
- package/dist/components/search-input/search-input.d.ts.map +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.agent.d.ts +4 -0
- package/dist/components/select/select.agent.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +10 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/separator/index.js +1 -1
- package/dist/components/separator/separator.d.ts.map +1 -1
- package/dist/components/sheet/index.js +3 -4
- package/dist/components/sheet/index.js.map +1 -1
- package/dist/components/sheet/sheet.agent.d.ts +2 -1
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -1
- package/dist/components/sheet/sheet.d.ts +11 -2
- package/dist/components/sheet/sheet.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +7 -8
- package/dist/components/sidebar/index.js.map +1 -1
- package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +4 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -1
- package/dist/components/signature-capture/signature-capture.d.ts +2 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.agent.d.ts +4 -0
- package/dist/components/slider/slider.agent.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +5 -0
- package/dist/components/slider/slider.d.ts.map +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
- package/dist/components/sparkline/sparkline.d.ts.map +1 -1
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts.map +1 -1
- package/dist/components/stepper-accordion/index.d.ts +2 -1
- package/dist/components/stepper-accordion/index.d.ts.map +1 -1
- package/dist/components/stepper-accordion/index.js +3 -2
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +19 -1
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
- package/dist/components/stepper-calendar/index.d.ts +2 -1
- package/dist/components/stepper-calendar/index.d.ts.map +1 -1
- package/dist/components/stepper-calendar/index.js +3 -2
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +18 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -1
- package/dist/components/stepper-progress/index.d.ts +2 -1
- package/dist/components/stepper-progress/index.d.ts.map +1 -1
- package/dist/components/stepper-progress/index.js +3 -2
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts +4 -0
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +25 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -1
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -1
- package/dist/components/suggestion-chip/index.d.ts +2 -1
- package/dist/components/suggestion-chip/index.d.ts.map +1 -1
- package/dist/components/suggestion-chip/index.js +5 -3
- package/dist/components/suggestion-chip/index.js.map +1 -1
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts +4 -0
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +7 -1
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.agent.d.ts +4 -0
- package/dist/components/switch/switch.agent.d.ts.map +1 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.d.ts.map +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs.agent.d.ts +2 -1
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/task-card/index.d.ts +1 -0
- package/dist/components/task-card/index.d.ts.map +1 -1
- package/dist/components/task-card/index.js +5 -3
- package/dist/components/task-card/index.js.map +1 -1
- package/dist/components/task-card/task-card.agent.d.ts +3 -0
- package/dist/components/task-card/task-card.agent.d.ts.map +1 -0
- package/dist/components/task-card/task-card.d.ts.map +1 -1
- package/dist/components/task-tray/index.d.ts +2 -1
- package/dist/components/task-tray/index.d.ts.map +1 -1
- package/dist/components/task-tray/index.js +3 -2
- package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
- package/dist/components/task-tray/task-tray.agent.d.ts.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +24 -1
- package/dist/components/task-tray/task-tray.d.ts.map +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.agent.d.ts +4 -0
- package/dist/components/text-area/text-area.agent.d.ts.map +1 -0
- package/dist/components/text-area/text-area.d.ts +7 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/text-input.agent.d.ts +4 -0
- package/dist/components/text-input/text-input.agent.d.ts.map +1 -0
- package/dist/components/text-input/text-input.d.ts +10 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -1
- package/dist/components/theme-root/index.js +1 -1
- package/dist/components/theme-root/theme-root.d.ts.map +1 -1
- package/dist/components/theme-toggle/index.d.ts +2 -1
- package/dist/components/theme-toggle/index.d.ts.map +1 -1
- package/dist/components/theme-toggle/index.js +3 -2
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts.map +1 -0
- package/dist/components/theme-toggle/theme-toggle.d.ts +8 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -1
- package/dist/components/time-picker/index.d.ts +2 -1
- package/dist/components/time-picker/index.d.ts.map +1 -1
- package/dist/components/time-picker/index.js +3 -2
- package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
- package/dist/components/time-picker/time-picker.agent.d.ts.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +15 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/timeline/index.d.ts.map +1 -1
- package/dist/components/timeline/index.js +3 -2
- package/dist/components/timeline/timeline.agent.d.ts +4 -0
- package/dist/components/timeline/timeline.agent.d.ts.map +1 -0
- package/dist/components/timeline/timeline.d.ts +7 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/timestamp/timestamp.d.ts.map +1 -1
- package/dist/components/toast/index.d.ts +3 -2
- package/dist/components/toast/index.d.ts.map +1 -1
- package/dist/components/toast/index.js +7 -5
- package/dist/components/toast/toast.agent.d.ts +4 -0
- package/dist/components/toast/toast.agent.d.ts.map +1 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +3 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
- package/dist/components/transcript-panel/index.d.ts +2 -1
- package/dist/components/transcript-panel/index.d.ts.map +1 -1
- package/dist/components/transcript-panel/index.js +3 -2
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +9 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -1
- package/dist/components/visually-hidden/index.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
- package/dist/components/workflow/index.d.ts +2 -1
- package/dist/components/workflow/index.d.ts.map +1 -1
- package/dist/components/workflow/index.js +10 -7
- package/dist/components/workflow/workflow-card.d.ts.map +1 -1
- package/dist/components/workflow/workflow-editor.d.ts +6 -0
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -1
- package/dist/components/workflow/workflow-map.d.ts +2 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -1
- package/dist/components/workflow/workflow-types.d.ts.map +1 -1
- package/dist/components/workflow/workflow.agent.d.ts +6 -0
- package/dist/components/workflow/workflow.agent.d.ts.map +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -1
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/i18n/config.d.ts.map +1 -1
- package/dist/i18n/config.js +24 -11
- package/dist/i18n/config.js.map +1 -1
- package/dist/i18n/resources.d.ts +7 -0
- package/dist/i18n/resources.d.ts.map +1 -1
- package/dist/index.js +463 -425
- package/dist/locales/en.json +7 -0
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -1
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -1
- package/dist/safe-html/index.js +20 -3
- package/dist/safe-html/index.js.map +1 -1
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -1
- package/dist/tokens.css +2 -2
- package/package.json +28 -2
- package/dist/_chunks/accordion-B6fyINUk.js +0 -118
- package/dist/_chunks/accordion-B6fyINUk.js.map +0 -1
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +0 -17
- package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +0 -1
- package/dist/_chunks/agenda-card-DIWDvWum.js.map +0 -1
- package/dist/_chunks/agenda-tray-BqQZwiHc.js +0 -120
- package/dist/_chunks/agenda-tray-BqQZwiHc.js.map +0 -1
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js +0 -380
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js.map +0 -1
- package/dist/_chunks/alert-BlOUMkXj.js.map +0 -1
- package/dist/_chunks/app-frame-6d7Lu4ea.js.map +0 -1
- package/dist/_chunks/aspect-ratio-CxsdG8vk.js.map +0 -1
- package/dist/_chunks/audio-recorder-B-8SKgKn.js +0 -376
- package/dist/_chunks/audio-recorder-B-8SKgKn.js.map +0 -1
- package/dist/_chunks/audio-visualiser-CeMPCZkd.js.map +0 -1
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js +0 -372
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js.map +0 -1
- package/dist/_chunks/badge-mrstWxve.js.map +0 -1
- package/dist/_chunks/balance-cell-renderer-BWm3knY9.js.map +0 -1
- package/dist/_chunks/breadcrumb-D6xpsP7n.js +0 -293
- package/dist/_chunks/breadcrumb-D6xpsP7n.js.map +0 -1
- package/dist/_chunks/button-7mLWcMp_.js.map +0 -1
- package/dist/_chunks/calendar-nGEgelJs.js.map +0 -1
- package/dist/_chunks/card-BEy58ZKp.js.map +0 -1
- package/dist/_chunks/chart.agent-BdS-_8MO.js +0 -269
- package/dist/_chunks/chart.agent-BdS-_8MO.js.map +0 -1
- package/dist/_chunks/chat-container-Cm3SlR2p.js +0 -174
- package/dist/_chunks/chat-container-Cm3SlR2p.js.map +0 -1
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js +0 -22
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js.map +0 -1
- package/dist/_chunks/chat-input-DreOPP8A.js +0 -226
- package/dist/_chunks/chat-input-DreOPP8A.js.map +0 -1
- package/dist/_chunks/chat-message-ByouZpPP.js.map +0 -1
- package/dist/_chunks/checkbox-DNK4qS2_.js +0 -116
- package/dist/_chunks/checkbox-DNK4qS2_.js.map +0 -1
- package/dist/_chunks/checkbox-group-CWpGZEF6.js +0 -146
- package/dist/_chunks/checkbox-group-CWpGZEF6.js.map +0 -1
- package/dist/_chunks/collapsible-D4LOdLxp.js +0 -67
- package/dist/_chunks/collapsible-D4LOdLxp.js.map +0 -1
- package/dist/_chunks/color-picker-e9PmpaGH.js.map +0 -1
- package/dist/_chunks/combobox.agent-ByobCLJ_.js +0 -350
- package/dist/_chunks/combobox.agent-ByobCLJ_.js.map +0 -1
- package/dist/_chunks/command-palette.agent-js2rxgeR.js +0 -351
- package/dist/_chunks/command-palette.agent-js2rxgeR.js.map +0 -1
- package/dist/_chunks/date-picker-DYXNsWmM.js +0 -1726
- package/dist/_chunks/date-picker-DYXNsWmM.js.map +0 -1
- package/dist/_chunks/date-range-picker-BcNDJI7m.js +0 -183
- package/dist/_chunks/date-range-picker-BcNDJI7m.js.map +0 -1
- package/dist/_chunks/date-time-picker-CmGiTU__.js +0 -202
- package/dist/_chunks/date-time-picker-CmGiTU__.js.map +0 -1
- package/dist/_chunks/description-list-DvJbp6Yg.js.map +0 -1
- package/dist/_chunks/dialog.agent-DEG_fVzG.js +0 -147
- package/dist/_chunks/dialog.agent-DEG_fVzG.js.map +0 -1
- package/dist/_chunks/dropdown-menu-Cw3EyPZv.js +0 -215
- package/dist/_chunks/dropdown-menu-Cw3EyPZv.js.map +0 -1
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +0 -17
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +0 -1
- package/dist/_chunks/empty-state-DQPtRp2b.js.map +0 -1
- package/dist/_chunks/file-upload.agent-B9AN82LA.js +0 -649
- package/dist/_chunks/file-upload.agent-B9AN82LA.js.map +0 -1
- package/dist/_chunks/floating-action-button-Cnw-f6AG.js.map +0 -1
- package/dist/_chunks/form-field-BfsPLTSc.js.map +0 -1
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +0 -1
- package/dist/_chunks/freemium-paywall-CkefGLM_.js +0 -198
- package/dist/_chunks/freemium-paywall-CkefGLM_.js.map +0 -1
- package/dist/_chunks/header-BGn1mRp8.js.map +0 -1
- package/dist/_chunks/icon-button-Wnnde5lc.js.map +0 -1
- package/dist/_chunks/kbd-8baVw3KU.js.map +0 -1
- package/dist/_chunks/key-value-pair-JRFS9Xrh.js.map +0 -1
- package/dist/_chunks/leo-sidebar-nbHib2D-.js.map +0 -1
- package/dist/_chunks/list-B1ozIjQe.js +0 -359
- package/dist/_chunks/list-B1ozIjQe.js.map +0 -1
- package/dist/_chunks/logo-BpFoCL-s.js.map +0 -1
- package/dist/_chunks/matrix-rain-BEkvux64.js.map +0 -1
- package/dist/_chunks/message-card-qAp2-WQK.js.map +0 -1
- package/dist/_chunks/message-tray-VaLpQU5t.js +0 -303
- package/dist/_chunks/message-tray-VaLpQU5t.js.map +0 -1
- package/dist/_chunks/multi-select.agent-CNsyW3n9.js +0 -450
- package/dist/_chunks/multi-select.agent-CNsyW3n9.js.map +0 -1
- package/dist/_chunks/navigation-menu-EVFau1O2.js +0 -180
- package/dist/_chunks/navigation-menu-EVFau1O2.js.map +0 -1
- package/dist/_chunks/notification-card-BF2_veHy.js.map +0 -1
- package/dist/_chunks/notification-tray-B7U5YZYg.js +0 -328
- package/dist/_chunks/notification-tray-B7U5YZYg.js.map +0 -1
- package/dist/_chunks/number-input-DjpT_RXJ.js +0 -249
- package/dist/_chunks/number-input-DjpT_RXJ.js.map +0 -1
- package/dist/_chunks/otp-input-De5_Ih7B.js +0 -189
- package/dist/_chunks/otp-input-De5_Ih7B.js.map +0 -1
- package/dist/_chunks/pagination.agent-oEaqmtx5.js +0 -380
- package/dist/_chunks/pagination.agent-oEaqmtx5.js.map +0 -1
- package/dist/_chunks/password-input-DJDVznWH.js +0 -193
- package/dist/_chunks/password-input-DJDVznWH.js.map +0 -1
- package/dist/_chunks/payment-form-hcl-gGrp.js.map +0 -1
- package/dist/_chunks/payment-form.agent-BkEnRerR.js +0 -26
- package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +0 -1
- package/dist/_chunks/pdf-viewer.agent-CfIHhcHx.js +0 -859
- package/dist/_chunks/pdf-viewer.agent-CfIHhcHx.js.map +0 -1
- package/dist/_chunks/phone-input-DE_39q65.js +0 -428
- package/dist/_chunks/phone-input-DE_39q65.js.map +0 -1
- package/dist/_chunks/popover-C3CTUsqh.js +0 -227
- package/dist/_chunks/popover-C3CTUsqh.js.map +0 -1
- package/dist/_chunks/popover.agent-C0qOx9WT.js +0 -13
- package/dist/_chunks/popover.agent-C0qOx9WT.js.map +0 -1
- package/dist/_chunks/privacy-lock-CQpgkLec.js +0 -132
- package/dist/_chunks/privacy-lock-CQpgkLec.js.map +0 -1
- package/dist/_chunks/progress-B4Of_pzz.js +0 -252
- package/dist/_chunks/progress-B4Of_pzz.js.map +0 -1
- package/dist/_chunks/progress.agent-CXkHURjX.js +0 -22
- package/dist/_chunks/progress.agent-CXkHURjX.js.map +0 -1
- package/dist/_chunks/radio-cs8N1wJi.js.map +0 -1
- package/dist/_chunks/radio-group-BIUbpWml.js +0 -89
- package/dist/_chunks/radio-group-BIUbpWml.js.map +0 -1
- package/dist/_chunks/resizable.agent-DBpPGNdy.js +0 -435
- package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +0 -1
- package/dist/_chunks/rich-text-editor.agent-COSb5_2D.js.map +0 -1
- package/dist/_chunks/scroll-area-DLr5w9Dd.js.map +0 -1
- package/dist/_chunks/search-bar-fcGqDFW3.js +0 -397
- package/dist/_chunks/search-bar-fcGqDFW3.js.map +0 -1
- package/dist/_chunks/search-input-BVMCONyN.js +0 -197
- package/dist/_chunks/search-input-BVMCONyN.js.map +0 -1
- package/dist/_chunks/select-IY_JQa-F.js +0 -321
- package/dist/_chunks/select-IY_JQa-F.js.map +0 -1
- package/dist/_chunks/separator-B4wXDLNC.js.map +0 -1
- package/dist/_chunks/sheet-BhNpLHc9.js.map +0 -1
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +0 -13
- package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +0 -1
- package/dist/_chunks/sidebar-OVzwN3jE.js.map +0 -1
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +0 -17
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +0 -1
- package/dist/_chunks/sign-in-with-alfadocs-button-BN_FPGHT.js.map +0 -1
- package/dist/_chunks/signature-capture.agent-C38VPXxg.js.map +0 -1
- package/dist/_chunks/skeleton-dtqyF09N.js.map +0 -1
- package/dist/_chunks/slider-DjyRt3Mp.js +0 -274
- package/dist/_chunks/slider-DjyRt3Mp.js.map +0 -1
- package/dist/_chunks/slot-grid-D_l5VsHG.js.map +0 -1
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js +0 -238
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js.map +0 -1
- package/dist/_chunks/spinner-GCcv67vh.js.map +0 -1
- package/dist/_chunks/stat-DUB6g90R.js.map +0 -1
- package/dist/_chunks/stepper-accordion-CGog0JSF.js +0 -233
- package/dist/_chunks/stepper-accordion-CGog0JSF.js.map +0 -1
- package/dist/_chunks/stepper-calendar-_fLOAjus.js +0 -570
- package/dist/_chunks/stepper-calendar-_fLOAjus.js.map +0 -1
- package/dist/_chunks/stepper-progress-rE7tn7WY.js +0 -129
- package/dist/_chunks/stepper-progress-rE7tn7WY.js.map +0 -1
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js +0 -158
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js.map +0 -1
- package/dist/_chunks/switch-aN2EYxHh.js +0 -138
- package/dist/_chunks/switch-aN2EYxHh.js.map +0 -1
- package/dist/_chunks/tabs.agent-BpbVA-Zh.js +0 -348
- package/dist/_chunks/tabs.agent-BpbVA-Zh.js.map +0 -1
- package/dist/_chunks/tag-BqidXKo3.js.map +0 -1
- package/dist/_chunks/task-card-yW7tKlG4.js.map +0 -1
- package/dist/_chunks/task-tray-BzahI5FQ.js +0 -100
- package/dist/_chunks/task-tray-BzahI5FQ.js.map +0 -1
- package/dist/_chunks/text-area-DmKSd2DG.js +0 -152
- package/dist/_chunks/text-area-DmKSd2DG.js.map +0 -1
- package/dist/_chunks/text-input-CRHvl5zk.js +0 -188
- package/dist/_chunks/text-input-CRHvl5zk.js.map +0 -1
- package/dist/_chunks/theme-toggle-BHiMMEQN.js +0 -329
- package/dist/_chunks/theme-toggle-BHiMMEQN.js.map +0 -1
- package/dist/_chunks/time-picker-D-EueWUG.js +0 -322
- package/dist/_chunks/time-picker-D-EueWUG.js.map +0 -1
- package/dist/_chunks/timeline-RgAIzpMd.js +0 -220
- package/dist/_chunks/timeline-RgAIzpMd.js.map +0 -1
- package/dist/_chunks/toast-lOhJDKOH.js.map +0 -1
- package/dist/_chunks/tooth-scheme.agent-BlDyu-Gx.js.map +0 -1
- package/dist/_chunks/transcript-panel-CNbVGG9L.js +0 -266
- package/dist/_chunks/transcript-panel-CNbVGG9L.js.map +0 -1
- package/dist/_chunks/typing-indicator-CbUBf-Dx.js.map +0 -1
- package/dist/_chunks/use-theme-BMUhembX.js.map +0 -1
- package/dist/_chunks/warning-stack-8Pa3pekh.js.map +0 -1
- package/dist/_chunks/workflow-map-XeqHDFvp.js.map +0 -1
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useEditor as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Table as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { Markdown as
|
|
12
|
-
import { p as
|
|
13
|
-
import { c as
|
|
14
|
-
import { useTranslation as
|
|
15
|
-
import * as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
2
|
+
import { forwardRef as se, useId as re, useMemo as j, useState as H, useEffect as w, useRef as B, useImperativeHandle as ie, useCallback as _ } from "react";
|
|
3
|
+
import { useEditor as oe, EditorContent as ne } from "@tiptap/react";
|
|
4
|
+
import ae from "@tiptap/starter-kit";
|
|
5
|
+
import de from "@tiptap/extension-link";
|
|
6
|
+
import ce from "@tiptap/extension-image";
|
|
7
|
+
import { Table as le } from "@tiptap/extension-table";
|
|
8
|
+
import ue from "@tiptap/extension-table-row";
|
|
9
|
+
import me from "@tiptap/extension-table-cell";
|
|
10
|
+
import fe from "@tiptap/extension-table-header";
|
|
11
|
+
import { Markdown as he } from "tiptap-markdown";
|
|
12
|
+
import { p as pe } from "./purify.es-DpIUMBYC.js";
|
|
13
|
+
import { c as S } from "./index-D2ZczOXr.js";
|
|
14
|
+
import { useTranslation as U } from "react-i18next";
|
|
15
|
+
import * as z from "@radix-ui/react-dialog";
|
|
16
|
+
import { u as be } from "./registry-C9nwlNyL.js";
|
|
17
|
+
import { s as ge } from "./safe-image-src-DstKgCo7.js";
|
|
18
|
+
import { X as ve } from "./x-CCcI3eJp.js";
|
|
19
|
+
import { C as ke } from "./chevron-down-BX_NP2Yh.js";
|
|
19
20
|
import { c as m } from "./createLucideIcon-CrFbzy84.js";
|
|
20
21
|
/**
|
|
21
22
|
* @license lucide-react v1.8.0 - ISC
|
|
@@ -23,97 +24,97 @@ import { c as m } from "./createLucideIcon-CrFbzy84.js";
|
|
|
23
24
|
* This source code is licensed under the ISC license.
|
|
24
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
25
26
|
*/
|
|
26
|
-
const
|
|
27
|
+
const ye = [
|
|
27
28
|
[
|
|
28
29
|
"path",
|
|
29
30
|
{ d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
|
|
30
31
|
]
|
|
31
|
-
],
|
|
32
|
+
], xe = m("bold", ye);
|
|
32
33
|
/**
|
|
33
34
|
* @license lucide-react v1.8.0 - ISC
|
|
34
35
|
*
|
|
35
36
|
* This source code is licensed under the ISC license.
|
|
36
37
|
* See the LICENSE file in the root directory of this source tree.
|
|
37
38
|
*/
|
|
38
|
-
const
|
|
39
|
+
const ze = [
|
|
39
40
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
40
41
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
41
|
-
],
|
|
42
|
+
], we = m("code", ze);
|
|
42
43
|
/**
|
|
43
44
|
* @license lucide-react v1.8.0 - ISC
|
|
44
45
|
*
|
|
45
46
|
* This source code is licensed under the ISC license.
|
|
46
47
|
* See the LICENSE file in the root directory of this source tree.
|
|
47
48
|
*/
|
|
48
|
-
const
|
|
49
|
+
const Me = [
|
|
49
50
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
50
51
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
51
52
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
52
|
-
],
|
|
53
|
+
], Ne = m("image", Me);
|
|
53
54
|
/**
|
|
54
55
|
* @license lucide-react v1.8.0 - ISC
|
|
55
56
|
*
|
|
56
57
|
* This source code is licensed under the ISC license.
|
|
57
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
59
|
*/
|
|
59
|
-
const
|
|
60
|
+
const Ae = [
|
|
60
61
|
["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
|
|
61
62
|
["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
|
|
62
63
|
["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
|
|
63
|
-
],
|
|
64
|
+
], Ce = m("italic", Ae);
|
|
64
65
|
/**
|
|
65
66
|
* @license lucide-react v1.8.0 - ISC
|
|
66
67
|
*
|
|
67
68
|
* This source code is licensed under the ISC license.
|
|
68
69
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
70
|
*/
|
|
70
|
-
const
|
|
71
|
+
const Le = [
|
|
71
72
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
72
73
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
73
74
|
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
74
|
-
],
|
|
75
|
+
], Te = m("link-2", Le);
|
|
75
76
|
/**
|
|
76
77
|
* @license lucide-react v1.8.0 - ISC
|
|
77
78
|
*
|
|
78
79
|
* This source code is licensed under the ISC license.
|
|
79
80
|
* See the LICENSE file in the root directory of this source tree.
|
|
80
81
|
*/
|
|
81
|
-
const
|
|
82
|
+
const _e = [
|
|
82
83
|
["path", { d: "M11 5h10", key: "1cz7ny" }],
|
|
83
84
|
["path", { d: "M11 12h10", key: "1438ji" }],
|
|
84
85
|
["path", { d: "M11 19h10", key: "11t30w" }],
|
|
85
86
|
["path", { d: "M4 4h1v5", key: "10yrso" }],
|
|
86
87
|
["path", { d: "M4 9h2", key: "r1h2o0" }],
|
|
87
88
|
["path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02", key: "xtkcd5" }]
|
|
88
|
-
],
|
|
89
|
+
], Re = m("list-ordered", _e);
|
|
89
90
|
/**
|
|
90
91
|
* @license lucide-react v1.8.0 - ISC
|
|
91
92
|
*
|
|
92
93
|
* This source code is licensed under the ISC license.
|
|
93
94
|
* See the LICENSE file in the root directory of this source tree.
|
|
94
95
|
*/
|
|
95
|
-
const
|
|
96
|
+
const je = [
|
|
96
97
|
["path", { d: "M3 5h.01", key: "18ugdj" }],
|
|
97
98
|
["path", { d: "M3 12h.01", key: "nlz23k" }],
|
|
98
99
|
["path", { d: "M3 19h.01", key: "noohij" }],
|
|
99
100
|
["path", { d: "M8 5h13", key: "1pao27" }],
|
|
100
101
|
["path", { d: "M8 12h13", key: "1za7za" }],
|
|
101
102
|
["path", { d: "M8 19h13", key: "m83p4d" }]
|
|
102
|
-
],
|
|
103
|
+
], Ie = m("list", je);
|
|
103
104
|
/**
|
|
104
105
|
* @license lucide-react v1.8.0 - ISC
|
|
105
106
|
*
|
|
106
107
|
* This source code is licensed under the ISC license.
|
|
107
108
|
* See the LICENSE file in the root directory of this source tree.
|
|
108
109
|
*/
|
|
109
|
-
const
|
|
110
|
+
const He = [["path", { d: "M5 12h14", key: "1ays0h" }]], Be = m("minus", He);
|
|
110
111
|
/**
|
|
111
112
|
* @license lucide-react v1.8.0 - ISC
|
|
112
113
|
*
|
|
113
114
|
* This source code is licensed under the ISC license.
|
|
114
115
|
* See the LICENSE file in the root directory of this source tree.
|
|
115
116
|
*/
|
|
116
|
-
const
|
|
117
|
+
const Se = [
|
|
117
118
|
[
|
|
118
119
|
"path",
|
|
119
120
|
{
|
|
@@ -128,39 +129,86 @@ const Ie = [
|
|
|
128
129
|
key: "1ymkrd"
|
|
129
130
|
}
|
|
130
131
|
]
|
|
131
|
-
],
|
|
132
|
+
], $e = m("quote", Se);
|
|
132
133
|
/**
|
|
133
134
|
* @license lucide-react v1.8.0 - ISC
|
|
134
135
|
*
|
|
135
136
|
* This source code is licensed under the ISC license.
|
|
136
137
|
* See the LICENSE file in the root directory of this source tree.
|
|
137
138
|
*/
|
|
138
|
-
const
|
|
139
|
+
const De = [
|
|
139
140
|
["path", { d: "M21 7v6h-6", key: "3ptur4" }],
|
|
140
141
|
["path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7", key: "1kgawr" }]
|
|
141
|
-
],
|
|
142
|
+
], Ee = m("redo", De);
|
|
142
143
|
/**
|
|
143
144
|
* @license lucide-react v1.8.0 - ISC
|
|
144
145
|
*
|
|
145
146
|
* This source code is licensed under the ISC license.
|
|
146
147
|
* See the LICENSE file in the root directory of this source tree.
|
|
147
148
|
*/
|
|
148
|
-
const
|
|
149
|
+
const Ke = [
|
|
149
150
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
150
151
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
151
152
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
152
153
|
["path", { d: "M3 15h18", key: "5xshup" }]
|
|
153
|
-
],
|
|
154
|
+
], qe = m("table", Ke);
|
|
154
155
|
/**
|
|
155
156
|
* @license lucide-react v1.8.0 - ISC
|
|
156
157
|
*
|
|
157
158
|
* This source code is licensed under the ISC license.
|
|
158
159
|
* See the LICENSE file in the root directory of this source tree.
|
|
159
160
|
*/
|
|
160
|
-
const
|
|
161
|
+
const Fe = [
|
|
161
162
|
["path", { d: "M3 7v6h6", key: "1v2h90" }],
|
|
162
163
|
["path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13", key: "1r6uu6" }]
|
|
163
|
-
],
|
|
164
|
+
], Ve = m("undo", Fe), Pe = {
|
|
165
|
+
id: "rich-text-editor",
|
|
166
|
+
capabilities: ["edit_inline"],
|
|
167
|
+
state: {
|
|
168
|
+
html: {
|
|
169
|
+
type: "string",
|
|
170
|
+
description: "Sanitised HTML representation of the editor content.",
|
|
171
|
+
read: (a) => a.getHTML()
|
|
172
|
+
},
|
|
173
|
+
markdown: {
|
|
174
|
+
type: "string",
|
|
175
|
+
description: "Markdown representation of the editor content.",
|
|
176
|
+
read: (a) => a.getMarkdown()
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
actions: {
|
|
180
|
+
set_content: {
|
|
181
|
+
safety: "destructive",
|
|
182
|
+
argsType: "{ html: string }",
|
|
183
|
+
description: "Replace the editor content. Loses unsaved input.",
|
|
184
|
+
invoke: (a, g) => {
|
|
185
|
+
a.setContent(g.html);
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
clear: {
|
|
189
|
+
safety: "destructive",
|
|
190
|
+
description: "Empty the editor. Loses unsaved input.",
|
|
191
|
+
invoke: (a) => {
|
|
192
|
+
a.clear();
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
focus: {
|
|
196
|
+
safety: "read",
|
|
197
|
+
description: "Move keyboard focus to the editor surface.",
|
|
198
|
+
invoke: (a) => {
|
|
199
|
+
a.focus();
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
domHooks: {
|
|
204
|
+
root: { attr: "data-component", value: "rich-text-editor" },
|
|
205
|
+
instanceId: {
|
|
206
|
+
attr: "data-component-id",
|
|
207
|
+
sourceProp: "id",
|
|
208
|
+
description: "Sourced from the id prop."
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}, Ze = {
|
|
164
212
|
FORBID_TAGS: [
|
|
165
213
|
"script",
|
|
166
214
|
"style",
|
|
@@ -180,12 +228,12 @@ const Ee = [
|
|
|
180
228
|
"onblur"
|
|
181
229
|
]
|
|
182
230
|
};
|
|
183
|
-
function
|
|
184
|
-
return
|
|
231
|
+
function I(a) {
|
|
232
|
+
return pe.sanitize(a, Ze);
|
|
185
233
|
}
|
|
186
|
-
const
|
|
234
|
+
const Ue = S(
|
|
187
235
|
"tiptap-theme-alfadocs ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]"
|
|
188
|
-
),
|
|
236
|
+
), Ge = S(
|
|
189
237
|
[
|
|
190
238
|
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
191
239
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
@@ -200,7 +248,7 @@ const Fe = B(
|
|
|
200
248
|
},
|
|
201
249
|
defaultVariants: { direction: "ltr" }
|
|
202
250
|
}
|
|
203
|
-
),
|
|
251
|
+
), G = S(
|
|
204
252
|
[
|
|
205
253
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
206
254
|
"ds:min-block-size-[var(--min-target-size)]",
|
|
@@ -229,12 +277,12 @@ const Fe = B(
|
|
|
229
277
|
},
|
|
230
278
|
defaultVariants: { pressed: !1, disabled: !1 }
|
|
231
279
|
}
|
|
232
|
-
),
|
|
280
|
+
), Qe = S(
|
|
233
281
|
[
|
|
234
282
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
235
283
|
"ds:bg-[var(--background)] ds:text-[var(--foreground)]"
|
|
236
284
|
].join(" ")
|
|
237
|
-
),
|
|
285
|
+
), Xe = {
|
|
238
286
|
minimal: ["bold", "italic", "link"],
|
|
239
287
|
standard: [
|
|
240
288
|
"bold",
|
|
@@ -261,57 +309,70 @@ const Fe = B(
|
|
|
261
309
|
"redo"
|
|
262
310
|
]
|
|
263
311
|
};
|
|
264
|
-
function
|
|
312
|
+
function Ye({
|
|
265
313
|
editor: a,
|
|
266
|
-
registerRef:
|
|
267
|
-
tabIndex:
|
|
268
|
-
onFocus:
|
|
269
|
-
onKeyDown:
|
|
270
|
-
label:
|
|
271
|
-
disabled:
|
|
272
|
-
pressed:
|
|
314
|
+
registerRef: g,
|
|
315
|
+
tabIndex: l,
|
|
316
|
+
onFocus: h,
|
|
317
|
+
onKeyDown: R,
|
|
318
|
+
label: M,
|
|
319
|
+
disabled: i,
|
|
320
|
+
pressed: $
|
|
273
321
|
}) {
|
|
274
|
-
const [
|
|
275
|
-
|
|
276
|
-
if (!
|
|
277
|
-
function c(
|
|
278
|
-
const
|
|
279
|
-
|
|
322
|
+
const [y, N] = H(!1), A = B(null);
|
|
323
|
+
w(() => {
|
|
324
|
+
if (!y) return;
|
|
325
|
+
function c(D) {
|
|
326
|
+
const v = D.target;
|
|
327
|
+
A.current && v && !A.current.contains(v) && N(!1);
|
|
280
328
|
}
|
|
281
329
|
return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
|
|
282
|
-
}, [
|
|
283
|
-
function
|
|
330
|
+
}, [y]);
|
|
331
|
+
function o(c) {
|
|
284
332
|
a.chain().focus().toggleHeading({ level: c }).run(), N(!1);
|
|
285
333
|
}
|
|
286
|
-
return /* @__PURE__ */ k("div", { ref:
|
|
334
|
+
return /* @__PURE__ */ k("div", { ref: A, className: "ds:relative ds:inline-flex", children: [
|
|
287
335
|
/* @__PURE__ */ k(
|
|
288
336
|
"button",
|
|
289
337
|
{
|
|
290
338
|
type: "button",
|
|
291
|
-
ref:
|
|
292
|
-
tabIndex:
|
|
293
|
-
onFocus:
|
|
294
|
-
onKeyDown:
|
|
339
|
+
ref: g,
|
|
340
|
+
tabIndex: l,
|
|
341
|
+
onFocus: h,
|
|
342
|
+
onKeyDown: R,
|
|
295
343
|
onClick: () => {
|
|
296
|
-
|
|
344
|
+
i || N((c) => !c);
|
|
297
345
|
},
|
|
298
346
|
"aria-haspopup": "listbox",
|
|
299
|
-
"aria-expanded":
|
|
300
|
-
"aria-disabled":
|
|
301
|
-
"aria-label":
|
|
302
|
-
title:
|
|
303
|
-
className:
|
|
347
|
+
"aria-expanded": y,
|
|
348
|
+
"aria-disabled": i || void 0,
|
|
349
|
+
"aria-label": M,
|
|
350
|
+
title: M,
|
|
351
|
+
className: G({ pressed: $, disabled: i }),
|
|
304
352
|
children: [
|
|
305
|
-
/* @__PURE__ */ r(
|
|
306
|
-
|
|
353
|
+
/* @__PURE__ */ r(
|
|
354
|
+
"span",
|
|
355
|
+
{
|
|
356
|
+
"aria-hidden": "true",
|
|
357
|
+
className: "ds:text-[length:var(--font-size-sm)] ds:font-semibold",
|
|
358
|
+
children: "H"
|
|
359
|
+
}
|
|
360
|
+
),
|
|
361
|
+
/* @__PURE__ */ r(
|
|
362
|
+
ke,
|
|
363
|
+
{
|
|
364
|
+
"aria-hidden": "true",
|
|
365
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
366
|
+
}
|
|
367
|
+
)
|
|
307
368
|
]
|
|
308
369
|
}
|
|
309
370
|
),
|
|
310
|
-
|
|
371
|
+
y && !i ? /* @__PURE__ */ r(
|
|
311
372
|
"ul",
|
|
312
373
|
{
|
|
313
374
|
role: "listbox",
|
|
314
|
-
"aria-label":
|
|
375
|
+
"aria-label": M,
|
|
315
376
|
className: [
|
|
316
377
|
"ds:absolute ds:top-full ds:mt-[var(--spacing-xs)] ds:start-0 ds:z-[var(--z-dropdown)]",
|
|
317
378
|
"ds:min-inline-size-[8rem] ds:rounded-[var(--radius-md)]",
|
|
@@ -324,7 +385,7 @@ function Ue({
|
|
|
324
385
|
type: "button",
|
|
325
386
|
role: "option",
|
|
326
387
|
"aria-selected": a.isActive("heading", { level: c }) || void 0,
|
|
327
|
-
onClick: () =>
|
|
388
|
+
onClick: () => o(c),
|
|
328
389
|
className: [
|
|
329
390
|
"ds:flex ds:w-full ds:items-center",
|
|
330
391
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
@@ -343,11 +404,14 @@ function Ue({
|
|
|
343
404
|
) : null
|
|
344
405
|
] });
|
|
345
406
|
}
|
|
346
|
-
function
|
|
347
|
-
|
|
348
|
-
|
|
407
|
+
function Je({
|
|
408
|
+
open: a,
|
|
409
|
+
onOpenChange: g
|
|
410
|
+
}) {
|
|
411
|
+
const { t: l } = U();
|
|
412
|
+
return /* @__PURE__ */ r(z.Root, { open: a, onOpenChange: g, children: /* @__PURE__ */ k(z.Portal, { children: [
|
|
349
413
|
/* @__PURE__ */ r(
|
|
350
|
-
|
|
414
|
+
z.Overlay,
|
|
351
415
|
{
|
|
352
416
|
className: [
|
|
353
417
|
"ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
|
|
@@ -357,7 +421,7 @@ function Ge({ open: a, onOpenChange: l }) {
|
|
|
357
421
|
}
|
|
358
422
|
),
|
|
359
423
|
/* @__PURE__ */ k(
|
|
360
|
-
|
|
424
|
+
z.Content,
|
|
361
425
|
{
|
|
362
426
|
className: [
|
|
363
427
|
"ds:fixed ds:z-[var(--z-modal)]",
|
|
@@ -370,18 +434,12 @@ function Ge({ open: a, onOpenChange: l }) {
|
|
|
370
434
|
].join(" "),
|
|
371
435
|
children: [
|
|
372
436
|
/* @__PURE__ */ k("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-md)]", children: [
|
|
373
|
-
/* @__PURE__ */ r(
|
|
374
|
-
|
|
375
|
-
{
|
|
376
|
-
className: "type-title-card ds:leading-snug",
|
|
377
|
-
children: h("editor.shortcuts.title")
|
|
378
|
-
}
|
|
379
|
-
),
|
|
380
|
-
/* @__PURE__ */ r(w.Close, { asChild: !0, children: /* @__PURE__ */ r(
|
|
437
|
+
/* @__PURE__ */ r(z.Title, { className: "type-title-card ds:leading-snug", children: l("editor.shortcuts.title") }),
|
|
438
|
+
/* @__PURE__ */ r(z.Close, { asChild: !0, children: /* @__PURE__ */ r(
|
|
381
439
|
"button",
|
|
382
440
|
{
|
|
383
441
|
type: "button",
|
|
384
|
-
"aria-label":
|
|
442
|
+
"aria-label": l("editor.shortcuts.close"),
|
|
385
443
|
className: [
|
|
386
444
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
387
445
|
"ds:min-block-size-[var(--min-target-size)]",
|
|
@@ -393,7 +451,13 @@ function Ge({ open: a, onOpenChange: l }) {
|
|
|
393
451
|
"ds:focus-visible:outline-[var(--ring)]",
|
|
394
452
|
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
395
453
|
].join(" "),
|
|
396
|
-
children: /* @__PURE__ */ r(
|
|
454
|
+
children: /* @__PURE__ */ r(
|
|
455
|
+
ve,
|
|
456
|
+
{
|
|
457
|
+
"aria-hidden": "true",
|
|
458
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
459
|
+
}
|
|
460
|
+
)
|
|
397
461
|
}
|
|
398
462
|
) })
|
|
399
463
|
] }),
|
|
@@ -404,12 +468,12 @@ function Ge({ open: a, onOpenChange: l }) {
|
|
|
404
468
|
{ key: "editor.shortcuts.undo", combo: "⌘/Ctrl + Z" },
|
|
405
469
|
{ key: "editor.shortcuts.redo", combo: "⌘/Ctrl + Shift + Z" },
|
|
406
470
|
{ key: "editor.shortcuts.open", combo: "⌘/Ctrl + /" }
|
|
407
|
-
].map((
|
|
471
|
+
].map((h) => /* @__PURE__ */ k(
|
|
408
472
|
"li",
|
|
409
473
|
{
|
|
410
474
|
className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-md)]",
|
|
411
475
|
children: [
|
|
412
|
-
/* @__PURE__ */ r("span", { className: "ds:text-[length:var(--font-size-sm)]", children: h
|
|
476
|
+
/* @__PURE__ */ r("span", { className: "ds:text-[length:var(--font-size-sm)]", children: l(h.key) }),
|
|
413
477
|
/* @__PURE__ */ r(
|
|
414
478
|
"kbd",
|
|
415
479
|
{
|
|
@@ -418,50 +482,51 @@ function Ge({ open: a, onOpenChange: l }) {
|
|
|
418
482
|
"ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
|
|
419
483
|
"ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]"
|
|
420
484
|
].join(" "),
|
|
421
|
-
children:
|
|
485
|
+
children: h.combo
|
|
422
486
|
}
|
|
423
487
|
)
|
|
424
488
|
]
|
|
425
489
|
},
|
|
426
|
-
|
|
490
|
+
h.key
|
|
427
491
|
)) })
|
|
428
492
|
]
|
|
429
493
|
}
|
|
430
494
|
)
|
|
431
495
|
] }) });
|
|
432
496
|
}
|
|
433
|
-
const
|
|
497
|
+
const We = se(
|
|
434
498
|
({
|
|
435
|
-
|
|
499
|
+
id: a,
|
|
500
|
+
defaultValue: g,
|
|
436
501
|
value: l,
|
|
437
502
|
onChange: h,
|
|
438
|
-
toolbar:
|
|
439
|
-
placeholder:
|
|
440
|
-
readOnly:
|
|
441
|
-
ariaLabel:
|
|
442
|
-
minHeight:
|
|
443
|
-
className:
|
|
444
|
-
},
|
|
445
|
-
const { t:
|
|
446
|
-
() => `rte-${
|
|
447
|
-
[
|
|
448
|
-
), [
|
|
449
|
-
|
|
450
|
-
typeof document > "u" ||
|
|
503
|
+
toolbar: R = "standard",
|
|
504
|
+
placeholder: M,
|
|
505
|
+
readOnly: i = !1,
|
|
506
|
+
ariaLabel: $,
|
|
507
|
+
minHeight: y,
|
|
508
|
+
className: N
|
|
509
|
+
}, A) => {
|
|
510
|
+
const { t: o } = U(), c = re(), D = j(
|
|
511
|
+
() => `rte-${c.replace(/[^a-zA-Z0-9-_]/g, "")}`,
|
|
512
|
+
[c]
|
|
513
|
+
), [v, Q] = H(!1);
|
|
514
|
+
w(() => {
|
|
515
|
+
typeof document > "u" || Q(document.documentElement.dir === "rtl");
|
|
451
516
|
}, []);
|
|
452
|
-
const [
|
|
453
|
-
|
|
454
|
-
|
|
517
|
+
const [X, F] = H(!1), C = B(null), L = B(h);
|
|
518
|
+
w(() => {
|
|
519
|
+
L.current = h;
|
|
455
520
|
}, [h]);
|
|
456
|
-
const
|
|
457
|
-
const s = l ??
|
|
458
|
-
return s ?
|
|
459
|
-
}, [
|
|
521
|
+
const Y = j(() => {
|
|
522
|
+
const s = l ?? g ?? "";
|
|
523
|
+
return s ? I(s) : "";
|
|
524
|
+
}, [g, l]), e = oe({
|
|
460
525
|
extensions: [
|
|
461
|
-
|
|
526
|
+
ae.configure({
|
|
462
527
|
heading: { levels: [1, 2, 3] }
|
|
463
528
|
}),
|
|
464
|
-
|
|
529
|
+
de.configure({
|
|
465
530
|
protocols: ["http", "https", "mailto", "tel"],
|
|
466
531
|
HTMLAttributes: {
|
|
467
532
|
rel: "noopener noreferrer",
|
|
@@ -469,52 +534,52 @@ const Qe = ee(
|
|
|
469
534
|
},
|
|
470
535
|
validate: (s) => /^(https?:|mailto:|tel:)/i.test(s)
|
|
471
536
|
}),
|
|
472
|
-
ae,
|
|
473
|
-
de.configure({ resizable: !1 }),
|
|
474
537
|
ce,
|
|
475
|
-
le,
|
|
538
|
+
le.configure({ resizable: !1 }),
|
|
476
539
|
ue,
|
|
477
|
-
me
|
|
540
|
+
me,
|
|
541
|
+
fe,
|
|
542
|
+
he.configure({
|
|
478
543
|
html: !1,
|
|
479
544
|
transformPastedText: !0
|
|
480
545
|
})
|
|
481
546
|
],
|
|
482
|
-
content:
|
|
483
|
-
editable: !
|
|
547
|
+
content: Y,
|
|
548
|
+
editable: !i,
|
|
484
549
|
immediatelyRender: !1,
|
|
485
550
|
shouldRerenderOnTransaction: !0,
|
|
486
551
|
editorProps: {
|
|
487
552
|
attributes: {
|
|
488
553
|
role: "textbox",
|
|
489
554
|
"aria-multiline": "true",
|
|
490
|
-
"aria-label":
|
|
491
|
-
"data-placeholder":
|
|
555
|
+
"aria-label": $ ?? o("editor.placeholder"),
|
|
556
|
+
"data-placeholder": M ?? o("editor.placeholder")
|
|
492
557
|
},
|
|
493
558
|
transformPastedHTML(s) {
|
|
494
|
-
return
|
|
559
|
+
return I(s);
|
|
495
560
|
},
|
|
496
561
|
handleKeyDown(s, t) {
|
|
497
|
-
return (t.metaKey || t.ctrlKey) && t.key === "/" ? (t.preventDefault(),
|
|
562
|
+
return (t.metaKey || t.ctrlKey) && t.key === "/" ? (t.preventDefault(), F(!0), !0) : !1;
|
|
498
563
|
}
|
|
499
564
|
},
|
|
500
565
|
onUpdate({ editor: s }) {
|
|
501
|
-
|
|
502
|
-
var d,
|
|
503
|
-
const t = s.getHTML(), f = ((
|
|
504
|
-
(
|
|
566
|
+
L.current && (C.current && clearTimeout(C.current), C.current = setTimeout(() => {
|
|
567
|
+
var d, p, b;
|
|
568
|
+
const t = s.getHTML(), f = ((p = (d = s.storage.markdown) == null ? void 0 : d.getMarkdown) == null ? void 0 : p.call(d)) ?? "";
|
|
569
|
+
(b = L.current) == null || b.call(L, { html: t, markdown: f });
|
|
505
570
|
}, 100));
|
|
506
571
|
}
|
|
507
572
|
});
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}, []),
|
|
511
|
-
e && e.setEditable(!
|
|
512
|
-
}, [e,
|
|
573
|
+
w(() => () => {
|
|
574
|
+
C.current && clearTimeout(C.current);
|
|
575
|
+
}, []), w(() => {
|
|
576
|
+
e && e.setEditable(!i);
|
|
577
|
+
}, [e, i]), w(() => {
|
|
513
578
|
if (!e || l === void 0 || e.getHTML() === l) return;
|
|
514
|
-
const t =
|
|
579
|
+
const t = I(l);
|
|
515
580
|
e.commands.setContent(t, { emitUpdate: !1 });
|
|
516
|
-
}, [e, l])
|
|
517
|
-
|
|
581
|
+
}, [e, l]);
|
|
582
|
+
const E = j(
|
|
518
583
|
() => ({
|
|
519
584
|
getHTML() {
|
|
520
585
|
return (e == null ? void 0 : e.getHTML()) ?? "";
|
|
@@ -525,7 +590,7 @@ const Qe = ee(
|
|
|
525
590
|
},
|
|
526
591
|
setContent(s) {
|
|
527
592
|
if (!e) return;
|
|
528
|
-
const t =
|
|
593
|
+
const t = I(s);
|
|
529
594
|
e.commands.setContent(t);
|
|
530
595
|
},
|
|
531
596
|
focus() {
|
|
@@ -537,27 +602,28 @@ const Qe = ee(
|
|
|
537
602
|
}),
|
|
538
603
|
[e]
|
|
539
604
|
);
|
|
540
|
-
|
|
605
|
+
ie(A, () => E, [E]), be(Pe, E, a);
|
|
606
|
+
const V = B([]), [T, K] = H(0), q = j(() => Xe[R], [R]), J = _(
|
|
541
607
|
(s) => (t) => {
|
|
542
|
-
|
|
608
|
+
V.current[s] = t;
|
|
543
609
|
},
|
|
544
610
|
[]
|
|
545
|
-
),
|
|
546
|
-
const t =
|
|
611
|
+
), P = _((s) => {
|
|
612
|
+
const t = V.current[s];
|
|
547
613
|
t && t.focus();
|
|
548
|
-
}, []), Z =
|
|
614
|
+
}, []), Z = _(
|
|
549
615
|
(s) => {
|
|
550
|
-
const t =
|
|
616
|
+
const t = q.length;
|
|
551
617
|
if (t === 0) return;
|
|
552
|
-
const u =
|
|
618
|
+
const u = v ? "ArrowLeft" : "ArrowRight", f = v ? "ArrowRight" : "ArrowLeft";
|
|
553
619
|
let d = null;
|
|
554
|
-
s.key === u ? d = (
|
|
620
|
+
s.key === u ? d = (T + 1) % t : s.key === f ? d = (T - 1 + t) % t : s.key === "Home" ? d = 0 : s.key === "End" && (d = t - 1), d !== null && (s.preventDefault(), K(d), P(d));
|
|
555
621
|
},
|
|
556
|
-
[
|
|
557
|
-
),
|
|
622
|
+
[T, P, v, q.length]
|
|
623
|
+
), W = _(
|
|
558
624
|
(s) => {
|
|
559
625
|
if (s.preventDefault(), !e) return;
|
|
560
|
-
const t = e.getAttributes("link").href, u = window.prompt(
|
|
626
|
+
const t = e.getAttributes("link").href, u = window.prompt(o("editor.link.insert"), t ?? "");
|
|
561
627
|
if (u === null) return;
|
|
562
628
|
const f = u.trim();
|
|
563
629
|
if (f === "") {
|
|
@@ -566,22 +632,22 @@ const Qe = ee(
|
|
|
566
632
|
}
|
|
567
633
|
/^(https?:|mailto:|tel:)/i.test(f) && e.chain().focus().extendMarkRange("link").setLink({ href: f }).run();
|
|
568
634
|
},
|
|
569
|
-
[e,
|
|
570
|
-
),
|
|
635
|
+
[e, o]
|
|
636
|
+
), O = _(() => {
|
|
571
637
|
if (!e) return;
|
|
572
|
-
const s = window.prompt(
|
|
638
|
+
const s = window.prompt(o("editor.image.insert"), "");
|
|
573
639
|
if (s === null) return;
|
|
574
|
-
const t =
|
|
640
|
+
const t = ge(s);
|
|
575
641
|
t && e.chain().focus().setImage({ src: t }).run();
|
|
576
|
-
}, [e,
|
|
577
|
-
function
|
|
642
|
+
}, [e, o]);
|
|
643
|
+
function ee(s, t) {
|
|
578
644
|
if (!e) return null;
|
|
579
|
-
const u =
|
|
580
|
-
tabIndex: t ===
|
|
581
|
-
onFocus: () =>
|
|
645
|
+
const u = J(t), f = {
|
|
646
|
+
tabIndex: t === T ? 0 : -1,
|
|
647
|
+
onFocus: () => K(t),
|
|
582
648
|
onKeyDown: Z
|
|
583
|
-
}, d = (n,
|
|
584
|
-
function
|
|
649
|
+
}, d = (n, x) => G({ pressed: n, disabled: x });
|
|
650
|
+
function p(n) {
|
|
585
651
|
return /* @__PURE__ */ r(
|
|
586
652
|
"button",
|
|
587
653
|
{
|
|
@@ -593,15 +659,15 @@ const Qe = ee(
|
|
|
593
659
|
"aria-disabled": n.disabled || void 0,
|
|
594
660
|
"aria-keyshortcuts": n.shortcut,
|
|
595
661
|
title: n.label,
|
|
596
|
-
onClick: (
|
|
597
|
-
|
|
662
|
+
onClick: (x) => {
|
|
663
|
+
x.preventDefault(), n.disabled || n.onActivate();
|
|
598
664
|
},
|
|
599
665
|
className: d(n.pressed, n.disabled),
|
|
600
666
|
children: n.icon
|
|
601
667
|
}
|
|
602
668
|
);
|
|
603
669
|
}
|
|
604
|
-
function
|
|
670
|
+
function b(n) {
|
|
605
671
|
return /* @__PURE__ */ r(
|
|
606
672
|
"button",
|
|
607
673
|
{
|
|
@@ -612,12 +678,12 @@ const Qe = ee(
|
|
|
612
678
|
"aria-disabled": n.disabled || void 0,
|
|
613
679
|
"aria-keyshortcuts": n.shortcut,
|
|
614
680
|
title: n.label,
|
|
615
|
-
onClick: (
|
|
681
|
+
onClick: (x) => {
|
|
616
682
|
if (n.disabled) {
|
|
617
|
-
|
|
683
|
+
x.preventDefault();
|
|
618
684
|
return;
|
|
619
685
|
}
|
|
620
|
-
n.onActivate(
|
|
686
|
+
n.onActivate(x);
|
|
621
687
|
},
|
|
622
688
|
className: d(!1, n.disabled),
|
|
623
689
|
children: n.icon
|
|
@@ -626,120 +692,192 @@ const Qe = ee(
|
|
|
626
692
|
}
|
|
627
693
|
switch (s) {
|
|
628
694
|
case "bold":
|
|
629
|
-
return
|
|
630
|
-
label:
|
|
695
|
+
return p({
|
|
696
|
+
label: o("editor.bold"),
|
|
631
697
|
pressed: e.isActive("bold"),
|
|
632
|
-
disabled:
|
|
698
|
+
disabled: i,
|
|
633
699
|
shortcut: "Control+B Meta+B",
|
|
634
700
|
onActivate: () => e.chain().focus().toggleBold().run(),
|
|
635
|
-
icon: /* @__PURE__ */ r(
|
|
701
|
+
icon: /* @__PURE__ */ r(
|
|
702
|
+
xe,
|
|
703
|
+
{
|
|
704
|
+
"aria-hidden": "true",
|
|
705
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
706
|
+
}
|
|
707
|
+
)
|
|
636
708
|
});
|
|
637
709
|
case "italic":
|
|
638
|
-
return
|
|
639
|
-
label:
|
|
710
|
+
return p({
|
|
711
|
+
label: o("editor.italic"),
|
|
640
712
|
pressed: e.isActive("italic"),
|
|
641
|
-
disabled:
|
|
713
|
+
disabled: i,
|
|
642
714
|
shortcut: "Control+I Meta+I",
|
|
643
715
|
onActivate: () => e.chain().focus().toggleItalic().run(),
|
|
644
|
-
icon: /* @__PURE__ */ r(
|
|
716
|
+
icon: /* @__PURE__ */ r(
|
|
717
|
+
Ce,
|
|
718
|
+
{
|
|
719
|
+
"aria-hidden": "true",
|
|
720
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
721
|
+
}
|
|
722
|
+
)
|
|
645
723
|
});
|
|
646
724
|
case "link":
|
|
647
|
-
return
|
|
648
|
-
label:
|
|
649
|
-
disabled:
|
|
725
|
+
return b({
|
|
726
|
+
label: o("editor.link.insert"),
|
|
727
|
+
disabled: i,
|
|
650
728
|
shortcut: "Control+K Meta+K",
|
|
651
|
-
onActivate:
|
|
652
|
-
icon: /* @__PURE__ */ r(
|
|
729
|
+
onActivate: W,
|
|
730
|
+
icon: /* @__PURE__ */ r(
|
|
731
|
+
Te,
|
|
732
|
+
{
|
|
733
|
+
"aria-hidden": "true",
|
|
734
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
735
|
+
}
|
|
736
|
+
)
|
|
653
737
|
});
|
|
654
738
|
case "heading":
|
|
655
739
|
return /* @__PURE__ */ r(
|
|
656
|
-
|
|
740
|
+
Ye,
|
|
657
741
|
{
|
|
658
742
|
editor: e,
|
|
659
743
|
registerRef: u,
|
|
660
|
-
tabIndex: t ===
|
|
661
|
-
onFocus: () =>
|
|
744
|
+
tabIndex: t === T ? 0 : -1,
|
|
745
|
+
onFocus: () => K(t),
|
|
662
746
|
onKeyDown: Z,
|
|
663
|
-
label:
|
|
664
|
-
disabled:
|
|
747
|
+
label: o("editor.heading"),
|
|
748
|
+
disabled: i,
|
|
665
749
|
pressed: e.isActive("heading", { level: 1 }) || e.isActive("heading", { level: 2 }) || e.isActive("heading", { level: 3 })
|
|
666
750
|
}
|
|
667
751
|
);
|
|
668
752
|
case "bulletList":
|
|
669
|
-
return
|
|
670
|
-
label:
|
|
753
|
+
return p({
|
|
754
|
+
label: o("editor.list.bullet"),
|
|
671
755
|
pressed: e.isActive("bulletList"),
|
|
672
|
-
disabled:
|
|
756
|
+
disabled: i,
|
|
673
757
|
onActivate: () => e.chain().focus().toggleBulletList().run(),
|
|
674
|
-
icon: /* @__PURE__ */ r(
|
|
758
|
+
icon: /* @__PURE__ */ r(
|
|
759
|
+
Ie,
|
|
760
|
+
{
|
|
761
|
+
"aria-hidden": "true",
|
|
762
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
763
|
+
}
|
|
764
|
+
)
|
|
675
765
|
});
|
|
676
766
|
case "orderedList":
|
|
677
|
-
return
|
|
678
|
-
label:
|
|
767
|
+
return p({
|
|
768
|
+
label: o("editor.list.ordered"),
|
|
679
769
|
pressed: e.isActive("orderedList"),
|
|
680
|
-
disabled:
|
|
770
|
+
disabled: i,
|
|
681
771
|
onActivate: () => e.chain().focus().toggleOrderedList().run(),
|
|
682
|
-
icon: /* @__PURE__ */ r(
|
|
772
|
+
icon: /* @__PURE__ */ r(
|
|
773
|
+
Re,
|
|
774
|
+
{
|
|
775
|
+
"aria-hidden": "true",
|
|
776
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
777
|
+
}
|
|
778
|
+
)
|
|
683
779
|
});
|
|
684
780
|
case "quote":
|
|
685
|
-
return
|
|
686
|
-
label:
|
|
781
|
+
return p({
|
|
782
|
+
label: o("editor.quote"),
|
|
687
783
|
pressed: e.isActive("blockquote"),
|
|
688
|
-
disabled:
|
|
784
|
+
disabled: i,
|
|
689
785
|
onActivate: () => e.chain().focus().toggleBlockquote().run(),
|
|
690
|
-
icon: /* @__PURE__ */ r(
|
|
786
|
+
icon: /* @__PURE__ */ r(
|
|
787
|
+
$e,
|
|
788
|
+
{
|
|
789
|
+
"aria-hidden": "true",
|
|
790
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
791
|
+
}
|
|
792
|
+
)
|
|
691
793
|
});
|
|
692
794
|
case "image":
|
|
693
|
-
return
|
|
694
|
-
label:
|
|
695
|
-
disabled:
|
|
696
|
-
onActivate:
|
|
697
|
-
icon: /* @__PURE__ */ r(
|
|
795
|
+
return b({
|
|
796
|
+
label: o("editor.image.insert"),
|
|
797
|
+
disabled: i,
|
|
798
|
+
onActivate: O,
|
|
799
|
+
icon: /* @__PURE__ */ r(
|
|
800
|
+
Ne,
|
|
801
|
+
{
|
|
802
|
+
"aria-hidden": "true",
|
|
803
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
804
|
+
}
|
|
805
|
+
)
|
|
698
806
|
});
|
|
699
807
|
case "table":
|
|
700
|
-
return
|
|
701
|
-
label:
|
|
702
|
-
disabled:
|
|
808
|
+
return b({
|
|
809
|
+
label: o("editor.table.insert"),
|
|
810
|
+
disabled: i,
|
|
703
811
|
onActivate: () => e.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: !0 }).run(),
|
|
704
|
-
icon: /* @__PURE__ */ r(
|
|
812
|
+
icon: /* @__PURE__ */ r(
|
|
813
|
+
qe,
|
|
814
|
+
{
|
|
815
|
+
"aria-hidden": "true",
|
|
816
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
817
|
+
}
|
|
818
|
+
)
|
|
705
819
|
});
|
|
706
820
|
case "codeBlock":
|
|
707
|
-
return
|
|
708
|
-
label:
|
|
821
|
+
return p({
|
|
822
|
+
label: o("editor.codeBlock"),
|
|
709
823
|
pressed: e.isActive("codeBlock"),
|
|
710
|
-
disabled:
|
|
824
|
+
disabled: i,
|
|
711
825
|
onActivate: () => e.chain().focus().toggleCodeBlock().run(),
|
|
712
|
-
icon: /* @__PURE__ */ r(
|
|
826
|
+
icon: /* @__PURE__ */ r(
|
|
827
|
+
we,
|
|
828
|
+
{
|
|
829
|
+
"aria-hidden": "true",
|
|
830
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
831
|
+
}
|
|
832
|
+
)
|
|
713
833
|
});
|
|
714
834
|
case "horizontalRule":
|
|
715
|
-
return
|
|
716
|
-
label:
|
|
717
|
-
disabled:
|
|
835
|
+
return b({
|
|
836
|
+
label: o("editor.horizontalRule"),
|
|
837
|
+
disabled: i,
|
|
718
838
|
onActivate: () => e.chain().focus().setHorizontalRule().run(),
|
|
719
|
-
icon: /* @__PURE__ */ r(
|
|
839
|
+
icon: /* @__PURE__ */ r(
|
|
840
|
+
Be,
|
|
841
|
+
{
|
|
842
|
+
"aria-hidden": "true",
|
|
843
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
844
|
+
}
|
|
845
|
+
)
|
|
720
846
|
});
|
|
721
847
|
case "undo":
|
|
722
|
-
return
|
|
723
|
-
label:
|
|
724
|
-
disabled:
|
|
848
|
+
return b({
|
|
849
|
+
label: o("editor.undo"),
|
|
850
|
+
disabled: i || !e.can().undo(),
|
|
725
851
|
shortcut: "Control+Z Meta+Z",
|
|
726
852
|
onActivate: () => e.chain().focus().undo().run(),
|
|
727
|
-
icon: /* @__PURE__ */ r(
|
|
853
|
+
icon: /* @__PURE__ */ r(
|
|
854
|
+
Ve,
|
|
855
|
+
{
|
|
856
|
+
"aria-hidden": "true",
|
|
857
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
858
|
+
}
|
|
859
|
+
)
|
|
728
860
|
});
|
|
729
861
|
case "redo":
|
|
730
|
-
return
|
|
731
|
-
label:
|
|
732
|
-
disabled:
|
|
862
|
+
return b({
|
|
863
|
+
label: o("editor.redo"),
|
|
864
|
+
disabled: i || !e.can().redo(),
|
|
733
865
|
shortcut: "Control+Shift+Z Meta+Shift+Z",
|
|
734
866
|
onActivate: () => e.chain().focus().redo().run(),
|
|
735
|
-
icon: /* @__PURE__ */ r(
|
|
867
|
+
icon: /* @__PURE__ */ r(
|
|
868
|
+
Ee,
|
|
869
|
+
{
|
|
870
|
+
"aria-hidden": "true",
|
|
871
|
+
className: "ds:block-size-4 ds:inline-size-4"
|
|
872
|
+
}
|
|
873
|
+
)
|
|
736
874
|
});
|
|
737
875
|
default:
|
|
738
876
|
return null;
|
|
739
877
|
}
|
|
740
878
|
}
|
|
741
|
-
const
|
|
742
|
-
switch (
|
|
879
|
+
const te = (() => {
|
|
880
|
+
switch (y) {
|
|
743
881
|
case "sm":
|
|
744
882
|
return "min-block-size-[8rem]";
|
|
745
883
|
case "md":
|
|
@@ -753,83 +891,41 @@ const Qe = ee(
|
|
|
753
891
|
return /* @__PURE__ */ k(
|
|
754
892
|
"div",
|
|
755
893
|
{
|
|
756
|
-
id:
|
|
757
|
-
className: [
|
|
758
|
-
dir:
|
|
894
|
+
id: D,
|
|
895
|
+
className: [Ue(), N].filter(Boolean).join(" "),
|
|
896
|
+
dir: v ? "rtl" : void 0,
|
|
759
897
|
"data-component": "rich-text-editor",
|
|
898
|
+
"data-component-id": a,
|
|
760
899
|
children: [
|
|
761
|
-
|
|
900
|
+
i ? null : /* @__PURE__ */ r(
|
|
762
901
|
"div",
|
|
763
902
|
{
|
|
764
903
|
role: "toolbar",
|
|
765
|
-
"aria-label":
|
|
766
|
-
className:
|
|
767
|
-
children:
|
|
904
|
+
"aria-label": o("editor.toolbarLabel"),
|
|
905
|
+
className: Ge({ direction: v ? "rtl" : "ltr" }),
|
|
906
|
+
children: q.map((s, t) => /* @__PURE__ */ r("span", { className: "ds:contents", children: ee(s, t) }, s))
|
|
768
907
|
}
|
|
769
908
|
),
|
|
770
909
|
/* @__PURE__ */ r(
|
|
771
910
|
"div",
|
|
772
911
|
{
|
|
773
|
-
className: [
|
|
774
|
-
children: /* @__PURE__ */ r(
|
|
912
|
+
className: [Qe(), te].filter(Boolean).join(" "),
|
|
913
|
+
children: /* @__PURE__ */ r(ne, { editor: e })
|
|
775
914
|
}
|
|
776
915
|
),
|
|
777
|
-
/* @__PURE__ */ r(
|
|
916
|
+
/* @__PURE__ */ r(Je, { open: X, onOpenChange: F })
|
|
778
917
|
]
|
|
779
918
|
}
|
|
780
919
|
);
|
|
781
920
|
}
|
|
782
921
|
);
|
|
783
|
-
|
|
784
|
-
const ft = {
|
|
785
|
-
id: "rich-text-editor",
|
|
786
|
-
capabilities: ["edit_inline"],
|
|
787
|
-
state: {
|
|
788
|
-
html: {
|
|
789
|
-
type: "string",
|
|
790
|
-
description: "Sanitised HTML representation of the editor content.",
|
|
791
|
-
read: (a) => a.getHTML()
|
|
792
|
-
},
|
|
793
|
-
markdown: {
|
|
794
|
-
type: "string",
|
|
795
|
-
description: "Markdown representation of the editor content.",
|
|
796
|
-
read: (a) => a.getMarkdown()
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
actions: {
|
|
800
|
-
set_content: {
|
|
801
|
-
safety: "destructive",
|
|
802
|
-
argsType: "{ html: string }",
|
|
803
|
-
description: "Replace the editor content. Loses unsaved input.",
|
|
804
|
-
invoke: (a, l) => {
|
|
805
|
-
a.setContent(l.html);
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
clear: {
|
|
809
|
-
safety: "destructive",
|
|
810
|
-
description: "Empty the editor. Loses unsaved input.",
|
|
811
|
-
invoke: (a) => {
|
|
812
|
-
a.clear();
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
focus: {
|
|
816
|
-
safety: "read",
|
|
817
|
-
description: "Move keyboard focus to the editor surface.",
|
|
818
|
-
invoke: (a) => {
|
|
819
|
-
a.focus();
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
domHooks: {
|
|
824
|
-
root: { attr: "data-component", value: "rich-text-editor" }
|
|
825
|
-
}
|
|
826
|
-
};
|
|
922
|
+
We.displayName = "RichTextEditor";
|
|
827
923
|
export {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
924
|
+
We as R,
|
|
925
|
+
Ge as a,
|
|
926
|
+
Qe as e,
|
|
927
|
+
Pe as r,
|
|
928
|
+
G as t,
|
|
929
|
+
Ue as w
|
|
834
930
|
};
|
|
835
|
-
//# sourceMappingURL=rich-text-editor
|
|
931
|
+
//# sourceMappingURL=rich-text-editor-C7TCIlQO.js.map
|