@alfadocs/ui-kit 0.0.12
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/LICENSE +96 -0
- package/README.md +152 -0
- package/dist/_chunks/accordion-Dgcd38U_.js +117 -0
- package/dist/_chunks/accordion-Dgcd38U_.js.map +1 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +17 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +1 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js +130 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js.map +1 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js +119 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +379 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +1 -0
- package/dist/_chunks/alert-C5ud6CfE.js +187 -0
- package/dist/_chunks/alert-C5ud6CfE.js.map +1 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +17 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +1 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js +129 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js.map +1 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +56 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +1 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js +375 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +1 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js +138 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +1 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js +371 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +1 -0
- package/dist/_chunks/avatar-BsV7vRA6.js +113 -0
- package/dist/_chunks/avatar-BsV7vRA6.js.map +1 -0
- package/dist/_chunks/badge--CmSr7ok.js +104 -0
- package/dist/_chunks/badge--CmSr7ok.js.map +1 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js +997 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +1 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js +292 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +1 -0
- package/dist/_chunks/button-CXL8bA8G.js +119 -0
- package/dist/_chunks/button-CXL8bA8G.js.map +1 -0
- package/dist/_chunks/button-group-CI7LFxt3.js +120 -0
- package/dist/_chunks/button-group-CI7LFxt3.js.map +1 -0
- package/dist/_chunks/button.agent-BuGZBktn.js +17 -0
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -0
- package/dist/_chunks/calendar-BIXVzhkL.js +998 -0
- package/dist/_chunks/calendar-BIXVzhkL.js.map +1 -0
- package/dist/_chunks/card-n97MNPP2.js +158 -0
- package/dist/_chunks/card-n97MNPP2.js.map +1 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js +267 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js.map +1 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js +174 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js.map +1 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js +22 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js.map +1 -0
- package/dist/_chunks/chat-input-aphxDjZL.js +221 -0
- package/dist/_chunks/chat-input-aphxDjZL.js.map +1 -0
- package/dist/_chunks/chat-message-CdJSD18D.js +228 -0
- package/dist/_chunks/chat-message-CdJSD18D.js.map +1 -0
- package/dist/_chunks/check-DPdL_Sm7.js +12 -0
- package/dist/_chunks/check-DPdL_Sm7.js.map +1 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js +116 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js.map +1 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js +145 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +1 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js +12 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +1 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js +12 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +1 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js +12 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +1 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js +12 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +1 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js +26 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +1 -0
- package/dist/_chunks/circle-BkqTgYmt.js +12 -0
- package/dist/_chunks/circle-BkqTgYmt.js.map +1 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js +16 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +1 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js +15 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +1 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js +16 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +1 -0
- package/dist/_chunks/clock-21AGPWJ5.js +15 -0
- package/dist/_chunks/clock-21AGPWJ5.js.map +1 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js +66 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js.map +1 -0
- package/dist/_chunks/color-picker-CiotzQJF.js +554 -0
- package/dist/_chunks/color-picker-CiotzQJF.js.map +1 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js +349 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js.map +1 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js +350 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +1 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js +10 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js.map +1 -0
- package/dist/_chunks/copy-B00HK7tj.js +15 -0
- package/dist/_chunks/copy-B00HK7tj.js.map +1 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js +117 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +1 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js +1726 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js.map +1 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js +183 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js.map +1 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js +202 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +1 -0
- package/dist/_chunks/description-list-C5UPZgX6.js +187 -0
- package/dist/_chunks/description-list-C5UPZgX6.js.map +1 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js +147 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js.map +1 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js +210 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +1 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +17 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +1 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js +16 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +1 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js +303 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js.map +1 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js +29 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +1 -0
- package/dist/_chunks/file-text-DSNuv2B8.js +24 -0
- package/dist/_chunks/file-text-DSNuv2B8.js.map +1 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js +649 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +1 -0
- package/dist/_chunks/flag-ChP784EM.js +635 -0
- package/dist/_chunks/flag-ChP784EM.js.map +1 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js +95 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +1 -0
- package/dist/_chunks/form-field-B4bwrccN.js +121 -0
- package/dist/_chunks/form-field-B4bwrccN.js.map +1 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js +19 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +1 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js +197 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +1 -0
- package/dist/_chunks/globe-BkEFMNSg.js +16 -0
- package/dist/_chunks/globe-BkEFMNSg.js.map +1 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js +16 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js.map +1 -0
- package/dist/_chunks/header-BpKaSL_v.js +310 -0
- package/dist/_chunks/header-BpKaSL_v.js.map +1 -0
- package/dist/_chunks/icon-button-C1vpylg3.js +45 -0
- package/dist/_chunks/icon-button-C1vpylg3.js.map +1 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js +204 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js.map +1 -0
- package/dist/_chunks/index-4xgbg-sn.js +317 -0
- package/dist/_chunks/index-4xgbg-sn.js.map +1 -0
- package/dist/_chunks/index-CJE9uQmb.js +646 -0
- package/dist/_chunks/index-CJE9uQmb.js.map +1 -0
- package/dist/_chunks/index-CeY1nNvd.js +2853 -0
- package/dist/_chunks/index-CeY1nNvd.js.map +1 -0
- package/dist/_chunks/index-D2ZczOXr.js +48 -0
- package/dist/_chunks/index-D2ZczOXr.js.map +1 -0
- package/dist/_chunks/info-B9XNKn05.js +16 -0
- package/dist/_chunks/info-B9XNKn05.js.map +1 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js +32 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js.map +1 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js +39 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js.map +1 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js +1307 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js.map +1 -0
- package/dist/_chunks/kbd-0iPlQjgC.js +220 -0
- package/dist/_chunks/kbd-0iPlQjgC.js.map +1 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js +75 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js.map +1 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js +755 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +1 -0
- package/dist/_chunks/list-n8vI8Yvn.js +356 -0
- package/dist/_chunks/list-n8vI8Yvn.js.map +1 -0
- package/dist/_chunks/log-out-616hnn2-.js +16 -0
- package/dist/_chunks/log-out-616hnn2-.js.map +1 -0
- package/dist/_chunks/logo-BlIdYz3n.js +140 -0
- package/dist/_chunks/logo-BlIdYz3n.js.map +1 -0
- package/dist/_chunks/mail-C8irm52s.js +15 -0
- package/dist/_chunks/mail-C8irm52s.js.map +1 -0
- package/dist/_chunks/message-card-g5VS5Q80.js +275 -0
- package/dist/_chunks/message-card-g5VS5Q80.js.map +1 -0
- package/dist/_chunks/message-tray-CAk-iibU.js +302 -0
- package/dist/_chunks/message-tray-CAk-iibU.js.map +1 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js +449 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +1 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js +208 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +7 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -0
- package/dist/_chunks/notification-card-CQxJporb.js +255 -0
- package/dist/_chunks/notification-card-CQxJporb.js.map +1 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js +324 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js.map +1 -0
- package/dist/_chunks/number-input-B1Th0DdC.js +248 -0
- package/dist/_chunks/number-input-B1Th0DdC.js.map +1 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js +188 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js.map +1 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js +379 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +1 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js +193 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js.map +1 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js +193 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js.map +1 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js +579 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js.map +1 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js +26 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +1 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js +858 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +1 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js +427 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js.map +1 -0
- package/dist/_chunks/plus-CYKNmfuA.js +15 -0
- package/dist/_chunks/plus-CYKNmfuA.js.map +1 -0
- package/dist/_chunks/popover-D1woU9mP.js +222 -0
- package/dist/_chunks/popover-D1woU9mP.js.map +1 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js +13 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js.map +1 -0
- package/dist/_chunks/printer-CeVEWfQq.js +22 -0
- package/dist/_chunks/printer-CeVEWfQq.js.map +1 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js +130 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js.map +1 -0
- package/dist/_chunks/progress-DL3-izuO.js +252 -0
- package/dist/_chunks/progress-DL3-izuO.js.map +1 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js +22 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js.map +1 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js +561 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js.map +1 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js +185 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js.map +1 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js +1824 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js.map +1 -0
- package/dist/_chunks/registry-C9nwlNyL.js +21 -0
- package/dist/_chunks/registry-C9nwlNyL.js.map +1 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js +435 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js.map +1 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js +835 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js +14 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js +144 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js.map +1 -0
- package/dist/_chunks/search-BonnQsHv.js +15 -0
- package/dist/_chunks/search-BonnQsHv.js.map +1 -0
- package/dist/_chunks/search-bar-DgSOAajC.js +396 -0
- package/dist/_chunks/search-bar-DgSOAajC.js.map +1 -0
- package/dist/_chunks/search-input-D4tC_Prn.js +197 -0
- package/dist/_chunks/search-input-D4tC_Prn.js.map +1 -0
- package/dist/_chunks/select-B4m4upMg.js +320 -0
- package/dist/_chunks/select-B4m4upMg.js.map +1 -0
- package/dist/_chunks/send-CySZIRPJ.js +21 -0
- package/dist/_chunks/send-CySZIRPJ.js.map +1 -0
- package/dist/_chunks/separator-DExI4amU.js +58 -0
- package/dist/_chunks/separator-DExI4amU.js.map +1 -0
- package/dist/_chunks/sheet-D6XOx0fK.js +188 -0
- package/dist/_chunks/sheet-D6XOx0fK.js.map +1 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +13 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +1 -0
- package/dist/_chunks/sidebar-r645O-k9.js +1076 -0
- package/dist/_chunks/sidebar-r645O-k9.js.map +1 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +17 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +1 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js +88 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js.map +1 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js +485 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +1 -0
- package/dist/_chunks/skeleton-vbTWUntB.js +95 -0
- package/dist/_chunks/skeleton-vbTWUntB.js.map +1 -0
- package/dist/_chunks/slider-B3DBwmcm.js +273 -0
- package/dist/_chunks/slider-B3DBwmcm.js.map +1 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js +491 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +1 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js +238 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +1 -0
- package/dist/_chunks/spinner-77xUGpuX.js +163 -0
- package/dist/_chunks/spinner-77xUGpuX.js.map +1 -0
- package/dist/_chunks/square-CZoGU14v.js +14 -0
- package/dist/_chunks/square-CZoGU14v.js.map +1 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js +18 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +1 -0
- package/dist/_chunks/stat-CrumvZWf.js +208 -0
- package/dist/_chunks/stat-CrumvZWf.js.map +1 -0
- package/dist/_chunks/stepper-C-sIpRRU.js +7 -0
- package/dist/_chunks/stepper-C-sIpRRU.js.map +1 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js +232 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +1 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js +569 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +1 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js +128 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +1 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js +104 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +1 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js +157 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +1 -0
- package/dist/_chunks/switch-DyC0ThNT.js +137 -0
- package/dist/_chunks/switch-DyC0ThNT.js.map +1 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js +347 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +1 -0
- package/dist/_chunks/tag-BucAvfTX.js +194 -0
- package/dist/_chunks/tag-BucAvfTX.js.map +1 -0
- package/dist/_chunks/task-card-uxjApfcg.js +112 -0
- package/dist/_chunks/task-card-uxjApfcg.js.map +1 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js +99 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js.map +1 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js +152 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js.map +1 -0
- package/dist/_chunks/text-input-D16CcMlL.js +187 -0
- package/dist/_chunks/text-input-D16CcMlL.js.map +1 -0
- package/dist/_chunks/theme-root-vapFjsnt.js +18 -0
- package/dist/_chunks/theme-root-vapFjsnt.js.map +1 -0
- package/dist/_chunks/time-picker-BapZq0OY.js +321 -0
- package/dist/_chunks/time-picker-BapZq0OY.js.map +1 -0
- package/dist/_chunks/timeline-D3VOf4RT.js +219 -0
- package/dist/_chunks/timeline-D3VOf4RT.js.map +1 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js +108 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js.map +1 -0
- package/dist/_chunks/toast-DSCqnDRl.js +884 -0
- package/dist/_chunks/toast-DSCqnDRl.js.map +1 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js +97 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js.map +1 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js +762 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +1 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js +265 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js +22 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +1 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js +81 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +1 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js +28 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js.map +1 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js +40 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js +15 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -0
- package/dist/_chunks/use-theme-BMUhembX.js +148 -0
- package/dist/_chunks/use-theme-BMUhembX.js.map +1 -0
- package/dist/_chunks/user-CPxpqFjJ.js +15 -0
- package/dist/_chunks/user-CPxpqFjJ.js.map +1 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js +179 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js.map +1 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js +1337 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +1 -0
- package/dist/_chunks/x-CCcI3eJp.js +15 -0
- package/dist/_chunks/x-CCcI3eJp.js.map +1 -0
- package/dist/agent/index.d.ts +5 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/registry.d.ts +26 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/types.d.ts +148 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent-catalog.json +813 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +14 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +13 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -0
- package/dist/brand/logo-asset/index.d.ts +6 -0
- package/dist/brand/logo-asset/index.d.ts.map +1 -0
- package/dist/components/_shared/calendar-chevron.d.ts +4 -0
- package/dist/components/_shared/calendar-chevron.d.ts.map +1 -0
- package/dist/components/_shared/compose-refs.d.ts +3 -0
- package/dist/components/_shared/compose-refs.d.ts.map +1 -0
- package/dist/components/_shared/date-locale.d.ts +5 -0
- package/dist/components/_shared/date-locale.d.ts.map +1 -0
- package/dist/components/_shared/date-picker-variants.d.ts +10 -0
- package/dist/components/_shared/date-picker-variants.d.ts.map +1 -0
- package/dist/components/_shared/date-utils.d.ts +3 -0
- package/dist/components/_shared/date-utils.d.ts.map +1 -0
- package/dist/components/_shared/group-options.d.ts +6 -0
- package/dist/components/_shared/group-options.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts +15 -0
- package/dist/components/_shared/index.d.ts.map +1 -0
- package/dist/components/_shared/input-surface.d.ts +23 -0
- package/dist/components/_shared/input-surface.d.ts.map +1 -0
- package/dist/components/_shared/normalize-diacritics.d.ts +2 -0
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts +8 -0
- package/dist/components/_shared/option.d.ts.map +1 -0
- package/dist/components/_shared/safe-html.d.ts +30 -0
- package/dist/components/_shared/safe-html.d.ts.map +1 -0
- package/dist/components/_shared/safe-image-src.d.ts +3 -0
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -0
- package/dist/components/_shared/stepper.d.ts +17 -0
- package/dist/components/_shared/stepper.d.ts.map +1 -0
- package/dist/components/_shared/time.d.ts +6 -0
- package/dist/components/_shared/time.d.ts.map +1 -0
- package/dist/components/_shared/use-debounced-callback.d.ts +6 -0
- package/dist/components/_shared/use-debounced-callback.d.ts.map +1 -0
- package/dist/components/_shared/use-direction.d.ts +19 -0
- package/dist/components/_shared/use-direction.d.ts.map +1 -0
- package/dist/components/accordion/accordion.agent.d.ts +3 -0
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -0
- package/dist/components/accordion/accordion.d.ts +41 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +10 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts +36 -0
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -0
- package/dist/components/agenda-card/index.d.ts +3 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -0
- package/dist/components/agenda-card/index.js +6 -0
- package/dist/components/agenda-card/index.js.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +24 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.d.ts +3 -0
- package/dist/components/agenda-tray/index.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.js +5 -0
- package/dist/components/agenda-tray/index.js.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +49 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.d.ts +3 -0
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.js +5 -0
- package/dist/components/ai-prompt-input/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +23 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +5 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/app-frame/app-frame.d.ts +33 -0
- package/dist/components/app-frame/app-frame.d.ts.map +1 -0
- package/dist/components/app-frame/index.d.ts +3 -0
- package/dist/components/app-frame/index.d.ts.map +1 -0
- package/dist/components/app-frame/index.js +5 -0
- package/dist/components/app-frame/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +16 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +4 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +7 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +26 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.d.ts +3 -0
- package/dist/components/audio-recorder/index.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.js +5 -0
- package/dist/components/audio-recorder/index.js.map +1 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts +18 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.d.ts +3 -0
- package/dist/components/audio-visualiser/index.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.js +5 -0
- package/dist/components/audio-visualiser/index.js.map +1 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts +3 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +41 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/index.d.ts +4 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/index.js +7 -0
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +29 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +7 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +20 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +51 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +3 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.js +10 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.agent.d.ts +3 -0
- package/dist/components/button/button.agent.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +21 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/icon-button.d.ts +29 -0
- package/dist/components/button/icon-button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +4 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +9 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +29 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/index.js +5 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.agent.d.ts +4 -0
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +226 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/contrast-warning.d.ts +20 -0
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -0
- package/dist/components/calendar/index.d.ts +4 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/index.js +7 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.d.ts +29 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +5 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/chart/chart.agent.d.ts +4 -0
- package/dist/components/chart/chart.agent.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +45 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/index.d.ts +4 -0
- package/dist/components/chart/index.d.ts.map +1 -0
- package/dist/components/chart/index.js +7 -0
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/chat-container/chat-container.agent.d.ts +4 -0
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -0
- package/dist/components/chat-container/chat-container.d.ts +36 -0
- package/dist/components/chat-container/chat-container.d.ts.map +1 -0
- package/dist/components/chat-container/index.d.ts +4 -0
- package/dist/components/chat-container/index.d.ts.map +1 -0
- package/dist/components/chat-container/index.js +7 -0
- package/dist/components/chat-container/index.js.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts +32 -0
- package/dist/components/chat-input/chat-input.d.ts.map +1 -0
- package/dist/components/chat-input/index.d.ts +3 -0
- package/dist/components/chat-input/index.d.ts.map +1 -0
- package/dist/components/chat-input/index.js +5 -0
- package/dist/components/chat-input/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +36 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/index.d.ts +3 -0
- package/dist/components/chat-message/index.d.ts.map +1 -0
- package/dist/components/chat-message/index.js +5 -0
- package/dist/components/chat-message/index.js.map +1 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts +9 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +18 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +7 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +30 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.d.ts +3 -0
- package/dist/components/checkbox-group/index.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.js +5 -0
- package/dist/components/checkbox-group/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +18 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/index.d.ts +3 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +7 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +18 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker/color-utils.d.ts +32 -0
- package/dist/components/color-picker/color-utils.d.ts.map +1 -0
- package/dist/components/color-picker/index.d.ts +6 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/color-picker/index.js +7 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/color-picker/palettes.d.ts +16 -0
- package/dist/components/color-picker/palettes.d.ts.map +1 -0
- package/dist/components/combobox/combobox.agent.d.ts +3 -0
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +46 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/index.d.ts +4 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/index.js +10 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command-palette/command-palette.agent.d.ts +3 -0
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -0
- package/dist/components/command-palette/command-palette.d.ts +81 -0
- package/dist/components/command-palette/command-palette.d.ts.map +1 -0
- package/dist/components/command-palette/index.d.ts +4 -0
- package/dist/components/command-palette/index.d.ts.map +1 -0
- package/dist/components/command-palette/index.js +17 -0
- package/dist/components/command-palette/index.js.map +1 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +23 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts +11 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts +10 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts +6 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/data-table.agent.d.ts +4 -0
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +78 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts +16 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts +27 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +19 -0
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/data-table/toolbar.d.ts +49 -0
- package/dist/components/data-table/toolbar.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +37 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +42 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.d.ts +3 -0
- package/dist/components/date-range-picker/index.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.js +5 -0
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +35 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.d.ts +3 -0
- package/dist/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.js +5 -0
- package/dist/components/date-time-picker/index.js.map +1 -0
- package/dist/components/description-list/description-list.d.ts +25 -0
- package/dist/components/description-list/description-list.d.ts.map +1 -0
- package/dist/components/description-list/index.d.ts +3 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js +5 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/dialog/dialog.agent.d.ts +10 -0
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +34 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +4 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +6 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +54 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +4 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.js +7 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +30 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +3 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/empty-state/index.js +5 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.agent.d.ts +3 -0
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +33 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/index.d.ts +4 -0
- package/dist/components/file-upload/index.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +6 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/flag/flag.d.ts +29 -0
- package/dist/components/flag/flag.d.ts.map +1 -0
- package/dist/components/flag/index.d.ts +3 -0
- package/dist/components/flag/index.d.ts.map +1 -0
- package/dist/components/flag/index.js +7 -0
- package/dist/components/flag/index.js.map +1 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts +24 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.d.ts +2 -0
- package/dist/components/floating-action-button/index.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.js +5 -0
- package/dist/components/floating-action-button/index.js.map +1 -0
- package/dist/components/form-field/form-field-context.d.ts +12 -0
- package/dist/components/form-field/form-field-context.d.ts.map +1 -0
- package/dist/components/form-field/form-field.d.ts +24 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -0
- package/dist/components/form-field/index.d.ts +4 -0
- package/dist/components/form-field/index.d.ts.map +1 -0
- package/dist/components/form-field/index.js +8 -0
- package/dist/components/form-field/index.js.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +45 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.d.ts +3 -0
- package/dist/components/freemium-paywall/index.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.js +5 -0
- package/dist/components/freemium-paywall/index.js.map +1 -0
- package/dist/components/header/header.d.ts +39 -0
- package/dist/components/header/header.d.ts.map +1 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.js +12 -0
- package/dist/components/header/index.js.map +1 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts +246 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.d.ts +3 -0
- package/dist/components/icon-button-group/index.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.js +5 -0
- package/dist/components/icon-button-group/index.js.map +1 -0
- package/dist/components/index.d.ts +111 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/kbd/index.d.ts +3 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js +6 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +38 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.d.ts +3 -0
- package/dist/components/key-value-pair/index.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.js +5 -0
- package/dist/components/key-value-pair/index.js.map +1 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts +21 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/list/index.js +5 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/list.d.ts +42 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/logo/index.d.ts +3 -0
- package/dist/components/logo/index.d.ts.map +1 -0
- package/dist/components/logo/index.js +5 -0
- package/dist/components/logo/index.js.map +1 -0
- package/dist/components/logo/logo.d.ts +35 -0
- package/dist/components/logo/logo.d.ts.map +1 -0
- package/dist/components/message-card/index.d.ts +3 -0
- package/dist/components/message-card/index.d.ts.map +1 -0
- package/dist/components/message-card/index.js +6 -0
- package/dist/components/message-card/index.js.map +1 -0
- package/dist/components/message-card/message-card.d.ts +73 -0
- package/dist/components/message-card/message-card.d.ts.map +1 -0
- package/dist/components/message-tray/index.d.ts +3 -0
- package/dist/components/message-tray/index.d.ts.map +1 -0
- package/dist/components/message-tray/index.js +5 -0
- package/dist/components/message-tray/index.js.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +40 -0
- package/dist/components/message-tray/message-tray.d.ts.map +1 -0
- package/dist/components/multi-select/index.d.ts +4 -0
- package/dist/components/multi-select/index.d.ts.map +1 -0
- package/dist/components/multi-select/index.js +7 -0
- package/dist/components/multi-select/index.js.map +1 -0
- package/dist/components/multi-select/multi-select.agent.d.ts +3 -0
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.d.ts +30 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +3 -0
- package/dist/components/navigation-menu/index.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.js +13 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +30 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/notification-card/index.d.ts +3 -0
- package/dist/components/notification-card/index.d.ts.map +1 -0
- package/dist/components/notification-card/index.js +6 -0
- package/dist/components/notification-card/index.js.map +1 -0
- package/dist/components/notification-card/notification-card.d.ts +62 -0
- package/dist/components/notification-card/notification-card.d.ts.map +1 -0
- package/dist/components/notification-tray/index.d.ts +3 -0
- package/dist/components/notification-tray/index.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +5 -0
- package/dist/components/notification-tray/index.js.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +38 -0
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -0
- package/dist/components/number-input/index.d.ts +5 -0
- package/dist/components/number-input/index.d.ts.map +1 -0
- package/dist/components/number-input/index.js +6 -0
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.d.ts +34 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/use-locale-number.d.ts +15 -0
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -0
- package/dist/components/otp-input/index.d.ts +3 -0
- package/dist/components/otp-input/index.d.ts.map +1 -0
- package/dist/components/otp-input/index.js +5 -0
- package/dist/components/otp-input/index.js.map +1 -0
- package/dist/components/otp-input/otp-input.d.ts +13 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +13 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.agent.d.ts +3 -0
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +64 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/password-input/index.d.ts +3 -0
- package/dist/components/password-input/index.d.ts.map +1 -0
- package/dist/components/password-input/index.js +5 -0
- package/dist/components/password-input/index.js.map +1 -0
- package/dist/components/password-input/password-input.d.ts +22 -0
- package/dist/components/password-input/password-input.d.ts.map +1 -0
- package/dist/components/payment-form/index.d.ts +4 -0
- package/dist/components/payment-form/index.d.ts.map +1 -0
- package/dist/components/payment-form/index.js +12 -0
- package/dist/components/payment-form/index.js.map +1 -0
- package/dist/components/payment-form/payment-form.agent.d.ts +4 -0
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -0
- package/dist/components/payment-form/payment-form.d.ts +68 -0
- package/dist/components/payment-form/payment-form.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.d.ts +4 -0
- package/dist/components/pdf-viewer/index.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.js +6 -0
- package/dist/components/pdf-viewer/index.js.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts +4 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +36 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -0
- package/dist/components/phone-input/index.d.ts +3 -0
- package/dist/components/phone-input/index.d.ts.map +1 -0
- package/dist/components/phone-input/index.js +8 -0
- package/dist/components/phone-input/index.js.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +50 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +4 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +7 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.agent.d.ts +3 -0
- package/dist/components/popover/popover.agent.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +37 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.d.ts +3 -0
- package/dist/components/privacy-lock/index.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.js +5 -0
- package/dist/components/privacy-lock/index.js.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +35 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +7 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.agent.d.ts +4 -0
- package/dist/components/progress/progress.agent.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +20 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +6 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group-context.d.ts +7 -0
- package/dist/components/radio-group/radio-group-context.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +19 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio.d.ts +16 -0
- package/dist/components/radio-group/radio.d.ts.map +1 -0
- package/dist/components/resizable/index.d.ts +6 -0
- package/dist/components/resizable/index.d.ts.map +1 -0
- package/dist/components/resizable/index.js +10 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable-context.d.ts +25 -0
- package/dist/components/resizable/resizable-context.d.ts.map +1 -0
- package/dist/components/resizable/resizable.agent.d.ts +3 -0
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -0
- package/dist/components/resizable/resizable.d.ts +32 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.d.ts +4 -0
- package/dist/components/rich-text-editor/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +10 -0
- package/dist/components/rich-text-editor/index.js.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts +4 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +45 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -0
- package/dist/components/scroll-area/index.d.ts +4 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/index.js +10 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +29 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/search-bar/index.d.ts +3 -0
- package/dist/components/search-bar/index.d.ts.map +1 -0
- package/dist/components/search-bar/index.js +6 -0
- package/dist/components/search-bar/index.js.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +59 -0
- package/dist/components/search-bar/search-bar.d.ts.map +1 -0
- package/dist/components/search-input/index.d.ts +3 -0
- package/dist/components/search-input/index.d.ts.map +1 -0
- package/dist/components/search-input/index.js +5 -0
- package/dist/components/search-input/index.js.map +1 -0
- package/dist/components/search-input/search-input.d.ts +28 -0
- package/dist/components/search-input/search-input.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +15 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.d.ts +78 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/separator/index.d.ts +3 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js +5 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.d.ts +26 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/sheet/index.d.ts +4 -0
- package/dist/components/sheet/index.d.ts.map +1 -0
- package/dist/components/sheet/index.js +7 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.agent.d.ts +3 -0
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +34 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +25 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.agent.d.ts +3 -0
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +174 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts +3 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js +5 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts +23 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -0
- package/dist/components/signature-capture/index.d.ts +4 -0
- package/dist/components/signature-capture/index.d.ts.map +1 -0
- package/dist/components/signature-capture/index.js +6 -0
- package/dist/components/signature-capture/index.js.map +1 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts +4 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -0
- package/dist/components/signature-capture/signature-capture.d.ts +53 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +3 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js +5 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +29 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts +3 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/index.js +5 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.d.ts +31 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slot-grid/index.d.ts +3 -0
- package/dist/components/slot-grid/index.d.ts.map +1 -0
- package/dist/components/slot-grid/index.js +7 -0
- package/dist/components/slot-grid/index.js.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts +82 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -0
- package/dist/components/sparkline/index.d.ts +6 -0
- package/dist/components/sparkline/index.d.ts.map +1 -0
- package/dist/components/sparkline/index.js +7 -0
- package/dist/components/sparkline/index.js.map +1 -0
- package/dist/components/sparkline/sparkline.agent.d.ts +4 -0
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +39 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/use-linear-trend.d.ts +7 -0
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +5 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +18 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/stat/index.d.ts +3 -0
- package/dist/components/stat/index.d.ts.map +1 -0
- package/dist/components/stat/index.js +5 -0
- package/dist/components/stat/index.js.map +1 -0
- package/dist/components/stat/stat.d.ts +32 -0
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.d.ts +4 -0
- package/dist/components/stepper-accordion/index.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.js +5 -0
- package/dist/components/stepper-accordion/index.js.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +32 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.d.ts +3 -0
- package/dist/components/stepper-calendar/index.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.js +5 -0
- package/dist/components/stepper-calendar/index.js.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +44 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.d.ts +3 -0
- package/dist/components/stepper-progress/index.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.js +5 -0
- package/dist/components/stepper-progress/index.js.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +28 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -0
- package/dist/components/streaming-text/index.d.ts +3 -0
- package/dist/components/streaming-text/index.d.ts.map +1 -0
- package/dist/components/streaming-text/index.js +5 -0
- package/dist/components/streaming-text/index.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.d.ts +23 -0
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.d.ts +3 -0
- package/dist/components/suggestion-chip/index.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.js +6 -0
- package/dist/components/suggestion-chip/index.js.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +28 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +5 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.d.ts +21 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts +4 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +9 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.agent.d.ts +3 -0
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +63 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tag/index.d.ts +3 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +5 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/tag/tag.d.ts +25 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/task-card/index.d.ts +3 -0
- package/dist/components/task-card/index.d.ts.map +1 -0
- package/dist/components/task-card/index.js +6 -0
- package/dist/components/task-card/index.js.map +1 -0
- package/dist/components/task-card/task-card.d.ts +40 -0
- package/dist/components/task-card/task-card.d.ts.map +1 -0
- package/dist/components/task-tray/index.d.ts +3 -0
- package/dist/components/task-tray/index.d.ts.map +1 -0
- package/dist/components/task-tray/index.js +5 -0
- package/dist/components/task-tray/index.js.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +28 -0
- package/dist/components/task-tray/task-tray.d.ts.map +1 -0
- package/dist/components/text-area/index.d.ts +3 -0
- package/dist/components/text-area/index.d.ts.map +1 -0
- package/dist/components/text-area/index.js +5 -0
- package/dist/components/text-area/index.js.map +1 -0
- package/dist/components/text-area/text-area.d.ts +19 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -0
- package/dist/components/text-input/index.d.ts +3 -0
- package/dist/components/text-input/index.d.ts.map +1 -0
- package/dist/components/text-input/index.js +5 -0
- package/dist/components/text-input/index.js.map +1 -0
- package/dist/components/text-input/text-input.d.ts +22 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -0
- package/dist/components/theme-root/index.d.ts +3 -0
- package/dist/components/theme-root/index.d.ts.map +1 -0
- package/dist/components/theme-root/index.js +5 -0
- package/dist/components/theme-root/index.js.map +1 -0
- package/dist/components/theme-root/theme-root.d.ts +16 -0
- package/dist/components/theme-root/theme-root.d.ts.map +1 -0
- package/dist/components/time-picker/index.d.ts +3 -0
- package/dist/components/time-picker/index.d.ts.map +1 -0
- package/dist/components/time-picker/index.js +5 -0
- package/dist/components/time-picker/index.js.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +38 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/timeline/index.d.ts +3 -0
- package/dist/components/timeline/index.d.ts.map +1 -0
- package/dist/components/timeline/index.js +5 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.d.ts +47 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timestamp/index.d.ts +3 -0
- package/dist/components/timestamp/index.d.ts.map +1 -0
- package/dist/components/timestamp/index.js +5 -0
- package/dist/components/timestamp/index.js.map +1 -0
- package/dist/components/timestamp/timestamp.d.ts +51 -0
- package/dist/components/timestamp/timestamp.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +9 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.d.ts +32 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +6 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +31 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.d.ts +5 -0
- package/dist/components/tooth-scheme/index.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.js +20 -0
- package/dist/components/tooth-scheme/index.js.map +1 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts +91 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +4 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +34 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.d.ts +3 -0
- package/dist/components/transcript-panel/index.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.js +5 -0
- package/dist/components/transcript-panel/index.js.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +25 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.d.ts +3 -0
- package/dist/components/typing-indicator/index.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.js +5 -0
- package/dist/components/typing-indicator/index.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts +17 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/warning-stack/index.d.ts +2 -0
- package/dist/components/warning-stack/index.d.ts.map +1 -0
- package/dist/components/warning-stack/index.js +5 -0
- package/dist/components/warning-stack/index.js.map +1 -0
- package/dist/components/warning-stack/warning-stack.d.ts +42 -0
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -0
- package/dist/components/workflow/index.d.ts +9 -0
- package/dist/components/workflow/index.d.ts.map +1 -0
- package/dist/components/workflow/index.js +14 -0
- package/dist/components/workflow/index.js.map +1 -0
- package/dist/components/workflow/workflow-card.d.ts +25 -0
- package/dist/components/workflow/workflow-card.d.ts.map +1 -0
- package/dist/components/workflow/workflow-editor.d.ts +29 -0
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -0
- package/dist/components/workflow/workflow-map.d.ts +26 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -0
- package/dist/components/workflow/workflow-types.d.ts +128 -0
- package/dist/components/workflow/workflow-types.d.ts.map +1 -0
- package/dist/fonts/SpaceGrotesk-VF.woff2 +0 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts +10 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +51 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +4 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +2763 -0
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/resources.d.ts +2809 -0
- package/dist/i18n/resources.d.ts.map +1 -0
- package/dist/index.js +434 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +921 -0
- package/dist/locales/en.json +945 -0
- package/dist/locales/it.json +921 -0
- package/dist/option/index.js +2 -0
- package/dist/option/index.js.map +1 -0
- package/dist/patterns/leo-assistant/index.d.ts +20 -0
- package/dist/patterns/leo-assistant/index.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/index.js +8 -0
- package/dist/patterns/leo-assistant/index.js.map +1 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts +3 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts +38 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts +122 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.d.ts +12 -0
- package/dist/patterns/patient-shell/index.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.js +5 -0
- package/dist/patterns/patient-shell/index.js.map +1 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts +62 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -0
- package/dist/safe-html/index.js +66 -0
- package/dist/safe-html/index.js.map +1 -0
- package/dist/tokens/apexcharts-theme.d.ts +3 -0
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts +10 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts.map +1 -0
- package/dist/tokens.css +3 -0
- package/package.json +330 -0
|
@@ -0,0 +1,835 @@
|
|
|
1
|
+
import { jsxs as k, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ee, useId as te, useMemo as K, useState as I, useEffect as M, useRef as H, useImperativeHandle as re, useCallback as T } from "react";
|
|
3
|
+
import { useEditor as ie, EditorContent as oe } from "@tiptap/react";
|
|
4
|
+
import ne from "@tiptap/starter-kit";
|
|
5
|
+
import ae from "@tiptap/extension-link";
|
|
6
|
+
import se from "@tiptap/extension-image";
|
|
7
|
+
import { Table as ce } from "@tiptap/extension-table";
|
|
8
|
+
import le from "@tiptap/extension-table-row";
|
|
9
|
+
import de from "@tiptap/extension-table-cell";
|
|
10
|
+
import ue from "@tiptap/extension-table-header";
|
|
11
|
+
import { Markdown as me } from "tiptap-markdown";
|
|
12
|
+
import { p as fe } from "./purify.es-DpIUMBYC.js";
|
|
13
|
+
import { c as B } from "./index-D2ZczOXr.js";
|
|
14
|
+
import { useTranslation as P } from "react-i18next";
|
|
15
|
+
import * as w from "@radix-ui/react-dialog";
|
|
16
|
+
import { s as he } from "./safe-image-src-DstKgCo7.js";
|
|
17
|
+
import { X as be } from "./x-CCcI3eJp.js";
|
|
18
|
+
import { C as pe } from "./chevron-down-BX_NP2Yh.js";
|
|
19
|
+
import { c as m } from "./createLucideIcon-CrFbzy84.js";
|
|
20
|
+
/**
|
|
21
|
+
* @license lucide-react v1.8.0 - ISC
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the ISC license.
|
|
24
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/
|
|
26
|
+
const ve = [
|
|
27
|
+
[
|
|
28
|
+
"path",
|
|
29
|
+
{ 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
|
+
], ge = m("bold", ve);
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v1.8.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
const ke = [
|
|
39
|
+
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
40
|
+
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
41
|
+
], ye = m("code", ke);
|
|
42
|
+
/**
|
|
43
|
+
* @license lucide-react v1.8.0 - ISC
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the ISC license.
|
|
46
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/
|
|
48
|
+
const xe = [
|
|
49
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
50
|
+
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
51
|
+
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
52
|
+
], ze = m("image", xe);
|
|
53
|
+
/**
|
|
54
|
+
* @license lucide-react v1.8.0 - ISC
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the ISC license.
|
|
57
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/
|
|
59
|
+
const we = [
|
|
60
|
+
["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
|
|
61
|
+
["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
|
|
62
|
+
["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
|
|
63
|
+
], Me = m("italic", we);
|
|
64
|
+
/**
|
|
65
|
+
* @license lucide-react v1.8.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/
|
|
70
|
+
const Ne = [
|
|
71
|
+
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
72
|
+
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
73
|
+
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
74
|
+
], Ae = m("link-2", Ne);
|
|
75
|
+
/**
|
|
76
|
+
* @license lucide-react v1.8.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/
|
|
81
|
+
const Ce = [
|
|
82
|
+
["path", { d: "M11 5h10", key: "1cz7ny" }],
|
|
83
|
+
["path", { d: "M11 12h10", key: "1438ji" }],
|
|
84
|
+
["path", { d: "M11 19h10", key: "11t30w" }],
|
|
85
|
+
["path", { d: "M4 4h1v5", key: "10yrso" }],
|
|
86
|
+
["path", { d: "M4 9h2", key: "r1h2o0" }],
|
|
87
|
+
["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
|
+
], Le = m("list-ordered", Ce);
|
|
89
|
+
/**
|
|
90
|
+
* @license lucide-react v1.8.0 - ISC
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the ISC license.
|
|
93
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/
|
|
95
|
+
const Te = [
|
|
96
|
+
["path", { d: "M3 5h.01", key: "18ugdj" }],
|
|
97
|
+
["path", { d: "M3 12h.01", key: "nlz23k" }],
|
|
98
|
+
["path", { d: "M3 19h.01", key: "noohij" }],
|
|
99
|
+
["path", { d: "M8 5h13", key: "1pao27" }],
|
|
100
|
+
["path", { d: "M8 12h13", key: "1za7za" }],
|
|
101
|
+
["path", { d: "M8 19h13", key: "m83p4d" }]
|
|
102
|
+
], _e = m("list", Te);
|
|
103
|
+
/**
|
|
104
|
+
* @license lucide-react v1.8.0 - ISC
|
|
105
|
+
*
|
|
106
|
+
* This source code is licensed under the ISC license.
|
|
107
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
+
*/
|
|
109
|
+
const Re = [["path", { d: "M5 12h14", key: "1ays0h" }]], je = m("minus", Re);
|
|
110
|
+
/**
|
|
111
|
+
* @license lucide-react v1.8.0 - ISC
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the ISC license.
|
|
114
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/
|
|
116
|
+
const Ie = [
|
|
117
|
+
[
|
|
118
|
+
"path",
|
|
119
|
+
{
|
|
120
|
+
d: "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",
|
|
121
|
+
key: "rib7q0"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
"path",
|
|
126
|
+
{
|
|
127
|
+
d: "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",
|
|
128
|
+
key: "1ymkrd"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
], He = m("quote", Ie);
|
|
132
|
+
/**
|
|
133
|
+
* @license lucide-react v1.8.0 - ISC
|
|
134
|
+
*
|
|
135
|
+
* This source code is licensed under the ISC license.
|
|
136
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
+
*/
|
|
138
|
+
const Be = [
|
|
139
|
+
["path", { d: "M21 7v6h-6", key: "3ptur4" }],
|
|
140
|
+
["path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7", key: "1kgawr" }]
|
|
141
|
+
], $e = m("redo", Be);
|
|
142
|
+
/**
|
|
143
|
+
* @license lucide-react v1.8.0 - ISC
|
|
144
|
+
*
|
|
145
|
+
* This source code is licensed under the ISC license.
|
|
146
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
+
*/
|
|
148
|
+
const De = [
|
|
149
|
+
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
150
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
151
|
+
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
152
|
+
["path", { d: "M3 15h18", key: "5xshup" }]
|
|
153
|
+
], Se = m("table", De);
|
|
154
|
+
/**
|
|
155
|
+
* @license lucide-react v1.8.0 - ISC
|
|
156
|
+
*
|
|
157
|
+
* This source code is licensed under the ISC license.
|
|
158
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
+
*/
|
|
160
|
+
const Ee = [
|
|
161
|
+
["path", { d: "M3 7v6h6", key: "1v2h90" }],
|
|
162
|
+
["path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13", key: "1r6uu6" }]
|
|
163
|
+
], Ke = m("undo", Ee), qe = {
|
|
164
|
+
FORBID_TAGS: [
|
|
165
|
+
"script",
|
|
166
|
+
"style",
|
|
167
|
+
"iframe",
|
|
168
|
+
"object",
|
|
169
|
+
"embed",
|
|
170
|
+
"form",
|
|
171
|
+
"base",
|
|
172
|
+
"meta"
|
|
173
|
+
],
|
|
174
|
+
FORBID_ATTR: [
|
|
175
|
+
"onerror",
|
|
176
|
+
"onclick",
|
|
177
|
+
"onload",
|
|
178
|
+
"onmouseover",
|
|
179
|
+
"onfocus",
|
|
180
|
+
"onblur"
|
|
181
|
+
]
|
|
182
|
+
};
|
|
183
|
+
function j(s) {
|
|
184
|
+
return fe.sanitize(s, qe);
|
|
185
|
+
}
|
|
186
|
+
const Fe = B(
|
|
187
|
+
"tiptap-theme-alfadocs flex flex-col gap-[var(--spacing-sm)]"
|
|
188
|
+
), Ve = B(
|
|
189
|
+
[
|
|
190
|
+
"flex flex-wrap items-center gap-[var(--spacing-xs)]",
|
|
191
|
+
"rounded-[var(--radius-md)] border border-[color:var(--border)]",
|
|
192
|
+
"bg-[var(--background)] p-[var(--spacing-xs)]"
|
|
193
|
+
].join(" "),
|
|
194
|
+
{
|
|
195
|
+
variants: {
|
|
196
|
+
direction: {
|
|
197
|
+
ltr: "",
|
|
198
|
+
rtl: "flex-row-reverse"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
defaultVariants: { direction: "ltr" }
|
|
202
|
+
}
|
|
203
|
+
), U = B(
|
|
204
|
+
[
|
|
205
|
+
"inline-flex items-center justify-center",
|
|
206
|
+
"min-block-size-[var(--min-target-size)]",
|
|
207
|
+
"min-inline-size-[var(--min-target-size)]",
|
|
208
|
+
"gap-[var(--spacing-xs)]",
|
|
209
|
+
"rounded-[var(--radius-sm)] bg-transparent text-[var(--foreground)]",
|
|
210
|
+
"transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none",
|
|
211
|
+
"hover:bg-[var(--muted)]",
|
|
212
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
213
|
+
"focus-visible:outline-solid",
|
|
214
|
+
"focus-visible:outline-[var(--ring)]",
|
|
215
|
+
"focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
216
|
+
"forced-colors:focus-visible:outline-[CanvasText]",
|
|
217
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]"
|
|
218
|
+
].join(" "),
|
|
219
|
+
{
|
|
220
|
+
variants: {
|
|
221
|
+
pressed: {
|
|
222
|
+
true: "bg-[var(--muted)] text-[var(--primary)]",
|
|
223
|
+
false: ""
|
|
224
|
+
},
|
|
225
|
+
disabled: {
|
|
226
|
+
true: "opacity-[var(--opacity-50)] cursor-not-allowed",
|
|
227
|
+
false: ""
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
defaultVariants: { pressed: !1, disabled: !1 }
|
|
231
|
+
}
|
|
232
|
+
), Ze = B(
|
|
233
|
+
[
|
|
234
|
+
"rounded-[var(--radius-md)] border border-[color:var(--border)]",
|
|
235
|
+
"bg-[var(--background)] text-[var(--foreground)]"
|
|
236
|
+
].join(" ")
|
|
237
|
+
), Pe = {
|
|
238
|
+
minimal: ["bold", "italic", "link"],
|
|
239
|
+
standard: [
|
|
240
|
+
"bold",
|
|
241
|
+
"italic",
|
|
242
|
+
"link",
|
|
243
|
+
"heading",
|
|
244
|
+
"bulletList",
|
|
245
|
+
"orderedList",
|
|
246
|
+
"quote"
|
|
247
|
+
],
|
|
248
|
+
full: [
|
|
249
|
+
"bold",
|
|
250
|
+
"italic",
|
|
251
|
+
"link",
|
|
252
|
+
"heading",
|
|
253
|
+
"bulletList",
|
|
254
|
+
"orderedList",
|
|
255
|
+
"quote",
|
|
256
|
+
"image",
|
|
257
|
+
"table",
|
|
258
|
+
"codeBlock",
|
|
259
|
+
"horizontalRule",
|
|
260
|
+
"undo",
|
|
261
|
+
"redo"
|
|
262
|
+
]
|
|
263
|
+
};
|
|
264
|
+
function Ue({
|
|
265
|
+
editor: s,
|
|
266
|
+
registerRef: d,
|
|
267
|
+
tabIndex: h,
|
|
268
|
+
onFocus: v,
|
|
269
|
+
onKeyDown: $,
|
|
270
|
+
label: n,
|
|
271
|
+
disabled: y,
|
|
272
|
+
pressed: D
|
|
273
|
+
}) {
|
|
274
|
+
const [x, N] = I(!1), o = H(null);
|
|
275
|
+
M(() => {
|
|
276
|
+
if (!x) return;
|
|
277
|
+
function l(g) {
|
|
278
|
+
const R = g.target;
|
|
279
|
+
o.current && R && !o.current.contains(R) && N(!1);
|
|
280
|
+
}
|
|
281
|
+
return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
|
|
282
|
+
}, [x]);
|
|
283
|
+
function _(l) {
|
|
284
|
+
s.chain().focus().toggleHeading({ level: l }).run(), N(!1);
|
|
285
|
+
}
|
|
286
|
+
return /* @__PURE__ */ k("div", { ref: o, className: "relative inline-flex", children: [
|
|
287
|
+
/* @__PURE__ */ k(
|
|
288
|
+
"button",
|
|
289
|
+
{
|
|
290
|
+
type: "button",
|
|
291
|
+
ref: d,
|
|
292
|
+
tabIndex: h,
|
|
293
|
+
onFocus: v,
|
|
294
|
+
onKeyDown: $,
|
|
295
|
+
onClick: () => {
|
|
296
|
+
y || N((l) => !l);
|
|
297
|
+
},
|
|
298
|
+
"aria-haspopup": "listbox",
|
|
299
|
+
"aria-expanded": x,
|
|
300
|
+
"aria-disabled": y || void 0,
|
|
301
|
+
"aria-label": n,
|
|
302
|
+
title: n,
|
|
303
|
+
className: U({ pressed: D, disabled: y }),
|
|
304
|
+
children: [
|
|
305
|
+
/* @__PURE__ */ i("span", { "aria-hidden": "true", className: "text-[var(--font-size-sm)] font-semibold", children: "H" }),
|
|
306
|
+
/* @__PURE__ */ i(pe, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
),
|
|
310
|
+
x && !y ? /* @__PURE__ */ i(
|
|
311
|
+
"ul",
|
|
312
|
+
{
|
|
313
|
+
role: "listbox",
|
|
314
|
+
"aria-label": n,
|
|
315
|
+
className: [
|
|
316
|
+
"absolute top-full mt-[var(--spacing-xs)] start-0 z-[var(--z-dropdown)]",
|
|
317
|
+
"min-inline-size-[8rem] rounded-[var(--radius-md)]",
|
|
318
|
+
"border border-[color:var(--border)] bg-[var(--background)]",
|
|
319
|
+
"shadow-[var(--shadow-lg)] p-[var(--spacing-xs)]"
|
|
320
|
+
].join(" "),
|
|
321
|
+
children: [1, 2, 3].map((l) => /* @__PURE__ */ i("li", { role: "none", children: /* @__PURE__ */ i(
|
|
322
|
+
"button",
|
|
323
|
+
{
|
|
324
|
+
type: "button",
|
|
325
|
+
role: "option",
|
|
326
|
+
"aria-selected": s.isActive("heading", { level: l }) || void 0,
|
|
327
|
+
onClick: () => _(l),
|
|
328
|
+
className: [
|
|
329
|
+
"flex w-full items-center",
|
|
330
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
|
|
331
|
+
"min-block-size-[var(--min-target-size)]",
|
|
332
|
+
"rounded-[var(--radius-sm)] text-start",
|
|
333
|
+
"hover:bg-[var(--muted)]",
|
|
334
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
335
|
+
"focus-visible:outline-solid",
|
|
336
|
+
"focus-visible:outline-[var(--ring)]",
|
|
337
|
+
"forced-colors:focus-visible:outline-[CanvasText]"
|
|
338
|
+
].join(" "),
|
|
339
|
+
children: `H${l}`
|
|
340
|
+
}
|
|
341
|
+
) }, l))
|
|
342
|
+
}
|
|
343
|
+
) : null
|
|
344
|
+
] });
|
|
345
|
+
}
|
|
346
|
+
function Ge({ open: s, onOpenChange: d }) {
|
|
347
|
+
const { t: h } = P();
|
|
348
|
+
return /* @__PURE__ */ i(w.Root, { open: s, onOpenChange: d, children: /* @__PURE__ */ k(w.Portal, { children: [
|
|
349
|
+
/* @__PURE__ */ i(
|
|
350
|
+
w.Overlay,
|
|
351
|
+
{
|
|
352
|
+
className: [
|
|
353
|
+
"fixed inset-0 z-[var(--z-modal-backdrop)]",
|
|
354
|
+
"bg-[var(--background)]/[var(--opacity-70)]",
|
|
355
|
+
"backdrop-blur-sm"
|
|
356
|
+
].join(" ")
|
|
357
|
+
}
|
|
358
|
+
),
|
|
359
|
+
/* @__PURE__ */ k(
|
|
360
|
+
w.Content,
|
|
361
|
+
{
|
|
362
|
+
className: [
|
|
363
|
+
"fixed z-[var(--z-modal)]",
|
|
364
|
+
"start-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
365
|
+
"w-[calc(100%-var(--spacing-lg)*2)] max-w-[var(--dialog-width-md)]",
|
|
366
|
+
"rounded-[var(--radius-lg)]",
|
|
367
|
+
"bg-[var(--popover)] text-[var(--popover-foreground)]",
|
|
368
|
+
"shadow-[var(--shadow-xl)] p-[var(--spacing-lg)]",
|
|
369
|
+
"focus-visible:outline-none"
|
|
370
|
+
].join(" "),
|
|
371
|
+
children: [
|
|
372
|
+
/* @__PURE__ */ k("div", { className: "flex items-start justify-between gap-[var(--spacing-md)]", children: [
|
|
373
|
+
/* @__PURE__ */ i(
|
|
374
|
+
w.Title,
|
|
375
|
+
{
|
|
376
|
+
className: "type-title-card leading-snug",
|
|
377
|
+
children: h("editor.shortcuts.title")
|
|
378
|
+
}
|
|
379
|
+
),
|
|
380
|
+
/* @__PURE__ */ i(w.Close, { asChild: !0, children: /* @__PURE__ */ i(
|
|
381
|
+
"button",
|
|
382
|
+
{
|
|
383
|
+
type: "button",
|
|
384
|
+
"aria-label": h("editor.shortcuts.close"),
|
|
385
|
+
className: [
|
|
386
|
+
"inline-flex items-center justify-center",
|
|
387
|
+
"min-block-size-[var(--min-target-size)]",
|
|
388
|
+
"min-inline-size-[var(--min-target-size)]",
|
|
389
|
+
"rounded-[var(--radius-sm)]",
|
|
390
|
+
"hover:bg-[var(--muted)]",
|
|
391
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
392
|
+
"focus-visible:outline-solid",
|
|
393
|
+
"focus-visible:outline-[var(--ring)]",
|
|
394
|
+
"forced-colors:focus-visible:outline-[CanvasText]"
|
|
395
|
+
].join(" "),
|
|
396
|
+
children: /* @__PURE__ */ i(be, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
397
|
+
}
|
|
398
|
+
) })
|
|
399
|
+
] }),
|
|
400
|
+
/* @__PURE__ */ i("ul", { className: "mt-[var(--spacing-md)] flex flex-col gap-[var(--spacing-sm)]", children: [
|
|
401
|
+
{ key: "editor.shortcuts.bold", combo: "⌘/Ctrl + B" },
|
|
402
|
+
{ key: "editor.shortcuts.italic", combo: "⌘/Ctrl + I" },
|
|
403
|
+
{ key: "editor.shortcuts.link", combo: "⌘/Ctrl + K" },
|
|
404
|
+
{ key: "editor.shortcuts.undo", combo: "⌘/Ctrl + Z" },
|
|
405
|
+
{ key: "editor.shortcuts.redo", combo: "⌘/Ctrl + Shift + Z" },
|
|
406
|
+
{ key: "editor.shortcuts.open", combo: "⌘/Ctrl + /" }
|
|
407
|
+
].map((v) => /* @__PURE__ */ k(
|
|
408
|
+
"li",
|
|
409
|
+
{
|
|
410
|
+
className: "flex items-center justify-between gap-[var(--spacing-md)]",
|
|
411
|
+
children: [
|
|
412
|
+
/* @__PURE__ */ i("span", { className: "text-[var(--font-size-sm)]", children: h(v.key) }),
|
|
413
|
+
/* @__PURE__ */ i(
|
|
414
|
+
"kbd",
|
|
415
|
+
{
|
|
416
|
+
className: [
|
|
417
|
+
"font-[var(--font-mono)] text-[var(--font-size-xs)]",
|
|
418
|
+
"ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]",
|
|
419
|
+
"rounded-[var(--radius-sm)] bg-[var(--muted)]"
|
|
420
|
+
].join(" "),
|
|
421
|
+
children: v.combo
|
|
422
|
+
}
|
|
423
|
+
)
|
|
424
|
+
]
|
|
425
|
+
},
|
|
426
|
+
v.key
|
|
427
|
+
)) })
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
)
|
|
431
|
+
] }) });
|
|
432
|
+
}
|
|
433
|
+
const Qe = ee(
|
|
434
|
+
({
|
|
435
|
+
defaultValue: s,
|
|
436
|
+
value: d,
|
|
437
|
+
onChange: h,
|
|
438
|
+
toolbar: v = "standard",
|
|
439
|
+
placeholder: $,
|
|
440
|
+
readOnly: n = !1,
|
|
441
|
+
ariaLabel: y,
|
|
442
|
+
minHeight: D,
|
|
443
|
+
className: x
|
|
444
|
+
}, N) => {
|
|
445
|
+
const { t: o } = P(), _ = te(), l = K(
|
|
446
|
+
() => `rte-${_.replace(/[^a-zA-Z0-9-_]/g, "")}`,
|
|
447
|
+
[_]
|
|
448
|
+
), [g, R] = I(!1);
|
|
449
|
+
M(() => {
|
|
450
|
+
typeof document > "u" || R(document.documentElement.dir === "rtl");
|
|
451
|
+
}, []);
|
|
452
|
+
const [G, q] = I(!1), A = H(null), C = H(h);
|
|
453
|
+
M(() => {
|
|
454
|
+
C.current = h;
|
|
455
|
+
}, [h]);
|
|
456
|
+
const Q = K(() => {
|
|
457
|
+
const r = d ?? s ?? "";
|
|
458
|
+
return r ? j(r) : "";
|
|
459
|
+
}, [s, d]), e = ie({
|
|
460
|
+
extensions: [
|
|
461
|
+
ne.configure({
|
|
462
|
+
heading: { levels: [1, 2, 3] }
|
|
463
|
+
}),
|
|
464
|
+
ae.configure({
|
|
465
|
+
protocols: ["http", "https", "mailto", "tel"],
|
|
466
|
+
HTMLAttributes: {
|
|
467
|
+
rel: "noopener noreferrer",
|
|
468
|
+
target: "_blank"
|
|
469
|
+
},
|
|
470
|
+
validate: (r) => /^(https?:|mailto:|tel:)/i.test(r)
|
|
471
|
+
}),
|
|
472
|
+
se,
|
|
473
|
+
ce.configure({ resizable: !1 }),
|
|
474
|
+
le,
|
|
475
|
+
de,
|
|
476
|
+
ue,
|
|
477
|
+
me.configure({
|
|
478
|
+
html: !1,
|
|
479
|
+
transformPastedText: !0
|
|
480
|
+
})
|
|
481
|
+
],
|
|
482
|
+
content: Q,
|
|
483
|
+
editable: !n,
|
|
484
|
+
immediatelyRender: !1,
|
|
485
|
+
shouldRerenderOnTransaction: !0,
|
|
486
|
+
editorProps: {
|
|
487
|
+
attributes: {
|
|
488
|
+
role: "textbox",
|
|
489
|
+
"aria-multiline": "true",
|
|
490
|
+
"aria-label": y ?? o("editor.placeholder"),
|
|
491
|
+
"data-placeholder": $ ?? o("editor.placeholder")
|
|
492
|
+
},
|
|
493
|
+
transformPastedHTML(r) {
|
|
494
|
+
return j(r);
|
|
495
|
+
},
|
|
496
|
+
handleKeyDown(r, t) {
|
|
497
|
+
return (t.metaKey || t.ctrlKey) && t.key === "/" ? (t.preventDefault(), q(!0), !0) : !1;
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
onUpdate({ editor: r }) {
|
|
501
|
+
C.current && (A.current && clearTimeout(A.current), A.current = setTimeout(() => {
|
|
502
|
+
var c, b, p;
|
|
503
|
+
const t = r.getHTML(), f = ((b = (c = r.storage.markdown) == null ? void 0 : c.getMarkdown) == null ? void 0 : b.call(c)) ?? "";
|
|
504
|
+
(p = C.current) == null || p.call(C, { html: t, markdown: f });
|
|
505
|
+
}, 100));
|
|
506
|
+
}
|
|
507
|
+
});
|
|
508
|
+
M(() => () => {
|
|
509
|
+
A.current && clearTimeout(A.current);
|
|
510
|
+
}, []), M(() => {
|
|
511
|
+
e && e.setEditable(!n);
|
|
512
|
+
}, [e, n]), M(() => {
|
|
513
|
+
if (!e || d === void 0 || e.getHTML() === d) return;
|
|
514
|
+
const t = j(d);
|
|
515
|
+
e.commands.setContent(t, { emitUpdate: !1 });
|
|
516
|
+
}, [e, d]), re(
|
|
517
|
+
N,
|
|
518
|
+
() => ({
|
|
519
|
+
getHTML() {
|
|
520
|
+
return (e == null ? void 0 : e.getHTML()) ?? "";
|
|
521
|
+
},
|
|
522
|
+
getMarkdown() {
|
|
523
|
+
var t, u;
|
|
524
|
+
return e ? ((u = (t = e.storage.markdown) == null ? void 0 : t.getMarkdown) == null ? void 0 : u.call(t)) ?? "" : "";
|
|
525
|
+
},
|
|
526
|
+
setContent(r) {
|
|
527
|
+
if (!e) return;
|
|
528
|
+
const t = j(r);
|
|
529
|
+
e.commands.setContent(t);
|
|
530
|
+
},
|
|
531
|
+
focus() {
|
|
532
|
+
e == null || e.commands.focus();
|
|
533
|
+
},
|
|
534
|
+
clear() {
|
|
535
|
+
e == null || e.commands.clearContent();
|
|
536
|
+
}
|
|
537
|
+
}),
|
|
538
|
+
[e]
|
|
539
|
+
);
|
|
540
|
+
const F = H([]), [L, S] = I(0), E = K(() => Pe[v], [v]), X = T(
|
|
541
|
+
(r) => (t) => {
|
|
542
|
+
F.current[r] = t;
|
|
543
|
+
},
|
|
544
|
+
[]
|
|
545
|
+
), V = T((r) => {
|
|
546
|
+
const t = F.current[r];
|
|
547
|
+
t && t.focus();
|
|
548
|
+
}, []), Z = T(
|
|
549
|
+
(r) => {
|
|
550
|
+
const t = E.length;
|
|
551
|
+
if (t === 0) return;
|
|
552
|
+
const u = g ? "ArrowLeft" : "ArrowRight", f = g ? "ArrowRight" : "ArrowLeft";
|
|
553
|
+
let c = null;
|
|
554
|
+
r.key === u ? c = (L + 1) % t : r.key === f ? c = (L - 1 + t) % t : r.key === "Home" ? c = 0 : r.key === "End" && (c = t - 1), c !== null && (r.preventDefault(), S(c), V(c));
|
|
555
|
+
},
|
|
556
|
+
[L, V, g, E.length]
|
|
557
|
+
), Y = T(
|
|
558
|
+
(r) => {
|
|
559
|
+
if (r.preventDefault(), !e) return;
|
|
560
|
+
const t = e.getAttributes("link").href, u = window.prompt(o("editor.link.insert"), t ?? "");
|
|
561
|
+
if (u === null) return;
|
|
562
|
+
const f = u.trim();
|
|
563
|
+
if (f === "") {
|
|
564
|
+
e.chain().focus().unsetLink().run();
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
/^(https?:|mailto:|tel:)/i.test(f) && e.chain().focus().extendMarkRange("link").setLink({ href: f }).run();
|
|
568
|
+
},
|
|
569
|
+
[e, o]
|
|
570
|
+
), J = T(() => {
|
|
571
|
+
if (!e) return;
|
|
572
|
+
const r = window.prompt(o("editor.image.insert"), "");
|
|
573
|
+
if (r === null) return;
|
|
574
|
+
const t = he(r);
|
|
575
|
+
t && e.chain().focus().setImage({ src: t }).run();
|
|
576
|
+
}, [e, o]);
|
|
577
|
+
function W(r, t) {
|
|
578
|
+
if (!e) return null;
|
|
579
|
+
const u = X(t), f = {
|
|
580
|
+
tabIndex: t === L ? 0 : -1,
|
|
581
|
+
onFocus: () => S(t),
|
|
582
|
+
onKeyDown: Z
|
|
583
|
+
}, c = (a, z) => U({ pressed: a, disabled: z });
|
|
584
|
+
function b(a) {
|
|
585
|
+
return /* @__PURE__ */ i(
|
|
586
|
+
"button",
|
|
587
|
+
{
|
|
588
|
+
type: "button",
|
|
589
|
+
ref: u,
|
|
590
|
+
...f,
|
|
591
|
+
"aria-label": a.label,
|
|
592
|
+
"aria-pressed": a.pressed,
|
|
593
|
+
"aria-disabled": a.disabled || void 0,
|
|
594
|
+
"aria-keyshortcuts": a.shortcut,
|
|
595
|
+
title: a.label,
|
|
596
|
+
onClick: (z) => {
|
|
597
|
+
z.preventDefault(), a.disabled || a.onActivate();
|
|
598
|
+
},
|
|
599
|
+
className: c(a.pressed, a.disabled),
|
|
600
|
+
children: a.icon
|
|
601
|
+
}
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
function p(a) {
|
|
605
|
+
return /* @__PURE__ */ i(
|
|
606
|
+
"button",
|
|
607
|
+
{
|
|
608
|
+
type: "button",
|
|
609
|
+
ref: u,
|
|
610
|
+
...f,
|
|
611
|
+
"aria-label": a.label,
|
|
612
|
+
"aria-disabled": a.disabled || void 0,
|
|
613
|
+
"aria-keyshortcuts": a.shortcut,
|
|
614
|
+
title: a.label,
|
|
615
|
+
onClick: (z) => {
|
|
616
|
+
if (a.disabled) {
|
|
617
|
+
z.preventDefault();
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
a.onActivate(z);
|
|
621
|
+
},
|
|
622
|
+
className: c(!1, a.disabled),
|
|
623
|
+
children: a.icon
|
|
624
|
+
}
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
switch (r) {
|
|
628
|
+
case "bold":
|
|
629
|
+
return b({
|
|
630
|
+
label: o("editor.bold"),
|
|
631
|
+
pressed: e.isActive("bold"),
|
|
632
|
+
disabled: n,
|
|
633
|
+
shortcut: "Control+B Meta+B",
|
|
634
|
+
onActivate: () => e.chain().focus().toggleBold().run(),
|
|
635
|
+
icon: /* @__PURE__ */ i(ge, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
636
|
+
});
|
|
637
|
+
case "italic":
|
|
638
|
+
return b({
|
|
639
|
+
label: o("editor.italic"),
|
|
640
|
+
pressed: e.isActive("italic"),
|
|
641
|
+
disabled: n,
|
|
642
|
+
shortcut: "Control+I Meta+I",
|
|
643
|
+
onActivate: () => e.chain().focus().toggleItalic().run(),
|
|
644
|
+
icon: /* @__PURE__ */ i(Me, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
645
|
+
});
|
|
646
|
+
case "link":
|
|
647
|
+
return p({
|
|
648
|
+
label: o("editor.link.insert"),
|
|
649
|
+
disabled: n,
|
|
650
|
+
shortcut: "Control+K Meta+K",
|
|
651
|
+
onActivate: Y,
|
|
652
|
+
icon: /* @__PURE__ */ i(Ae, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
653
|
+
});
|
|
654
|
+
case "heading":
|
|
655
|
+
return /* @__PURE__ */ i(
|
|
656
|
+
Ue,
|
|
657
|
+
{
|
|
658
|
+
editor: e,
|
|
659
|
+
registerRef: u,
|
|
660
|
+
tabIndex: t === L ? 0 : -1,
|
|
661
|
+
onFocus: () => S(t),
|
|
662
|
+
onKeyDown: Z,
|
|
663
|
+
label: o("editor.heading"),
|
|
664
|
+
disabled: n,
|
|
665
|
+
pressed: e.isActive("heading", { level: 1 }) || e.isActive("heading", { level: 2 }) || e.isActive("heading", { level: 3 })
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
case "bulletList":
|
|
669
|
+
return b({
|
|
670
|
+
label: o("editor.list.bullet"),
|
|
671
|
+
pressed: e.isActive("bulletList"),
|
|
672
|
+
disabled: n,
|
|
673
|
+
onActivate: () => e.chain().focus().toggleBulletList().run(),
|
|
674
|
+
icon: /* @__PURE__ */ i(_e, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
675
|
+
});
|
|
676
|
+
case "orderedList":
|
|
677
|
+
return b({
|
|
678
|
+
label: o("editor.list.ordered"),
|
|
679
|
+
pressed: e.isActive("orderedList"),
|
|
680
|
+
disabled: n,
|
|
681
|
+
onActivate: () => e.chain().focus().toggleOrderedList().run(),
|
|
682
|
+
icon: /* @__PURE__ */ i(Le, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
683
|
+
});
|
|
684
|
+
case "quote":
|
|
685
|
+
return b({
|
|
686
|
+
label: o("editor.quote"),
|
|
687
|
+
pressed: e.isActive("blockquote"),
|
|
688
|
+
disabled: n,
|
|
689
|
+
onActivate: () => e.chain().focus().toggleBlockquote().run(),
|
|
690
|
+
icon: /* @__PURE__ */ i(He, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
691
|
+
});
|
|
692
|
+
case "image":
|
|
693
|
+
return p({
|
|
694
|
+
label: o("editor.image.insert"),
|
|
695
|
+
disabled: n,
|
|
696
|
+
onActivate: J,
|
|
697
|
+
icon: /* @__PURE__ */ i(ze, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
698
|
+
});
|
|
699
|
+
case "table":
|
|
700
|
+
return p({
|
|
701
|
+
label: o("editor.table.insert"),
|
|
702
|
+
disabled: n,
|
|
703
|
+
onActivate: () => e.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: !0 }).run(),
|
|
704
|
+
icon: /* @__PURE__ */ i(Se, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
705
|
+
});
|
|
706
|
+
case "codeBlock":
|
|
707
|
+
return b({
|
|
708
|
+
label: o("editor.codeBlock"),
|
|
709
|
+
pressed: e.isActive("codeBlock"),
|
|
710
|
+
disabled: n,
|
|
711
|
+
onActivate: () => e.chain().focus().toggleCodeBlock().run(),
|
|
712
|
+
icon: /* @__PURE__ */ i(ye, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
713
|
+
});
|
|
714
|
+
case "horizontalRule":
|
|
715
|
+
return p({
|
|
716
|
+
label: o("editor.horizontalRule"),
|
|
717
|
+
disabled: n,
|
|
718
|
+
onActivate: () => e.chain().focus().setHorizontalRule().run(),
|
|
719
|
+
icon: /* @__PURE__ */ i(je, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
720
|
+
});
|
|
721
|
+
case "undo":
|
|
722
|
+
return p({
|
|
723
|
+
label: o("editor.undo"),
|
|
724
|
+
disabled: n || !e.can().undo(),
|
|
725
|
+
shortcut: "Control+Z Meta+Z",
|
|
726
|
+
onActivate: () => e.chain().focus().undo().run(),
|
|
727
|
+
icon: /* @__PURE__ */ i(Ke, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
728
|
+
});
|
|
729
|
+
case "redo":
|
|
730
|
+
return p({
|
|
731
|
+
label: o("editor.redo"),
|
|
732
|
+
disabled: n || !e.can().redo(),
|
|
733
|
+
shortcut: "Control+Shift+Z Meta+Shift+Z",
|
|
734
|
+
onActivate: () => e.chain().focus().redo().run(),
|
|
735
|
+
icon: /* @__PURE__ */ i($e, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
736
|
+
});
|
|
737
|
+
default:
|
|
738
|
+
return null;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
const O = (() => {
|
|
742
|
+
switch (D) {
|
|
743
|
+
case "sm":
|
|
744
|
+
return "min-block-size-[8rem]";
|
|
745
|
+
case "md":
|
|
746
|
+
return "min-block-size-[16rem]";
|
|
747
|
+
case "lg":
|
|
748
|
+
return "min-block-size-[24rem]";
|
|
749
|
+
default:
|
|
750
|
+
return;
|
|
751
|
+
}
|
|
752
|
+
})();
|
|
753
|
+
return /* @__PURE__ */ k(
|
|
754
|
+
"div",
|
|
755
|
+
{
|
|
756
|
+
id: l,
|
|
757
|
+
className: [Fe(), x].filter(Boolean).join(" "),
|
|
758
|
+
dir: g ? "rtl" : void 0,
|
|
759
|
+
"data-component": "rich-text-editor",
|
|
760
|
+
children: [
|
|
761
|
+
n ? null : /* @__PURE__ */ i(
|
|
762
|
+
"div",
|
|
763
|
+
{
|
|
764
|
+
role: "toolbar",
|
|
765
|
+
"aria-label": o("editor.toolbarLabel"),
|
|
766
|
+
className: Ve({ direction: g ? "rtl" : "ltr" }),
|
|
767
|
+
children: E.map((r, t) => /* @__PURE__ */ i("span", { className: "contents", children: W(r, t) }, r))
|
|
768
|
+
}
|
|
769
|
+
),
|
|
770
|
+
/* @__PURE__ */ i(
|
|
771
|
+
"div",
|
|
772
|
+
{
|
|
773
|
+
className: [Ze(), O].filter(Boolean).join(" "),
|
|
774
|
+
children: /* @__PURE__ */ i(oe, { editor: e })
|
|
775
|
+
}
|
|
776
|
+
),
|
|
777
|
+
/* @__PURE__ */ i(Ge, { open: G, onOpenChange: q })
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
);
|
|
781
|
+
}
|
|
782
|
+
);
|
|
783
|
+
Qe.displayName = "RichTextEditor";
|
|
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: (s) => s.getHTML()
|
|
792
|
+
},
|
|
793
|
+
markdown: {
|
|
794
|
+
type: "string",
|
|
795
|
+
description: "Markdown representation of the editor content.",
|
|
796
|
+
read: (s) => s.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: (s, d) => {
|
|
805
|
+
s.setContent(d.html);
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
clear: {
|
|
809
|
+
safety: "destructive",
|
|
810
|
+
description: "Empty the editor. Loses unsaved input.",
|
|
811
|
+
invoke: (s) => {
|
|
812
|
+
s.clear();
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
focus: {
|
|
816
|
+
safety: "read",
|
|
817
|
+
description: "Move keyboard focus to the editor surface.",
|
|
818
|
+
invoke: (s) => {
|
|
819
|
+
s.focus();
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
domHooks: {
|
|
824
|
+
root: { attr: "data-component", value: "rich-text-editor" }
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
export {
|
|
828
|
+
Qe as R,
|
|
829
|
+
Ve as a,
|
|
830
|
+
Ze as e,
|
|
831
|
+
ft as r,
|
|
832
|
+
U as t,
|
|
833
|
+
Fe as w
|
|
834
|
+
};
|
|
835
|
+
//# sourceMappingURL=rich-text-editor.agent-BOjF4Xao.js.map
|