@protobase/ui 0.117.1 → 0.117.3
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/account/messages.d.ts +2 -2
- package/dist/app/change-confirm/messages.d.ts +2 -2
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/thread-state.d.ts +1 -1
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/json/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/gallery/gallery-layout.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-edit/messages.d.ts +2 -2
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app-shell/account-entry.js +1 -1
- package/dist/app-shell/app-shell.js +6 -5
- package/dist/app-shell/brand-bar.d.ts +4 -3
- package/dist/app-shell/brand-bar.js +4 -3
- package/dist/app-shell/drawer.js +6 -1
- package/dist/app-shell/leading-slot.d.ts +6 -2
- package/dist/app-shell/leading-slot.js +6 -2
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/more-page.d.ts +6 -0
- package/dist/app-shell/more-page.js +7 -1
- package/dist/app-shell/profile-menu.js +6 -5
- package/dist/app-shell/top-bar.js +2 -2
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/data-grid/column-spec.d.ts +1 -1
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/forms/messages.d.ts +2 -2
- package/dist/inline-child-table/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +2 -2
- package/dist/mocks/orders.d.ts +2 -2
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/primitives/avatar.js +3 -2
- package/dist/primitives/menu-surface.d.ts +2 -2
- package/dist/primitives/menu-surface.js +3 -2
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/primitives/popover-menu.js +1 -0
- package/dist/primitives/segmented.js +4 -3
- package/dist/primitives/sheet.d.ts +6 -1
- package/dist/primitives/sheet.js +19 -23
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/record-view/use-autosave.d.ts +1 -1
- package/dist/shell/assets/{account-page-DtK7jKts.js → account-page-CnXeVG2Y.js} +2 -2
- package/dist/shell/assets/{app-BjX4WRlX.js → app-Dhno5n-x.js} +11 -11
- package/dist/shell/assets/app-Dq5eubgK.css +2 -0
- package/dist/shell/assets/{assistant-shell-m4yudVE_.js → assistant-shell-CiBgXc2G.js} +2 -2
- package/dist/shell/assets/{board-display-DTeV61do.js → board-display-CbDhUr3M.js} +2 -2
- package/dist/shell/assets/{calendar-display-C9M_BrdC.js → calendar-display-DYCeXWel.js} +2 -2
- package/dist/shell/assets/{call-rings-TD7_HvNB.js → call-rings-DasjTYQQ.js} +2 -2
- package/dist/shell/assets/{calls-Bp_BwXBR.js → calls-CK0S2A1I.js} +2 -2
- package/dist/shell/assets/{circle-alert-Z5jvi5Dk.js → circle-alert-DsS_wh95.js} +2 -2
- package/dist/shell/assets/{composed-page-7cjr_6Rj.js → composed-page-DR1_Pmnm.js} +2 -2
- package/dist/shell/assets/{composer-section-BOic27ni.js → composer-section-Drni_iH0.js} +2 -2
- package/dist/shell/assets/{connect-route-BQKWurfi.js → connect-route-CWqZ4ZdQ.js} +2 -2
- package/dist/shell/assets/{copy-field-J-xjCVww.js → copy-field-BEMhQB0i.js} +2 -2
- package/dist/shell/assets/{create-route-cKTgbHdL.js → create-route-DcR4vO0R.js} +2 -2
- package/dist/shell/assets/{custom-step-container-field-ClXbgsmG.js → custom-step-container-field-CQNLXPAV.js} +2 -2
- package/dist/shell/assets/{embedded-list-CdGDYOeK.js → embedded-list-CUUg5UdE.js} +3 -3
- package/dist/shell/assets/{export-dialog-DJFPmWjl.js → export-dialog-BF7ErysJ.js} +2 -2
- package/dist/shell/assets/{graph-view-DdCNEjjp.js → graph-view-CYY1Wxfn.js} +2 -2
- package/dist/shell/assets/{group-donut-YHImqCyt.js → group-donut-BrPYdLB4.js} +2 -2
- package/dist/shell/assets/{guest-call-page-DuJmX_uH.js → guest-call-page-vE_LtZb2.js} +3 -3
- package/dist/shell/assets/{html-viewer-BXSFoAH-.js → html-viewer-d5JaZY_d.js} +2 -2
- package/dist/shell/assets/{import-dialog-D1pihaEn.js → import-dialog-Cwopdvpl.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-Dd851s8K.js → import-table-dialog-iJiIRDzs.js} +2 -2
- package/dist/shell/assets/{index-B5AApF7s.js → index-FlDNHH-7.js} +1 -1
- package/dist/shell/assets/{invitations-page-CVnZFr42.js → invitations-page-C7lvsotm.js} +2 -2
- package/dist/shell/assets/{layout-grid-B4BydwOr.js → layout-grid-CMNfsxPk.js} +2 -2
- package/dist/shell/assets/{legend-item-DStfKS-y.js → legend-item-CcZfSPqr.js} +2 -2
- package/dist/shell/assets/{list-page-HyJhabYe.js → list-page-C1SSeT_l.js} +4 -4
- package/dist/shell/assets/{maplibre-v43v0z7e.js → maplibre-CZgGye8n.js} +2 -2
- package/dist/shell/assets/{markdown-content-R7RUN0DQ.js → markdown-content-DqspuxI3.js} +2 -2
- package/dist/shell/assets/{members-page-BIWsatyd.js → members-page-BFe1wo7t.js} +2 -2
- package/dist/shell/assets/{messages-CPMEQgWR.js → messages-Djmoh5Qy.js} +2 -2
- package/dist/shell/assets/{organization-page-DY5ndg2R.js → organization-page-BS5CBM7T.js} +2 -2
- package/dist/shell/assets/{organizations-page-6HwVXvoa.js → organizations-page-D-2TFpDm.js} +2 -2
- package/dist/shell/assets/{pending-invitation-row-Cy5mVb52.js → pending-invitation-row-MW_m7ClO.js} +2 -2
- package/dist/shell/assets/{period-chart-dl5O03oa.js → period-chart-D5Gmfn_N.js} +2 -2
- package/dist/shell/assets/{person-row-CC1Anzap.js → person-row-DixR2c5_.js} +2 -2
- package/dist/shell/assets/{public-form-page-DdR2id-n.js → public-form-page-BD-0Pq4m.js} +2 -2
- package/dist/shell/assets/{record-lines-D4ajVvtc.js → record-lines-C61HlpSx.js} +2 -2
- package/dist/shell/assets/{record-map-IJBljngZ.js → record-map-C-VFW3uK.js} +2 -2
- package/dist/shell/assets/{record-opens-Dth-MEBS.js → record-opens-0Hwj29eY.js} +2 -2
- package/dist/shell/assets/{record-page-DZUqVmk0.js → record-page-DSlsKtND.js} +3 -3
- package/dist/shell/assets/{record-preview-wMoagd6i.js → record-preview-9gB2HCqq.js} +2 -2
- package/dist/shell/assets/{records-map-BbgGOE7w.js → records-map-CHzxxjrz.js} +2 -2
- package/dist/shell/assets/{render-node-h9cWEbE-.js → render-node-Bx2j3Z9N.js} +3 -3
- package/dist/shell/assets/{reorder-button-gdDrG56h.js → reorder-button-BbnTcDWe.js} +2 -2
- package/dist/shell/assets/{run-trace-view-DqRcTHlR.js → run-trace-view-BFoZdUL_.js} +2 -2
- package/dist/shell/assets/{runner-install-field-BhcDC4pg.js → runner-install-field-oUIwmXJr.js} +2 -2
- package/dist/shell/assets/{runtime-update-BazQF8nl.js → runtime-update-C_nVK-Ib.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-Dd-bY2Qa.js → shared-protobase-ui-DK57grt-.js} +1 -1
- package/dist/shell/assets/{sheet-source-CA05AnuE.js → sheet-source-DPrt_4fp.js} +2 -2
- package/dist/shell/assets/{sign-in-policy-page-7hl0azIr.js → sign-in-policy-page-OkYaQyjd.js} +2 -2
- package/dist/shell/assets/{start-block-queries-BVzV-uV2.js → start-block-queries-BEWBUhWg.js} +2 -2
- package/dist/shell/assets/{step-catalog-DGutomuv.js → step-catalog-B37ubHh0.js} +2 -2
- package/dist/shell/assets/{step-panel-BuIiRC-g.js → step-panel-CLYTTuEx.js} +2 -2
- package/dist/shell/assets/{timeline-display-DdkySfMr.js → timeline-display-Be98AAvH.js} +2 -2
- package/dist/shell/assets/{trash-IReijQWL.js → trash-B3AS7MZB.js} +2 -2
- package/dist/shell/assets/{update-set-Ijp4W4Df.js → update-set-LOqKj6_s.js} +2 -2
- package/dist/shell/assets/{use-calendar-move-D07CQGsB.js → use-calendar-move-tAYNZeaf.js} +2 -2
- package/dist/shell/assets/{use-display-rows-BowlA8tv.js → use-display-rows-BNTGJCuA.js} +2 -2
- package/dist/shell/assets/{use-paged-search-BPiYdk9e.js → use-paged-search-zW8DC14J.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CctJj-s_.js → use-run-trace-BfNKHhse.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-G3NuEfi0.js → use-workflow-page-gk8rhqQH.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-BWS5utgc.js → use-workflow-types-BY3B_Oaj.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-BHHRCAvI.js → workflow-canvas-D2uLwFrs.js} +2 -2
- package/dist/shell/assets/{workflow-field-B1MbuDxB.js → workflow-field-QMvj5PMy.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-C-soTaTw.js → workflow-graph-editor-DX7BUqLb.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-CuLkIloc.js → workflow-run-field-DF95Gx_P.js} +3 -3
- package/dist/shell/assets/{workflow-status-field-Co0qx9xC.js → workflow-status-field-COisBbne.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-CSnD-k-9.js → workflow-workbench-DG-OVltK.js} +2 -2
- package/dist/shell/index.html +4 -4
- package/dist/shell/protobase.shell.json +3 -3
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-DtK7jKts.js.map → account-page-CnXeVG2Y.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-Dhno5n-x.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-m4yudVE_.js.map → assistant-shell-CiBgXc2G.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-DTeV61do.js.map → board-display-CbDhUr3M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-C9M_BrdC.js.map → calendar-display-DYCeXWel.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-TD7_HvNB.js.map → call-rings-DasjTYQQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-Bp_BwXBR.js.map → calls-CK0S2A1I.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-Z5jvi5Dk.js.map → circle-alert-DsS_wh95.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-7cjr_6Rj.js.map → composed-page-DR1_Pmnm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-BOic27ni.js.map → composer-section-Drni_iH0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-BQKWurfi.js.map → connect-route-CWqZ4ZdQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-J-xjCVww.js.map → copy-field-BEMhQB0i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-cKTgbHdL.js.map → create-route-DcR4vO0R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-ClXbgsmG.js.map → custom-step-container-field-CQNLXPAV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-CdGDYOeK.js.map → embedded-list-CUUg5UdE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-DJFPmWjl.js.map → export-dialog-BF7ErysJ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-DdCNEjjp.js.map → graph-view-CYY1Wxfn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-YHImqCyt.js.map → group-donut-BrPYdLB4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-DuJmX_uH.js.map → guest-call-page-vE_LtZb2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-BXSFoAH-.js.map → html-viewer-d5JaZY_d.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-D1pihaEn.js.map → import-dialog-Cwopdvpl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-Dd851s8K.js.map → import-table-dialog-iJiIRDzs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-CVnZFr42.js.map → invitations-page-C7lvsotm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-B4BydwOr.js.map → layout-grid-CMNfsxPk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-DStfKS-y.js.map → legend-item-CcZfSPqr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-HyJhabYe.js.map → list-page-C1SSeT_l.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-v43v0z7e.js.map → maplibre-CZgGye8n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-R7RUN0DQ.js.map → markdown-content-DqspuxI3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-BIWsatyd.js.map → members-page-BFe1wo7t.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-CPMEQgWR.js.map → messages-Djmoh5Qy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organization-page-DY5ndg2R.js.map → organization-page-BS5CBM7T.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-6HwVXvoa.js.map → organizations-page-D-2TFpDm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{pending-invitation-row-Cy5mVb52.js.map → pending-invitation-row-MW_m7ClO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-dl5O03oa.js.map → period-chart-D5Gmfn_N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-CC1Anzap.js.map → person-row-DixR2c5_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-DdR2id-n.js.map → public-form-page-BD-0Pq4m.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-D4ajVvtc.js.map → record-lines-C61HlpSx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-IJBljngZ.js.map → record-map-C-VFW3uK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-Dth-MEBS.js.map → record-opens-0Hwj29eY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-DZUqVmk0.js.map → record-page-DSlsKtND.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-wMoagd6i.js.map → record-preview-9gB2HCqq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-BbgGOE7w.js.map → records-map-CHzxxjrz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-h9cWEbE-.js.map → render-node-Bx2j3Z9N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-gdDrG56h.js.map → reorder-button-BbnTcDWe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-DqRcTHlR.js.map → run-trace-view-BFoZdUL_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-BhcDC4pg.js.map → runner-install-field-oUIwmXJr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-BazQF8nl.js.map → runtime-update-C_nVK-Ib.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-CA05AnuE.js.map → sheet-source-DPrt_4fp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-7hl0azIr.js.map → sign-in-policy-page-OkYaQyjd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-BVzV-uV2.js.map → start-block-queries-BEWBUhWg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-DGutomuv.js.map → step-catalog-B37ubHh0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-BuIiRC-g.js.map → step-panel-CLYTTuEx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-DdkySfMr.js.map → timeline-display-Be98AAvH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-IReijQWL.js.map → trash-B3AS7MZB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-Ijp4W4Df.js.map → update-set-LOqKj6_s.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-D07CQGsB.js.map → use-calendar-move-tAYNZeaf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BowlA8tv.js.map → use-display-rows-BNTGJCuA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-BPiYdk9e.js.map → use-paged-search-zW8DC14J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CctJj-s_.js.map → use-run-trace-BfNKHhse.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-G3NuEfi0.js.map → use-workflow-page-gk8rhqQH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-BWS5utgc.js.map → use-workflow-types-BY3B_Oaj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-BHHRCAvI.js.map → workflow-canvas-D2uLwFrs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-B1MbuDxB.js.map → workflow-field-QMvj5PMy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-C-soTaTw.js.map → workflow-graph-editor-DX7BUqLb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-CuLkIloc.js.map → workflow-run-field-DF95Gx_P.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-Co0qx9xC.js.map → workflow-status-field-COisBbne.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-CSnD-k-9.js.map → workflow-workbench-DG-OVltK.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/theme.css +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-BAQxWF5r.css +0 -2
- package/dist/shell-source-maps/assets/app-BjX4WRlX.js.map +0 -1
|
@@ -62,5 +62,5 @@ export type ColumnSpec = {
|
|
|
62
62
|
/** Drawn under the cell's content, outside the link a title cell is; every row of the grid grows to hold it. */
|
|
63
63
|
below?: (row: GridRow) => ReactNode;
|
|
64
64
|
};
|
|
65
|
-
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "
|
|
65
|
+
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "money" | "signed" | "percent";
|
|
66
66
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "
|
|
5
|
-
rich(id: "row" | "
|
|
4
|
+
(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/filter-panel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "remove" | "year" | "month" | "today" | "yesterday" | "
|
|
5
|
-
rich(id: "remove" | "year" | "month" | "today" | "yesterday" | "
|
|
4
|
+
(id: "remove" | "date" | "year" | "month" | "today" | "yesterday" | "noMatches" | "maximum" | "minimum" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "remove" | "date" | "year" | "month" | "today" | "yesterday" | "noMatches" | "maximum" | "minimum" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/forms/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/forms/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "loading" | "send" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "send" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/inline-child-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "line" | "
|
|
5
|
-
rich(id: "line" | "
|
|
4
|
+
(id: "line" | "pickedUp" | "cancelled" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "line" | "pickedUp" | "cancelled" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/invitations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "email" | "revoke" | "
|
|
5
|
-
rich(id: "email" | "revoke" | "
|
|
4
|
+
(id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -18,7 +18,7 @@ export declare class TextsBoundary extends Component<{
|
|
|
18
18
|
static getDerivedStateFromError(): {
|
|
19
19
|
failed: boolean;
|
|
20
20
|
};
|
|
21
|
-
render(): string | number | bigint | boolean |
|
|
21
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
22
22
|
}
|
|
23
23
|
/** Draws its children once the texts of `locale` are loaded, holding the launch splash until then, and says so when they do not load. */
|
|
24
24
|
export declare const TextsGate: ({ locale, children }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/mailbox/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "missing" | "
|
|
5
|
-
rich(id: "missing" | "
|
|
4
|
+
(id: "missing" | "expired" | "missingTitle" | "expiredTitle" | "signInOnly" | "connect" | "connectAgain", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "missing" | "expired" | "missingTitle" | "expiredTitle" | "signInOnly" | "connect" | "connectAgain", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/mentions/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotSearch" | "peopleToMention" | "noOneFound", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSearch" | "peopleToMention" | "noOneFound", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -4,7 +4,7 @@ export declare const customerAt: (index: number) => {
|
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
country: "GB" | "NL" | "DE";
|
|
7
|
-
city: NonNullable<"
|
|
7
|
+
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
8
8
|
};
|
|
9
9
|
export type Customer = ReturnType<typeof customerAt>;
|
|
10
10
|
//#endregion
|
package/dist/mocks/invoices.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export declare const invoiceAt: (index: number) => {
|
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
21
|
country: "GB" | "NL" | "DE";
|
|
22
|
-
city: NonNullable<"
|
|
22
|
+
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
23
23
|
};
|
|
24
|
-
status: "
|
|
24
|
+
status: "draft" | "sent" | "paid" | "overdue";
|
|
25
25
|
issuedAt: number;
|
|
26
26
|
dueAt: number;
|
|
27
27
|
currency: string;
|
package/dist/mocks/orders.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export declare const orderAt: (index: number) => {
|
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
12
|
country: "GB" | "NL" | "DE";
|
|
13
|
-
status: "draft" | "
|
|
13
|
+
status: "draft" | "cancelled" | "confirmed" | "picking" | "shipped" | "delivered";
|
|
14
14
|
totalCents: number;
|
|
15
|
-
discount: 0 |
|
|
15
|
+
discount: 0 | 15 | 10 | 5;
|
|
16
16
|
paid: boolean;
|
|
17
17
|
createdAt: number;
|
|
18
18
|
owner: "u2" | "u5" | "u8";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/notifications/bell/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "unread" | "
|
|
5
|
-
rich(id: "unread" | "
|
|
4
|
+
(id: "unread" | "empty" | "tryAgain" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "unread" | "empty" | "tryAgain" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/organizations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "password" | "members" | "loading" | "leave" | "create" | "open" | "admin" | "organizations" | "accept" | "join" | "name" | "member" | "cancel" | "invitations" | "remove" | "guestLinks" | "yourName" | "organization" | "signOut" | "save" | "until" | "current" | "delete" | "owner" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "password" | "members" | "loading" | "leave" | "create" | "open" | "admin" | "organizations" | "accept" | "join" | "name" | "member" | "cancel" | "invitations" | "remove" | "guestLinks" | "yourName" | "organization" | "signOut" | "save" | "until" | "current" | "delete" | "owner" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/package.js
CHANGED
|
@@ -8,5 +8,5 @@ import { ReactNode } from "react";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const BeforeSignIn: ({ children }: {
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
}) => string | number | bigint | boolean |
|
|
11
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
12
12
|
//#endregion
|
|
@@ -9,7 +9,7 @@ const sizes = {
|
|
|
9
9
|
bar: "size-[min(2rem,max(32px,9vw))] text-[min(0.75rem,max(12px,3.4vw))]"
|
|
10
10
|
};
|
|
11
11
|
const Avatar = ({ initials, hue, size = "sm", className }) => /* @__PURE__ */ jsx("span", {
|
|
12
|
-
className: cn("inline-flex shrink-0 select-none items-center justify-center rounded-full font-semibold text-white
|
|
12
|
+
className: cn("inline-flex shrink-0 select-none items-center justify-center rounded-full font-semibold text-white", sizes[size], className),
|
|
13
13
|
style: { background: `oklch(0.58 0.13 ${hue})` },
|
|
14
14
|
children: initials
|
|
15
15
|
});
|
|
@@ -17,7 +17,8 @@ const AvatarStack = ({ people, size = "sm" }) => /* @__PURE__ */ jsx("span", {
|
|
|
17
17
|
className: "inline-flex -space-x-1",
|
|
18
18
|
children: people.map((person) => /* @__PURE__ */ jsx(Avatar, {
|
|
19
19
|
...person,
|
|
20
|
-
size
|
|
20
|
+
size,
|
|
21
|
+
className: "ring-2 ring-background"
|
|
21
22
|
}, person.initials))
|
|
22
23
|
});
|
|
23
24
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { ReactElement } from "react";
|
|
|
2
2
|
//#region src/primitives/menu-surface.d.ts
|
|
3
3
|
export type MenuSurfaceProps = {
|
|
4
4
|
open: boolean;
|
|
5
|
-
/** What the sheet
|
|
5
|
+
/** What a screen reader calls the sheet on a phone, as the menu's label; the sheet shows no title, only the menu. */
|
|
6
6
|
title: string;
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
/** The menu as it is drawn on a desktop, positioned beside its button: its element keeps its ref, role and handlers. */
|
|
@@ -15,7 +15,7 @@ export type MenuSurfaceProps = {
|
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Where every menu, popover and select list is presented, so they all look and behave alike: on a phone in the sheet
|
|
18
|
-
* that rises from the bottom, on a desktop beside its button. Either way it is drawn at the document's root, with the
|
|
18
|
+
* that rises from the bottom, with its drag handle and the menu's own items alone, as on a desktop beside its button. Either way it is drawn at the document's root, with the
|
|
19
19
|
* page's colours, whatever it opens from, such as a brand-coloured bar.
|
|
20
20
|
*/
|
|
21
21
|
export declare const MenuSurface: ({ open, title, onClose, menu, inPlaceOnDesktop }: MenuSurfaceProps) => import("react").JSX.Element | null;
|
|
@@ -4,10 +4,10 @@ import { cloneElement } from "react";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { createPortal } from "react-dom";
|
|
6
6
|
//#region src/primitives/menu-surface.tsx
|
|
7
|
-
const sheetMenu = "py-1 text-menu-sheet [&>*]:min-h-
|
|
7
|
+
const sheetMenu = "py-1 text-menu-sheet [&>*]:min-h-[2.6em] [&_[role=menuitem]]:min-h-[2.6em] [&_svg]:size-[1.2em] [&_[data-segmented]]:h-[2.3em] [&_[data-segmented]_button]:min-w-[2.3em] [&_[data-segmented]_button]:justify-center [&_[data-menu-heading]]:py-[0.75em] [&_[data-menu-heading]>:first-child]:text-[1.15em] [&_[data-menu-heading]>:first-child]:font-semibold [&_[data-menu-heading]>:last-child]:text-[0.9em]";
|
|
8
8
|
/**
|
|
9
9
|
* Where every menu, popover and select list is presented, so they all look and behave alike: on a phone in the sheet
|
|
10
|
-
* that rises from the bottom, on a desktop beside its button. Either way it is drawn at the document's root, with the
|
|
10
|
+
* that rises from the bottom, with its drag handle and the menu's own items alone, as on a desktop beside its button. Either way it is drawn at the document's root, with the
|
|
11
11
|
* page's colours, whatever it opens from, such as a brand-coloured bar.
|
|
12
12
|
*/
|
|
13
13
|
const MenuSurface = ({ open, title, onClose, menu, inPlaceOnDesktop }) => {
|
|
@@ -19,6 +19,7 @@ const MenuSurface = ({ open, title, onClose, menu, inPlaceOnDesktop }) => {
|
|
|
19
19
|
open: true,
|
|
20
20
|
onClose,
|
|
21
21
|
inset: "none",
|
|
22
|
+
header: "handle",
|
|
22
23
|
children: cloneElement(menu, {
|
|
23
24
|
className: sheetMenu,
|
|
24
25
|
style: void 0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/primitives/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "
|
|
5
|
-
rich(id: "loading" | "
|
|
4
|
+
(id: "loading" | "next" | "remove" | "close" | "previous" | "dragToClose", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "next" | "remove" | "close" | "previous" | "dragToClose", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -41,6 +41,7 @@ const usePopoverMenu = () => {
|
|
|
41
41
|
if (!open) return;
|
|
42
42
|
const inside = (target) => target instanceof Node && Boolean(button.current?.contains(target) || menu.current?.contains(target));
|
|
43
43
|
const close = (event) => {
|
|
44
|
+
if (menu.current?.closest("[aria-modal=\"true\"]")) return;
|
|
44
45
|
if (event instanceof KeyboardEvent ? event.key === "Escape" : !inside(event.target)) setOpen(false);
|
|
45
46
|
};
|
|
46
47
|
const dismiss = (event) => {
|
|
@@ -3,11 +3,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
//#region src/primitives/segmented.tsx
|
|
4
4
|
const sizes = {
|
|
5
5
|
sm: {
|
|
6
|
-
group: "h-
|
|
6
|
+
group: "h-[2em]",
|
|
7
7
|
option: "px-2.5 text-body"
|
|
8
8
|
},
|
|
9
9
|
md: {
|
|
10
|
-
group: "h-
|
|
10
|
+
group: "h-[2.2857em]",
|
|
11
11
|
option: "px-3 text-body"
|
|
12
12
|
}
|
|
13
13
|
};
|
|
@@ -19,6 +19,7 @@ const segmentedClass = {
|
|
|
19
19
|
const Segmented = ({ value, options, onChange, label, size = "sm", iconOnly = false }) => /* @__PURE__ */ jsx("span", {
|
|
20
20
|
role: "group",
|
|
21
21
|
"aria-label": label,
|
|
22
|
+
"data-segmented": "",
|
|
22
23
|
className: segmentedClass.group(size),
|
|
23
24
|
children: options.map((option) => /* @__PURE__ */ jsxs("button", {
|
|
24
25
|
type: "button",
|
|
@@ -29,7 +30,7 @@ const Segmented = ({ value, options, onChange, label, size = "sm", iconOnly = fa
|
|
|
29
30
|
},
|
|
30
31
|
onClick: () => onChange(option.value),
|
|
31
32
|
className: segmentedClass.option(option.value === value, size),
|
|
32
|
-
children: [option.icon && /* @__PURE__ */ jsx(option.icon, { className: "size-
|
|
33
|
+
children: [option.icon && /* @__PURE__ */ jsx(option.icon, { className: "size-[1em]" }), !iconOnly && option.label]
|
|
33
34
|
}, option.value))
|
|
34
35
|
});
|
|
35
36
|
//#endregion
|
|
@@ -7,6 +7,11 @@ export type SheetProps = {
|
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
/** The content's side padding: the sheet's own, or `none` for content that has its own, such as a menu's items. */
|
|
9
9
|
inset?: 'sides' | 'none';
|
|
10
|
+
/**
|
|
11
|
+
* Its top: the title and a close button, or the drag handle alone, `handle`, for a menu, which shows only its own items
|
|
12
|
+
* as it does beside its button on a desktop; `title` then names the sheet for a screen reader only.
|
|
13
|
+
*/
|
|
14
|
+
header?: 'title' | 'handle';
|
|
10
15
|
};
|
|
11
16
|
/**
|
|
12
17
|
* A panel that rises from the bottom of the screen, for the filter panel and `ResponsiveDialog` on mobile screens. It
|
|
@@ -16,5 +21,5 @@ export type SheetProps = {
|
|
|
16
21
|
* panel, which stops short of the top so the screen behind stays in sight. It is drawn at the document's root, so it has
|
|
17
22
|
* the page's colours wherever it opens from, such as a brand-coloured bar, and its content ends above the bottom bar.
|
|
18
23
|
*/
|
|
19
|
-
export declare const Sheet: ({ title, open, onClose, children, inset }: SheetProps) => import("react").ReactPortal | null;
|
|
24
|
+
export declare const Sheet: ({ title, open, onClose, children, inset, header: top }: SheetProps) => import("react").ReactPortal | null;
|
|
20
25
|
//#endregion
|
package/dist/primitives/sheet.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useFocusTrap } from "../lib/use-focus-trap.js";
|
|
|
4
4
|
import { useSheetDrag } from "./use-sheet-drag.js";
|
|
5
5
|
import { useRef } from "react";
|
|
6
6
|
import { X } from "lucide-react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { createPortal } from "react-dom";
|
|
9
9
|
//#region src/primitives/sheet.tsx
|
|
10
10
|
/**
|
|
@@ -15,7 +15,7 @@ import { createPortal } from "react-dom";
|
|
|
15
15
|
* panel, which stops short of the top so the screen behind stays in sight. It is drawn at the document's root, so it has
|
|
16
16
|
* the page's colours wherever it opens from, such as a brand-coloured bar, and its content ends above the bottom bar.
|
|
17
17
|
*/
|
|
18
|
-
const Sheet = ({ title, open, onClose, children, inset = "sides" }) => {
|
|
18
|
+
const Sheet = ({ title, open, onClose, children, inset = "sides", header: top = "title" }) => {
|
|
19
19
|
const panel = useRef(null);
|
|
20
20
|
const backdrop = useRef(null);
|
|
21
21
|
const content = useRef(null);
|
|
@@ -43,28 +43,24 @@ const Sheet = ({ title, open, onClose, children, inset = "sides" }) => {
|
|
|
43
43
|
tabIndex: -1,
|
|
44
44
|
className: "absolute inset-x-0 bottom-0 flex max-h-[85vh] flex-col rounded-t-xl border-t bg-background pl-[var(--pb-safe-left)] pr-[var(--pb-safe-right)] shadow-pop outline-none will-change-transform",
|
|
45
45
|
children: [/* @__PURE__ */ jsxs("header", {
|
|
46
|
-
className: "relative flex shrink-0 touch-none select-none items-center justify-between border-b px-4 pt-4",
|
|
46
|
+
className: cn("relative flex shrink-0 touch-none select-none items-center justify-between", top === "title" ? "border-b px-4 pt-4" : "h-5"),
|
|
47
47
|
...header,
|
|
48
|
-
children: [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
className: "absolute left-1/2 top-0 flex h-4 w-16 -translate-x-1/2 items-start justify-center pt-1.5",
|
|
65
|
-
children: /* @__PURE__ */ jsx("span", { className: "h-1 w-9 rounded-full bg-border-strong" })
|
|
66
|
-
})
|
|
67
|
-
]
|
|
48
|
+
children: [top === "title" && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("h2", {
|
|
49
|
+
className: "text-base font-semibold",
|
|
50
|
+
children: title
|
|
51
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
52
|
+
type: "button",
|
|
53
|
+
"aria-label": text("close"),
|
|
54
|
+
onClick: dismiss,
|
|
55
|
+
className: "-mr-2 inline-flex size-11 items-center justify-center rounded-md text-muted-foreground hover:bg-muted",
|
|
56
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-5" })
|
|
57
|
+
})] }), /* @__PURE__ */ jsx("button", {
|
|
58
|
+
type: "button",
|
|
59
|
+
"aria-label": text("dragToClose"),
|
|
60
|
+
onClick: dismiss,
|
|
61
|
+
className: "absolute left-1/2 top-0 flex h-4 w-16 -translate-x-1/2 items-start justify-center pt-1.5",
|
|
62
|
+
children: /* @__PURE__ */ jsx("span", { className: "h-1 w-9 rounded-full bg-border-strong" })
|
|
63
|
+
})]
|
|
68
64
|
}), /* @__PURE__ */ jsx("div", {
|
|
69
65
|
ref: content,
|
|
70
66
|
className: cn("min-h-0 flex-1 overflow-y-auto overscroll-contain pb-[calc(1.5rem+max(var(--pb-safe-bottom),var(--pb-sticky-bottom,0px)))]", inset === "sides" && "px-4"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/record-view/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "saving" | "actions" | "tabs" | "headingCount" | "headingCountRecords" | "savedDifferent" | "example" | "savedThis" | "keepMine" | "useTheirs" | "savedAgo" | "notSavedRetrying" | "lastEditedBy" | "lastUpdated" | "viewing", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "saving" | "actions" | "tabs" | "headingCount" | "headingCountRecords" | "savedDifferent" | "example" | "savedThis" | "keepMine" | "useTheirs" | "savedAgo" | "notSavedRetrying" | "lastEditedBy" | "lastUpdated" | "viewing", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){try{var e=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:protobase-app":!0})}catch{}})();import{o as e}from"./rolldown-runtime-DFwUHQ4A.js";import{t}from"./react-CuiNlnus.js";import{Fo as n,Jo as r,cs as i,ga as a,ss as o}from"./app-
|
|
2
|
-
//# debugId=
|
|
1
|
+
(function(){try{var e=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:protobase-app":!0})}catch{}})();import{o as e}from"./rolldown-runtime-DFwUHQ4A.js";import{t}from"./react-CuiNlnus.js";import{Fo as n,Jo as r,cs as i,ga as a,ss as o}from"./app-Dhno5n-x.js";import{t as s}from"./render-node-Bx2j3Z9N.js";var c=e(t(),1),l=({tab:e})=>{let t=n();return t?(0,c.jsx)(a,{route:{...e&&{tab:e},pathOf:o},children:(0,c.jsx)(s,{node:t.tree})}):(0,c.jsx)(r,{title:i(`noAccount`),children:i(`noAccountDescription`)})};export{l as AccountPage};
|
|
2
|
+
//# debugId=a75de546-d982-4cdf-ab57-74af501c6667
|