@alfadocs/ui-kit 1.67.0 → 1.69.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/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
- package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-DEMMoefU.js} +4 -4
- package/dist/_chunks/{anamnesis-card-CsUBOG32.js → anamnesis-card-Bey9qQu4.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-rNwSrNWZ.js} +393 -389
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-CpcqB8oO.js} +3 -3
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-Ct8_454k.js} +18 -18
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-C2VXQMoB.js} +3 -3
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{code-block-vwEv1jEa.js → code-block-RSKdF3E-.js} +35 -35
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/{connection-status--wYsgreh.js → connection-status-BOZC5QU5.js} +2 -2
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{description-list-Q8640NHu.js → description-list-DQQ2OA_t.js} +68 -66
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-D5c7FBlT.js} +526 -510
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-qWOsn1MX.js} +5 -5
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-CAl5ydtX.js} +5 -5
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-BhuRh9AE.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{payment-request-card-0DjQgVgX.js → payment-request-card-bysjRZrP.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-sbsVmmCA.js} +30 -8
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{streaming-text-zFViGexf.js → streaming-text-DbqKTsmj.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-1gjZuup4.js} +13 -13
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/_chunks/workflow-webhook-action-Ct8tFYi7.js +691 -0
- package/dist/agent-catalog.json +271 -4
- package/dist/agent-i18n/en.json +34 -1
- package/dist/components/_shared/code-block.d.ts +6 -0
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/option.d.ts +1 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +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/alert/alert.d.ts +26 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +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/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/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/country-select/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/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/editable-description/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +5 -2
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +51 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +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-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress-notice/index.d.ts +3 -0
- package/dist/components/progress-notice/index.js +6 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -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/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/timeline/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +81 -76
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/i18n/locales/ar.d.ts +77 -0
- package/dist/i18n/locales/ar.js +77 -0
- package/dist/i18n/locales/de.d.ts +77 -0
- package/dist/i18n/locales/de.js +77 -0
- package/dist/i18n/locales/el.d.ts +77 -0
- package/dist/i18n/locales/el.js +77 -0
- package/dist/i18n/locales/en.d.ts +77 -0
- package/dist/i18n/locales/en.js +77 -0
- package/dist/i18n/locales/es.d.ts +77 -0
- package/dist/i18n/locales/es.js +77 -0
- package/dist/i18n/locales/fr.d.ts +77 -0
- package/dist/i18n/locales/fr.js +77 -0
- package/dist/i18n/locales/hi.d.ts +77 -0
- package/dist/i18n/locales/hi.js +77 -0
- package/dist/i18n/locales/it.d.ts +77 -0
- package/dist/i18n/locales/it.js +77 -0
- package/dist/i18n/locales/ja.d.ts +77 -0
- package/dist/i18n/locales/ja.js +77 -0
- package/dist/i18n/locales/nl.d.ts +77 -0
- package/dist/i18n/locales/nl.js +77 -0
- package/dist/i18n/locales/pl.d.ts +77 -0
- package/dist/i18n/locales/pl.js +77 -0
- package/dist/i18n/locales/pt.d.ts +77 -0
- package/dist/i18n/locales/pt.js +77 -0
- package/dist/i18n/locales/ro.d.ts +77 -0
- package/dist/i18n/locales/ro.js +77 -0
- package/dist/i18n/locales/ru.d.ts +77 -0
- package/dist/i18n/locales/ru.js +77 -0
- package/dist/i18n/locales/sq.d.ts +77 -0
- package/dist/i18n/locales/sq.js +77 -0
- package/dist/i18n/locales/sv.d.ts +77 -0
- package/dist/i18n/locales/sv.js +77 -0
- package/dist/i18n/locales/tr.d.ts +77 -0
- package/dist/i18n/locales/tr.js +77 -0
- package/dist/i18n/locales/zh.d.ts +77 -0
- package/dist/i18n/locales/zh.js +77 -0
- package/dist/index.js +1197 -1183
- package/dist/locales/ar.json +77 -0
- package/dist/locales/de.json +77 -0
- package/dist/locales/el.json +77 -0
- package/dist/locales/en.json +77 -0
- package/dist/locales/es.json +77 -0
- package/dist/locales/fr.json +77 -0
- package/dist/locales/hi.json +77 -0
- package/dist/locales/it.json +77 -0
- package/dist/locales/ja.json +77 -0
- package/dist/locales/nl.json +77 -0
- package/dist/locales/pl.json +77 -0
- package/dist/locales/pt.json +77 -0
- package/dist/locales/ro.json +77 -0
- package/dist/locales/ru.json +77 -0
- package/dist/locales/sq.json +77 -0
- package/dist/locales/sv.json +77 -0
- package/dist/locales/tr.json +77 -0
- package/dist/locales/zh.json +77 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/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/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.d.ts +3 -0
- package/dist/patterns/workflow-webhook-action/index.js +6 -0
- package/dist/patterns/workflow-webhook-action/workflow-webhook-action.d.ts +93 -0
- package/dist/tokens.css +1 -1
- package/package.json +13 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { jsx as u, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as me, useMemo as L, isValidElement as g, useEffect as N, useState as v, useRef as m, useCallback as ge, Fragment as Q, cloneElement as he, Children as ve } from "react";
|
|
3
|
+
import { c as T } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ye } from "react-i18next";
|
|
5
|
+
import { u as we } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
+
import { c as J, d as be } from "./use-dismissed-CTOWqA0e.js";
|
|
7
|
+
import { i as xe } from "./is-development-CLUAnsU7.js";
|
|
8
|
+
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { A as U } from "./alert-9kEwDza3.js";
|
|
10
|
+
import { C as ke, b as Se, a as Ge } from "./collapsible-DVPM46bq.js";
|
|
11
|
+
import { P as Ne } from "./progress-notice-DiHWZ8Ms.js";
|
|
12
|
+
import { C as Te } from "./chevron-down-DWE7GSq9.js";
|
|
13
|
+
const Oe = {
|
|
14
|
+
id: "notice-group",
|
|
15
|
+
capabilities: ["expand"],
|
|
16
|
+
state: {
|
|
17
|
+
noteCount: {
|
|
18
|
+
type: "number",
|
|
19
|
+
descriptionKey: "ui.agent.noticeGroup.state.noteCount",
|
|
20
|
+
description: "How many folding notes (not errors or progress notices) are still shown, dismissed ones excluded.",
|
|
21
|
+
read: (s) => s.getState().noteCount
|
|
22
|
+
},
|
|
23
|
+
grouped: {
|
|
24
|
+
type: "boolean",
|
|
25
|
+
descriptionKey: "ui.agent.noticeGroup.state.grouped",
|
|
26
|
+
description: "True while the notes sit behind one summary row (two or more notes).",
|
|
27
|
+
read: (s) => s.getState().grouped
|
|
28
|
+
},
|
|
29
|
+
open: {
|
|
30
|
+
type: "boolean",
|
|
31
|
+
descriptionKey: "ui.agent.noticeGroup.state.open",
|
|
32
|
+
description: "Whether the summary row is open (expanded), so every note is visible.",
|
|
33
|
+
read: (s) => s.getState().open
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
actions: {
|
|
37
|
+
set_open: {
|
|
38
|
+
// Shows or hides notes already on the page; changes no data.
|
|
39
|
+
safety: "read",
|
|
40
|
+
argsType: "open",
|
|
41
|
+
argsSchema: {
|
|
42
|
+
type: "object",
|
|
43
|
+
properties: {
|
|
44
|
+
open: {
|
|
45
|
+
type: "boolean",
|
|
46
|
+
description: "True to show every note, false to fold them."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
required: ["open"]
|
|
50
|
+
},
|
|
51
|
+
returns: "boolean (applied)",
|
|
52
|
+
returnsSchema: {
|
|
53
|
+
type: "boolean",
|
|
54
|
+
description: "True when applied (with a controlled open, when asked of the host); false when there is no summary row (fewer than two notes)."
|
|
55
|
+
},
|
|
56
|
+
idempotent: !0,
|
|
57
|
+
errors: ["Fewer than two notes (grouped is false): returns false."],
|
|
58
|
+
descriptionKey: "ui.agent.noticeGroup.actions.setOpen",
|
|
59
|
+
description: "Open (expand) or fold the notes behind the summary row. With a controlled open the host decides.",
|
|
60
|
+
invoke: (s, o) => s.setOpen(o.open)
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
domHooks: {
|
|
64
|
+
root: {
|
|
65
|
+
attr: "data-component",
|
|
66
|
+
value: "notice-group",
|
|
67
|
+
description: 'Marks the NoticeGroup. Carries data-grouped="true" while the notes fold behind the summary row, whose Alert carries data-notice-group-summary.'
|
|
68
|
+
},
|
|
69
|
+
instanceId: {
|
|
70
|
+
attr: "data-component-id",
|
|
71
|
+
sourceProp: "id",
|
|
72
|
+
description: "Sourced from the id prop."
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}, Re = T(
|
|
76
|
+
[
|
|
77
|
+
"ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
78
|
+
"ds:rounded-[var(--radius-md)]",
|
|
79
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
80
|
+
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
81
|
+
].join(" ")
|
|
82
|
+
), Ae = T("ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", {
|
|
83
|
+
variants: {
|
|
84
|
+
grouped: {
|
|
85
|
+
true: "ds:pt-[var(--spacing-sm)]",
|
|
86
|
+
false: ""
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
defaultVariants: { grouped: !1 }
|
|
90
|
+
}), Ee = T(
|
|
91
|
+
[
|
|
92
|
+
"ds:flex ds:w-full ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]",
|
|
93
|
+
"ds:-my-[var(--spacing-sm)] ds:min-h-[var(--min-target-size)]",
|
|
94
|
+
"ds:rounded-[var(--radius-sm)] ds:text-start type-body-sm ds:font-semibold ds:text-current",
|
|
95
|
+
"ds:cursor-pointer ds:hover:underline ds:underline-offset-2",
|
|
96
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
97
|
+
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
98
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
99
|
+
"ds:[&_svg]:size-4 ds:[&_svg]:shrink-0",
|
|
100
|
+
"ds:[&_svg]:transition-transform ds:[&_svg]:duration-[var(--animation-duration)] ds:motion-reduce:[&_svg]:transition-none",
|
|
101
|
+
"ds:data-[state=open]:[&_svg]:rotate-180"
|
|
102
|
+
].join(" ")
|
|
103
|
+
);
|
|
104
|
+
function X(s, o = []) {
|
|
105
|
+
return ve.forEach(s, (r) => {
|
|
106
|
+
g(r) && r.type === Q ? X(r.props.children, o) : r != null && r !== !1 && o.push(r);
|
|
107
|
+
}), o;
|
|
108
|
+
}
|
|
109
|
+
function Ke(s) {
|
|
110
|
+
return X(s).map((o, r) => {
|
|
111
|
+
const p = g(o) && o.key !== null ? `key:${o.key}` : `at:${r}`;
|
|
112
|
+
if (g(o) && o.type === U) {
|
|
113
|
+
const y = o.props;
|
|
114
|
+
return {
|
|
115
|
+
identity: p,
|
|
116
|
+
element: o,
|
|
117
|
+
notice: o,
|
|
118
|
+
folds: y.variant !== "error"
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
return g(o) && o.type === Ne ? {
|
|
122
|
+
identity: p,
|
|
123
|
+
element: o,
|
|
124
|
+
notice: o,
|
|
125
|
+
folds: !1
|
|
126
|
+
} : { identity: p, element: o, folds: !1 };
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
const je = me(
|
|
130
|
+
({
|
|
131
|
+
children: s,
|
|
132
|
+
summary: o,
|
|
133
|
+
open: r,
|
|
134
|
+
defaultOpen: p = !1,
|
|
135
|
+
onOpenChange: y,
|
|
136
|
+
id: O,
|
|
137
|
+
className: Y,
|
|
138
|
+
...Z
|
|
139
|
+
}, f) => {
|
|
140
|
+
var H;
|
|
141
|
+
const { t: R } = ye("ui"), [ee, w] = we({
|
|
142
|
+
value: r,
|
|
143
|
+
defaultValue: p,
|
|
144
|
+
onChange: y
|
|
145
|
+
}), b = ee ?? !1, c = L(() => Ke(s), [s]), A = c.filter(
|
|
146
|
+
(e) => !e.notice && g(e.element)
|
|
147
|
+
).length, E = c.filter((e) => e.notice), K = E.length > 1 && E.some((e) => e.identity.startsWith("at:"));
|
|
148
|
+
N(() => {
|
|
149
|
+
xe() && (A > 0 && console.warn(
|
|
150
|
+
"NoticeGroup: pass Alert and ProgressNotice elements directly. A component of your own that renders one shows as given and is never grouped."
|
|
151
|
+
), K && console.warn(
|
|
152
|
+
"NoticeGroup: give every notice a `key`, so a closed notice stays closed when the notices around it change."
|
|
153
|
+
));
|
|
154
|
+
}, [A, K]);
|
|
155
|
+
const oe = c.map(
|
|
156
|
+
(e) => e.notice ? J(
|
|
157
|
+
e.notice.props.dismissKey
|
|
158
|
+
) : void 0
|
|
159
|
+
), te = be(oe), [j, _] = v(() => /* @__PURE__ */ new Set());
|
|
160
|
+
N(() => {
|
|
161
|
+
_((e) => {
|
|
162
|
+
if (e.size === 0) return e;
|
|
163
|
+
const n = new Set(c.map((a) => a.identity)), t = new Set([...e].filter((a) => n.has(a)));
|
|
164
|
+
return t.size === e.size ? e : t;
|
|
165
|
+
});
|
|
166
|
+
}, [c]);
|
|
167
|
+
const V = c.map((e, n) => e.notice ? e.notice.props.open !== !1 && !te[n] && !j.has(e.identity) : !0), x = m(null), ne = ge(
|
|
168
|
+
(e) => {
|
|
169
|
+
x.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
|
|
170
|
+
},
|
|
171
|
+
[f]
|
|
172
|
+
), z = (e) => [...e.querySelectorAll("[data-alert-dismiss]")].filter(
|
|
173
|
+
(n) => !n.closest("[hidden]")
|
|
174
|
+
), C = m(null), [se, re] = v(0);
|
|
175
|
+
N(() => {
|
|
176
|
+
const e = C.current;
|
|
177
|
+
if (e === null) return;
|
|
178
|
+
C.current = null;
|
|
179
|
+
const n = x.current;
|
|
180
|
+
if (!n) return;
|
|
181
|
+
const t = z(n);
|
|
182
|
+
(t[Math.min(e, t.length - 1)] ?? n.querySelector("[data-notice-group-summary] button") ?? n).focus();
|
|
183
|
+
}, [se]);
|
|
184
|
+
const ie = (e) => {
|
|
185
|
+
if (!e.notice) return e.element;
|
|
186
|
+
const n = e.notice, t = n.props, a = e.folds && t.announce === void 0 && t.live === void 0;
|
|
187
|
+
return he(n, {
|
|
188
|
+
...a ? { announce: "off" } : {},
|
|
189
|
+
onOpenChange: (M) => {
|
|
190
|
+
var $;
|
|
191
|
+
if (($ = t.onOpenChange) == null || $.call(t, M), M) return;
|
|
192
|
+
t.open === void 0 && J(t.dismissKey) === void 0 && _((G) => new Set(G).add(e.identity));
|
|
193
|
+
const P = x.current, W = typeof document > "u" ? null : document.activeElement, I = P && W instanceof HTMLElement ? z(P).indexOf(W) : -1;
|
|
194
|
+
I !== -1 && (C.current = I, re((G) => G + 1));
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
}, F = [], q = [];
|
|
198
|
+
let d = 0, l = 0;
|
|
199
|
+
c.forEach((e, n) => {
|
|
200
|
+
var a;
|
|
201
|
+
if (j.has(e.identity)) return;
|
|
202
|
+
const t = /* @__PURE__ */ u(Q, { children: ie(e) }, e.identity);
|
|
203
|
+
if (!e.folds) {
|
|
204
|
+
F.push(t);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
q.push(t), V[n] && (d += 1, ((a = e.notice) == null ? void 0 : a.props).variant === "warning" && (l += 1));
|
|
208
|
+
});
|
|
209
|
+
const i = d > 1, ae = V.some(Boolean), B = m(null), k = m(!1), [ce, de] = v(i), [ue, D] = v(!1);
|
|
210
|
+
if (ce !== i) {
|
|
211
|
+
de(i);
|
|
212
|
+
const e = typeof document > "u" ? null : document.activeElement;
|
|
213
|
+
D(
|
|
214
|
+
i && k.current && (e === null || e === document.body || !!((H = B.current) != null && H.contains(e)))
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
const le = i ? b || ue : !0, S = m({ noteCount: d, grouped: i, open: b });
|
|
218
|
+
S.current = { noteCount: d, grouped: i, open: b };
|
|
219
|
+
const pe = L(
|
|
220
|
+
() => ({
|
|
221
|
+
getState: () => ({ ...S.current }),
|
|
222
|
+
setOpen: (e) => S.current.grouped ? (w(e), !0) : !1
|
|
223
|
+
}),
|
|
224
|
+
[w]
|
|
225
|
+
);
|
|
226
|
+
if (Ce(Oe, pe, O), !ae) return null;
|
|
227
|
+
const fe = typeof o == "function" ? o(d, l) : o ?? R("noticeGroup.summary", { count: d });
|
|
228
|
+
return /* @__PURE__ */ h(
|
|
229
|
+
"div",
|
|
230
|
+
{
|
|
231
|
+
ref: ne,
|
|
232
|
+
"data-component": "notice-group",
|
|
233
|
+
"data-component-id": O,
|
|
234
|
+
"data-grouped": i || void 0,
|
|
235
|
+
tabIndex: -1,
|
|
236
|
+
className: [Re(), Y].filter(Boolean).join(" "),
|
|
237
|
+
...Z,
|
|
238
|
+
children: [
|
|
239
|
+
F,
|
|
240
|
+
d > 0 ? /* @__PURE__ */ h(
|
|
241
|
+
ke,
|
|
242
|
+
{
|
|
243
|
+
open: le,
|
|
244
|
+
onOpenChange: (e) => {
|
|
245
|
+
i && (D(!1), w(e));
|
|
246
|
+
},
|
|
247
|
+
children: [
|
|
248
|
+
i ? /* @__PURE__ */ u(
|
|
249
|
+
U,
|
|
250
|
+
{
|
|
251
|
+
variant: l > 0 ? "warning" : "info",
|
|
252
|
+
announce: "off",
|
|
253
|
+
"data-notice-group-summary": "",
|
|
254
|
+
children: /* @__PURE__ */ h(Se, { className: Ee(), children: [
|
|
255
|
+
/* @__PURE__ */ h("span", { className: "ds:flex ds:min-w-0 ds:flex-wrap ds:items-baseline ds:gap-x-[var(--spacing-sm)]", children: [
|
|
256
|
+
/* @__PURE__ */ u("span", { children: fe }),
|
|
257
|
+
l > 0 ? " " : null,
|
|
258
|
+
l > 0 ? /* @__PURE__ */ u("span", { className: "ds:font-normal", children: R("noticeGroup.warnings", { count: l }) }) : null
|
|
259
|
+
] }),
|
|
260
|
+
/* @__PURE__ */ u(Te, { "aria-hidden": "true" })
|
|
261
|
+
] })
|
|
262
|
+
}
|
|
263
|
+
) : null,
|
|
264
|
+
/* @__PURE__ */ u(Ge, { children: /* @__PURE__ */ u(
|
|
265
|
+
"div",
|
|
266
|
+
{
|
|
267
|
+
ref: B,
|
|
268
|
+
className: Ae({ grouped: i }),
|
|
269
|
+
onFocus: () => {
|
|
270
|
+
k.current = !0;
|
|
271
|
+
},
|
|
272
|
+
onBlur: (e) => {
|
|
273
|
+
e.currentTarget.contains(e.relatedTarget) || (k.current = !1);
|
|
274
|
+
},
|
|
275
|
+
children: q
|
|
276
|
+
}
|
|
277
|
+
) })
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
) : null
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
);
|
|
286
|
+
je.displayName = "NoticeGroup";
|
|
287
|
+
export {
|
|
288
|
+
je as N,
|
|
289
|
+
Oe as n
|
|
290
|
+
};
|
|
291
|
+
//# sourceMappingURL=notice-group-DkYzKyAZ.js.map
|
|
@@ -9,7 +9,7 @@ import { u as me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
|
9
9
|
import { I as ue } from "./icon-button-C_1TgRiK.js";
|
|
10
10
|
import { B as A } from "./button-D-MQxsA_.js";
|
|
11
11
|
import { S as F } from "./separator-CYU_bGFn.js";
|
|
12
|
-
import { S as T } from "./skeleton-
|
|
12
|
+
import { S as T } from "./skeleton-tTWJpvAq.js";
|
|
13
13
|
import { C as ge } from "./counter-WsvRuum1.js";
|
|
14
14
|
import { S as ve } from "./scroll-area-CY5SLYNw.js";
|
|
15
15
|
import { N as he } from "./notification-card-c2oX8j3F.js";
|
|
@@ -503,4 +503,4 @@ export {
|
|
|
503
503
|
ke as N,
|
|
504
504
|
Te as n
|
|
505
505
|
};
|
|
506
|
-
//# sourceMappingURL=notification-tray-
|
|
506
|
+
//# sourceMappingURL=notification-tray-Cp18MW5b.js.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
6
|
-
import { B as
|
|
7
|
-
import { C as
|
|
8
|
-
import { R as
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
|
|
2
|
+
import { forwardRef as O, useId as P, useRef as z } from "react";
|
|
3
|
+
import { c as j } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as I } from "react-i18next";
|
|
5
|
+
import { A as T } from "./avatar-BPiPL7ND.js";
|
|
6
|
+
import { B as V } from "./badge-BUk4RjTS.js";
|
|
7
|
+
import { C as B } from "./card-BA4Ig_kn.js";
|
|
8
|
+
import { R as K } from "./rating-CGYpg5dj.js";
|
|
9
|
+
import { f as S } from "./format-number-DdzqwMs1.js";
|
|
10
|
+
import { u as E } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
+
import { u as M } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { c as W } from "./entity-card-fpm-KUKc.js";
|
|
13
|
+
const $ = {
|
|
13
14
|
id: "operator-hero",
|
|
14
15
|
// Purely observable hero region — no interactive affordances and no
|
|
15
16
|
// imperative actions on the handle (getName / getHasColor are read-only
|
|
@@ -43,7 +44,7 @@ const V = {
|
|
|
43
44
|
description: "Sourced from the id prop."
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
},
|
|
47
|
+
}, q = j("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
47
48
|
variants: {
|
|
48
49
|
// Density toggle. Default `comfortable` matches the practice hero's
|
|
49
50
|
// visual weight minus the cover strip. `compact` is for embedded
|
|
@@ -64,49 +65,51 @@ const V = {
|
|
|
64
65
|
density: "comfortable",
|
|
65
66
|
surface: "elevated"
|
|
66
67
|
}
|
|
67
|
-
}),
|
|
68
|
+
}), D = O(
|
|
68
69
|
({
|
|
69
70
|
name: r,
|
|
70
71
|
colorId: l,
|
|
71
72
|
tagline: p,
|
|
72
|
-
imageUrl:
|
|
73
|
+
imageUrl: x,
|
|
73
74
|
rating: a,
|
|
74
75
|
badges: i,
|
|
75
76
|
actionSlot: m,
|
|
76
77
|
density: s = "comfortable",
|
|
77
78
|
surface: u = "elevated",
|
|
78
|
-
"aria-label":
|
|
79
|
+
"aria-label": b,
|
|
79
80
|
id: n,
|
|
80
|
-
className:
|
|
81
|
-
...
|
|
82
|
-
},
|
|
83
|
-
const { t: c } =
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
className: y,
|
|
82
|
+
...N
|
|
83
|
+
}, H) => {
|
|
84
|
+
const { t: c, i18n: C } = I("ui"), f = P(), k = b ?? c("operatorHero.regionLabel"), d = l != null, v = z(null);
|
|
85
|
+
M(
|
|
86
|
+
$,
|
|
86
87
|
{ getName: () => r, getHasColor: () => d },
|
|
87
88
|
n
|
|
88
|
-
),
|
|
89
|
-
const o =
|
|
90
|
-
o && (d ? o.style.setProperty("--operator-hero-color",
|
|
89
|
+
), E(() => {
|
|
90
|
+
const o = v.current;
|
|
91
|
+
o && (d ? o.style.setProperty("--operator-hero-color", W(l)) : o.style.removeProperty("--operator-hero-color"));
|
|
91
92
|
}, [d, l]);
|
|
92
|
-
const C = a ? c("operatorHero.ratingLabel", {
|
|
93
|
-
value:
|
|
93
|
+
const g = a ? S(a.value, C.language) : void 0, R = a ? c("operatorHero.ratingLabel", {
|
|
94
|
+
value: g,
|
|
94
95
|
count: a.count
|
|
95
|
-
}) : void 0,
|
|
96
|
+
}) : void 0, L = s === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", w = s === "comfortable" ? "2xl" : "xl", A = s === "comfortable" ? "type-title-page" : "type-title-card", h = /* @__PURE__ */ t(
|
|
96
97
|
"div",
|
|
97
98
|
{
|
|
98
99
|
className: [
|
|
99
100
|
"ds:flex ds:items-start ds:gap-[var(--spacing-lg)]",
|
|
100
|
-
|
|
101
|
+
L,
|
|
101
102
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
102
103
|
].join(" "),
|
|
103
104
|
children: [
|
|
104
105
|
/* @__PURE__ */ e(
|
|
105
|
-
|
|
106
|
+
T,
|
|
106
107
|
{
|
|
107
|
-
size:
|
|
108
|
+
size: w,
|
|
109
|
+
shape: "rounded",
|
|
110
|
+
ratio: "3:4",
|
|
108
111
|
name: r,
|
|
109
|
-
src:
|
|
112
|
+
src: x,
|
|
110
113
|
className: "ds:shrink-0"
|
|
111
114
|
}
|
|
112
115
|
),
|
|
@@ -115,54 +118,68 @@ const V = {
|
|
|
115
118
|
/* @__PURE__ */ t(
|
|
116
119
|
"h1",
|
|
117
120
|
{
|
|
118
|
-
id:
|
|
119
|
-
className: `${
|
|
121
|
+
id: f,
|
|
122
|
+
className: `${A} ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--foreground)]`,
|
|
120
123
|
children: [
|
|
121
124
|
d ? /* @__PURE__ */ e(
|
|
122
125
|
"span",
|
|
123
126
|
{
|
|
124
|
-
ref:
|
|
127
|
+
ref: v,
|
|
125
128
|
role: "img",
|
|
126
129
|
"aria-label": c("operatorHero.colorLabel", "Calendar colour"),
|
|
127
130
|
className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
|
|
128
131
|
}
|
|
129
132
|
) : null,
|
|
130
|
-
r
|
|
133
|
+
/* @__PURE__ */ e("span", { dir: "auto", children: r })
|
|
131
134
|
]
|
|
132
135
|
}
|
|
133
136
|
),
|
|
134
137
|
m ? /* @__PURE__ */ e("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: m }) : null
|
|
135
138
|
] }),
|
|
136
|
-
p ? /* @__PURE__ */ e(
|
|
137
|
-
|
|
138
|
-
"div",
|
|
139
|
+
p ? /* @__PURE__ */ e(
|
|
140
|
+
"p",
|
|
139
141
|
{
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
children:
|
|
143
|
-
/* @__PURE__ */ e(
|
|
144
|
-
B,
|
|
145
|
-
{
|
|
146
|
-
value: a.value,
|
|
147
|
-
max: 5,
|
|
148
|
-
size: s === "comfortable" ? "md" : "sm"
|
|
149
|
-
}
|
|
150
|
-
),
|
|
151
|
-
/* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
152
|
-
a.value.toFixed(1),
|
|
153
|
-
" · ",
|
|
154
|
-
a.count
|
|
155
|
-
] })
|
|
156
|
-
]
|
|
142
|
+
dir: "auto",
|
|
143
|
+
className: "type-body ds:m-0 ds:text-[color:var(--foreground)]",
|
|
144
|
+
children: p
|
|
157
145
|
}
|
|
158
146
|
) : null,
|
|
147
|
+
a ? (
|
|
148
|
+
// One image with one name ("4,9 out of 5 stars. Reviews: 7."):
|
|
149
|
+
// a name on a div without a role is ignored by screen readers,
|
|
150
|
+
// which then read the stars and "4,9 · 7" with no "reviews".
|
|
151
|
+
/* @__PURE__ */ t(
|
|
152
|
+
"div",
|
|
153
|
+
{
|
|
154
|
+
role: "img",
|
|
155
|
+
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
156
|
+
"aria-label": R,
|
|
157
|
+
children: [
|
|
158
|
+
/* @__PURE__ */ e(
|
|
159
|
+
K,
|
|
160
|
+
{
|
|
161
|
+
value: a.value,
|
|
162
|
+
max: 5,
|
|
163
|
+
size: s === "comfortable" ? "md" : "sm",
|
|
164
|
+
decorative: !0
|
|
165
|
+
}
|
|
166
|
+
),
|
|
167
|
+
/* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
168
|
+
g,
|
|
169
|
+
" · ",
|
|
170
|
+
a.count
|
|
171
|
+
] })
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
)
|
|
175
|
+
) : null,
|
|
159
176
|
i && i.length > 0 ? /* @__PURE__ */ e(
|
|
160
177
|
"div",
|
|
161
178
|
{
|
|
162
179
|
role: "list",
|
|
163
180
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] ds:mt-[var(--spacing-2xs)]",
|
|
164
181
|
children: i.map((o) => /* @__PURE__ */ e(
|
|
165
|
-
|
|
182
|
+
V,
|
|
166
183
|
{
|
|
167
184
|
variant: o.variant ?? "neutral",
|
|
168
185
|
role: "listitem",
|
|
@@ -179,24 +196,24 @@ const V = {
|
|
|
179
196
|
return /* @__PURE__ */ e(
|
|
180
197
|
"div",
|
|
181
198
|
{
|
|
182
|
-
ref:
|
|
199
|
+
ref: H,
|
|
183
200
|
role: "region",
|
|
184
|
-
"aria-label":
|
|
185
|
-
"aria-labelledby":
|
|
201
|
+
"aria-label": k,
|
|
202
|
+
"aria-labelledby": f,
|
|
186
203
|
"data-component": "operator-hero",
|
|
187
204
|
"data-component-id": n,
|
|
188
205
|
"data-density": s,
|
|
189
206
|
id: n,
|
|
190
|
-
className:
|
|
191
|
-
...
|
|
192
|
-
children: u === "elevated" ? /* @__PURE__ */ e(
|
|
207
|
+
className: q({ surface: u, density: s, className: y }),
|
|
208
|
+
...N,
|
|
209
|
+
children: u === "elevated" ? /* @__PURE__ */ e(B, { variant: "elevated", children: h }) : h
|
|
193
210
|
}
|
|
194
211
|
);
|
|
195
212
|
}
|
|
196
213
|
);
|
|
197
|
-
|
|
214
|
+
D.displayName = "OperatorHero";
|
|
198
215
|
export {
|
|
199
|
-
|
|
200
|
-
|
|
216
|
+
D as O,
|
|
217
|
+
$ as o
|
|
201
218
|
};
|
|
202
|
-
//# sourceMappingURL=operator-hero-
|
|
219
|
+
//# sourceMappingURL=operator-hero-6aAIQaFZ.js.map
|