@alfadocs/ui-kit 0.70.0 → 0.71.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-CPbFJ8e8.js +246 -0
- package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-V4DdOeqv.js} +2 -2
- package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-DvIUzIX9.js} +107 -106
- package/dist/_chunks/{anatomy-scheme-CJB6dI6p.js → anatomy-scheme-CXSk11UJ.js} +2 -2
- package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
- package/dist/_chunks/{appointment-card-C06aZqA7.js → appointment-card-DVaeJNVB.js} +82 -98
- package/dist/_chunks/{appointment-timeline-BJM0S_Fg.js → appointment-timeline-PJgnrjFb.js} +159 -157
- package/dist/_chunks/{appointment-tray-DRRw5ROi.js → appointment-tray-B16QPGbm.js} +2 -2
- package/dist/_chunks/{audio-recorder-Cpdk5qpQ.js → audio-recorder-DNDsOLqO.js} +2 -2
- package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
- package/dist/_chunks/{bishop-score-DnYWtZa_.js → bishop-score-Cym_TeQY.js} +2 -2
- package/dist/_chunks/{booking-DUBI0oqt.js → booking-C7do4vaR.js} +4 -4
- package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
- package/dist/_chunks/{care-plan-card-C5sTfY9G.js → care-plan-card-DzPDYgtK.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CXnxGCWA.js → care-plan-entry-card-CEnQy7YP.js} +3 -3
- package/dist/_chunks/care-plan-header-DcXFXWit.js +198 -0
- package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DzpcJR-q.js} +25 -23
- package/dist/_chunks/city-input-Dkgaak7I.js +169 -0
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +25 -0
- package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DnqSF0IH.js} +131 -114
- package/dist/_chunks/connection-status-CY1HV8Wg.js +108 -0
- package/dist/_chunks/control-room-rail-FAQZrGVL.js +333 -0
- package/dist/_chunks/country-select-BwUZQvTa.js +709 -0
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +410 -0
- package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
- package/dist/_chunks/entity-summary-CaM1Y-xE.js +291 -0
- package/dist/_chunks/field-array-siUZzfYe.js +146 -0
- package/dist/_chunks/{field-value-NXYczdpO.js → field-value-3jMM0uDx.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CF2ISaYQ.js → gestational-age-calculator-DKzEV5Qi.js} +2 -2
- package/dist/_chunks/iban-input-B0TWzR1R.js +436 -0
- package/dist/_chunks/icon-picker-0B7KhrF1.js +272 -0
- package/dist/_chunks/image-cropper-D9jqJy19.js +367 -0
- package/dist/_chunks/{link-cell-renderer-CTXqtXV-.js → link-cell-renderer-De_SLjSq.js} +262 -261
- package/dist/_chunks/list-checks-BUs75d_o.js +18 -0
- package/dist/_chunks/{marketplace-app-shell-Skhfp6vK.js → marketplace-app-shell-BGqkywsi.js} +3 -3
- package/dist/_chunks/message-card-DsHFFiL1.js +319 -0
- package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-C0a6CL1_.js} +172 -135
- package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-WE4S9FIF.js} +75 -63
- package/dist/_chunks/nav-grid-9xphY3FM.js +169 -0
- package/dist/_chunks/notes-panel-DXiMfuvp.js +320 -0
- package/dist/_chunks/notification-card-BMqNzCIt.js +290 -0
- package/dist/_chunks/{notification-tray-AEun6DN2.js → notification-tray-BmUlCx3g.js} +201 -166
- package/dist/_chunks/{operator-hero-CR0Rqh4-.js → operator-hero-BO8TqzX2.js} +2 -2
- package/dist/_chunks/panel-header-D313n_9-.js +105 -0
- package/dist/_chunks/{patient-details-Dlhqb5ig.js → patient-details-DgfTJimE.js} +280 -196
- package/dist/_chunks/{patient-search-Be6cLrHR.js → patient-search-CSWQKOSP.js} +2 -2
- package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-BMwsIKlW.js} +3 -3
- package/dist/_chunks/{patient-summary-card-WySCMwwA.js → patient-summary-card-D4NdgYJB.js} +27 -12
- package/dist/_chunks/{patient-table-CHxf3Oqk.js → patient-table-CERknpd8.js} +3 -3
- package/dist/_chunks/{payment-request-card-BcZJwu9z.js → payment-request-card-Blf-MFNY.js} +2 -2
- package/dist/_chunks/permission-matrix-Bw5oexUt.js +174 -0
- package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
- package/dist/_chunks/postal-code-input-UCOYuRY2.js +192 -0
- package/dist/_chunks/{practice-results-C6qDfxos.js → practice-results-El5Z-oVp.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-CRVWswD-.js → pregnancy-dating-CunHrOpO.js} +2 -2
- package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-DtU7KXxm.js} +257 -217
- package/dist/_chunks/province-select-D_TZvix3.js +261 -0
- package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-TxmC_x1I.js} +2 -2
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +553 -0
- package/dist/_chunks/reviews-panel-DxkSrgMl.js +559 -0
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js +2621 -0
- package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
- package/dist/_chunks/{select-DMLG44F5.js → select-KsyRr8WH.js} +114 -102
- package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-umkfZjF6.js} +53 -42
- package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-QCp9wHNP.js} +125 -113
- package/dist/_chunks/{tabs-BxcOziCo.js → tabs-CYZVKKDl.js} +2 -2
- package/dist/_chunks/task-card-DCdsI0ZT.js +189 -0
- package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DNVejijD.js} +2 -2
- package/dist/_chunks/tasks-panel-C9odmawT.js +757 -0
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js +147 -0
- package/dist/_chunks/{ai-tools-rail-B5NEghsp.js → tool-rail-BZx0-yIr.js} +152 -139
- package/dist/_chunks/{tooth-scheme-BhQoPNBD.js → tooth-scheme-DJZtzfeY.js} +470 -468
- package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-CHGHHHdT.js} +95 -83
- package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-CwlZbfdn.js} +2 -2
- package/dist/_chunks/{workflow-map-Dy8mLCqF.js → workflow-map-M8MBBHQm.js} +106 -118
- package/dist/agent-catalog.json +2062 -226
- package/dist/agent-i18n/en.json +206 -8
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/patient-fields.d.ts +1 -1
- package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
- package/dist/components/address-fields/address-fields.d.ts +29 -0
- package/dist/components/address-fields/index.d.ts +5 -0
- package/dist/components/address-fields/index.js +6 -0
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anatomy-scheme/index.js +1 -1
- package/dist/components/app-frame/app-frame.d.ts +2 -2
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/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/care-plan-header.d.ts +16 -5
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/city-input.agent.d.ts +8 -0
- package/dist/components/city-input/city-input.d.ts +57 -0
- package/dist/components/city-input/index.d.ts +5 -0
- package/dist/components/city-input/index.js +6 -0
- package/dist/components/combobox/combobox.d.ts +17 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
- package/dist/components/connection-status/connection-status.d.ts +36 -0
- package/dist/components/connection-status/index.d.ts +4 -0
- package/dist/components/connection-status/index.js +6 -0
- package/dist/components/control-room-rail/control-room-context.d.ts +5 -5
- package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +5 -5
- package/dist/components/control-room-rail/index.d.ts +1 -0
- package/dist/components/control-room-rail/index.js +4 -3
- package/dist/components/counter/counter.d.ts +1 -1
- package/dist/components/country-select/country-select.agent.d.ts +8 -0
- package/dist/components/country-select/country-select.d.ts +51 -0
- package/dist/components/country-select/index.d.ts +6 -0
- package/dist/components/country-select/index.js +9 -0
- package/dist/components/country-select/iso-3166.d.ts +15 -0
- package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/index.js +13 -11
- package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
- package/dist/components/entity-summary/entity-summary.d.ts +53 -4
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/field-array/field-array.agent.d.ts +4 -0
- package/dist/components/field-array/field-array.d.ts +45 -0
- package/dist/components/field-array/index.d.ts +4 -0
- package/dist/components/field-array/index.js +6 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/iban-input/iban-input.agent.d.ts +4 -0
- package/dist/components/iban-input/iban-input.d.ts +51 -0
- package/dist/components/iban-input/index.d.ts +5 -0
- package/dist/components/iban-input/index.js +13 -0
- package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
- package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
- package/dist/components/icon-picker/icon-picker.d.ts +41 -0
- package/dist/components/icon-picker/index.d.ts +4 -0
- package/dist/components/icon-picker/index.js +6 -0
- package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
- package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
- package/dist/components/image-cropper/image-cropper.d.ts +32 -0
- package/dist/components/image-cropper/index.d.ts +5 -0
- package/dist/components/image-cropper/index.js +11 -0
- package/dist/components/index.d.ts +16 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +14 -0
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +4 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/nav-grid/index.d.ts +4 -0
- package/dist/components/nav-grid/index.js +7 -0
- package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
- package/dist/components/nav-grid/nav-grid.d.ts +41 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
- package/dist/components/notes-panel/notes-panel.d.ts +30 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +15 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +4 -0
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/panel-header/index.d.ts +3 -0
- package/dist/components/panel-header/index.js +7 -0
- package/dist/components/panel-header/panel-header.d.ts +41 -0
- 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/permission-matrix/index.d.ts +4 -0
- package/dist/components/permission-matrix/index.js +7 -0
- package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
- package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
- package/dist/components/position-grid/index.d.ts +4 -0
- package/dist/components/position-grid/index.js +7 -0
- package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
- package/dist/components/position-grid/position-grid.d.ts +39 -0
- package/dist/components/postal-code-input/index.d.ts +5 -0
- package/dist/components/postal-code-input/index.js +6 -0
- package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
- package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-tray.d.ts +13 -1
- package/dist/components/province-select/index.d.ts +6 -0
- package/dist/components/province-select/index.js +7 -0
- package/dist/components/province-select/it-provinces.d.ts +8 -0
- package/dist/components/province-select/province-select.agent.d.ts +8 -0
- package/dist/components/province-select/province-select.d.ts +38 -0
- package/dist/components/public-footer/public-footer.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +14 -6
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +4 -0
- package/dist/components/tasks-panel/index.js +6 -0
- package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
- package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
- package/dist/components/token-insert-menu/index.d.ts +4 -0
- package/dist/components/token-insert-menu/index.js +6 -0
- package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
- package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
- package/dist/components/tool-rail/index.d.ts +4 -0
- package/dist/components/tool-rail/index.js +6 -0
- package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
- package/dist/components/{ai-tools-rail/ai-tools-rail.d.ts → tool-rail/tool-rail.d.ts} +29 -12
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +9 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/use-edge-resize.d.ts +2 -2
- package/dist/i18n/locales/ar.d.ts +167 -2
- package/dist/i18n/locales/ar.js +157 -5
- package/dist/i18n/locales/de.d.ts +167 -2
- package/dist/i18n/locales/de.js +159 -5
- package/dist/i18n/locales/el.d.ts +167 -2
- package/dist/i18n/locales/el.js +164 -5
- package/dist/i18n/locales/en.d.ts +167 -2
- package/dist/i18n/locales/en.js +170 -5
- package/dist/i18n/locales/es.d.ts +167 -2
- package/dist/i18n/locales/es.js +156 -5
- package/dist/i18n/locales/fr.d.ts +167 -2
- package/dist/i18n/locales/fr.js +159 -5
- package/dist/i18n/locales/hi.d.ts +167 -2
- package/dist/i18n/locales/hi.js +155 -5
- package/dist/i18n/locales/it.d.ts +167 -2
- package/dist/i18n/locales/it.js +159 -5
- package/dist/i18n/locales/ja.d.ts +167 -2
- package/dist/i18n/locales/ja.js +160 -5
- package/dist/i18n/locales/nl.d.ts +167 -2
- package/dist/i18n/locales/nl.js +152 -5
- package/dist/i18n/locales/pl.d.ts +167 -2
- package/dist/i18n/locales/pl.js +160 -5
- package/dist/i18n/locales/pt.d.ts +167 -2
- package/dist/i18n/locales/pt.js +164 -5
- package/dist/i18n/locales/ro.d.ts +167 -2
- package/dist/i18n/locales/ro.js +164 -5
- package/dist/i18n/locales/ru.d.ts +167 -2
- package/dist/i18n/locales/ru.js +157 -5
- package/dist/i18n/locales/sq.d.ts +167 -2
- package/dist/i18n/locales/sq.js +161 -5
- package/dist/i18n/locales/sv.d.ts +167 -2
- package/dist/i18n/locales/sv.js +159 -5
- package/dist/i18n/locales/tr.d.ts +167 -2
- package/dist/i18n/locales/tr.js +157 -5
- package/dist/i18n/locales/zh.d.ts +167 -2
- package/dist/i18n/locales/zh.js +152 -5
- package/dist/index.js +823 -755
- package/dist/locales/ar.json +170 -5
- package/dist/locales/de.json +170 -5
- package/dist/locales/el.json +170 -5
- package/dist/locales/en.json +170 -5
- package/dist/locales/es.json +170 -5
- package/dist/locales/fr.json +170 -5
- package/dist/locales/hi.json +170 -5
- package/dist/locales/it.json +170 -5
- package/dist/locales/ja.json +170 -5
- package/dist/locales/nl.json +170 -5
- package/dist/locales/pl.json +170 -5
- package/dist/locales/pt.json +170 -5
- package/dist/locales/ro.json +170 -5
- package/dist/locales/ru.json +170 -5
- package/dist/locales/sq.json +170 -5
- package/dist/locales/sv.json +170 -5
- package/dist/locales/tr.json +170 -5
- package/dist/locales/zh.json +170 -5
- package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +9 -1
- package/package.json +65 -5
- package/dist/_chunks/care-plan-header-BUwqDTtz.js +0 -206
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js +0 -229
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +0 -328
- package/dist/_chunks/entity-summary-BxRjFh_4.js +0 -138
- package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
- package/dist/_chunks/notes-panel-ay8_lPrA.js +0 -158
- package/dist/_chunks/notification-card-D2jiKSJJ.js +0 -259
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +0 -558
- package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
- package/dist/_chunks/rich-text-editor-DlCqPixb.js +0 -2158
- package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.js +0 -6
|
@@ -5,49 +5,50 @@ import * as V from "@radix-ui/react-collapsible";
|
|
|
5
5
|
import * as E from "@radix-ui/react-accordion";
|
|
6
6
|
import * as h from "@radix-ui/react-tooltip";
|
|
7
7
|
import { a as ts } from "./accordion-DnIa7OHX.js";
|
|
8
|
-
import {
|
|
8
|
+
import { S as os } from "./scroll-area-BZOvUhwQ.js";
|
|
9
|
+
import { Slot as ls } from "@radix-ui/react-slot";
|
|
9
10
|
import { c as I } from "./index-D2ZczOXr.js";
|
|
10
11
|
import { useTranslation as D } from "react-i18next";
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { c as
|
|
14
|
-
import { X as
|
|
12
|
+
import { u as cs } from "./registry-DvAUVLHh.js";
|
|
13
|
+
import { u as us } from "./use-edge-resize-ZnGG7gyO.js";
|
|
14
|
+
import { c as ms } from "./compose-refs-C0k0tdqF.js";
|
|
15
|
+
import { X as vs } from "./x-CCcI3eJp.js";
|
|
15
16
|
import { c as X } from "./createLucideIcon-CrFbzy84.js";
|
|
16
|
-
import { G as
|
|
17
|
+
import { G as ps } from "./grip-vertical-Dlg0_k5C.js";
|
|
17
18
|
import { C as H } from "./chevron-right-BrpYejk0.js";
|
|
18
|
-
import { S as
|
|
19
|
+
import { S as fs } from "./star-vav0SJ9e.js";
|
|
19
20
|
/**
|
|
20
21
|
* @license lucide-react v1.8.0 - ISC
|
|
21
22
|
*
|
|
22
23
|
* This source code is licensed under the ISC license.
|
|
23
24
|
* See the LICENSE file in the root directory of this source tree.
|
|
24
25
|
*/
|
|
25
|
-
const
|
|
26
|
+
const gs = [
|
|
26
27
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
27
28
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
28
29
|
["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
|
|
29
|
-
],
|
|
30
|
+
], bs = X("panel-left-close", gs);
|
|
30
31
|
/**
|
|
31
32
|
* @license lucide-react v1.8.0 - ISC
|
|
32
33
|
*
|
|
33
34
|
* This source code is licensed under the ISC license.
|
|
34
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
35
36
|
*/
|
|
36
|
-
const
|
|
37
|
+
const hs = [
|
|
37
38
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
38
39
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
39
40
|
["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
|
|
40
|
-
],
|
|
41
|
+
], xs = X("panel-left-open", hs);
|
|
41
42
|
/**
|
|
42
43
|
* @license lucide-react v1.8.0 - ISC
|
|
43
44
|
*
|
|
44
45
|
* This source code is licensed under the ISC license.
|
|
45
46
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
47
|
*/
|
|
47
|
-
const
|
|
48
|
+
const ys = [
|
|
48
49
|
["path", { d: "M16 7h6v6", key: "box55l" }],
|
|
49
50
|
["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
|
|
50
|
-
],
|
|
51
|
+
], ws = X("trending-up", ys), Ns = {
|
|
51
52
|
id: "sidebar",
|
|
52
53
|
capabilities: ["expand"],
|
|
53
54
|
state: {
|
|
@@ -86,7 +87,7 @@ const xs = [
|
|
|
86
87
|
mode: "expanded",
|
|
87
88
|
density: "default"
|
|
88
89
|
}), x = () => Z(G), es = "ui.sidebar.state";
|
|
89
|
-
function
|
|
90
|
+
function zs(e) {
|
|
90
91
|
if (typeof window > "u") return e;
|
|
91
92
|
try {
|
|
92
93
|
const a = window.localStorage.getItem(es);
|
|
@@ -95,7 +96,7 @@ function Ns(e) {
|
|
|
95
96
|
}
|
|
96
97
|
return e;
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function Ss(e) {
|
|
99
100
|
if (!(typeof window > "u"))
|
|
100
101
|
try {
|
|
101
102
|
window.localStorage.setItem(es, e);
|
|
@@ -148,7 +149,7 @@ const J = I(
|
|
|
148
149
|
},
|
|
149
150
|
defaultVariants: { mode: "expanded", density: "default" }
|
|
150
151
|
}
|
|
151
|
-
),
|
|
152
|
+
), js = 192, Cs = 384, ks = 248, Is = [
|
|
152
153
|
"ds:absolute ds:[inset-block:0] ds:end-0 ds:z-[2]",
|
|
153
154
|
"ds:w-[var(--resizable-handle-size)]",
|
|
154
155
|
"ds:cursor-col-resize ds:select-none ds:touch-none",
|
|
@@ -162,7 +163,7 @@ const J = I(
|
|
|
162
163
|
"ds:before:[inset-block:0]",
|
|
163
164
|
"ds:before:[inline-size:var(--min-target-size)]",
|
|
164
165
|
"ds:before:[inset-inline:calc(0px_-_(var(--min-target-size)_-_var(--resizable-handle-size))_/_2)]"
|
|
165
|
-
].join(" "),
|
|
166
|
+
].join(" "), Ts = b(
|
|
166
167
|
({
|
|
167
168
|
state: e,
|
|
168
169
|
defaultState: a = "expanded",
|
|
@@ -178,10 +179,10 @@ const J = I(
|
|
|
178
179
|
...g
|
|
179
180
|
}, N) => {
|
|
180
181
|
const { t: y } = D(), i = e !== void 0, [w, z] = R(
|
|
181
|
-
() => i ? e :
|
|
182
|
+
() => i ? e : zs(a)
|
|
182
183
|
), m = i ? e : w;
|
|
183
184
|
U(() => {
|
|
184
|
-
i ||
|
|
185
|
+
i || Ss(w);
|
|
185
186
|
}, [w, i]);
|
|
186
187
|
const S = ss(
|
|
187
188
|
(k) => {
|
|
@@ -202,14 +203,14 @@ const J = I(
|
|
|
202
203
|
}),
|
|
203
204
|
[S]
|
|
204
205
|
);
|
|
205
|
-
|
|
206
|
-
const A = $(null), P = O(() =>
|
|
206
|
+
cs(Ns, F, f);
|
|
207
|
+
const A = $(null), P = O(() => ms(N, A), [N]), { separatorProps: M, isResizing: _ } = us({
|
|
207
208
|
edge: "inline-end",
|
|
208
209
|
targetRef: A,
|
|
209
210
|
cssProperty: "--sidebar-modern-expanded-size",
|
|
210
|
-
minSize:
|
|
211
|
-
maxSize:
|
|
212
|
-
defaultSize:
|
|
211
|
+
minSize: js,
|
|
212
|
+
maxSize: Cs,
|
|
213
|
+
defaultSize: ks,
|
|
213
214
|
disabled: !t || m !== "expanded"
|
|
214
215
|
}), K = t && m === "expanded";
|
|
215
216
|
return m === "overlay" ? /* @__PURE__ */ s(
|
|
@@ -274,7 +275,7 @@ const J = I(
|
|
|
274
275
|
"ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
|
|
275
276
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
276
277
|
].join(" "),
|
|
277
|
-
children: /* @__PURE__ */ s(
|
|
278
|
+
children: /* @__PURE__ */ s(vs, { "aria-hidden": "true", className: "ds:size-4" })
|
|
278
279
|
}
|
|
279
280
|
) })
|
|
280
281
|
]
|
|
@@ -311,7 +312,7 @@ const J = I(
|
|
|
311
312
|
...M,
|
|
312
313
|
"aria-label": y("navigation.sidebar.resize"),
|
|
313
314
|
"data-resizing": _ ? "" : void 0,
|
|
314
|
-
className:
|
|
315
|
+
className: Is
|
|
315
316
|
}
|
|
316
317
|
) : null
|
|
317
318
|
]
|
|
@@ -321,8 +322,8 @@ const J = I(
|
|
|
321
322
|
);
|
|
322
323
|
}
|
|
323
324
|
);
|
|
324
|
-
|
|
325
|
-
const
|
|
325
|
+
Ts.displayName = "Sidebar";
|
|
326
|
+
const Bs = b(({ className: e, ...a }, r) => {
|
|
326
327
|
const { mode: n } = x();
|
|
327
328
|
return /* @__PURE__ */ s(
|
|
328
329
|
"div",
|
|
@@ -345,24 +346,35 @@ const Ts = b(({ className: e, ...a }, r) => {
|
|
|
345
346
|
}
|
|
346
347
|
);
|
|
347
348
|
});
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
({ className: e,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
349
|
+
Bs.displayName = "SidebarHeader";
|
|
350
|
+
const Rs = b(
|
|
351
|
+
({ className: e, children: a, ...r }, n) => (
|
|
352
|
+
// Scroll the nav sections through the kit `ScrollArea` (8px tokenised
|
|
353
|
+
// scrollbar) instead of native `overflow-auto` (the OS scrollbar), so the
|
|
354
|
+
// sidebar matches the Control Room rail and the kit's trays. `flex-1 min-h-0`
|
|
355
|
+
// fills the column and bounds the height; the layout `className` lands on the
|
|
356
|
+
// body box (the ScrollArea root). Padding + `ref` + div props go on the inner
|
|
357
|
+
// content div so the scrollbar sits flush at the inline-end edge.
|
|
358
|
+
/* @__PURE__ */ s(
|
|
359
|
+
os,
|
|
360
|
+
{
|
|
361
|
+
orientation: "vertical",
|
|
362
|
+
className: ["ds:flex-1 ds:min-h-0", e ?? ""].filter(Boolean).join(" "),
|
|
363
|
+
children: /* @__PURE__ */ s(
|
|
364
|
+
"div",
|
|
365
|
+
{
|
|
366
|
+
ref: n,
|
|
367
|
+
className: "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:py-[var(--spacing-sm)]",
|
|
368
|
+
...r,
|
|
369
|
+
children: a
|
|
370
|
+
}
|
|
371
|
+
)
|
|
372
|
+
}
|
|
373
|
+
)
|
|
362
374
|
)
|
|
363
375
|
);
|
|
364
|
-
|
|
365
|
-
const
|
|
376
|
+
Rs.displayName = "SidebarBody";
|
|
377
|
+
const Ds = b(({ className: e, ...a }, r) => {
|
|
366
378
|
const { mode: n } = x();
|
|
367
379
|
return /* @__PURE__ */ s(
|
|
368
380
|
"div",
|
|
@@ -385,8 +397,8 @@ const Rs = b(({ className: e, ...a }, r) => {
|
|
|
385
397
|
}
|
|
386
398
|
);
|
|
387
399
|
});
|
|
388
|
-
|
|
389
|
-
const
|
|
400
|
+
Ds.displayName = "SidebarFooter";
|
|
401
|
+
const As = [
|
|
390
402
|
"ds:group/section-label ds:flex ds:w-full ds:items-center",
|
|
391
403
|
"type-eyebrow",
|
|
392
404
|
"ds:text-[var(--muted-foreground)]",
|
|
@@ -451,7 +463,7 @@ const Ds = [
|
|
|
451
463
|
onValueChange: l ? (w) => l(w === i) : void 0,
|
|
452
464
|
asChild: !0,
|
|
453
465
|
children: /* @__PURE__ */ s("div", { ref: p, className: y, ...c, children: /* @__PURE__ */ u(E.Item, { value: i, children: [
|
|
454
|
-
/* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ u(E.Trigger, { className:
|
|
466
|
+
/* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ u(E.Trigger, { className: As, children: [
|
|
455
467
|
a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Q, children: a }) : null,
|
|
456
468
|
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-start", children: e }),
|
|
457
469
|
/* @__PURE__ */ s(
|
|
@@ -476,7 +488,7 @@ const Ds = [
|
|
|
476
488
|
}
|
|
477
489
|
);
|
|
478
490
|
as.displayName = "SidebarSection";
|
|
479
|
-
const
|
|
491
|
+
const Ps = [
|
|
480
492
|
"ds:group ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
481
493
|
"ds:min-h-[var(--min-target-size)]",
|
|
482
494
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
@@ -487,7 +499,7 @@ const As = [
|
|
|
487
499
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
488
500
|
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
489
501
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
490
|
-
].join(" "),
|
|
502
|
+
].join(" "), _s = b(
|
|
491
503
|
({
|
|
492
504
|
label: e,
|
|
493
505
|
icon: a,
|
|
@@ -509,7 +521,7 @@ const As = [
|
|
|
509
521
|
className: n,
|
|
510
522
|
...o,
|
|
511
523
|
children: [
|
|
512
|
-
/* @__PURE__ */ u(V.Trigger, { className:
|
|
524
|
+
/* @__PURE__ */ u(V.Trigger, { className: Ps, children: [
|
|
513
525
|
a ? /* @__PURE__ */ s(
|
|
514
526
|
"span",
|
|
515
527
|
{
|
|
@@ -553,8 +565,8 @@ const As = [
|
|
|
553
565
|
);
|
|
554
566
|
}
|
|
555
567
|
);
|
|
556
|
-
|
|
557
|
-
const
|
|
568
|
+
_s.displayName = "SidebarGroup";
|
|
569
|
+
const Es = I(
|
|
558
570
|
[
|
|
559
571
|
// Every row is a pin-hover parent so inline pin / reorder affordances can
|
|
560
572
|
// fade in on hover of the whole row — keep `group/item` on this selector.
|
|
@@ -628,14 +640,14 @@ const _s = I(
|
|
|
628
640
|
"aria-label": c,
|
|
629
641
|
...p
|
|
630
642
|
}, f) => {
|
|
631
|
-
const { mode: g, density: N } = x(), y = e ?
|
|
643
|
+
const { mode: g, density: N } = x(), y = e ? ls : "a", i = d !== void 0 && g !== "icon", [w, z] = R(null), m = g === "icon" && c != null && w ? `${c}, ${w}` : c, S = /* @__PURE__ */ s(
|
|
632
644
|
y,
|
|
633
645
|
{
|
|
634
646
|
ref: f,
|
|
635
647
|
"aria-current": a ? "page" : void 0,
|
|
636
648
|
"aria-label": m,
|
|
637
649
|
"data-nav-id": r,
|
|
638
|
-
className:
|
|
650
|
+
className: Es({
|
|
639
651
|
mode: g,
|
|
640
652
|
density: N,
|
|
641
653
|
isActive: a,
|
|
@@ -688,7 +700,7 @@ const _s = I(
|
|
|
688
700
|
}
|
|
689
701
|
);
|
|
690
702
|
is.displayName = "SidebarItem";
|
|
691
|
-
const
|
|
703
|
+
const Hs = b(({ className: e, children: a, ...r }, n) => /* @__PURE__ */ s(
|
|
692
704
|
"span",
|
|
693
705
|
{
|
|
694
706
|
ref: n,
|
|
@@ -709,8 +721,8 @@ const Es = b(({ className: e, children: a, ...r }, n) => /* @__PURE__ */ s(
|
|
|
709
721
|
children: a
|
|
710
722
|
}
|
|
711
723
|
));
|
|
712
|
-
|
|
713
|
-
const
|
|
724
|
+
Hs.displayName = "SidebarItemIcon";
|
|
725
|
+
const Fs = b(({ className: e, children: a, ...r }, n) => {
|
|
714
726
|
const { mode: d } = x();
|
|
715
727
|
return /* @__PURE__ */ s(
|
|
716
728
|
"span",
|
|
@@ -728,8 +740,8 @@ const Hs = b(({ className: e, children: a, ...r }, n) => {
|
|
|
728
740
|
}
|
|
729
741
|
);
|
|
730
742
|
});
|
|
731
|
-
|
|
732
|
-
const
|
|
743
|
+
Fs.displayName = "SidebarItemLabel";
|
|
744
|
+
const Ms = b(({ className: e, children: a, ...r }, n) => {
|
|
733
745
|
const { mode: d } = x(), l = d === "icon", t = Z(rs);
|
|
734
746
|
return U(() => {
|
|
735
747
|
if (!t || !l) return;
|
|
@@ -764,8 +776,8 @@ const Fs = b(({ className: e, children: a, ...r }, n) => {
|
|
|
764
776
|
}
|
|
765
777
|
);
|
|
766
778
|
});
|
|
767
|
-
|
|
768
|
-
const
|
|
779
|
+
Ms.displayName = "SidebarItemBadge";
|
|
780
|
+
const Ks = I(
|
|
769
781
|
[
|
|
770
782
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
771
783
|
"ds:min-h-[var(--min-target-size)]",
|
|
@@ -778,7 +790,7 @@ const Ms = I(
|
|
|
778
790
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
779
791
|
"ds:no-underline"
|
|
780
792
|
].join(" ")
|
|
781
|
-
),
|
|
793
|
+
), Ls = b(({ logo: e, name: a, showChevron: r = !0, className: n, ...d }, l) => {
|
|
782
794
|
const { mode: t } = x(), o = t !== "icon";
|
|
783
795
|
return /* @__PURE__ */ u(
|
|
784
796
|
"button",
|
|
@@ -786,7 +798,7 @@ const Ms = I(
|
|
|
786
798
|
ref: l,
|
|
787
799
|
type: "button",
|
|
788
800
|
"aria-label": a,
|
|
789
|
-
className: [
|
|
801
|
+
className: [Ks(), n].filter(Boolean).join(" "),
|
|
790
802
|
...d,
|
|
791
803
|
children: [
|
|
792
804
|
/* @__PURE__ */ s(
|
|
@@ -811,8 +823,8 @@ const Ms = I(
|
|
|
811
823
|
}
|
|
812
824
|
);
|
|
813
825
|
});
|
|
814
|
-
|
|
815
|
-
const
|
|
826
|
+
Ls.displayName = "SidebarWorkspaceSwitcher";
|
|
827
|
+
const Vs = I(
|
|
816
828
|
[
|
|
817
829
|
"ds:flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
|
|
818
830
|
"ds:min-h-[var(--min-target-size)]",
|
|
@@ -835,7 +847,7 @@ const Ls = I(
|
|
|
835
847
|
},
|
|
836
848
|
defaultVariants: { mode: "expanded" }
|
|
837
849
|
}
|
|
838
|
-
),
|
|
850
|
+
), Us = b(({ icon: e, label: a, shortcut: r, className: n, ...d }, l) => {
|
|
839
851
|
const { mode: t } = x(), o = t !== "icon";
|
|
840
852
|
return /* @__PURE__ */ u(
|
|
841
853
|
"button",
|
|
@@ -844,7 +856,7 @@ const Ls = I(
|
|
|
844
856
|
type: "button",
|
|
845
857
|
"aria-label": a,
|
|
846
858
|
"aria-keyshortcuts": r,
|
|
847
|
-
className: [
|
|
859
|
+
className: [Vs({ mode: t }), n].filter(Boolean).join(" "),
|
|
848
860
|
...d,
|
|
849
861
|
children: [
|
|
850
862
|
/* @__PURE__ */ s(
|
|
@@ -863,8 +875,8 @@ const Ls = I(
|
|
|
863
875
|
}
|
|
864
876
|
);
|
|
865
877
|
});
|
|
866
|
-
|
|
867
|
-
const
|
|
878
|
+
Us.displayName = "SidebarPrimaryAction";
|
|
879
|
+
const $s = [
|
|
868
880
|
"ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
|
|
869
881
|
"ds:size-6 ds:rounded-[var(--radius-sm)]",
|
|
870
882
|
// Lift above the Sidebar's opt-in resize handle (z-[2]). When `resizable`,
|
|
@@ -900,13 +912,13 @@ const Us = [
|
|
|
900
912
|
type: "button",
|
|
901
913
|
"aria-label": p,
|
|
902
914
|
"aria-pressed": e,
|
|
903
|
-
className: [
|
|
915
|
+
className: [$s, n].filter(Boolean).join(" "),
|
|
904
916
|
onClick: (f) => {
|
|
905
917
|
f.preventDefault(), f.stopPropagation(), a == null || a(!e), d == null || d(f);
|
|
906
918
|
},
|
|
907
919
|
...l,
|
|
908
920
|
children: /* @__PURE__ */ s(
|
|
909
|
-
|
|
921
|
+
fs,
|
|
910
922
|
{
|
|
911
923
|
"aria-hidden": "true",
|
|
912
924
|
className: "ds:size-4",
|
|
@@ -918,7 +930,7 @@ const Us = [
|
|
|
918
930
|
}
|
|
919
931
|
);
|
|
920
932
|
Y.displayName = "SidebarPinButton";
|
|
921
|
-
const ns = W(null),
|
|
933
|
+
const ns = W(null), Os = () => Z(ns), Gs = b(
|
|
922
934
|
({ heading: e, emptyMessage: a, onReorder: r, className: n, children: d, ...l }, t) => {
|
|
923
935
|
const { t: o } = D(), c = e ?? o("navigation.sidebar.favorites", "Favourites"), p = Array.isArray(d) ? d.filter(Boolean) : d ? [d] : [], f = p.length, g = f > 0, [N, y] = R(null), [i, w] = R(""), z = $(!1), m = ss((j) => {
|
|
924
936
|
z.current = !z.current, w(z.current ? j : `${j}`);
|
|
@@ -941,8 +953,8 @@ const ns = W(null), $s = () => Z(ns), Os = b(
|
|
|
941
953
|
) });
|
|
942
954
|
}
|
|
943
955
|
);
|
|
944
|
-
|
|
945
|
-
const
|
|
956
|
+
Gs.displayName = "SidebarFavorites";
|
|
957
|
+
const qs = I(
|
|
946
958
|
[
|
|
947
959
|
"ds:group/item ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
948
960
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -961,7 +973,7 @@ const Gs = I(
|
|
|
961
973
|
},
|
|
962
974
|
defaultVariants: { dragging: !1, dropTarget: !1 }
|
|
963
975
|
}
|
|
964
|
-
),
|
|
976
|
+
), Zs = [
|
|
965
977
|
"ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
|
|
966
978
|
"ds:size-6 ds:rounded-[var(--radius-sm)]",
|
|
967
979
|
"ds:cursor-grab ds:active:cursor-grabbing",
|
|
@@ -975,7 +987,7 @@ const Gs = I(
|
|
|
975
987
|
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
976
988
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
977
989
|
"ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
978
|
-
].join(" "),
|
|
990
|
+
].join(" "), Ws = b(
|
|
979
991
|
({
|
|
980
992
|
index: e,
|
|
981
993
|
isActive: a = !1,
|
|
@@ -989,7 +1001,7 @@ const Gs = I(
|
|
|
989
1001
|
children: p,
|
|
990
1002
|
...f
|
|
991
1003
|
}, g) => {
|
|
992
|
-
const { t: N } = D(), { mode: y } = x(), i =
|
|
1004
|
+
const { t: N } = D(), { mode: y } = x(), i = Os(), [w, z] = R(!1), m = !!(i != null && i.onReorder) && y !== "icon", S = n ?? o ?? "", j = ds(), C = (v, T) => {
|
|
993
1005
|
if (!(i != null && i.onReorder)) return;
|
|
994
1006
|
const L = Math.max(0, Math.min(i.count - 1, T));
|
|
995
1007
|
L !== v && (i.onReorder(v, L), i.announce(
|
|
@@ -1016,7 +1028,7 @@ const Gs = I(
|
|
|
1016
1028
|
return /* @__PURE__ */ u(
|
|
1017
1029
|
"div",
|
|
1018
1030
|
{
|
|
1019
|
-
className:
|
|
1031
|
+
className: qs({
|
|
1020
1032
|
dragging: k,
|
|
1021
1033
|
dropTarget: w && !k
|
|
1022
1034
|
}),
|
|
@@ -1051,9 +1063,9 @@ const Gs = I(
|
|
|
1051
1063
|
"Reorder {{label}}. Press Alt + Up or Alt + Down to move.",
|
|
1052
1064
|
{ label: S }
|
|
1053
1065
|
),
|
|
1054
|
-
className:
|
|
1066
|
+
className: Zs,
|
|
1055
1067
|
onKeyDown: F,
|
|
1056
|
-
children: /* @__PURE__ */ s(
|
|
1068
|
+
children: /* @__PURE__ */ s(ps, { "aria-hidden": "true", className: "ds:size-4" })
|
|
1057
1069
|
}
|
|
1058
1070
|
) : null,
|
|
1059
1071
|
l && y !== "icon" ? /* @__PURE__ */ s(
|
|
@@ -1069,8 +1081,8 @@ const Gs = I(
|
|
|
1069
1081
|
);
|
|
1070
1082
|
}
|
|
1071
1083
|
);
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1084
|
+
Ws.displayName = "SidebarFavoriteItem";
|
|
1085
|
+
const Xs = I(
|
|
1074
1086
|
[
|
|
1075
1087
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
1076
1088
|
"ds:min-h-[var(--min-target-size)]",
|
|
@@ -1083,7 +1095,7 @@ const Ws = I(
|
|
|
1083
1095
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
1084
1096
|
"ds:no-underline"
|
|
1085
1097
|
].join(" ")
|
|
1086
|
-
),
|
|
1098
|
+
), Ys = b(({ avatar: e, name: a, subtitle: r, subtitleLabel: n, className: d, ...l }, t) => {
|
|
1087
1099
|
const { mode: o } = x(), c = o !== "icon", p = typeof r == "string" ? r : n;
|
|
1088
1100
|
return /* @__PURE__ */ u(
|
|
1089
1101
|
"button",
|
|
@@ -1091,7 +1103,7 @@ const Ws = I(
|
|
|
1091
1103
|
ref: t,
|
|
1092
1104
|
type: "button",
|
|
1093
1105
|
"aria-label": p ? `${a}, ${p}` : a,
|
|
1094
|
-
className: [
|
|
1106
|
+
className: [Xs(), d].filter(Boolean).join(" "),
|
|
1095
1107
|
...l,
|
|
1096
1108
|
children: [
|
|
1097
1109
|
/* @__PURE__ */ s(
|
|
@@ -1110,8 +1122,8 @@ const Ws = I(
|
|
|
1110
1122
|
}
|
|
1111
1123
|
);
|
|
1112
1124
|
});
|
|
1113
|
-
|
|
1114
|
-
const
|
|
1125
|
+
Ys.displayName = "SidebarProfilePill";
|
|
1126
|
+
const Js = [
|
|
1115
1127
|
"ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
|
|
1116
1128
|
"ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
|
|
1117
1129
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -1121,7 +1133,7 @@ const Ys = [
|
|
|
1121
1133
|
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1122
1134
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
1123
1135
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
1124
|
-
].join(" "),
|
|
1136
|
+
].join(" "), Qs = b(({ className: e, "aria-label": a, onClick: r, ...n }, d) => {
|
|
1125
1137
|
const { t: l } = D(), { mode: t, transitionTo: o } = x();
|
|
1126
1138
|
if (t === "overlay") return null;
|
|
1127
1139
|
const c = t === "expanded", p = a ?? (c ? l("navigation.sidebar.collapse", "Collapse sidebar") : l("navigation.sidebar.expand", "Expand sidebar")), f = /* @__PURE__ */ s(
|
|
@@ -1134,16 +1146,16 @@ const Ys = [
|
|
|
1134
1146
|
onClick: (g) => {
|
|
1135
1147
|
o == null || o(c ? "icon" : "expanded"), r == null || r(g);
|
|
1136
1148
|
},
|
|
1137
|
-
className: [
|
|
1149
|
+
className: [Js, e].filter(Boolean).join(" "),
|
|
1138
1150
|
...n,
|
|
1139
1151
|
children: c ? /* @__PURE__ */ s(
|
|
1140
|
-
|
|
1152
|
+
bs,
|
|
1141
1153
|
{
|
|
1142
1154
|
"aria-hidden": "true",
|
|
1143
1155
|
className: "ds:size-4 ds:rtl:-scale-x-100"
|
|
1144
1156
|
}
|
|
1145
1157
|
) : /* @__PURE__ */ s(
|
|
1146
|
-
|
|
1158
|
+
xs,
|
|
1147
1159
|
{
|
|
1148
1160
|
"aria-hidden": "true",
|
|
1149
1161
|
className: "ds:size-4 ds:rtl:-scale-x-100"
|
|
@@ -1173,8 +1185,8 @@ const Ys = [
|
|
|
1173
1185
|
) })
|
|
1174
1186
|
] });
|
|
1175
1187
|
});
|
|
1176
|
-
|
|
1177
|
-
const
|
|
1188
|
+
Qs.displayName = "SidebarCollapseTrigger";
|
|
1189
|
+
const se = I(
|
|
1178
1190
|
[
|
|
1179
1191
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
1180
1192
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -1205,7 +1217,7 @@ const Qs = I(
|
|
|
1205
1217
|
},
|
|
1206
1218
|
defaultVariants: { mode: "expanded" }
|
|
1207
1219
|
}
|
|
1208
|
-
),
|
|
1220
|
+
), ee = b(({ title: e, description: a, icon: r, className: n, ...d }, l) => {
|
|
1209
1221
|
const { mode: t } = x(), o = t === "icon", c = (
|
|
1210
1222
|
// aria-label only in icon mode (where the copy is hidden) — in
|
|
1211
1223
|
// expanded mode the accessible name comes from the visible contents
|
|
@@ -1215,7 +1227,7 @@ const Qs = I(
|
|
|
1215
1227
|
{
|
|
1216
1228
|
ref: l,
|
|
1217
1229
|
"aria-label": o ? e : void 0,
|
|
1218
|
-
className:
|
|
1230
|
+
className: se({ mode: t, className: n }),
|
|
1219
1231
|
...d,
|
|
1220
1232
|
children: [
|
|
1221
1233
|
/* @__PURE__ */ s(
|
|
@@ -1227,7 +1239,7 @@ const Qs = I(
|
|
|
1227
1239
|
"ds:rounded-[var(--radius-sm)]",
|
|
1228
1240
|
"ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)]"
|
|
1229
1241
|
].join(" "),
|
|
1230
|
-
children: r ?? /* @__PURE__ */ s(
|
|
1242
|
+
children: r ?? /* @__PURE__ */ s(ws, { className: "ds:size-4" })
|
|
1231
1243
|
}
|
|
1232
1244
|
),
|
|
1233
1245
|
o ? null : /* @__PURE__ */ u(q, { children: [
|
|
@@ -1273,27 +1285,27 @@ const Qs = I(
|
|
|
1273
1285
|
) })
|
|
1274
1286
|
] }) : c;
|
|
1275
1287
|
});
|
|
1276
|
-
|
|
1288
|
+
ee.displayName = "SidebarUpgradeChip";
|
|
1277
1289
|
export {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1290
|
+
Ts as S,
|
|
1291
|
+
Rs as a,
|
|
1292
|
+
Qs as b,
|
|
1293
|
+
Ws as c,
|
|
1294
|
+
Gs as d,
|
|
1295
|
+
Ds as e,
|
|
1296
|
+
_s as f,
|
|
1297
|
+
Bs as g,
|
|
1286
1298
|
is as h,
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1299
|
+
Ms as i,
|
|
1300
|
+
Hs as j,
|
|
1301
|
+
Fs as k,
|
|
1290
1302
|
Y as l,
|
|
1291
|
-
|
|
1292
|
-
|
|
1303
|
+
Us as m,
|
|
1304
|
+
Ys as n,
|
|
1293
1305
|
as as o,
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1306
|
+
ee as p,
|
|
1307
|
+
Ls as q,
|
|
1308
|
+
Ns as s,
|
|
1297
1309
|
x as u
|
|
1298
1310
|
};
|
|
1299
|
-
//# sourceMappingURL=sidebar-
|
|
1311
|
+
//# sourceMappingURL=sidebar-QCp9wHNP.js.map
|
|
@@ -5,7 +5,7 @@ import * as k from "@radix-ui/react-dropdown-menu";
|
|
|
5
5
|
import { a as N, c as M } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as Y } from "react-i18next";
|
|
7
7
|
import { c as Z } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
-
import { S as D } from "./select-
|
|
8
|
+
import { S as D } from "./select-KsyRr8WH.js";
|
|
9
9
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { X as te } from "./x-CCcI3eJp.js";
|
|
11
11
|
import { u as se } from "./use-direction-Dp8h70PP.js";
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
F as c,
|
|
406
406
|
re as t
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=tabs-
|
|
408
|
+
//# sourceMappingURL=tabs-CYZVKKDl.js.map
|