@alfadocs/ui-kit 1.50.0 → 1.51.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/dist/_chunks/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DBI33cMp.js} +4 -4
- package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-CGhEEnFE.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-C9K_ley1.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-DMG1o4Qa.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-ucwO-z8g.js} +2 -2
- package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-K3gaNH94.js} +7 -7
- package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-CPjry4ur.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js → anamnesis-summary-rows-D9LZZHLw.js} +9 -9
- package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-DETaIfBb.js} +2 -2
- package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-B79v56Zc.js} +4 -4
- package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-tyJJPgVU.js} +5 -5
- package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-Dq4zto_L.js} +4 -4
- package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-Ddlp5rVg.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-BCEsdEOe.js} +4 -4
- package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-1NAiZh0K.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-ZzzPZhhI.js} +2 -2
- package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DmyX24Ls.js} +5 -5
- package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
- package/dist/_chunks/{button-group-BSDqso_C.js → button-group-t9RrsCS6.js} +3 -3
- package/dist/_chunks/{calendar-zpE9qTM4.js → calendar-aqzmITxw.js} +543 -508
- package/dist/_chunks/{calendar-event-card-DplPh1wv.js → calendar-event-card-DyFSIehr.js} +148 -145
- package/dist/_chunks/calendar-workspace-BqoPkCUp.js +10597 -0
- package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-amX33mMF.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-DNkEucjN.js} +2 -2
- package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-CJi853Rf.js} +2 -2
- package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-2EhJsAtl.js} +2 -2
- package/dist/_chunks/{chart-VjuXDXOZ.js → chart-B2HnwMP5.js} +3 -3
- package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-CHUsUFOD.js} +2 -2
- package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DTcRGhNo.js} +3 -3
- package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-BrwcZNPq.js} +2 -2
- package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-DMheLE65.js} +3 -3
- package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-zQLGGFKG.js} +2 -2
- package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-5iuM3jcm.js} +3 -3
- package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-C-KvrgOG.js} +2 -2
- package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-DQMCeEzn.js} +2 -2
- package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-H7uph3HO.js} +2 -2
- package/dist/_chunks/{data-table-CrI3_bjH.js → data-table-C4yPR89K.js} +7 -7
- package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dd_O1nPY.js} +3 -3
- package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-DOPu69Jg.js} +2 -2
- package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-Dzh1YAz8.js} +3 -3
- package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-BSVwMR4V.js} +2 -2
- package/dist/_chunks/dropdown-menu-DIzxr_lp.js +594 -0
- package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-DUjw4w5O.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-Cch3RIJL.js} +3 -3
- package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-CRQib91p.js} +3 -3
- package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-DsA7vR5C.js} +2 -2
- package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-Ck1wVWdN.js} +2 -2
- package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-Cvs21xPr.js} +3 -3
- package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary-C_HAzVLO.js} +2 -2
- package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-DVZZTuXT.js} +5 -5
- package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-B-lO-948.js} +2 -2
- package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-B3IDOct8.js} +3 -3
- package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-COUb-w8j.js} +7 -7
- package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BrAWwfOw.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CwUwhUZy.js} +2 -2
- package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-DiPJrL18.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-BVPtrWKf.js} +2 -2
- package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-CPktiA3H.js} +2 -2
- package/dist/_chunks/{header-CCjp5GvE.js → header-C8NbLgVq.js} +2 -2
- package/dist/_chunks/header-settings-D0M3WNTS.js +305 -0
- package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CYAKuXZ3.js} +5 -5
- package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-BM0vNmq4.js} +2 -2
- package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
- package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-ud2BLmxe.js} +3 -3
- package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-B1PwkUHy.js} +3 -3
- package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-DM6hpXUw.js} +2 -2
- package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-CywkQ1NX.js} +2 -2
- package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-Fu9AHxR6.js} +2 -2
- package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-BL1J3_Km.js} +2 -2
- package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-B9Qn6VIc.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-BcW3F1j9.js} +2 -2
- package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-Z42P8T-i.js} +218 -213
- package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-DxYPJjM9.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rTTvWRrE.js} +6 -6
- package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-CUBPPn4Z.js} +3 -3
- package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-uy3DAIbn.js} +4 -4
- package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-CH-vQ7Ch.js} +2 -2
- package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-Dka4Z2M7.js} +4 -4
- package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-Hy8w3UWx.js} +3 -3
- package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-VuV3XXB8.js} +4 -4
- package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-C2n6d0HO.js} +2 -2
- package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
- package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-D9sAM3qh.js} +3 -3
- package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-CT04C_lZ.js} +277 -257
- package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-DkIukAMQ.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DI0BH-Fe.js} +5 -5
- package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-vQBIyUky.js} +2 -2
- package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BSaJzhxz.js} +3 -3
- package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-BcTcOc79.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-NS_nToBf.js} +2 -2
- package/dist/_chunks/{popover-Dvb40vPH.js → popover-SASSeAdY.js} +2 -2
- package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-C3ifcObw.js} +6 -6
- package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CpJ3iYvD.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-kDOhA2vZ.js} +2 -2
- package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-CEyvNpC8.js} +3 -3
- package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-TzMlEu3Q.js} +2 -2
- package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-b70i9Hi1.js} +3 -3
- package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-D0ApOrmx.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-jhwaIW8U.js} +4 -4
- package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
- package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-B5QC4FIp.js} +4 -4
- package/dist/_chunks/{rich-text-editor-y6ML0KeV.js → rich-text-editor-DoBXdwmx.js} +930 -943
- package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-26XB5u38.js} +2 -2
- package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-CwhNzxbr.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-jxbze77L.js} +2 -2
- package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-BorHf3CY.js} +4 -4
- package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-xgf2UKLS.js} +4 -4
- package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-Cos2fVTw.js} +2 -2
- package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-BrkMUW0c.js} +2 -2
- package/dist/_chunks/tabs-tK22Mz7r.js +413 -0
- package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CLpHmqEY.js} +2 -2
- package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-B4UGsU7l.js} +6 -6
- package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-dsmYgjVb.js} +4 -4
- package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-CwwVw491.js} +6 -6
- package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-jyoyhbJL.js} +4 -4
- package/dist/_chunks/{toast-CT8hjr9r.js → toast-FijDyPnv.js} +2 -2
- package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-Cjf99IdN.js} +3 -3
- package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-DphMl1hX.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BaCJnyg9.js} +663 -718
- package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-CGpOgarU.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js → use-appointment-details-read-uEnJLVfA.js} +14 -14
- package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-7Hffm7K1.js} +3 -3
- package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-Jfe9L9Wt.js} +6 -6
- package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-jHfsIDzi.js} +2 -2
- package/dist/agent-catalog.json +103 -38
- package/dist/agent-i18n/en.json +7 -4
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +11 -0
- package/dist/components/button/icon-button.d.ts +4 -0
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +11 -3
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +6 -0
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/chart.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts +3 -3
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/locale-picker/locale-picker.d.ts +7 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-details/patient-details.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/resource-chip/index.d.ts +1 -1
- package/dist/components/resource-chip/index.js +3 -2
- package/dist/components/resource-chip/resource-chip.d.ts +20 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
- package/dist/components/unit-converter/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-card.d.ts +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +5 -0
- package/dist/i18n/locales/ar.js +5 -0
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/el.d.ts +5 -0
- package/dist/i18n/locales/el.js +5 -0
- package/dist/i18n/locales/en.d.ts +5 -0
- package/dist/i18n/locales/en.js +5 -0
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/fr.js +5 -0
- package/dist/i18n/locales/hi.d.ts +5 -0
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/it.js +5 -0
- package/dist/i18n/locales/ja.d.ts +5 -0
- package/dist/i18n/locales/ja.js +5 -0
- package/dist/i18n/locales/nl.d.ts +5 -0
- package/dist/i18n/locales/nl.js +5 -0
- package/dist/i18n/locales/pl.d.ts +5 -0
- package/dist/i18n/locales/pl.js +5 -0
- package/dist/i18n/locales/pt.d.ts +5 -0
- package/dist/i18n/locales/pt.js +5 -0
- package/dist/i18n/locales/ro.d.ts +5 -0
- package/dist/i18n/locales/ro.js +5 -0
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/locales/ru.js +5 -0
- package/dist/i18n/locales/sq.d.ts +5 -0
- package/dist/i18n/locales/sq.js +5 -0
- package/dist/i18n/locales/sv.d.ts +5 -0
- package/dist/i18n/locales/sv.js +5 -0
- package/dist/i18n/locales/tr.d.ts +5 -0
- package/dist/i18n/locales/tr.js +5 -0
- package/dist/i18n/locales/zh.d.ts +5 -0
- package/dist/i18n/locales/zh.js +5 -0
- package/dist/index.js +478 -477
- package/dist/locales/ar.json +5 -0
- package/dist/locales/de.json +5 -0
- package/dist/locales/el.json +5 -0
- package/dist/locales/en.json +5 -0
- package/dist/locales/es.json +5 -0
- package/dist/locales/fr.json +5 -0
- package/dist/locales/hi.json +5 -0
- package/dist/locales/it.json +5 -0
- package/dist/locales/ja.json +5 -0
- package/dist/locales/nl.json +5 -0
- package/dist/locales/pl.json +5 -0
- package/dist/locales/pt.json +5 -0
- package/dist/locales/ro.json +5 -0
- package/dist/locales/ru.json +5 -0
- package/dist/locales/sq.json +5 -0
- package/dist/locales/sv.json +5 -0
- package/dist/locales/tr.json +5 -0
- package/dist/locales/zh.json +5 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +2 -1
- package/package.json +1 -1
- package/dist/_chunks/calendar-workspace-CWRH4x15.js +0 -10577
- package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
- package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
- package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as I, useRef as c, useImperativeHandle as C, useCallback as R, useMemo as E } from "react";
|
|
3
|
-
import { c as _ } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as K } from "react-i18next";
|
|
5
|
-
import { I as l } from "./icon-button-CY7GU_Se.js";
|
|
6
|
-
import { I as M } from "./icon-button-group-B_426QN_.js";
|
|
7
|
-
import { D as r } from "./dropdown-menu-C8PaW3lR.js";
|
|
8
|
-
import { S as N } from "./switch-OILsBLWo.js";
|
|
9
|
-
import { c as S, a as j, L as H } from "./locale-picker-DGkQmhV9.js";
|
|
10
|
-
import { u as O } from "./use-locale-BkCIHujH.js";
|
|
11
|
-
import { u as P } from "./use-theme-CAuo6EYT.js";
|
|
12
|
-
import { u as V } from "./registry-DvAUVLHh.js";
|
|
13
|
-
import { S as D } from "./settings-d25ju_6L.js";
|
|
14
|
-
import { S as q, M as z } from "./sun-Bj9Mr553.js";
|
|
15
|
-
import { M as F } from "./monitor-xXSrufmP.js";
|
|
16
|
-
const U = {
|
|
17
|
-
id: "header-settings",
|
|
18
|
-
// Each setter persists a single preference value (locale / theme /
|
|
19
|
-
// accessibility) — `set_value` semantics, not an ephemeral view switch.
|
|
20
|
-
capabilities: ["set_value"],
|
|
21
|
-
// Read-back for all three setters. None of these preferences is
|
|
22
|
-
// recoverable from the DOM — `useTheme` resolves preference + OS into
|
|
23
|
-
// a single applied class, so `theme: 'system'` and `theme: 'light'`
|
|
24
|
-
// both paint `.theme-light` — and `set_locale` swallows unknown tags.
|
|
25
|
-
// Without these slots an agent cannot distinguish "switched to
|
|
26
|
-
// Italian" from "the tag was dropped on the floor". All four are UI
|
|
27
|
-
// preferences: no PHI, no patient-identifiable data (§7).
|
|
28
|
-
state: {
|
|
29
|
-
locale: {
|
|
30
|
-
type: "string",
|
|
31
|
-
descriptionKey: "ui.agent.headerSettings.state.locale",
|
|
32
|
-
description: 'Active IETF language tag (e.g. "en", "it", "ar"). Read after `set_locale` to confirm the switch landed — an unknown tag is silently dropped and leaves this unchanged.',
|
|
33
|
-
read: (e) => e.getLocale()
|
|
34
|
-
},
|
|
35
|
-
theme: {
|
|
36
|
-
type: "'light' | 'dark' | 'system'",
|
|
37
|
-
descriptionKey: "ui.agent.headerSettings.state.theme",
|
|
38
|
-
description: "Stored base-theme preference. `'system'` means no override is set and the OS decides — read `resolvedTheme` for what is actually painted.",
|
|
39
|
-
read: (e) => e.getTheme()
|
|
40
|
-
},
|
|
41
|
-
accessibility: {
|
|
42
|
-
type: "'default' | 'accessible' | 'system'",
|
|
43
|
-
descriptionKey: "ui.agent.headerSettings.state.accessibility",
|
|
44
|
-
description: "Stored AAA-contrast preference. `'system'` means no override is set and `prefers-contrast` decides.",
|
|
45
|
-
read: (e) => e.getAccessibility()
|
|
46
|
-
},
|
|
47
|
-
resolvedTheme: {
|
|
48
|
-
type: "'light' | 'dark' | 'light-accessible' | 'dark-accessible'",
|
|
49
|
-
descriptionKey: "ui.agent.headerSettings.state.resolvedTheme",
|
|
50
|
-
description: 'The theme actually applied to the document once preference and OS signals resolve. This is what makes a `set_theme("system")` or `set_accessibility("system")` write verifiable.',
|
|
51
|
-
read: (e) => e.getResolvedTheme()
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
actions: {
|
|
55
|
-
set_locale: {
|
|
56
|
-
safety: "write",
|
|
57
|
-
argsType: "{ locale: string }",
|
|
58
|
-
argsSchema: {
|
|
59
|
-
type: "object",
|
|
60
|
-
properties: {
|
|
61
|
-
locale: {
|
|
62
|
-
type: "string",
|
|
63
|
-
description: 'IETF language tag (e.g. "en", "it", "ar"). Unknown tags are silently dropped.'
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
required: ["locale"]
|
|
67
|
-
},
|
|
68
|
-
idempotent: !0,
|
|
69
|
-
descriptionKey: "ui.agent.headerSettings.actions.setLocale",
|
|
70
|
-
description: "Switch the active locale to the given IETF tag. Unknown tags are silently dropped — read the `locale` state slot afterwards to confirm.",
|
|
71
|
-
errors: [
|
|
72
|
-
"Silently ignored when the tag names a locale the kit ships no bundle for — `locale` is unchanged."
|
|
73
|
-
],
|
|
74
|
-
examples: [{ args: { locale: "it" }, note: "Switch to Italian." }],
|
|
75
|
-
invoke: (e, s) => {
|
|
76
|
-
e.setLocale(s.locale);
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
set_theme: {
|
|
80
|
-
safety: "write",
|
|
81
|
-
argsType: '{ theme: "light" | "dark" | "system" }',
|
|
82
|
-
argsSchema: {
|
|
83
|
-
type: "object",
|
|
84
|
-
properties: { theme: { enum: ["light", "dark", "system"] } },
|
|
85
|
-
required: ["theme"]
|
|
86
|
-
},
|
|
87
|
-
idempotent: !0,
|
|
88
|
-
descriptionKey: "ui.agent.headerSettings.actions.setTheme",
|
|
89
|
-
description: "Switch the theme preference. Verify with the `theme` slot (the stored preference) and `resolvedTheme` (what is actually painted).",
|
|
90
|
-
examples: [
|
|
91
|
-
{ args: { theme: "dark" }, note: "Switch to the dark theme." }
|
|
92
|
-
],
|
|
93
|
-
invoke: (e, s) => {
|
|
94
|
-
e.setTheme(s.theme);
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
set_accessibility: {
|
|
98
|
-
safety: "write",
|
|
99
|
-
argsType: '{ accessibility: "default" | "accessible" | "system" }',
|
|
100
|
-
argsSchema: {
|
|
101
|
-
type: "object",
|
|
102
|
-
properties: {
|
|
103
|
-
accessibility: {
|
|
104
|
-
enum: ["default", "accessible", "system"],
|
|
105
|
-
description: "`'system'` clears the override and follows `prefers-contrast`."
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
required: ["accessibility"]
|
|
109
|
-
},
|
|
110
|
-
idempotent: !0,
|
|
111
|
-
descriptionKey: "ui.agent.headerSettings.actions.setAccessibility",
|
|
112
|
-
description: "Switch the accessibility preference. Verify with the `accessibility` slot (the stored preference) and `resolvedTheme` (what is actually painted).",
|
|
113
|
-
examples: [
|
|
114
|
-
{
|
|
115
|
-
args: { accessibility: "accessible" },
|
|
116
|
-
note: "Enable the AAA-accessible profile."
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
invoke: (e, s) => {
|
|
120
|
-
e.setAccessibility(s.accessibility);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
domHooks: {
|
|
125
|
-
root: {
|
|
126
|
-
attr: "data-component",
|
|
127
|
-
value: "header-settings",
|
|
128
|
-
description: "Marks the HeaderSettings wrapper."
|
|
129
|
-
},
|
|
130
|
-
instanceId: {
|
|
131
|
-
attr: "data-component-id",
|
|
132
|
-
sourceProp: "id",
|
|
133
|
-
description: "Sourced from the id prop (forwarded via HTMLAttributes)."
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
function B(e, s) {
|
|
138
|
-
if (!(typeof window > "u"))
|
|
139
|
-
try {
|
|
140
|
-
window.localStorage.setItem(e, s);
|
|
141
|
-
} catch {
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
function G(e) {
|
|
145
|
-
if (typeof document > "u") return;
|
|
146
|
-
const s = document.documentElement;
|
|
147
|
-
s.lang = e, s.dir = S[e].dir;
|
|
148
|
-
}
|
|
149
|
-
const W = _("ds:inline-flex ds:items-center", {
|
|
150
|
-
variants: {
|
|
151
|
-
align: {
|
|
152
|
-
start: "",
|
|
153
|
-
end: ""
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
defaultVariants: { align: "end" }
|
|
157
|
-
}), Y = [
|
|
158
|
-
"ds:w-[20rem] ds:p-[var(--spacing-xs)]",
|
|
159
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-border",
|
|
160
|
-
"ds:bg-background ds:text-foreground ds:shadow-[var(--shadow-lg)]"
|
|
161
|
-
].join(" "), J = I(
|
|
162
|
-
(e, s) => {
|
|
163
|
-
const {
|
|
164
|
-
align: h = "end",
|
|
165
|
-
size: w = "md",
|
|
166
|
-
disabled: T = !1,
|
|
167
|
-
className: k,
|
|
168
|
-
id: g,
|
|
169
|
-
...A
|
|
170
|
-
} = e, { t: i } = K(), n = P(), { locale: m, setLocale: u } = O(), y = c(null);
|
|
171
|
-
C(s, () => y.current, []);
|
|
172
|
-
const f = R(
|
|
173
|
-
(a) => {
|
|
174
|
-
u(a), G(a), B(H, a);
|
|
175
|
-
},
|
|
176
|
-
[u]
|
|
177
|
-
), b = c(f);
|
|
178
|
-
b.current = f;
|
|
179
|
-
const v = c(m);
|
|
180
|
-
v.current = m;
|
|
181
|
-
const o = c(n);
|
|
182
|
-
o.current = n;
|
|
183
|
-
const L = E(
|
|
184
|
-
() => ({
|
|
185
|
-
setLocale: (a) => {
|
|
186
|
-
Object.prototype.hasOwnProperty.call(S, a) && b.current(a);
|
|
187
|
-
},
|
|
188
|
-
setTheme: (a) => o.current.setTheme(a),
|
|
189
|
-
setAccessibility: (a) => o.current.setAccessibility(a),
|
|
190
|
-
// Read-back. None of the three preferences is recoverable from
|
|
191
|
-
// the DOM: `useTheme` resolves preference + OS into one applied
|
|
192
|
-
// class, so `theme: 'system'` and `theme: 'light'` both paint
|
|
193
|
-
// `.theme-light`. Without these an agent cannot tell a switch
|
|
194
|
-
// that landed from one that was dropped.
|
|
195
|
-
getLocale: () => v.current,
|
|
196
|
-
getTheme: () => o.current.theme,
|
|
197
|
-
getAccessibility: () => o.current.accessibility,
|
|
198
|
-
getResolvedTheme: () => o.current.resolvedTheme
|
|
199
|
-
}),
|
|
200
|
-
[]
|
|
201
|
-
);
|
|
202
|
-
V(U, L, g);
|
|
203
|
-
const x = n.accessibility === "accessible";
|
|
204
|
-
return /* @__PURE__ */ t(
|
|
205
|
-
"div",
|
|
206
|
-
{
|
|
207
|
-
ref: y,
|
|
208
|
-
"data-component": "header-settings",
|
|
209
|
-
"data-component-id": g,
|
|
210
|
-
className: W({ align: h, className: k }),
|
|
211
|
-
...A,
|
|
212
|
-
children: /* @__PURE__ */ p(r.Root, { children: [
|
|
213
|
-
/* @__PURE__ */ t(r.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
|
|
214
|
-
l,
|
|
215
|
-
{
|
|
216
|
-
size: w,
|
|
217
|
-
disabled: T,
|
|
218
|
-
icon: /* @__PURE__ */ t(D, { "aria-hidden": !0 }),
|
|
219
|
-
"aria-label": i("navigation.headerSettings.trigger")
|
|
220
|
-
}
|
|
221
|
-
) }),
|
|
222
|
-
/* @__PURE__ */ t(r.Portal, { children: /* @__PURE__ */ p(
|
|
223
|
-
r.Content,
|
|
224
|
-
{
|
|
225
|
-
align: h,
|
|
226
|
-
sideOffset: 8,
|
|
227
|
-
className: Y,
|
|
228
|
-
onKeyDownCapture: (a) => {
|
|
229
|
-
const d = a.target;
|
|
230
|
-
(d == null ? void 0 : d.tagName) === "INPUT" && // Always allow Escape so the menu can close.
|
|
231
|
-
a.key !== "Escape" && a.stopPropagation();
|
|
232
|
-
},
|
|
233
|
-
children: [
|
|
234
|
-
/* @__PURE__ */ t(r.Label, { children: i("navigation.headerSettings.language.label") }),
|
|
235
|
-
/* @__PURE__ */ t(
|
|
236
|
-
"div",
|
|
237
|
-
{
|
|
238
|
-
role: "group",
|
|
239
|
-
"aria-label": i("navigation.headerSettings.language.label"),
|
|
240
|
-
className: [
|
|
241
|
-
"ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
|
|
242
|
-
// Stretch the compact LocalePicker to the full menu
|
|
243
|
-
// width so it reads as a single row affordance (not
|
|
244
|
-
// a centred pill). The picker's root is
|
|
245
|
-
// inline-flex; the `*:` child selector + `flex-1`
|
|
246
|
-
// gives it `flex: 1 1 0%` once it's a child of the
|
|
247
|
-
// flex container we make this div into.
|
|
248
|
-
"ds:flex ds:[&>*]:flex-1"
|
|
249
|
-
].join(" "),
|
|
250
|
-
children: /* @__PURE__ */ t(j, { variant: "compact", popoverSide: "end" })
|
|
251
|
-
}
|
|
252
|
-
),
|
|
253
|
-
/* @__PURE__ */ t(r.Separator, {}),
|
|
254
|
-
/* @__PURE__ */ t(r.Label, { children: i("navigation.headerSettings.appearance.label") }),
|
|
255
|
-
/* @__PURE__ */ t(
|
|
256
|
-
"div",
|
|
257
|
-
{
|
|
258
|
-
role: "group",
|
|
259
|
-
"aria-label": i("navigation.headerSettings.appearance.label"),
|
|
260
|
-
className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
|
|
261
|
-
children: /* @__PURE__ */ p(
|
|
262
|
-
M,
|
|
263
|
-
{
|
|
264
|
-
role: "radiogroup",
|
|
265
|
-
mode: "toggle-single",
|
|
266
|
-
size: "sm",
|
|
267
|
-
"aria-label": i("navigation.headerSettings.appearance.label"),
|
|
268
|
-
value: n.theme,
|
|
269
|
-
onValueChange: (a) => n.setTheme(a),
|
|
270
|
-
children: [
|
|
271
|
-
/* @__PURE__ */ t(
|
|
272
|
-
l,
|
|
273
|
-
{
|
|
274
|
-
icon: /* @__PURE__ */ t(q, { "aria-hidden": !0 }),
|
|
275
|
-
"aria-label": i("navigation.headerSettings.appearance.light"),
|
|
276
|
-
value: "light"
|
|
277
|
-
}
|
|
278
|
-
),
|
|
279
|
-
/* @__PURE__ */ t(
|
|
280
|
-
l,
|
|
281
|
-
{
|
|
282
|
-
icon: /* @__PURE__ */ t(z, { "aria-hidden": !0 }),
|
|
283
|
-
"aria-label": i("navigation.headerSettings.appearance.dark"),
|
|
284
|
-
value: "dark"
|
|
285
|
-
}
|
|
286
|
-
),
|
|
287
|
-
/* @__PURE__ */ t(
|
|
288
|
-
l,
|
|
289
|
-
{
|
|
290
|
-
icon: /* @__PURE__ */ t(F, { "aria-hidden": !0 }),
|
|
291
|
-
"aria-label": i(
|
|
292
|
-
"navigation.headerSettings.appearance.system"
|
|
293
|
-
),
|
|
294
|
-
value: "system"
|
|
295
|
-
}
|
|
296
|
-
)
|
|
297
|
-
]
|
|
298
|
-
}
|
|
299
|
-
)
|
|
300
|
-
}
|
|
301
|
-
),
|
|
302
|
-
/* @__PURE__ */ t(r.Separator, {}),
|
|
303
|
-
/* @__PURE__ */ t(
|
|
304
|
-
"div",
|
|
305
|
-
{
|
|
306
|
-
role: "group",
|
|
307
|
-
"aria-label": i(
|
|
308
|
-
"navigation.headerSettings.appearance.accessible"
|
|
309
|
-
),
|
|
310
|
-
className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
|
|
311
|
-
children: /* @__PURE__ */ t(
|
|
312
|
-
N,
|
|
313
|
-
{
|
|
314
|
-
label: i("navigation.headerSettings.appearance.accessible"),
|
|
315
|
-
labelSide: "start",
|
|
316
|
-
size: "sm",
|
|
317
|
-
checked: x,
|
|
318
|
-
onCheckedChange: (a) => n.setAccessibility(a ? "accessible" : "default")
|
|
319
|
-
}
|
|
320
|
-
)
|
|
321
|
-
}
|
|
322
|
-
)
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
) })
|
|
326
|
-
] })
|
|
327
|
-
}
|
|
328
|
-
);
|
|
329
|
-
}
|
|
330
|
-
);
|
|
331
|
-
J.displayName = "HeaderSettings";
|
|
332
|
-
export {
|
|
333
|
-
J as H
|
|
334
|
-
};
|
|
335
|
-
//# sourceMappingURL=header-settings-ZXa6hXuu.js.map
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as p } from "react";
|
|
3
|
-
import { c as u } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { A as m } from "./armchair-BaLDW6Hz.js";
|
|
5
|
-
const h = u(
|
|
6
|
-
[
|
|
7
|
-
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
8
|
-
"ds:max-w-full",
|
|
9
|
-
// No pill: the label sits on the page ink, so it is legible in all
|
|
10
|
-
// four themes without knowing the resource colour.
|
|
11
|
-
"ds:text-[color:var(--foreground)]",
|
|
12
|
-
"type-eyebrow ds:[--type-eyebrow-size:var(--font-size-2xs)]"
|
|
13
|
-
].join(" "),
|
|
14
|
-
{
|
|
15
|
-
variants: {
|
|
16
|
-
orientation: {
|
|
17
|
-
// Disc above, name beneath — the stack spends the header's
|
|
18
|
-
// block axis, which is the one a resource column has to spare.
|
|
19
|
-
horizontal: "ds:flex-col",
|
|
20
|
-
// column-REVERSE: the label writes bottom-to-top (the kit's
|
|
21
|
-
// rotated-label direction), so the glyph circle must sit at the
|
|
22
|
-
// BLOCK-END — the start of the reading flow — while keeping
|
|
23
|
-
// circle-first DOM order in both orientations.
|
|
24
|
-
vertical: "ds:flex-col-reverse"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
defaultVariants: { orientation: "horizontal" }
|
|
28
|
-
}
|
|
29
|
-
), f = p(
|
|
30
|
-
({ label: o, color: s, icon: i, orientation: r, className: a, style: t, ...c }, d) => {
|
|
31
|
-
const n = s ? { "--resource-chip-color": s } : void 0;
|
|
32
|
-
return /* @__PURE__ */ l(
|
|
33
|
-
"span",
|
|
34
|
-
{
|
|
35
|
-
ref: d,
|
|
36
|
-
...c,
|
|
37
|
-
"data-component": "resource-chip",
|
|
38
|
-
"data-orientation": r ?? "horizontal",
|
|
39
|
-
className: h({ orientation: r, className: a }),
|
|
40
|
-
style: t,
|
|
41
|
-
children: [
|
|
42
|
-
/* @__PURE__ */ e(
|
|
43
|
-
"span",
|
|
44
|
-
{
|
|
45
|
-
className: [
|
|
46
|
-
"ds:flex ds:size-6 ds:shrink-0 ds:items-center ds:justify-center",
|
|
47
|
-
/* Hairline ring, NOT 1.5px: the Lucide glyph is a 24-unit
|
|
48
|
-
icon at stroke-width 2 drawn at 14px, so its strokes land
|
|
49
|
-
at ~1.17px — a 1.5px ring is visibly HEAVIER than the
|
|
50
|
-
glyph it encloses, and a fractional width on a full-radius
|
|
51
|
-
circle antialiases unevenly around the curve. 1px sits
|
|
52
|
-
just under the glyph weight and matches the kit's other
|
|
53
|
-
indicator disc. */
|
|
54
|
-
"ds:rounded-full ds:border ds:[&_svg]:size-3.5",
|
|
55
|
-
// Seeded default; the inline setter wins when a colour is given.
|
|
56
|
-
"ds:[--resource-chip-color:var(--muted-foreground)]",
|
|
57
|
-
"ds:[--resource-chip-ink:color-mix(in_srgb,var(--resource-chip-color)_70%,var(--foreground))]",
|
|
58
|
-
"ds:[background-color:color-mix(in_srgb,var(--resource-chip-color)_16%,transparent)]",
|
|
59
|
-
"ds:[border-color:var(--resource-chip-ink)]",
|
|
60
|
-
"ds:[color:var(--resource-chip-ink)]"
|
|
61
|
-
].join(" "),
|
|
62
|
-
style: n,
|
|
63
|
-
"aria-hidden": "true",
|
|
64
|
-
children: i ?? /* @__PURE__ */ e(m, {})
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ e(
|
|
68
|
-
"span",
|
|
69
|
-
{
|
|
70
|
-
className: r === "vertical" ? "ds:truncate ds:text-start ds:[writing-mode:vertical-rl] ds:rotate-180 ds:[max-inline-size:6.5rem]" : "ds:truncate ds:text-center ds:[max-inline-size:100%]",
|
|
71
|
-
children: o
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
f.displayName = "ResourceChip";
|
|
80
|
-
export {
|
|
81
|
-
f as R
|
|
82
|
-
};
|
|
83
|
-
//# sourceMappingURL=resource-chip-DYTG0IQQ.js.map
|