@alfadocs/ui-kit 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{accordion-B6fyINUk.js → accordion-BEnrZmAn.js} +34 -32
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js +52 -0
- package/dist/_chunks/{agenda-card-DIWDvWum.js → agenda-card-DwLIxgi7.js} +2 -1
- package/dist/_chunks/agenda-card.agent-B_R47-c9.js +22 -0
- package/dist/_chunks/agenda-tray-DUvengGQ.js +178 -0
- package/dist/_chunks/ai-prompt-input.agent-0NHYLTWD.js +476 -0
- package/dist/_chunks/{aspect-ratio-CxsdG8vk.js → aspect-ratio-DeSNzASA.js} +12 -12
- package/dist/_chunks/audio-recorder.agent--VKeykUp.js +458 -0
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +432 -0
- package/dist/_chunks/{balance-cell-renderer-BWm3knY9.js → balance-cell-renderer-5CA7zpAi.js} +3 -3
- package/dist/_chunks/breadcrumb.agent-GM2hAKFX.js +371 -0
- package/dist/_chunks/{chart.agent-BdS-_8MO.js → chart.agent-_pRYS17d.js} +112 -105
- package/dist/_chunks/{chat-container-Cm3SlR2p.js → chat-container-Dl0Kfy5a.js} +33 -32
- package/dist/_chunks/{chat-container.agent-Dhw9xCJt.js → chat-container.agent-CM4WModE.js} +9 -4
- package/dist/_chunks/{chat-input-DreOPP8A.js → chat-input-C_tMQv92.js} +108 -82
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +69 -0
- package/dist/_chunks/checkbox-CtPM6Rup.js +196 -0
- package/dist/_chunks/checkbox-group-BTdEB6Yo.js +208 -0
- package/dist/_chunks/collapsible.agent-DkS1jVyn.js +149 -0
- package/dist/_chunks/{color-picker-e9PmpaGH.js → color-picker-94qcBZqZ.js} +234 -184
- package/dist/_chunks/combobox.agent-CAvUkkIe.js +410 -0
- package/dist/_chunks/{command-palette.agent-js2rxgeR.js → command-palette.agent-HatEt_EM.js} +161 -121
- package/dist/_chunks/date-picker-BqPTn7bO.js +1813 -0
- package/dist/_chunks/date-range-picker-B2hGsffw.js +274 -0
- package/dist/_chunks/date-time-picker-Bzt0S8yO.js +293 -0
- package/dist/_chunks/dialog.agent-Daf1TTko.js +179 -0
- package/dist/_chunks/{dropdown-menu-Cw3EyPZv.js → dropdown-menu-C7AZipNz.js} +75 -71
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +43 -0
- package/dist/_chunks/{file-upload.agent-B9AN82LA.js → file-upload.agent-DJaH2dHg.js} +275 -243
- package/dist/_chunks/freemium-paywall.agent-_nQqLyRF.js +260 -0
- package/dist/_chunks/{leo-sidebar-nbHib2D-.js → leo-sidebar-BwINPdix.js} +6 -6
- package/dist/_chunks/link-QheANk74.js +121 -0
- package/dist/_chunks/list.agent-D0iWt4VI.js +420 -0
- package/dist/_chunks/{message-card-qAp2-WQK.js → message-card-qhoGv947.js} +2 -1
- package/dist/_chunks/message-card.agent-4IeIgrnJ.js +22 -0
- package/dist/_chunks/message-tray-xHUCra-Y.js +419 -0
- package/dist/_chunks/{multi-select.agent-CNsyW3n9.js → multi-select.agent-Do6CeQUT.js} +239 -179
- package/dist/_chunks/navigation-menu.agent-D69ND6Qq.js +266 -0
- package/dist/_chunks/{notification-card-BF2_veHy.js → notification-card-CsVEYJE-.js} +13 -12
- package/dist/_chunks/notification-card.agent-Rqt3ofk9.js +22 -0
- package/dist/_chunks/notification-tray-DTXMq42J.js +444 -0
- package/dist/_chunks/number-input-fvGmnRy9.js +333 -0
- package/dist/_chunks/otp-input-EglXOUue.js +257 -0
- package/dist/_chunks/pagination.agent-BkZQl45y.js +422 -0
- package/dist/_chunks/password-input-D6kuYXmr.js +304 -0
- package/dist/_chunks/{patient-shell-7cXqIMFg.js → patient-shell-BRmrrUUW.js} +3 -3
- package/dist/_chunks/{payment-form-hcl-gGrp.js → payment-form-BWaXas8z.js} +120 -118
- package/dist/_chunks/{payment-form.agent-BkEnRerR.js → payment-form.agent-kuIfodCj.js} +7 -2
- package/dist/_chunks/{pdf-viewer.agent-CfIHhcHx.js → pdf-viewer.agent-BaGEDheA.js} +358 -351
- package/dist/_chunks/phone-input-C8Op4sEc.js +513 -0
- package/dist/_chunks/popover-kFN8s84V.js +229 -0
- package/dist/_chunks/popover.agent-K_d1cfbj.js +39 -0
- package/dist/_chunks/privacy-lock.agent-C1i1-T58.js +185 -0
- package/dist/_chunks/progress-wNsqkw8I.js +253 -0
- package/dist/_chunks/progress.agent-C68rDOXL.js +27 -0
- package/dist/_chunks/{radio-cs8N1wJi.js → radio-DvF59ThA.js} +14 -13
- package/dist/_chunks/radio-group-Cz1a4QCA.js +152 -0
- package/dist/_chunks/recaptcha-widget.agent-BGHpU5zD.js +183 -0
- package/dist/_chunks/resizable.agent-CMwZzvsi.js +456 -0
- package/dist/_chunks/{rich-text-editor.agent-COSb5_2D.js → rich-text-editor.agent-DnE125Tz.js} +221 -214
- package/dist/_chunks/search-bar.agent-DxFAxctc.js +562 -0
- package/dist/_chunks/search-input-Xw3cdWXW.js +227 -0
- package/dist/_chunks/search-input.agent-CfZvViOd.js +69 -0
- package/dist/_chunks/select-DY1Cb2Tg.js +410 -0
- package/dist/_chunks/{sheet-BhNpLHc9.js → sheet-B9kH9pcI.js} +55 -54
- package/dist/_chunks/sheet.agent-QAyTOxgk.js +46 -0
- package/dist/_chunks/{sidebar-OVzwN3jE.js → sidebar-CHF5xr_P.js} +188 -185
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +49 -0
- package/dist/_chunks/{signature-capture.agent-C38VPXxg.js → signature-capture.agent-BpeDwFht.js} +127 -120
- package/dist/_chunks/slider-CcsQTZTA.js +322 -0
- package/dist/_chunks/sparkline.agent-56Sj7nOP.js +245 -0
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +322 -0
- package/dist/_chunks/stepper-calendar.agent-9iT3ClIB.js +646 -0
- package/dist/_chunks/stepper-progress-Bmen-YXB.js +149 -0
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js +61 -0
- package/dist/_chunks/suggestion-chip-DhFrkRPj.js +169 -0
- package/dist/_chunks/suggestion-chip.agent-6sNWFj7m.js +46 -0
- package/dist/_chunks/switch-BYEH8I53.js +196 -0
- package/dist/_chunks/{tabs.agent-BpbVA-Zh.js → tabs.agent-h7NvsTR1.js} +146 -123
- package/dist/_chunks/{task-card-yW7tKlG4.js → task-card-CY5ztNkU.js} +2 -1
- package/dist/_chunks/task-card.agent-CUPKYd7w.js +22 -0
- package/dist/_chunks/task-tray-CCoUdorl.js +194 -0
- package/dist/_chunks/text-area-C_M8wliK.js +239 -0
- package/dist/_chunks/text-input-BX39e6T6.js +272 -0
- package/dist/_chunks/theme-toggle.agent-btmXTWdW.js +394 -0
- package/dist/_chunks/time-picker-B8AMIrX7.js +410 -0
- package/dist/_chunks/timeline.agent-CRPza9wc.js +279 -0
- package/dist/_chunks/{toast-lOhJDKOH.js → toast.agent-BjEGuq1Z.js} +403 -342
- package/dist/_chunks/{tooth-scheme.agent-BlDyu-Gx.js → tooth-scheme.agent-CWrQBjJM.js} +218 -211
- package/dist/_chunks/transcript-panel.agent-BXEYP6w-.js +337 -0
- package/dist/_chunks/{workflow-map-XeqHDFvp.js → workflow-map-D2A7rTEG.js} +465 -368
- package/dist/agent-catalog.json +2929 -268
- package/dist/components/accordion/accordion.agent.d.ts +2 -1
- package/dist/components/accordion/accordion.d.ts +6 -0
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-card/agenda-card.agent.d.ts +3 -0
- package/dist/components/agenda-card/index.d.ts +1 -0
- package/dist/components/agenda-card/index.js +3 -1
- package/dist/components/agenda-tray/agenda-tray.agent.d.ts +4 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +19 -2
- package/dist/components/agenda-tray/index.d.ts +2 -1
- package/dist/components/agenda-tray/index.js +3 -2
- package/dist/components/ai-prompt-input/ai-prompt-input.agent.d.ts +4 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +18 -1
- package/dist/components/ai-prompt-input/index.d.ts +2 -1
- package/dist/components/ai-prompt-input/index.js +3 -2
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/audio-recorder/audio-recorder.agent.d.ts +4 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +10 -1
- package/dist/components/audio-recorder/index.d.ts +2 -1
- package/dist/components/audio-recorder/index.js +3 -2
- package/dist/components/autocomplete/autocomplete.agent.d.ts +2 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.agent.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +21 -2
- package/dist/components/breadcrumb/index.d.ts +2 -1
- package/dist/components/breadcrumb/index.js +5 -4
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/chart/chart.d.ts +2 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.d.ts +3 -1
- package/dist/components/chat-container/index.js +2 -2
- package/dist/components/chat-input/chat-input.agent.d.ts +4 -0
- package/dist/components/chat-input/chat-input.d.ts +10 -1
- package/dist/components/chat-input/index.d.ts +2 -1
- package/dist/components/chat-input/index.js +4 -2
- package/dist/components/checkbox/checkbox.agent.d.ts +4 -0
- package/dist/components/checkbox/checkbox.d.ts +6 -0
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.agent.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -0
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/collapsible.agent.d.ts +4 -0
- package/dist/components/collapsible/collapsible.d.ts +8 -1
- package/dist/components/collapsible/index.d.ts +2 -1
- package/dist/components/collapsible/index.js +4 -3
- package/dist/components/color-picker/color-picker.agent.d.ts +4 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.agent.d.ts +2 -1
- package/dist/components/combobox/combobox.d.ts +10 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.agent.d.ts +2 -1
- package/dist/components/command-palette/command-palette.d.ts +7 -0
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/date-picker.agent.d.ts +4 -0
- package/dist/components/date-picker/date-picker.d.ts +16 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.js +3 -2
- package/dist/components/date-range-picker/date-range-picker.agent.d.ts +4 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +16 -1
- package/dist/components/date-range-picker/index.d.ts +2 -1
- package/dist/components/date-range-picker/index.js +3 -2
- package/dist/components/date-time-picker/date-time-picker.agent.d.ts +4 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +16 -1
- package/dist/components/date-time-picker/index.d.ts +2 -1
- package/dist/components/date-time-picker/index.js +3 -2
- package/dist/components/dialog/dialog.agent.d.ts +5 -6
- package/dist/components/dialog/dialog.d.ts +11 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +2 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -2
- package/dist/components/dropdown-menu/index.js +2 -2
- package/dist/components/file-upload/file-upload.agent.d.ts +2 -1
- package/dist/components/file-upload/file-upload.d.ts +12 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.agent.d.ts +4 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +8 -1
- package/dist/components/freemium-paywall/index.d.ts +2 -1
- package/dist/components/freemium-paywall/index.js +3 -2
- package/dist/components/index.d.ts +2 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.js +5 -0
- package/dist/components/link/link.d.ts +39 -0
- package/dist/components/list/index.d.ts +2 -1
- package/dist/components/list/index.js +3 -2
- package/dist/components/list/list.agent.d.ts +4 -0
- package/dist/components/list/list.d.ts +8 -2
- package/dist/components/message-card/index.d.ts +1 -0
- package/dist/components/message-card/index.js +5 -3
- package/dist/components/message-card/message-card.agent.d.ts +3 -0
- package/dist/components/message-tray/index.d.ts +2 -1
- package/dist/components/message-tray/index.js +3 -2
- package/dist/components/message-tray/message-tray.agent.d.ts +4 -0
- package/dist/components/message-tray/message-tray.d.ts +27 -2
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/multi-select/multi-select.agent.d.ts +2 -1
- package/dist/components/multi-select/multi-select.d.ts +10 -0
- package/dist/components/navigation-menu/index.d.ts +2 -1
- package/dist/components/navigation-menu/index.js +7 -6
- package/dist/components/navigation-menu/navigation-menu.agent.d.ts +4 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +28 -2
- package/dist/components/notification-card/index.d.ts +1 -0
- package/dist/components/notification-card/index.js +5 -3
- package/dist/components/notification-card/notification-card.agent.d.ts +3 -0
- package/dist/components/notification-tray/index.d.ts +2 -1
- package/dist/components/notification-tray/index.js +3 -2
- package/dist/components/notification-tray/notification-tray.agent.d.ts +4 -0
- package/dist/components/notification-tray/notification-tray.d.ts +27 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.agent.d.ts +4 -0
- package/dist/components/number-input/number-input.d.ts +7 -0
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.agent.d.ts +4 -0
- package/dist/components/otp-input/otp-input.d.ts +10 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.agent.d.ts +2 -1
- package/dist/components/pagination/pagination.d.ts +7 -0
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/password-input/password-input.agent.d.ts +4 -0
- package/dist/components/password-input/password-input.d.ts +9 -0
- package/dist/components/payment-form/index.js +2 -2
- package/dist/components/payment-form/payment-form.d.ts +2 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +2 -0
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.agent.d.ts +4 -0
- package/dist/components/phone-input/phone-input.d.ts +7 -0
- package/dist/components/popover/index.js +2 -2
- package/dist/components/popover/popover.agent.d.ts +2 -1
- package/dist/components/popover/popover.d.ts +8 -1
- package/dist/components/privacy-lock/index.d.ts +2 -1
- package/dist/components/privacy-lock/index.js +3 -2
- package/dist/components/privacy-lock/privacy-lock.agent.d.ts +4 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +7 -1
- package/dist/components/progress/index.js +2 -2
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group.agent.d.ts +4 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/recaptcha-widget/index.d.ts +3 -0
- package/dist/components/recaptcha-widget/index.js +6 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.agent.d.ts +4 -0
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +56 -0
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/resizable/resizable.agent.d.ts +2 -1
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
- package/dist/components/search-bar/index.d.ts +2 -1
- package/dist/components/search-bar/index.js +3 -2
- package/dist/components/search-bar/search-bar.agent.d.ts +4 -0
- package/dist/components/search-bar/search-bar.d.ts +27 -1
- package/dist/components/search-input/index.d.ts +2 -1
- package/dist/components/search-input/index.js +4 -2
- package/dist/components/search-input/search-input.agent.d.ts +4 -0
- package/dist/components/search-input/search-input.d.ts +27 -0
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.agent.d.ts +4 -0
- package/dist/components/select/select.d.ts +9 -0
- package/dist/components/sheet/index.js +2 -2
- package/dist/components/sheet/sheet.agent.d.ts +2 -1
- package/dist/components/sheet/sheet.d.ts +11 -2
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/sidebar/sidebar.agent.d.ts +2 -1
- package/dist/components/sidebar/sidebar.d.ts +6 -0
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/signature-capture.d.ts +2 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.agent.d.ts +4 -0
- package/dist/components/slider/slider.d.ts +5 -0
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-accordion/index.d.ts +2 -1
- package/dist/components/stepper-accordion/index.js +3 -2
- package/dist/components/stepper-accordion/stepper-accordion.agent.d.ts +4 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +19 -1
- package/dist/components/stepper-calendar/index.d.ts +2 -1
- package/dist/components/stepper-calendar/index.js +3 -2
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +4 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +19 -1
- package/dist/components/stepper-progress/index.d.ts +2 -1
- package/dist/components/stepper-progress/index.js +4 -2
- package/dist/components/stepper-progress/stepper-progress.agent.d.ts +4 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +26 -1
- package/dist/components/suggestion-chip/index.d.ts +2 -1
- package/dist/components/suggestion-chip/index.js +5 -3
- package/dist/components/suggestion-chip/suggestion-chip.agent.d.ts +4 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +7 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.agent.d.ts +4 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs.agent.d.ts +2 -1
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/task-card/index.d.ts +1 -0
- package/dist/components/task-card/index.js +5 -3
- package/dist/components/task-card/task-card.agent.d.ts +3 -0
- package/dist/components/task-tray/index.d.ts +2 -1
- package/dist/components/task-tray/index.js +3 -2
- package/dist/components/task-tray/task-tray.agent.d.ts +4 -0
- package/dist/components/task-tray/task-tray.d.ts +25 -2
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area.agent.d.ts +4 -0
- package/dist/components/text-area/text-area.d.ts +7 -0
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/text-input/text-input.agent.d.ts +4 -0
- package/dist/components/text-input/text-input.d.ts +10 -0
- package/dist/components/theme-toggle/index.d.ts +2 -1
- package/dist/components/theme-toggle/index.js +3 -2
- package/dist/components/theme-toggle/theme-toggle.agent.d.ts +4 -0
- package/dist/components/theme-toggle/theme-toggle.d.ts +9 -2
- package/dist/components/time-picker/index.d.ts +2 -1
- package/dist/components/time-picker/index.js +3 -2
- package/dist/components/time-picker/time-picker.agent.d.ts +4 -0
- package/dist/components/time-picker/time-picker.d.ts +16 -1
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/timeline/index.js +3 -2
- package/dist/components/timeline/timeline.agent.d.ts +4 -0
- package/dist/components/timeline/timeline.d.ts +8 -1
- package/dist/components/toast/index.d.ts +3 -2
- package/dist/components/toast/index.js +7 -5
- package/dist/components/toast/toast.agent.d.ts +4 -0
- package/dist/components/toast/toast.d.ts +8 -0
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -0
- package/dist/components/transcript-panel/index.d.ts +2 -1
- package/dist/components/transcript-panel/index.js +3 -2
- package/dist/components/transcript-panel/transcript-panel.agent.d.ts +4 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +10 -1
- package/dist/components/workflow/index.d.ts +2 -1
- package/dist/components/workflow/index.js +10 -7
- package/dist/components/workflow/workflow-editor.d.ts +7 -1
- package/dist/components/workflow/workflow-map.d.ts +2 -0
- package/dist/components/workflow/workflow.agent.d.ts +6 -0
- package/dist/i18n/config.js +24 -11
- package/dist/i18n/resources.d.ts +7 -0
- package/dist/index.js +471 -423
- package/dist/locales/en.json +7 -0
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +18 -2
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +0 -17
- package/dist/_chunks/agenda-tray-BqQZwiHc.js +0 -120
- package/dist/_chunks/ai-prompt-input-CI27KmZ1.js +0 -380
- package/dist/_chunks/audio-recorder-B-8SKgKn.js +0 -376
- package/dist/_chunks/autocomplete.agent-DqOy0_1P.js +0 -372
- package/dist/_chunks/breadcrumb-D6xpsP7n.js +0 -293
- package/dist/_chunks/checkbox-DNK4qS2_.js +0 -116
- package/dist/_chunks/checkbox-group-CWpGZEF6.js +0 -146
- package/dist/_chunks/collapsible-D4LOdLxp.js +0 -67
- package/dist/_chunks/combobox.agent-ByobCLJ_.js +0 -350
- package/dist/_chunks/date-picker-DYXNsWmM.js +0 -1726
- package/dist/_chunks/date-range-picker-BcNDJI7m.js +0 -183
- package/dist/_chunks/date-time-picker-CmGiTU__.js +0 -202
- package/dist/_chunks/dialog.agent-DEG_fVzG.js +0 -147
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +0 -17
- package/dist/_chunks/freemium-paywall-CkefGLM_.js +0 -198
- package/dist/_chunks/list-B1ozIjQe.js +0 -359
- package/dist/_chunks/message-tray-VaLpQU5t.js +0 -303
- package/dist/_chunks/navigation-menu-EVFau1O2.js +0 -180
- package/dist/_chunks/notification-tray-B7U5YZYg.js +0 -328
- package/dist/_chunks/number-input-DjpT_RXJ.js +0 -249
- package/dist/_chunks/otp-input-De5_Ih7B.js +0 -189
- package/dist/_chunks/pagination.agent-oEaqmtx5.js +0 -380
- package/dist/_chunks/password-input-DJDVznWH.js +0 -193
- package/dist/_chunks/phone-input-DE_39q65.js +0 -428
- package/dist/_chunks/popover-C3CTUsqh.js +0 -227
- package/dist/_chunks/popover.agent-C0qOx9WT.js +0 -13
- package/dist/_chunks/privacy-lock-CQpgkLec.js +0 -132
- package/dist/_chunks/progress-B4Of_pzz.js +0 -252
- package/dist/_chunks/progress.agent-CXkHURjX.js +0 -22
- package/dist/_chunks/radio-group-BIUbpWml.js +0 -89
- package/dist/_chunks/resizable.agent-DBpPGNdy.js +0 -435
- package/dist/_chunks/search-bar-fcGqDFW3.js +0 -397
- package/dist/_chunks/search-input-BVMCONyN.js +0 -197
- package/dist/_chunks/select-IY_JQa-F.js +0 -321
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +0 -13
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +0 -17
- package/dist/_chunks/slider-DjyRt3Mp.js +0 -274
- package/dist/_chunks/sparkline.agent-C_xp3NRB.js +0 -238
- package/dist/_chunks/stepper-accordion-CGog0JSF.js +0 -233
- package/dist/_chunks/stepper-calendar-_fLOAjus.js +0 -570
- package/dist/_chunks/stepper-progress-rE7tn7WY.js +0 -129
- package/dist/_chunks/suggestion-chip-BNJ2M8Os.js +0 -158
- package/dist/_chunks/switch-aN2EYxHh.js +0 -138
- package/dist/_chunks/task-tray-BzahI5FQ.js +0 -100
- package/dist/_chunks/text-area-DmKSd2DG.js +0 -152
- package/dist/_chunks/text-input-CRHvl5zk.js +0 -188
- package/dist/_chunks/theme-toggle-BHiMMEQN.js +0 -329
- package/dist/_chunks/time-picker-D-EueWUG.js +0 -322
- package/dist/_chunks/timeline-RgAIzpMd.js +0 -220
- package/dist/_chunks/transcript-panel-CNbVGG9L.js +0 -266
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { jsxs as Y, jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Z, useState as E, useRef as z, useCallback as A } from "react";
|
|
3
|
-
import { c as I } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as C } from "react-i18next";
|
|
5
|
-
import { u as ss } from "./form-field-context-94LwgYTQ.js";
|
|
6
|
-
import { I as es, a as h, b as v } from "./input-surface-u4QB0lxe.js";
|
|
7
|
-
import { X as ts } from "./x-CCcI3eJp.js";
|
|
8
|
-
const as = I(
|
|
9
|
-
[
|
|
10
|
-
"ds:relative ds:flex ds:items-center ds:w-full",
|
|
11
|
-
"ds:rounded-[var(--radius-sm)]",
|
|
12
|
-
"ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
|
|
13
|
-
"ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
|
|
14
|
-
"ds:forced-colors:focus-within:outline-[CanvasText]",
|
|
15
|
-
"ds:has-[:disabled]:cursor-not-allowed"
|
|
16
|
-
].join(" ")
|
|
17
|
-
), rs = I(
|
|
18
|
-
[
|
|
19
|
-
"ds:w-full ds:rounded-[var(--radius-sm)] ds:border ds:bg-background ds:text-foreground",
|
|
20
|
-
"ds:placeholder:text-muted-foreground",
|
|
21
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
22
|
-
"ds:focus:outline-none ds:focus-visible:outline-none",
|
|
23
|
-
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
|
|
24
|
-
"ds:read-only:bg-muted ds:read-only:cursor-default"
|
|
25
|
-
].join(" "),
|
|
26
|
-
{
|
|
27
|
-
variants: {
|
|
28
|
-
size: {
|
|
29
|
-
sm: `${h.sm} ${v.sm}`,
|
|
30
|
-
md: `${h.md} ${v.md}`,
|
|
31
|
-
lg: `${h.lg} ${v.lg}`
|
|
32
|
-
},
|
|
33
|
-
tone: es,
|
|
34
|
-
hasStart: {
|
|
35
|
-
true: "ds:ps-10",
|
|
36
|
-
false: ""
|
|
37
|
-
},
|
|
38
|
-
hasEnd: {
|
|
39
|
-
true: "ds:pe-10",
|
|
40
|
-
false: ""
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
compoundVariants: [
|
|
44
|
-
{ size: "sm", hasStart: !1, class: "ds:ps-3" },
|
|
45
|
-
{ size: "md", hasStart: !1, class: "ds:ps-3" },
|
|
46
|
-
{ size: "lg", hasStart: !1, class: "ds:ps-4" },
|
|
47
|
-
{ size: "sm", hasEnd: !1, class: "ds:pe-3" },
|
|
48
|
-
{ size: "md", hasEnd: !1, class: "ds:pe-3" },
|
|
49
|
-
{ size: "lg", hasEnd: !1, class: "ds:pe-4" }
|
|
50
|
-
],
|
|
51
|
-
defaultVariants: {
|
|
52
|
-
size: "md",
|
|
53
|
-
tone: "default",
|
|
54
|
-
hasStart: !1,
|
|
55
|
-
hasEnd: !1
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
), N = "ds:absolute ds:inset-y-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground", ds = Z(
|
|
59
|
-
({
|
|
60
|
-
size: P = "md",
|
|
61
|
-
tone: R = "default",
|
|
62
|
-
startAdornment: o,
|
|
63
|
-
endAdornment: l,
|
|
64
|
-
clearable: V = !1,
|
|
65
|
-
onClear: u,
|
|
66
|
-
className: _,
|
|
67
|
-
id: $,
|
|
68
|
-
disabled: j,
|
|
69
|
-
value: b,
|
|
70
|
-
defaultValue: O,
|
|
71
|
-
onChange: t,
|
|
72
|
-
onCompositionStart: c,
|
|
73
|
-
onCompositionEnd: f,
|
|
74
|
-
...x
|
|
75
|
-
}, r) => {
|
|
76
|
-
const { t: U } = C(), a = ss(), k = $ ?? a.id, y = a.disabled || j, F = a.invalid ? "error" : R, i = b !== void 0, [B, p] = E(
|
|
77
|
-
String(O ?? "")
|
|
78
|
-
), T = i ? String(b) : B, D = T.length > 0, m = z(!1), [q, w] = E(!1), n = z(null), H = A(
|
|
79
|
-
(s) => {
|
|
80
|
-
n.current = s, typeof r == "function" ? r(s) : r && (r.current = s);
|
|
81
|
-
},
|
|
82
|
-
[r]
|
|
83
|
-
), X = !!o, S = V && D && !y && !x.readOnly, G = !!l || S, W = (s) => {
|
|
84
|
-
i || p(s.target.value), !m.current && (t == null || t(s));
|
|
85
|
-
}, J = (s) => {
|
|
86
|
-
m.current = !0, w(!0), c == null || c(s);
|
|
87
|
-
}, K = (s) => {
|
|
88
|
-
m.current = !1, w(!1), f == null || f(s);
|
|
89
|
-
const e = s.currentTarget;
|
|
90
|
-
i || p(e.value), t == null || t({
|
|
91
|
-
...s,
|
|
92
|
-
target: e,
|
|
93
|
-
currentTarget: e
|
|
94
|
-
});
|
|
95
|
-
}, L = () => {
|
|
96
|
-
var e;
|
|
97
|
-
i || p("");
|
|
98
|
-
const s = n.current;
|
|
99
|
-
if (s && t) {
|
|
100
|
-
const Q = Object.getPrototypeOf(s), g = (e = Object.getOwnPropertyDescriptor(Q, "value")) == null ? void 0 : e.set;
|
|
101
|
-
g == null || g.call(s, ""), t({
|
|
102
|
-
target: s,
|
|
103
|
-
currentTarget: s,
|
|
104
|
-
bubbles: !0,
|
|
105
|
-
type: "change",
|
|
106
|
-
nativeEvent: new Event("change", { bubbles: !0 }),
|
|
107
|
-
preventDefault: () => {
|
|
108
|
-
},
|
|
109
|
-
stopPropagation: () => {
|
|
110
|
-
},
|
|
111
|
-
isDefaultPrevented: () => !1,
|
|
112
|
-
isPropagationStopped: () => !1,
|
|
113
|
-
persist: () => {
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
u == null || u(), s == null || s.focus();
|
|
118
|
-
}, M = (s) => {
|
|
119
|
-
var e;
|
|
120
|
-
s.target !== n.current && (s.target.closest("button") || (e = n.current) == null || e.focus());
|
|
121
|
-
};
|
|
122
|
-
return /* @__PURE__ */ Y(
|
|
123
|
-
"div",
|
|
124
|
-
{
|
|
125
|
-
className: as(),
|
|
126
|
-
onClick: M,
|
|
127
|
-
"data-component": "text-input",
|
|
128
|
-
"data-composing": q ? "true" : void 0,
|
|
129
|
-
children: [
|
|
130
|
-
o ? /* @__PURE__ */ d(
|
|
131
|
-
"span",
|
|
132
|
-
{
|
|
133
|
-
"aria-hidden": "true",
|
|
134
|
-
className: `${N} ds:start-0 ds:ps-3 ds:[&_svg]:size-4`,
|
|
135
|
-
children: o
|
|
136
|
-
}
|
|
137
|
-
) : null,
|
|
138
|
-
/* @__PURE__ */ d(
|
|
139
|
-
"input",
|
|
140
|
-
{
|
|
141
|
-
ref: H,
|
|
142
|
-
id: k,
|
|
143
|
-
type: "text",
|
|
144
|
-
value: T,
|
|
145
|
-
disabled: y,
|
|
146
|
-
"aria-describedby": a.describedBy || void 0,
|
|
147
|
-
"aria-invalid": a.invalid || void 0,
|
|
148
|
-
"aria-required": a.required || void 0,
|
|
149
|
-
onChange: W,
|
|
150
|
-
onCompositionStart: J,
|
|
151
|
-
onCompositionEnd: K,
|
|
152
|
-
className: rs({
|
|
153
|
-
size: P,
|
|
154
|
-
tone: F,
|
|
155
|
-
hasStart: X,
|
|
156
|
-
hasEnd: G,
|
|
157
|
-
className: _
|
|
158
|
-
}),
|
|
159
|
-
...x
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
S ? /* @__PURE__ */ d(
|
|
163
|
-
"button",
|
|
164
|
-
{
|
|
165
|
-
type: "button",
|
|
166
|
-
"aria-label": U("ui.inputs.text.clear", "Clear input"),
|
|
167
|
-
onClick: L,
|
|
168
|
-
className: "ds:absolute ds:inset-y-0 ds:end-0 ds:pe-3 ds:flex ds:items-center ds:pointer-events-auto ds:text-muted-foreground ds:hover:text-foreground ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
169
|
-
children: /* @__PURE__ */ d(ts, { "aria-hidden": "true", className: "ds:size-4" })
|
|
170
|
-
}
|
|
171
|
-
) : l ? /* @__PURE__ */ d(
|
|
172
|
-
"span",
|
|
173
|
-
{
|
|
174
|
-
"aria-hidden": "true",
|
|
175
|
-
className: `${N} ds:end-0 ds:pe-3 ds:[&_svg]:size-4`,
|
|
176
|
-
children: l
|
|
177
|
-
}
|
|
178
|
-
) : null
|
|
179
|
-
]
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
}
|
|
183
|
-
);
|
|
184
|
-
ds.displayName = "TextInput";
|
|
185
|
-
export {
|
|
186
|
-
ds as T
|
|
187
|
-
};
|
|
188
|
-
//# sourceMappingURL=text-input-CRHvl5zk.js.map
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l, Fragment as A } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as N, useCallback as k } from "react";
|
|
3
|
-
import { c as S } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as g } from "react-i18next";
|
|
5
|
-
import { I as v } from "./icon-button-Wnnde5lc.js";
|
|
6
|
-
import { I } from "./icon-button-group-DeV3FpNY.js";
|
|
7
|
-
import { S as R } from "./switch-aN2EYxHh.js";
|
|
8
|
-
import { D as r } from "./dropdown-menu-Cw3EyPZv.js";
|
|
9
|
-
import { u as V } from "./use-theme-BMUhembX.js";
|
|
10
|
-
import { c as f } from "./createLucideIcon-CrFbzy84.js";
|
|
11
|
-
/**
|
|
12
|
-
* @license lucide-react v1.8.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/
|
|
17
|
-
const _ = [
|
|
18
|
-
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
19
|
-
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
20
|
-
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
21
|
-
], C = f("monitor", _);
|
|
22
|
-
/**
|
|
23
|
-
* @license lucide-react v1.8.0 - ISC
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the ISC license.
|
|
26
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
const M = [
|
|
29
|
-
[
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
|
|
33
|
-
key: "kfwtm"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
], b = f("moon", M);
|
|
37
|
-
/**
|
|
38
|
-
* @license lucide-react v1.8.0 - ISC
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the ISC license.
|
|
41
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/
|
|
43
|
-
const z = [
|
|
44
|
-
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
45
|
-
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
46
|
-
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
47
|
-
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
48
|
-
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
49
|
-
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
50
|
-
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
51
|
-
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
52
|
-
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
53
|
-
], y = f("sun", z), T = S("ds:inline-flex ds:items-center", {
|
|
54
|
-
variants: {
|
|
55
|
-
variant: {
|
|
56
|
-
menu: "",
|
|
57
|
-
compact: "",
|
|
58
|
-
split: "ds:gap-[var(--spacing-md)]"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
defaultVariants: { variant: "menu" }
|
|
62
|
-
});
|
|
63
|
-
function j(a) {
|
|
64
|
-
const {
|
|
65
|
-
theme: c,
|
|
66
|
-
accessibility: o,
|
|
67
|
-
onThemeChange: n,
|
|
68
|
-
onAccessibilityChange: i
|
|
69
|
-
} = a, t = V(), u = c ?? t.theme, p = o ?? t.accessibility, s = t.setTheme, h = t.setAccessibility, m = k(
|
|
70
|
-
(d) => {
|
|
71
|
-
if (n) {
|
|
72
|
-
n(d);
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
s(d);
|
|
76
|
-
},
|
|
77
|
-
[n, s]
|
|
78
|
-
), x = k(
|
|
79
|
-
(d) => {
|
|
80
|
-
if (i) {
|
|
81
|
-
i(d);
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
h(d);
|
|
85
|
-
},
|
|
86
|
-
[i, h]
|
|
87
|
-
);
|
|
88
|
-
return {
|
|
89
|
-
theme: u,
|
|
90
|
-
accessibility: p,
|
|
91
|
-
resolvedTheme: t.resolvedTheme,
|
|
92
|
-
setTheme: m,
|
|
93
|
-
setAccessibility: x
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function w({
|
|
97
|
-
value: a,
|
|
98
|
-
onValueChange: c,
|
|
99
|
-
ariaLabel: o,
|
|
100
|
-
size: n = "md"
|
|
101
|
-
}) {
|
|
102
|
-
const { t: i } = g();
|
|
103
|
-
return /* @__PURE__ */ l(
|
|
104
|
-
I,
|
|
105
|
-
{
|
|
106
|
-
"aria-label": o,
|
|
107
|
-
role: "radiogroup",
|
|
108
|
-
mode: "toggle-single",
|
|
109
|
-
size: n,
|
|
110
|
-
value: a,
|
|
111
|
-
onValueChange: (t) => c(t),
|
|
112
|
-
children: [
|
|
113
|
-
/* @__PURE__ */ e(
|
|
114
|
-
v,
|
|
115
|
-
{
|
|
116
|
-
icon: /* @__PURE__ */ e(y, { "aria-hidden": !0 }),
|
|
117
|
-
"aria-label": i("ui.navigation.themeToggle.appearance.light"),
|
|
118
|
-
value: "light"
|
|
119
|
-
}
|
|
120
|
-
),
|
|
121
|
-
/* @__PURE__ */ e(
|
|
122
|
-
v,
|
|
123
|
-
{
|
|
124
|
-
icon: /* @__PURE__ */ e(b, { "aria-hidden": !0 }),
|
|
125
|
-
"aria-label": i("ui.navigation.themeToggle.appearance.dark"),
|
|
126
|
-
value: "dark"
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
/* @__PURE__ */ e(
|
|
130
|
-
v,
|
|
131
|
-
{
|
|
132
|
-
icon: /* @__PURE__ */ e(C, { "aria-hidden": !0 }),
|
|
133
|
-
"aria-label": i("ui.navigation.themeToggle.appearance.system"),
|
|
134
|
-
value: "system"
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
function L({
|
|
142
|
-
value: a,
|
|
143
|
-
onValueChange: c,
|
|
144
|
-
size: o = "md"
|
|
145
|
-
}) {
|
|
146
|
-
const { t: n } = g(), i = a === "accessible";
|
|
147
|
-
return /* @__PURE__ */ e(
|
|
148
|
-
R,
|
|
149
|
-
{
|
|
150
|
-
label: n("ui.navigation.themeToggle.accessibility.label"),
|
|
151
|
-
labelSide: "start",
|
|
152
|
-
size: o,
|
|
153
|
-
checked: i,
|
|
154
|
-
onCheckedChange: (t) => c(t ? "accessible" : "default")
|
|
155
|
-
}
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
function D({
|
|
159
|
-
state: a,
|
|
160
|
-
className: c,
|
|
161
|
-
rest: o,
|
|
162
|
-
forwardedRef: n,
|
|
163
|
-
showAccessibility: i
|
|
164
|
-
}) {
|
|
165
|
-
const { t } = g(), u = a.resolvedTheme === "dark" || a.resolvedTheme === "dark-accessible" ? /* @__PURE__ */ e(b, { "aria-hidden": !0 }) : /* @__PURE__ */ e(y, { "aria-hidden": !0 }), p = a.accessibility === "accessible";
|
|
166
|
-
return /* @__PURE__ */ e(
|
|
167
|
-
"div",
|
|
168
|
-
{
|
|
169
|
-
ref: n,
|
|
170
|
-
"data-component": "theme-toggle",
|
|
171
|
-
className: T({ variant: "menu", className: c }),
|
|
172
|
-
...o,
|
|
173
|
-
children: /* @__PURE__ */ l(r.Root, { children: [
|
|
174
|
-
/* @__PURE__ */ e(r.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
175
|
-
v,
|
|
176
|
-
{
|
|
177
|
-
icon: u,
|
|
178
|
-
"aria-label": t("ui.navigation.themeToggle.trigger")
|
|
179
|
-
}
|
|
180
|
-
) }),
|
|
181
|
-
/* @__PURE__ */ e(r.Portal, { children: /* @__PURE__ */ l(r.Content, { align: "end", sideOffset: 8, children: [
|
|
182
|
-
/* @__PURE__ */ e(r.Label, { children: t("ui.navigation.themeToggle.appearance.label") }),
|
|
183
|
-
/* @__PURE__ */ l(
|
|
184
|
-
r.RadioGroup,
|
|
185
|
-
{
|
|
186
|
-
value: a.theme,
|
|
187
|
-
onValueChange: (s) => a.setTheme(s),
|
|
188
|
-
children: [
|
|
189
|
-
/* @__PURE__ */ l(r.RadioItem, { value: "light", children: [
|
|
190
|
-
/* @__PURE__ */ e(y, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
191
|
-
t("ui.navigation.themeToggle.appearance.light")
|
|
192
|
-
] }),
|
|
193
|
-
/* @__PURE__ */ l(r.RadioItem, { value: "dark", children: [
|
|
194
|
-
/* @__PURE__ */ e(b, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
195
|
-
t("ui.navigation.themeToggle.appearance.dark")
|
|
196
|
-
] }),
|
|
197
|
-
/* @__PURE__ */ l(r.RadioItem, { value: "system", children: [
|
|
198
|
-
/* @__PURE__ */ e(C, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
199
|
-
t("ui.navigation.themeToggle.appearance.system")
|
|
200
|
-
] })
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
),
|
|
204
|
-
i ? /* @__PURE__ */ l(A, { children: [
|
|
205
|
-
/* @__PURE__ */ e(r.Separator, {}),
|
|
206
|
-
/* @__PURE__ */ e(
|
|
207
|
-
r.CheckboxItem,
|
|
208
|
-
{
|
|
209
|
-
checked: p,
|
|
210
|
-
onCheckedChange: (s) => a.setAccessibility(s ? "accessible" : "default"),
|
|
211
|
-
onSelect: (s) => s.preventDefault(),
|
|
212
|
-
children: t("ui.navigation.themeToggle.accessibility.label")
|
|
213
|
-
}
|
|
214
|
-
)
|
|
215
|
-
] }) : null
|
|
216
|
-
] }) })
|
|
217
|
-
] })
|
|
218
|
-
}
|
|
219
|
-
);
|
|
220
|
-
}
|
|
221
|
-
function P({
|
|
222
|
-
state: a,
|
|
223
|
-
className: c,
|
|
224
|
-
rest: o,
|
|
225
|
-
forwardedRef: n
|
|
226
|
-
}) {
|
|
227
|
-
const { t: i } = g();
|
|
228
|
-
return /* @__PURE__ */ e(
|
|
229
|
-
"div",
|
|
230
|
-
{
|
|
231
|
-
ref: n,
|
|
232
|
-
"data-component": "theme-toggle",
|
|
233
|
-
className: T({ variant: "compact", className: c }),
|
|
234
|
-
...o,
|
|
235
|
-
children: /* @__PURE__ */ e(
|
|
236
|
-
w,
|
|
237
|
-
{
|
|
238
|
-
value: a.theme,
|
|
239
|
-
onValueChange: a.setTheme,
|
|
240
|
-
ariaLabel: i("ui.navigation.themeToggle.appearance.label")
|
|
241
|
-
}
|
|
242
|
-
)
|
|
243
|
-
}
|
|
244
|
-
);
|
|
245
|
-
}
|
|
246
|
-
function q({
|
|
247
|
-
state: a,
|
|
248
|
-
className: c,
|
|
249
|
-
rest: o,
|
|
250
|
-
forwardedRef: n,
|
|
251
|
-
showAccessibility: i
|
|
252
|
-
}) {
|
|
253
|
-
const { t } = g();
|
|
254
|
-
return /* @__PURE__ */ l(
|
|
255
|
-
"div",
|
|
256
|
-
{
|
|
257
|
-
ref: n,
|
|
258
|
-
"data-component": "theme-toggle",
|
|
259
|
-
className: T({ variant: "split", className: c }),
|
|
260
|
-
...o,
|
|
261
|
-
children: [
|
|
262
|
-
/* @__PURE__ */ e(
|
|
263
|
-
w,
|
|
264
|
-
{
|
|
265
|
-
value: a.theme,
|
|
266
|
-
onValueChange: a.setTheme,
|
|
267
|
-
ariaLabel: t("ui.navigation.themeToggle.appearance.label")
|
|
268
|
-
}
|
|
269
|
-
),
|
|
270
|
-
i ? /* @__PURE__ */ e(
|
|
271
|
-
L,
|
|
272
|
-
{
|
|
273
|
-
value: a.accessibility,
|
|
274
|
-
onValueChange: a.setAccessibility
|
|
275
|
-
}
|
|
276
|
-
) : null
|
|
277
|
-
]
|
|
278
|
-
}
|
|
279
|
-
);
|
|
280
|
-
}
|
|
281
|
-
const B = N(
|
|
282
|
-
(a, c) => {
|
|
283
|
-
const {
|
|
284
|
-
variant: o = "menu",
|
|
285
|
-
showAccessibility: n = !0,
|
|
286
|
-
className: i,
|
|
287
|
-
// Strip controlled props from the spread — they are read by the
|
|
288
|
-
// adapter, not by the DOM element.
|
|
289
|
-
theme: t,
|
|
290
|
-
accessibility: u,
|
|
291
|
-
onThemeChange: p,
|
|
292
|
-
onAccessibilityChange: s,
|
|
293
|
-
...h
|
|
294
|
-
} = a, m = j(a);
|
|
295
|
-
return o === "compact" ? /* @__PURE__ */ e(
|
|
296
|
-
P,
|
|
297
|
-
{
|
|
298
|
-
state: m,
|
|
299
|
-
className: i,
|
|
300
|
-
rest: h,
|
|
301
|
-
forwardedRef: c,
|
|
302
|
-
showAccessibility: n
|
|
303
|
-
}
|
|
304
|
-
) : o === "split" ? /* @__PURE__ */ e(
|
|
305
|
-
q,
|
|
306
|
-
{
|
|
307
|
-
state: m,
|
|
308
|
-
className: i,
|
|
309
|
-
rest: h,
|
|
310
|
-
forwardedRef: c,
|
|
311
|
-
showAccessibility: n
|
|
312
|
-
}
|
|
313
|
-
) : /* @__PURE__ */ e(
|
|
314
|
-
D,
|
|
315
|
-
{
|
|
316
|
-
state: m,
|
|
317
|
-
className: i,
|
|
318
|
-
rest: h,
|
|
319
|
-
forwardedRef: c,
|
|
320
|
-
showAccessibility: n
|
|
321
|
-
}
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
|
-
);
|
|
325
|
-
B.displayName = "ThemeToggle";
|
|
326
|
-
export {
|
|
327
|
-
B as T
|
|
328
|
-
};
|
|
329
|
-
//# sourceMappingURL=theme-toggle-BHiMMEQN.js.map
|