@alfadocs/ui-kit 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
- package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
- package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
- package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
- package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
- package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
- package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
- package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
- package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
- package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
- package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
- package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
- package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
- package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
- package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
- package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
- package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
- package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
- package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
- package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
- package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
- package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
- package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
- package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
- package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
- package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
- package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
- package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
- package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
- package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
- package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
- package/dist/_chunks/file-upload-C947ACDK.js +829 -0
- package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
- package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
- package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
- package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
- package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
- package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
- package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
- package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
- package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
- package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
- package/dist/_chunks/list-qP6p0NTw.js +434 -0
- package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
- package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
- package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
- package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
- package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
- package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
- package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
- package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
- package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
- package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
- package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
- package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
- package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
- package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
- package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
- package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
- package/dist/_chunks/popover-DekUKNBk.js +293 -0
- package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
- package/dist/_chunks/progress-C11tqhoI.js +298 -0
- package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
- package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
- package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
- package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
- package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
- package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
- package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
- package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
- package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
- package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
- package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
- package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
- package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
- package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
- package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
- package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
- package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
- package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
- package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
- package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
- package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
- package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
- package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
- package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
- package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
- package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
- package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
- package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
- package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
- package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
- package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
- package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
- package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
- package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
- package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
- package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
- package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
- package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
- package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
- package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
- package/dist/agent-catalog.json +580 -15
- package/dist/components/_shared/index.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +5 -6
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/chart/index.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/chat-container.d.ts +1 -1
- package/dist/components/chat-container/index.js +2 -3
- package/dist/components/chat-input/chat-input.d.ts +1 -1
- package/dist/components/chat-input/index.js +3 -4
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +46 -13
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +3 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/toolbar.d.ts +6 -5
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.d.ts +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/description-list.d.ts +1 -2
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
- package/dist/components/dropdown-menu/index.js +3 -4
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/index.js +2 -2
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/message-card/index.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/notification-card/index.d.ts +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination.d.ts +4 -6
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/payment-form/index.js +7 -8
- package/dist/components/payment-form/payment-form.d.ts +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/phone-input/index.d.ts +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +3 -4
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
- package/dist/components/progress/index.js +3 -4
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.d.ts +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.js +3 -4
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sidebar/index.js +7 -8
- package/dist/components/sidebar/sidebar.d.ts +0 -2
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stepper-calendar/index.js +1 -1
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
- package/dist/components/stepper-progress/index.d.ts +1 -1
- package/dist/components/stepper-progress/index.js +1 -2
- package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/task-tray/task-tray.d.ts +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-root/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timeline/timeline.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/visually-hidden/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow/workflow-editor.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +392 -402
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/safe-html/index.js +20 -3
- package/dist/tokens.css +2 -2
- package/package.json +12 -2
- package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
- package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
- package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
- package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
- package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
- package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
- package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
- package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
- package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
- package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
- package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
- package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
- package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
- package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
- package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
- package/dist/_chunks/popover-kFN8s84V.js +0 -229
- package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
- package/dist/_chunks/progress-wNsqkw8I.js +0 -253
- package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
- package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
- package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
- package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
- package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
- package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as b } from "./icon-button-
|
|
6
|
-
import { I as
|
|
7
|
-
import { S as
|
|
8
|
-
import { D as
|
|
9
|
-
import { u as
|
|
10
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as m, Fragment as M } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as w, useImperativeHandle as R, useMemo as V, useCallback as S } from "react";
|
|
3
|
+
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as g } from "react-i18next";
|
|
5
|
+
import { I as b } from "./icon-button-C4CGcYuz.js";
|
|
6
|
+
import { I as z } from "./icon-button-group-DeV3FpNY.js";
|
|
7
|
+
import { S as j } from "./switch-C0psfIQF.js";
|
|
8
|
+
import { D as o } from "./dropdown-menu-CpiF6CPz.js";
|
|
9
|
+
import { u as K } from "./use-theme-B1cwAXJR.js";
|
|
10
|
+
import { u as L } from "./registry-C9nwlNyL.js";
|
|
11
|
+
import { c as C } from "./createLucideIcon-CrFbzy84.js";
|
|
11
12
|
/**
|
|
12
13
|
* @license lucide-react v1.8.0 - ISC
|
|
13
14
|
*
|
|
14
15
|
* This source code is licensed under the ISC license.
|
|
15
16
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
17
|
*/
|
|
17
|
-
const
|
|
18
|
+
const D = [
|
|
18
19
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
19
20
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
20
21
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
21
|
-
],
|
|
22
|
+
], _ = C("monitor", D);
|
|
22
23
|
/**
|
|
23
24
|
* @license lucide-react v1.8.0 - ISC
|
|
24
25
|
*
|
|
25
26
|
* This source code is licensed under the ISC license.
|
|
26
27
|
* See the LICENSE file in the root directory of this source tree.
|
|
27
28
|
*/
|
|
28
|
-
const
|
|
29
|
+
const H = [
|
|
29
30
|
[
|
|
30
31
|
"path",
|
|
31
32
|
{
|
|
@@ -33,14 +34,14 @@ const j = [
|
|
|
33
34
|
key: "kfwtm"
|
|
34
35
|
}
|
|
35
36
|
]
|
|
36
|
-
],
|
|
37
|
+
], f = C("moon", H);
|
|
37
38
|
/**
|
|
38
39
|
* @license lucide-react v1.8.0 - ISC
|
|
39
40
|
*
|
|
40
41
|
* This source code is licensed under the ISC license.
|
|
41
42
|
* See the LICENSE file in the root directory of this source tree.
|
|
42
43
|
*/
|
|
43
|
-
const
|
|
44
|
+
const q = [
|
|
44
45
|
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
45
46
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
46
47
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
@@ -50,7 +51,56 @@ const K = [
|
|
|
50
51
|
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
51
52
|
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
52
53
|
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
53
|
-
],
|
|
54
|
+
], k = C("sun", q), B = {
|
|
55
|
+
id: "theme-toggle",
|
|
56
|
+
capabilities: ["view_change"],
|
|
57
|
+
state: {
|
|
58
|
+
currentTheme: {
|
|
59
|
+
type: "ThemePreference",
|
|
60
|
+
descriptionKey: "ui.agent.themeToggle.state.currentTheme",
|
|
61
|
+
description: "Active theme preference: light, dark, or system.",
|
|
62
|
+
read: (e) => e.getCurrentTheme()
|
|
63
|
+
},
|
|
64
|
+
currentAccessibility: {
|
|
65
|
+
type: "AccessibilityPreference",
|
|
66
|
+
descriptionKey: "ui.agent.themeToggle.state.currentAccessibility",
|
|
67
|
+
description: "Active accessibility preference: default or accessible.",
|
|
68
|
+
read: (e) => e.getCurrentAccessibility()
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
actions: {
|
|
72
|
+
set_theme: {
|
|
73
|
+
safety: "write",
|
|
74
|
+
argsType: '{ theme: "light" | "dark" | "system" }',
|
|
75
|
+
descriptionKey: "ui.agent.themeToggle.actions.setTheme",
|
|
76
|
+
description: "Switch the theme preference.",
|
|
77
|
+
invoke: (e, n) => {
|
|
78
|
+
e.setTheme(n.theme);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
set_accessibility: {
|
|
82
|
+
safety: "write",
|
|
83
|
+
argsType: '{ accessibility: "default" | "accessible" }',
|
|
84
|
+
descriptionKey: "ui.agent.themeToggle.actions.setAccessibility",
|
|
85
|
+
description: "Switch the accessibility preference.",
|
|
86
|
+
invoke: (e, n) => {
|
|
87
|
+
e.setAccessibility(n.accessibility);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
domHooks: {
|
|
92
|
+
root: {
|
|
93
|
+
attr: "data-component",
|
|
94
|
+
value: "theme-toggle",
|
|
95
|
+
description: "Marks the ThemeToggle wrapper."
|
|
96
|
+
},
|
|
97
|
+
instanceId: {
|
|
98
|
+
attr: "data-component-id",
|
|
99
|
+
sourceProp: "id",
|
|
100
|
+
description: "Sourced from the id prop."
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, A = P("ds:inline-flex ds:items-center", {
|
|
54
104
|
variants: {
|
|
55
105
|
variant: {
|
|
56
106
|
menu: "",
|
|
@@ -60,77 +110,77 @@ const K = [
|
|
|
60
110
|
},
|
|
61
111
|
defaultVariants: { variant: "menu" }
|
|
62
112
|
});
|
|
63
|
-
function
|
|
113
|
+
function G(e) {
|
|
64
114
|
const {
|
|
65
115
|
theme: n,
|
|
66
116
|
accessibility: c,
|
|
67
117
|
onThemeChange: s,
|
|
68
|
-
onAccessibilityChange:
|
|
69
|
-
} = e,
|
|
70
|
-
(
|
|
118
|
+
onAccessibilityChange: a
|
|
119
|
+
} = e, i = K(), u = n ?? i.theme, p = c ?? i.accessibility, l = i.setTheme, v = i.setAccessibility, d = S(
|
|
120
|
+
(r) => {
|
|
71
121
|
if (s) {
|
|
72
|
-
s(
|
|
122
|
+
s(r);
|
|
73
123
|
return;
|
|
74
124
|
}
|
|
75
|
-
|
|
125
|
+
l(r);
|
|
76
126
|
},
|
|
77
|
-
[s,
|
|
78
|
-
),
|
|
79
|
-
(
|
|
80
|
-
if (
|
|
81
|
-
|
|
127
|
+
[s, l]
|
|
128
|
+
), h = S(
|
|
129
|
+
(r) => {
|
|
130
|
+
if (a) {
|
|
131
|
+
a(r);
|
|
82
132
|
return;
|
|
83
133
|
}
|
|
84
|
-
|
|
134
|
+
v(r);
|
|
85
135
|
},
|
|
86
|
-
[
|
|
136
|
+
[a, v]
|
|
87
137
|
);
|
|
88
138
|
return {
|
|
89
|
-
theme:
|
|
90
|
-
accessibility:
|
|
91
|
-
resolvedTheme:
|
|
92
|
-
setTheme:
|
|
93
|
-
setAccessibility:
|
|
139
|
+
theme: u,
|
|
140
|
+
accessibility: p,
|
|
141
|
+
resolvedTheme: i.resolvedTheme,
|
|
142
|
+
setTheme: d,
|
|
143
|
+
setAccessibility: h
|
|
94
144
|
};
|
|
95
145
|
}
|
|
96
|
-
function
|
|
146
|
+
function I({
|
|
97
147
|
value: e,
|
|
98
148
|
onValueChange: n,
|
|
99
149
|
ariaLabel: c,
|
|
100
150
|
size: s = "md"
|
|
101
151
|
}) {
|
|
102
|
-
const { t:
|
|
103
|
-
return /* @__PURE__ */
|
|
104
|
-
|
|
152
|
+
const { t: a } = g();
|
|
153
|
+
return /* @__PURE__ */ m(
|
|
154
|
+
z,
|
|
105
155
|
{
|
|
106
156
|
"aria-label": c,
|
|
107
157
|
role: "radiogroup",
|
|
108
158
|
mode: "toggle-single",
|
|
109
159
|
size: s,
|
|
110
160
|
value: e,
|
|
111
|
-
onValueChange: (
|
|
161
|
+
onValueChange: (i) => n(i),
|
|
112
162
|
children: [
|
|
113
163
|
/* @__PURE__ */ t(
|
|
114
164
|
b,
|
|
115
165
|
{
|
|
116
|
-
icon: /* @__PURE__ */ t(
|
|
117
|
-
"aria-label":
|
|
166
|
+
icon: /* @__PURE__ */ t(k, { "aria-hidden": !0 }),
|
|
167
|
+
"aria-label": a("ui.navigation.themeToggle.appearance.light"),
|
|
118
168
|
value: "light"
|
|
119
169
|
}
|
|
120
170
|
),
|
|
121
171
|
/* @__PURE__ */ t(
|
|
122
172
|
b,
|
|
123
173
|
{
|
|
124
|
-
icon: /* @__PURE__ */ t(
|
|
125
|
-
"aria-label":
|
|
174
|
+
icon: /* @__PURE__ */ t(f, { "aria-hidden": !0 }),
|
|
175
|
+
"aria-label": a("ui.navigation.themeToggle.appearance.dark"),
|
|
126
176
|
value: "dark"
|
|
127
177
|
}
|
|
128
178
|
),
|
|
129
179
|
/* @__PURE__ */ t(
|
|
130
180
|
b,
|
|
131
181
|
{
|
|
132
|
-
icon: /* @__PURE__ */ t(
|
|
133
|
-
"aria-label":
|
|
182
|
+
icon: /* @__PURE__ */ t(_, { "aria-hidden": !0 }),
|
|
183
|
+
"aria-label": a("ui.navigation.themeToggle.appearance.system"),
|
|
134
184
|
value: "system"
|
|
135
185
|
}
|
|
136
186
|
)
|
|
@@ -138,79 +188,79 @@ function _({
|
|
|
138
188
|
}
|
|
139
189
|
);
|
|
140
190
|
}
|
|
141
|
-
function
|
|
191
|
+
function $({
|
|
142
192
|
value: e,
|
|
143
193
|
onValueChange: n,
|
|
144
194
|
size: c = "md"
|
|
145
195
|
}) {
|
|
146
|
-
const { t: s } =
|
|
196
|
+
const { t: s } = g(), a = e === "accessible";
|
|
147
197
|
return /* @__PURE__ */ t(
|
|
148
|
-
|
|
198
|
+
j,
|
|
149
199
|
{
|
|
150
200
|
label: s("ui.navigation.themeToggle.accessibility.label"),
|
|
151
201
|
labelSide: "start",
|
|
152
202
|
size: c,
|
|
153
|
-
checked:
|
|
154
|
-
onCheckedChange: (
|
|
203
|
+
checked: a,
|
|
204
|
+
onCheckedChange: (i) => n(i ? "accessible" : "default")
|
|
155
205
|
}
|
|
156
206
|
);
|
|
157
207
|
}
|
|
158
|
-
function
|
|
208
|
+
function F({
|
|
159
209
|
state: e,
|
|
160
210
|
className: n,
|
|
161
211
|
rest: c,
|
|
162
212
|
forwardedRef: s,
|
|
163
|
-
showAccessibility:
|
|
213
|
+
showAccessibility: a
|
|
164
214
|
}) {
|
|
165
|
-
const { t:
|
|
215
|
+
const { t: i } = g(), u = e.resolvedTheme === "dark" || e.resolvedTheme === "dark-accessible" ? /* @__PURE__ */ t(f, { "aria-hidden": !0 }) : /* @__PURE__ */ t(k, { "aria-hidden": !0 }), p = e.accessibility === "accessible";
|
|
166
216
|
return /* @__PURE__ */ t(
|
|
167
217
|
"div",
|
|
168
218
|
{
|
|
169
219
|
ref: s,
|
|
170
220
|
"data-component": "theme-toggle",
|
|
171
221
|
"data-component-id": c.id,
|
|
172
|
-
className:
|
|
222
|
+
className: A({ variant: "menu", className: n }),
|
|
173
223
|
...c,
|
|
174
|
-
children: /* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */ t(
|
|
224
|
+
children: /* @__PURE__ */ m(o.Root, { children: [
|
|
225
|
+
/* @__PURE__ */ t(o.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
|
|
176
226
|
b,
|
|
177
227
|
{
|
|
178
|
-
icon:
|
|
179
|
-
"aria-label":
|
|
228
|
+
icon: u,
|
|
229
|
+
"aria-label": i("ui.navigation.themeToggle.trigger")
|
|
180
230
|
}
|
|
181
231
|
) }),
|
|
182
|
-
/* @__PURE__ */ t(
|
|
183
|
-
/* @__PURE__ */ t(
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
|
|
232
|
+
/* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ m(o.Content, { align: "end", sideOffset: 8, children: [
|
|
233
|
+
/* @__PURE__ */ t(o.Label, { children: i("ui.navigation.themeToggle.appearance.label") }),
|
|
234
|
+
/* @__PURE__ */ m(
|
|
235
|
+
o.RadioGroup,
|
|
186
236
|
{
|
|
187
237
|
value: e.theme,
|
|
188
|
-
onValueChange: (
|
|
238
|
+
onValueChange: (l) => e.setTheme(l),
|
|
189
239
|
children: [
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
-
/* @__PURE__ */ t(
|
|
192
|
-
|
|
240
|
+
/* @__PURE__ */ m(o.RadioItem, { value: "light", children: [
|
|
241
|
+
/* @__PURE__ */ t(k, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
242
|
+
i("ui.navigation.themeToggle.appearance.light")
|
|
193
243
|
] }),
|
|
194
|
-
/* @__PURE__ */
|
|
195
|
-
/* @__PURE__ */ t(
|
|
196
|
-
|
|
244
|
+
/* @__PURE__ */ m(o.RadioItem, { value: "dark", children: [
|
|
245
|
+
/* @__PURE__ */ t(f, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
246
|
+
i("ui.navigation.themeToggle.appearance.dark")
|
|
197
247
|
] }),
|
|
198
|
-
/* @__PURE__ */
|
|
199
|
-
/* @__PURE__ */ t(
|
|
200
|
-
|
|
248
|
+
/* @__PURE__ */ m(o.RadioItem, { value: "system", children: [
|
|
249
|
+
/* @__PURE__ */ t(_, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
250
|
+
i("ui.navigation.themeToggle.appearance.system")
|
|
201
251
|
] })
|
|
202
252
|
]
|
|
203
253
|
}
|
|
204
254
|
),
|
|
205
|
-
|
|
206
|
-
/* @__PURE__ */ t(
|
|
255
|
+
a ? /* @__PURE__ */ m(M, { children: [
|
|
256
|
+
/* @__PURE__ */ t(o.Separator, {}),
|
|
207
257
|
/* @__PURE__ */ t(
|
|
208
|
-
|
|
258
|
+
o.CheckboxItem,
|
|
209
259
|
{
|
|
210
|
-
checked:
|
|
211
|
-
onCheckedChange: (
|
|
212
|
-
onSelect: (
|
|
213
|
-
children:
|
|
260
|
+
checked: p,
|
|
261
|
+
onCheckedChange: (l) => e.setAccessibility(l ? "accessible" : "default"),
|
|
262
|
+
onSelect: (l) => l.preventDefault(),
|
|
263
|
+
children: i("ui.navigation.themeToggle.accessibility.label")
|
|
214
264
|
}
|
|
215
265
|
)
|
|
216
266
|
] }) : null
|
|
@@ -219,59 +269,59 @@ function q({
|
|
|
219
269
|
}
|
|
220
270
|
);
|
|
221
271
|
}
|
|
222
|
-
function
|
|
272
|
+
function O({
|
|
223
273
|
state: e,
|
|
224
274
|
className: n,
|
|
225
275
|
rest: c,
|
|
226
276
|
forwardedRef: s
|
|
227
277
|
}) {
|
|
228
|
-
const { t:
|
|
278
|
+
const { t: a } = g();
|
|
229
279
|
return /* @__PURE__ */ t(
|
|
230
280
|
"div",
|
|
231
281
|
{
|
|
232
282
|
ref: s,
|
|
233
283
|
"data-component": "theme-toggle",
|
|
234
284
|
"data-component-id": c.id,
|
|
235
|
-
className:
|
|
285
|
+
className: A({ variant: "compact", className: n }),
|
|
236
286
|
...c,
|
|
237
287
|
children: /* @__PURE__ */ t(
|
|
238
|
-
|
|
288
|
+
I,
|
|
239
289
|
{
|
|
240
290
|
value: e.theme,
|
|
241
291
|
onValueChange: e.setTheme,
|
|
242
|
-
ariaLabel:
|
|
292
|
+
ariaLabel: a("ui.navigation.themeToggle.appearance.label")
|
|
243
293
|
}
|
|
244
294
|
)
|
|
245
295
|
}
|
|
246
296
|
);
|
|
247
297
|
}
|
|
248
|
-
function
|
|
298
|
+
function E({
|
|
249
299
|
state: e,
|
|
250
300
|
className: n,
|
|
251
301
|
rest: c,
|
|
252
302
|
forwardedRef: s,
|
|
253
|
-
showAccessibility:
|
|
303
|
+
showAccessibility: a
|
|
254
304
|
}) {
|
|
255
|
-
const { t:
|
|
256
|
-
return /* @__PURE__ */
|
|
305
|
+
const { t: i } = g();
|
|
306
|
+
return /* @__PURE__ */ m(
|
|
257
307
|
"div",
|
|
258
308
|
{
|
|
259
309
|
ref: s,
|
|
260
310
|
"data-component": "theme-toggle",
|
|
261
311
|
"data-component-id": c.id,
|
|
262
|
-
className:
|
|
312
|
+
className: A({ variant: "split", className: n }),
|
|
263
313
|
...c,
|
|
264
314
|
children: [
|
|
265
315
|
/* @__PURE__ */ t(
|
|
266
|
-
|
|
316
|
+
I,
|
|
267
317
|
{
|
|
268
318
|
value: e.theme,
|
|
269
319
|
onValueChange: e.setTheme,
|
|
270
|
-
ariaLabel:
|
|
320
|
+
ariaLabel: i("ui.navigation.themeToggle.appearance.label")
|
|
271
321
|
}
|
|
272
322
|
),
|
|
273
|
-
|
|
274
|
-
|
|
323
|
+
a ? /* @__PURE__ */ t(
|
|
324
|
+
$,
|
|
275
325
|
{
|
|
276
326
|
value: e.accessibility,
|
|
277
327
|
onValueChange: e.setAccessibility
|
|
@@ -281,114 +331,66 @@ function G({
|
|
|
281
331
|
}
|
|
282
332
|
);
|
|
283
333
|
}
|
|
284
|
-
const
|
|
334
|
+
const J = N(
|
|
285
335
|
(e, n) => {
|
|
286
336
|
const {
|
|
287
337
|
variant: c = "menu",
|
|
288
338
|
showAccessibility: s = !0,
|
|
289
|
-
className:
|
|
339
|
+
className: a,
|
|
340
|
+
id: i,
|
|
290
341
|
// Strip controlled props from the spread — they are read by the
|
|
291
342
|
// adapter, not by the DOM element.
|
|
292
|
-
theme:
|
|
343
|
+
theme: u,
|
|
293
344
|
accessibility: p,
|
|
294
|
-
onThemeChange:
|
|
295
|
-
onAccessibilityChange:
|
|
296
|
-
...
|
|
297
|
-
} = e,
|
|
298
|
-
|
|
299
|
-
|
|
345
|
+
onThemeChange: l,
|
|
346
|
+
onAccessibilityChange: v,
|
|
347
|
+
...d
|
|
348
|
+
} = e, h = G(e), r = w(h);
|
|
349
|
+
r.current = h;
|
|
350
|
+
const y = w(null);
|
|
351
|
+
R(n, () => y.current, []);
|
|
352
|
+
const x = V(
|
|
300
353
|
() => ({
|
|
301
|
-
getCurrentTheme: () =>
|
|
302
|
-
getCurrentAccessibility: () =>
|
|
303
|
-
setTheme: (
|
|
304
|
-
setAccessibility: (
|
|
354
|
+
getCurrentTheme: () => r.current.theme,
|
|
355
|
+
getCurrentAccessibility: () => r.current.accessibility,
|
|
356
|
+
setTheme: (T) => r.current.setTheme(T),
|
|
357
|
+
setAccessibility: (T) => r.current.setAccessibility(T)
|
|
305
358
|
}),
|
|
306
359
|
[]
|
|
307
360
|
);
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
B,
|
|
361
|
+
return L(B, x, i), c === "compact" ? /* @__PURE__ */ t(
|
|
362
|
+
O,
|
|
311
363
|
{
|
|
312
|
-
state:
|
|
313
|
-
className:
|
|
314
|
-
rest:
|
|
315
|
-
forwardedRef:
|
|
364
|
+
state: h,
|
|
365
|
+
className: a,
|
|
366
|
+
rest: d,
|
|
367
|
+
forwardedRef: y,
|
|
316
368
|
showAccessibility: s
|
|
317
369
|
}
|
|
318
370
|
) : c === "split" ? /* @__PURE__ */ t(
|
|
319
|
-
|
|
371
|
+
E,
|
|
320
372
|
{
|
|
321
|
-
state:
|
|
322
|
-
className:
|
|
323
|
-
rest:
|
|
324
|
-
forwardedRef:
|
|
373
|
+
state: h,
|
|
374
|
+
className: a,
|
|
375
|
+
rest: d,
|
|
376
|
+
forwardedRef: y,
|
|
325
377
|
showAccessibility: s
|
|
326
378
|
}
|
|
327
379
|
) : /* @__PURE__ */ t(
|
|
328
|
-
|
|
380
|
+
F,
|
|
329
381
|
{
|
|
330
|
-
state:
|
|
331
|
-
className:
|
|
332
|
-
rest:
|
|
333
|
-
forwardedRef:
|
|
382
|
+
state: h,
|
|
383
|
+
className: a,
|
|
384
|
+
rest: d,
|
|
385
|
+
forwardedRef: y,
|
|
334
386
|
showAccessibility: s
|
|
335
387
|
}
|
|
336
388
|
);
|
|
337
389
|
}
|
|
338
390
|
);
|
|
339
|
-
|
|
340
|
-
const Z = {
|
|
341
|
-
id: "theme-toggle",
|
|
342
|
-
capabilities: ["view_change"],
|
|
343
|
-
state: {
|
|
344
|
-
currentTheme: {
|
|
345
|
-
type: "ThemePreference",
|
|
346
|
-
descriptionKey: "ui.agent.themeToggle.state.currentTheme",
|
|
347
|
-
description: "Active theme preference: light, dark, or system.",
|
|
348
|
-
read: (e) => e.getCurrentTheme()
|
|
349
|
-
},
|
|
350
|
-
currentAccessibility: {
|
|
351
|
-
type: "AccessibilityPreference",
|
|
352
|
-
descriptionKey: "ui.agent.themeToggle.state.currentAccessibility",
|
|
353
|
-
description: "Active accessibility preference: default or accessible.",
|
|
354
|
-
read: (e) => e.getCurrentAccessibility()
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
actions: {
|
|
358
|
-
set_theme: {
|
|
359
|
-
safety: "write",
|
|
360
|
-
argsType: '{ theme: "light" | "dark" | "system" }',
|
|
361
|
-
descriptionKey: "ui.agent.themeToggle.actions.setTheme",
|
|
362
|
-
description: "Switch the theme preference.",
|
|
363
|
-
invoke: (e, n) => {
|
|
364
|
-
e.setTheme(n.theme);
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
set_accessibility: {
|
|
368
|
-
safety: "write",
|
|
369
|
-
argsType: '{ accessibility: "default" | "accessible" }',
|
|
370
|
-
descriptionKey: "ui.agent.themeToggle.actions.setAccessibility",
|
|
371
|
-
description: "Switch the accessibility preference.",
|
|
372
|
-
invoke: (e, n) => {
|
|
373
|
-
e.setAccessibility(n.accessibility);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
domHooks: {
|
|
378
|
-
root: {
|
|
379
|
-
attr: "data-component",
|
|
380
|
-
value: "theme-toggle",
|
|
381
|
-
description: "Marks the ThemeToggle wrapper."
|
|
382
|
-
},
|
|
383
|
-
instanceId: {
|
|
384
|
-
attr: "data-component-id",
|
|
385
|
-
sourceProp: "id",
|
|
386
|
-
description: "Sourced from the id prop."
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
};
|
|
391
|
+
J.displayName = "ThemeToggle";
|
|
390
392
|
export {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
+
J as T,
|
|
394
|
+
B as t
|
|
393
395
|
};
|
|
394
|
-
//# sourceMappingURL=theme-toggle
|
|
396
|
+
//# sourceMappingURL=theme-toggle-B9zzCnvl.js.map
|