@vokril/ui-solid 0.9.3 → 0.17.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/CHANGELOG.md +69 -0
- package/README.md +110 -31
- package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
- package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-CVyqzT7-.js} +5 -5
- package/dist/{Button-BZWXPn8y.js → Button-BiKPB3cH.js} +2 -2
- package/dist/{Button-X8QR6llv.cjs → Button-Nx7byQZc.cjs} +1 -1
- package/dist/CommandPalette-BFi0_e3t.cjs +2 -0
- package/dist/CommandPalette-CAH08DGN.js +4013 -0
- package/dist/{CopyButton-D3dIRRnn.js → CopyButton-BF7L1TCO.js} +1 -1
- package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
- package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
- package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-jSQBwB78.js} +181 -166
- package/dist/GuidedTour-CWDtBRHv.js +483 -0
- package/dist/GuidedTour-CYaR5Ozj.cjs +1 -0
- package/dist/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/HostPortal-X1iw719T.js +33 -0
- package/dist/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
- package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-Df6uIUpJ.js} +4 -4
- package/dist/{Input-BEnk4FCF.cjs → Input-CZruORyy.cjs} +1 -1
- package/dist/{Input-PZ5wRvPx.js → Input-DkPhsdfk.js} +2 -2
- package/dist/Modal-CQG8l4x7.cjs +1 -0
- package/dist/{Modal-CsiV55WW.js → Modal-CUPe98-o.js} +5 -5
- package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
- package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-CUTLh9Ip.js} +630 -628
- package/dist/{Popover-C24npAQ7.js → Popover-Dht1jFEy.js} +1 -1
- package/dist/{Popover-hhGcYQ-a.cjs → Popover-YfzC0Tjh.cjs} +1 -1
- package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-C01brsF0.js} +5 -5
- package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
- package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
- package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
- package/dist/{Stepper-BxXwbDq4.js → Stepper-38IAEOyT.js} +3 -3
- package/dist/{Stepper-DoJFCfC7.cjs → Stepper-CtaTpnQu.cjs} +1 -1
- package/dist/{Textarea-BUxibzkR.js → Textarea-B5QqqKnI.js} +1 -1
- package/dist/{Textarea-BunKEY68.cjs → Textarea-CeAGf08O.cjs} +1 -1
- package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
- package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
- package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
- package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-D-N0C2Fu.js} +54 -53
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.cts +11 -6
- package/dist/_internal/app/keybindings/context/keybindingsContext.d.ts +11 -6
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +4 -3
- package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +4 -3
- package/dist/_internal/app/keybindings/context/useListCommands.d.cts +6 -5
- package/dist/_internal/app/keybindings/context/useListCommands.d.ts +6 -5
- package/dist/_internal/app/keybindings/index.d.cts +0 -10
- package/dist/_internal/app/keybindings/index.d.ts +0 -10
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +14 -9
- package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +14 -9
- package/dist/_internal/app/menu/menuFavorites.d.cts +35 -8
- package/dist/_internal/app/menu/menuFavorites.d.ts +35 -8
- package/dist/_internal/app/onboarding/pageTourState.d.cts +75 -22
- package/dist/_internal/app/onboarding/pageTourState.d.ts +75 -22
- package/dist/_internal/app/platform/electronBridge.d.cts +35 -29
- package/dist/_internal/app/platform/electronBridge.d.ts +35 -29
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +27 -14
- package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +27 -14
- package/dist/_internal/app/windows/window/HostWindowContext.d.cts +8 -14
- package/dist/_internal/app/windows/window/HostWindowContext.d.ts +8 -14
- package/dist/_internal/contract/catalogNotify.d.cts +6 -19
- package/dist/_internal/contract/catalogNotify.d.ts +6 -19
- package/dist/_internal/contract/hostErrorText.d.cts +13 -23
- package/dist/_internal/contract/hostErrorText.d.ts +13 -23
- package/dist/_internal/contract/notificationCatalog.d.cts +16 -5
- package/dist/_internal/contract/notificationCatalog.d.ts +16 -5
- package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
- package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
- package/dist/_internal/platform/errors/diagnosticReport.d.cts +3 -1
- package/dist/_internal/platform/errors/diagnosticReport.d.ts +3 -1
- package/dist/_internal/platform/logging/consoleLogger.d.cts +7 -0
- package/dist/_internal/platform/logging/consoleLogger.d.ts +7 -0
- package/dist/_internal/platform/settings/registry/defineSettings.d.cts +19 -8
- package/dist/_internal/platform/settings/registry/defineSettings.d.ts +19 -8
- package/dist/_internal/platform/settings/registry/stateDbStore.d.cts +23 -15
- package/dist/_internal/platform/settings/registry/stateDbStore.d.ts +23 -15
- package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
- package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
- package/dist/_internal/platform/vendorErrors/index.d.cts +7 -17
- package/dist/_internal/platform/vendorErrors/index.d.ts +7 -17
- package/dist/_internal/platform/window/displayOwner.d.cts +35 -14
- package/dist/_internal/platform/window/displayOwner.d.ts +35 -14
- package/dist/a11y/index.cjs +1 -1
- package/dist/a11y/index.js +1 -1
- package/dist/actions-DtaFGwh2.cjs +1 -0
- package/dist/actions-wwAHs3ZU.js +16 -0
- package/dist/{server/appThemeDerivation-BiCyiSuz.js → appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/async/createGuardedListLoader.d.cts +3 -0
- package/dist/async/createGuardedListLoader.d.ts +3 -0
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/createDialogShellFocus-BBFu3Z_O.js +282 -0
- package/dist/createDialogShellFocus-CxRqhbRN.cjs +1 -0
- package/dist/createResizableSidebar-CfFxQUny.js +449 -0
- package/dist/createResizableSidebar-q7aC7SAO.cjs +1 -0
- package/dist/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{server/createVirtualScroller-DBvqT0UW.js → createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/defineSettings-Di1sG81q.js +407 -0
- package/dist/descriptor-CaHgh9N_.cjs +1 -0
- package/dist/{descriptor-B1MaujhY.js → descriptor-eGtcBtpI.js} +5 -5
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +500 -426
- package/dist/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/electronBridge-BK92fycw.js +235 -0
- package/dist/electronBridge-cT0xww92.cjs +1 -0
- package/dist/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/feedback/Loader.d.cts +6 -1
- package/dist/feedback/Loader.d.ts +6 -1
- package/dist/feedback/createPreference.d.cts +4 -1
- package/dist/feedback/createPreference.d.ts +4 -1
- package/dist/feedback/guidedInstallOutcome.d.cts +15 -2
- package/dist/feedback/guidedInstallOutcome.d.ts +15 -2
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +37 -38
- package/dist/feedback/readFailureText.d.cts +20 -1
- package/dist/feedback/readFailureText.d.ts +20 -1
- package/dist/focusModality-BISb6-yg.cjs +1 -0
- package/dist/focusModality-FoLPWF-_.js +135 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.d.cts +15 -16
- package/dist/host/index.d.ts +15 -16
- package/dist/host/index.js +56 -90
- package/dist/host/kitHost.d.cts +65 -0
- package/dist/host/kitHost.d.ts +65 -0
- package/dist/host/window.d.cts +3 -11
- package/dist/host/window.d.ts +3 -11
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
- package/dist/i18n-DZ0JlZal.cjs +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +973 -992
- package/dist/isOneOf-9EXOSYJu.cjs +1 -0
- package/dist/isOneOf-Dtomuazg.js +6 -0
- package/dist/{keys-Bfgdfak_.js → keys-B2nlkpqc.js} +6 -9
- package/dist/keys-GMxY2wcl.cjs +1 -0
- package/dist/kitHost-BfJExE1G.cjs +1 -0
- package/dist/kitHost-CVAEi9sF.js +23 -0
- package/dist/layout/createResizableSidebar.d.cts +14 -0
- package/dist/layout/createResizableSidebar.d.ts +14 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +3 -3
- package/dist/layout/sidebarWidthClamp.d.cts +1 -1
- package/dist/layout/sidebarWidthClamp.d.ts +1 -1
- package/dist/mainRealmDom-C12lr9lm.js +171 -0
- package/dist/mainRealmDom-S6teqEr4.cjs +1 -0
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notifications/NotificationHost.d.cts +7 -1
- package/dist/notifications/NotificationHost.d.ts +7 -1
- package/dist/notifications/NotificationItem.d.cts +48 -15
- package/dist/notifications/NotificationItem.d.ts +48 -15
- package/dist/notifications/catalogAdapter.d.cts +28 -6
- package/dist/notifications/catalogAdapter.d.ts +28 -6
- package/dist/notifications/createNotificationPreviewRuntime.d.cts +21 -3
- package/dist/notifications/createNotificationPreviewRuntime.d.ts +21 -3
- package/dist/notifications/customSoundCache.d.cts +24 -24
- package/dist/notifications/customSoundCache.d.ts +24 -24
- package/dist/notifications/emailDigest.d.cts +34 -16
- package/dist/notifications/emailDigest.d.ts +34 -16
- package/dist/notifications/errorActionButtons.d.cts +18 -1
- package/dist/notifications/errorActionButtons.d.ts +18 -1
- package/dist/notifications/fireNotification.d.cts +27 -17
- package/dist/notifications/fireNotification.d.ts +27 -17
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +7 -12
- package/dist/notifications/index.d.ts +7 -12
- package/dist/notifications/index.js +64 -98
- package/dist/notifications/nativeEngine.d.cts +18 -15
- package/dist/notifications/nativeEngine.d.ts +18 -15
- package/dist/notifications/notificationAnalytics.d.cts +11 -6
- package/dist/notifications/notificationAnalytics.d.ts +11 -6
- package/dist/notifications/notificationAudio.d.cts +30 -23
- package/dist/notifications/notificationAudio.d.ts +30 -23
- package/dist/notifications/notificationCardServices.d.cts +23 -0
- package/dist/notifications/notificationCardServices.d.ts +23 -0
- package/dist/notifications/notificationOverlayChannel.d.cts +4 -4
- package/dist/notifications/notificationOverlayChannel.d.ts +4 -4
- package/dist/notifications/notificationOverlaySync.d.cts +7 -2
- package/dist/notifications/notificationOverlaySync.d.ts +7 -2
- package/dist/notifications/notificationService.d.cts +101 -0
- package/dist/notifications/notificationService.d.ts +101 -0
- package/dist/notifications/notificationTimeline.d.cts +47 -49
- package/dist/notifications/notificationTimeline.d.ts +47 -49
- package/dist/notifications/notifications.notifications.d.cts +0 -4
- package/dist/notifications/notifications.notifications.d.ts +0 -4
- package/dist/notifications/toast.d.cts +24 -28
- package/dist/notifications/toast.d.ts +24 -28
- package/dist/notifications/webhookDelivery.d.cts +12 -17
- package/dist/notifications/webhookDelivery.d.ts +12 -17
- package/dist/overlay/ConfirmDialog.d.cts +20 -10
- package/dist/overlay/ConfirmDialog.d.ts +20 -10
- package/dist/overlay/DangerousActionDialog.d.cts +2 -2
- package/dist/overlay/DangerousActionDialog.d.ts +2 -2
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.cts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.ts +15 -14
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.cts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.ts +1 -3
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.cts +1 -1
- package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.ts +1 -1
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +2 -3
- package/dist/overlay/index.d.ts +2 -3
- package/dist/overlay/index.js +114 -119
- package/dist/pageTourState-BcBF8w89.js +516 -0
- package/dist/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-B2s_rp00.js} +3 -3
- package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
- package/dist/server/{Button-BhqhjFpY.js → Button-Ck03cbUs.js} +1 -1
- package/dist/server/{Button-CFOM8pOv.cjs → Button-DWFMF5y0.cjs} +1 -1
- package/dist/server/CommandPalette-2UppyMxU.js +3271 -0
- package/dist/server/CommandPalette-DwpZyhO6.cjs +1 -0
- package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
- package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-UvtFwOtA.js} +1 -1
- package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
- package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-Cr58DczM.js} +158 -143
- package/dist/server/GuidedTour-C4msn-Ag.js +400 -0
- package/dist/server/GuidedTour-Rlsp8rOe.cjs +1 -0
- package/dist/server/HostPortal-B9Tzk_uN.cjs +1 -0
- package/dist/server/HostPortal-X1iw719T.js +33 -0
- package/dist/server/HostWindowContext-B2m0bVra.js +32 -0
- package/dist/server/HostWindowContext-_VZCt7xE.cjs +1 -0
- package/dist/server/{IconPicker-BEACrT09.cjs → IconPicker-9DfOxql6.cjs} +1 -1
- package/dist/server/{IconPicker-at_coEi6.js → IconPicker-N0wub1Aj.js} +4 -4
- package/dist/server/Modal-D__GTo-n.cjs +1 -0
- package/dist/server/{Modal-usxkqDtK.js → Modal-DeQjfpkG.js} +3 -3
- package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-C41pXOcr.js} +457 -455
- package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
- package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-CEcuBnge.js} +2 -2
- package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-Ca9g8ztu.cjs} +1 -1
- package/dist/server/StatusBarNotificationBell-BotYny7q.cjs +49 -0
- package/dist/server/StatusBarNotificationBell-DyEQF2W7.js +13968 -0
- package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper--pusyxso.cjs} +1 -1
- package/dist/server/{Stepper-B8hDDujj.js → Stepper-B_eL85hK.js} +1 -1
- package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-aSHquoBv.js} +1 -1
- package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
- package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
- package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-DjlWwgLJ.js} +4 -4
- package/dist/server/VpTrash-D49oUUJh.cjs +1 -0
- package/dist/server/VpTrash-Dlq8o6Uv.js +298 -0
- package/dist/server/a11y/index.cjs +1 -1
- package/dist/server/a11y/index.js +1 -1
- package/dist/server/actions-DtaFGwh2.cjs +1 -0
- package/dist/server/actions-wwAHs3ZU.js +16 -0
- package/dist/{appThemeDerivation-BiCyiSuz.js → server/appThemeDerivation-B7-DjMIM.js} +181 -184
- package/dist/server/appThemeDerivation-NS3Vws8q.cjs +1 -0
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{format-CW_FVfq2.js → createDialogShellFocus-DNjzmcGj.js} +110 -126
- package/dist/server/createDialogShellFocus-PRRfMli-.cjs +1 -0
- package/dist/server/createResizableSidebar-CZtGmUnA.cjs +1 -0
- package/dist/server/createResizableSidebar-DdWdAB9l.js +287 -0
- package/dist/server/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
- package/dist/{createVirtualScroller-DBvqT0UW.js → server/createVirtualScroller-vu-l4rVv.js} +7 -7
- package/dist/server/defineSettings-D0CSMcyy.cjs +1 -0
- package/dist/server/defineSettings-Di1sG81q.js +407 -0
- package/dist/server/descriptor-CEGvvJZh.cjs +1 -0
- package/dist/server/{descriptor-DWkJAggS.js → descriptor-GLoKPx6x.js} +4 -4
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +389 -315
- package/dist/server/dialogFocusRestore-BrALT8Ew.js +35 -0
- package/dist/server/dialogFocusRestore-CcEsB50v.cjs +1 -0
- package/dist/server/electronBridge-BK92fycw.js +235 -0
- package/dist/server/electronBridge-cT0xww92.cjs +1 -0
- package/dist/server/errorHandler-BvPGW-Nm.js +373 -0
- package/dist/server/errorHandler-DoDAPpv2.cjs +3 -0
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +37 -38
- package/dist/server/focusModality-D-nxv8Er.cjs +1 -0
- package/dist/server/focusModality-nWNVX3JG.js +126 -0
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +7 -7
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
- package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +56 -90
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/server/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
- package/dist/server/i18n-DZ0JlZal.cjs +4 -0
- package/dist/server/{index-BFT4Uh9D.js → index-BNYr6EIW.js} +89 -90
- package/dist/server/index-Cqod09d_.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1022 -1041
- package/dist/server/kitHost-BfJExE1G.cjs +1 -0
- package/dist/server/kitHost-CVAEi9sF.js +23 -0
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +3 -3
- package/dist/server/mainRealmDom-DPNaDWtw.js +121 -0
- package/dist/server/mainRealmDom-DwZVMPnO.cjs +1 -0
- package/dist/server/navigation/index.cjs +1 -1
- package/dist/server/navigation/index.js +1 -1
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +63 -97
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +109 -114
- package/dist/server/pageTourState-BcBF8w89.js +516 -0
- package/dist/server/pageTourState-CrbEU7QW.cjs +5 -0
- package/dist/server/settings/index.cjs +1 -1
- package/dist/server/settings/index.js +23 -24
- package/dist/server/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/server/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +19 -20
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/server/useListCommands-BO_XrRHj.js +38 -0
- package/dist/server/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/server/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/{notification-DFbp3S_f.js → server/useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/server/window-CUK6x8Pj.js +36 -0
- package/dist/server/window-_BfSgFGO.cjs +1 -0
- package/dist/server/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/server/windowRegistry-DeGmXt6W.js +20 -0
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.d.cts +1 -1
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +23 -24
- package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +3 -10
- package/dist/solid/_internal/app/keybindings/context/useListCommands.js +1 -2
- package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +8 -1
- package/dist/solid/_internal/app/menu/menuFavorites.js +45 -40
- package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +22 -22
- package/dist/solid/_internal/app/onboarding/pageTourState.js +94 -92
- package/dist/solid/_internal/app/platform/electronBridge.js +15 -49
- package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +11 -29
- package/dist/solid/_internal/app/windows/window/HostWindowContext.jsx +4 -13
- package/dist/solid/_internal/contract/catalogNotify.js +1 -24
- package/dist/solid/_internal/contract/hostErrorText.js +1 -14
- package/dist/solid/_internal/contract/notificationCatalog.js +1 -1
- package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
- package/dist/solid/_internal/platform/errors/diagnosticReport.js +2 -3
- package/dist/solid/_internal/platform/logging/consoleLogger.js +6 -0
- package/dist/solid/_internal/platform/settings/registry/defineSettings.js +48 -20
- package/dist/solid/_internal/platform/settings/registry/stateDbStore.js +29 -19
- package/dist/solid/_internal/platform/vendorErrors/index.js +4 -17
- package/dist/solid/_internal/platform/window/displayOwner.js +105 -114
- package/dist/solid/a11y/AriaAnnouncer.jsx +5 -6
- package/dist/solid/async/createGuardedListLoader.js +1 -1
- package/dist/solid/desktop/menu/MenuPanel.jsx +7 -7
- package/dist/solid/feedback/ErrorBoundary.jsx +7 -4
- package/dist/solid/feedback/Loader.jsx +1 -2
- package/dist/solid/feedback/createPreference.js +3 -2
- package/dist/solid/feedback/guidedInstallOutcome.js +1 -2
- package/dist/solid/feedback/preference.notifications.js +1 -2
- package/dist/solid/feedback/readFailureText.js +1 -2
- package/dist/solid/host/index.js +9 -16
- package/dist/solid/host/kitHost.jsx +15 -0
- package/dist/solid/host/window.js +15 -22
- package/dist/solid/i18n/i18n.js +5 -6
- package/dist/solid/index.js +0 -1
- package/dist/solid/layout/createResizableSidebar.js +15 -23
- package/dist/solid/notifications/NotificationHost.jsx +21 -29
- package/dist/solid/notifications/NotificationItem.jsx +28 -103
- package/dist/solid/notifications/NotificationPanel.jsx +33 -44
- package/dist/solid/notifications/NotificationsCenter.jsx +22 -20
- package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
- package/dist/solid/notifications/catalogAdapter.js +61 -62
- package/dist/solid/notifications/createNotificationPreviewRuntime.js +29 -19
- package/dist/solid/notifications/customSoundCache.js +26 -21
- package/dist/solid/notifications/emailDigest.js +74 -86
- package/dist/solid/notifications/errorActionButtons.js +6 -11
- package/dist/solid/notifications/fireNotification.js +14 -19
- package/dist/solid/notifications/index.js +4 -12
- package/dist/solid/notifications/nativeEngine.js +6 -19
- package/dist/solid/notifications/notificationAnalytics.js +32 -38
- package/dist/solid/notifications/notificationAudio.js +77 -74
- package/dist/solid/notifications/notificationCardServices.js +34 -0
- package/dist/solid/notifications/notificationOverlayChannel.js +3 -3
- package/dist/solid/notifications/notificationOverlaySync.js +18 -23
- package/dist/solid/notifications/notificationService.js +135 -0
- package/dist/solid/notifications/notificationTimeline.js +117 -124
- package/dist/solid/notifications/notifications.notifications.js +3 -22
- package/dist/solid/notifications/toast.js +168 -213
- package/dist/solid/notifications/webhookDelivery.js +27 -53
- package/dist/solid/overlay/ConfirmDialog.jsx +2 -54
- package/dist/solid/overlay/command-palette/CommandPalette.jsx +3 -1
- package/dist/solid/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js +26 -25
- package/dist/solid/overlay/command-palette/unifiedSearch/settingsSearchContributor.js +2 -7
- package/dist/solid/overlay/index.js +0 -3
- package/dist/solid/settings/index.js +1 -1
- package/dist/solid/tokens/index.js +1 -1
- package/dist/solid/tokens/palette/themeRegistry.js +20 -22
- package/dist/stateDbStore-CThsVch-.cjs +1 -0
- package/dist/stateDbStore-DHZFUIEt.js +57 -0
- package/dist/style.css +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +19 -20
- package/dist/tokens/palette/themeRegistry.d.cts +17 -22
- package/dist/tokens/palette/themeRegistry.d.ts +17 -22
- package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-BzxEyKhA.js} +2 -2
- package/dist/tooltipCoordinator-DslqMlsI.cjs +1 -0
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/dist/{useFloatingDropdown-CfPEYRut.js → useFloatingDropdown-BN4J092P.js} +1 -1
- package/dist/{useFloatingDropdown-DcU7ozDg.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
- package/dist/useListCommands-BO_XrRHj.js +38 -0
- package/dist/useListCommands-Dnm4ktP1.cjs +1 -0
- package/dist/useSettingsSubscription-DKjCwmRd.cjs +1 -0
- package/dist/{server/notification-DFbp3S_f.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
- package/dist/window-CUK6x8Pj.js +36 -0
- package/dist/window-_BfSgFGO.cjs +1 -0
- package/dist/windowRegistry-CxXtP-iY.cjs +1 -0
- package/dist/windowRegistry-DeGmXt6W.js +20 -0
- package/package.json +1 -1
- package/dist/CommandPalette-DToM9pUp.cjs +0 -2
- package/dist/CommandPalette-ZCFlLqrP.js +0 -3950
- package/dist/DateRangePicker-DHI3SNna.cjs +0 -9
- package/dist/GuidedTour-B-BXe3ul.js +0 -11214
- package/dist/GuidedTour-c7XiyOmE.cjs +0 -21
- package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/Modal-DpDHzCWT.cjs +0 -1
- package/dist/PageSkeleton-DzKYTuNy.cjs +0 -30
- package/dist/Progress-B5YmNeyU.js +0 -56
- package/dist/Progress-BNy0wsJl.cjs +0 -1
- package/dist/StatusBarNotificationBell-CZmym2gV.js +0 -2140
- package/dist/StatusBarNotificationBell-DG8Pe6R-.cjs +0 -4
- package/dist/ToggleButton-Bjxv8KGH.cjs +0 -1
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.cts +0 -20
- package/dist/_internal/app/contexts/WorkspaceTabsContext.d.ts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.cts +0 -20
- package/dist/_internal/app/settings/theme/appThemeChange.d.ts +0 -20
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.cts +0 -6
- package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.ts +0 -6
- package/dist/_internal/base/listenerDispatch.d.cts +0 -14
- package/dist/_internal/base/listenerDispatch.d.ts +0 -14
- package/dist/_internal/contract/appName.d.cts +0 -10
- package/dist/_internal/contract/appName.d.ts +0 -10
- package/dist/_internal/contract/hostText.d.cts +0 -25
- package/dist/_internal/contract/hostText.d.ts +0 -25
- package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
- package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
- package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
- package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
- package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
- package/dist/_internal/platform/logging/rendererLogging.d.cts +0 -65
- package/dist/_internal/platform/logging/rendererLogging.d.ts +0 -65
- package/dist/_internal/platform/settings/preferencesCache.d.cts +0 -162
- package/dist/_internal/platform/settings/preferencesCache.d.ts +0 -162
- package/dist/announcerService-B7yicxvU.js +0 -97
- package/dist/announcerService-D_pFE24a.cjs +0 -1
- package/dist/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
- package/dist/catalogNotify-CIhFuJ1b.js +0 -1210
- package/dist/createResizableSidebar-2TgiFZp1.js +0 -461
- package/dist/createResizableSidebar-pDoO-7q9.cjs +0 -1
- package/dist/defineSettings-By5ell8e.js +0 -391
- package/dist/defineSettings-DRv1FRbv.cjs +0 -1
- package/dist/descriptor-lw1fA9mi.cjs +0 -1
- package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/displayOwner-BNw2Foa_.cjs +0 -1
- package/dist/displayOwner-B_ezJv-O.js +0 -75
- package/dist/feedback/preference.notifications.samples.d.cts +0 -1
- package/dist/feedback/preference.notifications.samples.d.ts +0 -1
- package/dist/focusModality-B150daiS.js +0 -133
- package/dist/focusModality-PPfeW05D.cjs +0 -1
- package/dist/format-Dih0q9gm.cjs +0 -1
- package/dist/format-UGlMj0HW.js +0 -298
- package/dist/i18n-B9ccWgcR.cjs +0 -4
- package/dist/keys-BeeC5_RZ.cjs +0 -1
- package/dist/mainRealmDom-COGBiX78.js +0 -102
- package/dist/mainRealmDom-DijAgSXt.cjs +0 -1
- package/dist/menuFavorites-Db1DpHX6.js +0 -69
- package/dist/menuFavorites-EluLLTfi.cjs +0 -1
- package/dist/notification-CrxHMXsk.cjs +0 -1
- package/dist/notificationSuppressions-CBIJ4bC4.js +0 -430
- package/dist/notificationSuppressions-DFbFpayS.cjs +0 -1
- package/dist/notifications/copyToClipboard.d.cts +0 -6
- package/dist/notifications/copyToClipboard.d.ts +0 -6
- package/dist/notifications/createCopyFlash.d.cts +0 -17
- package/dist/notifications/createCopyFlash.d.ts +0 -17
- package/dist/notifications/notificationDisplayOwner.d.cts +0 -27
- package/dist/notifications/notificationDisplayOwner.d.ts +0 -27
- package/dist/notifications/notificationRepeaterEntryFactory.d.cts +0 -36
- package/dist/notifications/notificationRepeaterEntryFactory.d.ts +0 -36
- package/dist/notifications/notifications.notifications.samples.d.cts +0 -1
- package/dist/notifications/notifications.notifications.samples.d.ts +0 -1
- package/dist/notifications/persistWithRollbackOnFailure.d.cts +0 -18
- package/dist/notifications/persistWithRollbackOnFailure.d.ts +0 -18
- package/dist/notifications/startNotificationSchedulers.d.cts +0 -2
- package/dist/notifications/startNotificationSchedulers.d.ts +0 -2
- package/dist/notifications/startNotificationSettingsReactions.d.cts +0 -46
- package/dist/notifications/startNotificationSettingsReactions.d.ts +0 -46
- package/dist/overlay/ToastHost.d.cts +0 -7
- package/dist/overlay/ToastHost.d.ts +0 -7
- package/dist/pageTourState-CIr8ockR.js +0 -92
- package/dist/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/preferencesCache-BhUd3K9p.js +0 -65
- package/dist/preferencesCache-DJPCTPYx.cjs +0 -1
- package/dist/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/rendererLogging-Edo4ALXU.js +0 -822
- package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
- package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
- package/dist/server/DateRangePicker-sX2m4194.cjs +0 -9
- package/dist/server/GuidedTour-BhJGkoPa.js +0 -10981
- package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
- package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
- package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
- package/dist/server/Modal-CAVr4DU6.cjs +0 -1
- package/dist/server/PageSkeleton-KwYRrZua.cjs +0 -30
- package/dist/server/Progress-CRbj6nEy.cjs +0 -1
- package/dist/server/Progress-nsDy6clG.js +0 -41
- package/dist/server/StatusBarNotificationBell-BJyGqDCX.cjs +0 -4
- package/dist/server/StatusBarNotificationBell-C9MCuKT6.js +0 -1974
- package/dist/server/ToggleButton-DTI2HB97.cjs +0 -1
- package/dist/server/VpTerminal-Bpw-d9wD.js +0 -186
- package/dist/server/VpTerminal-C-U_dN_x.cjs +0 -1
- package/dist/server/VpTrash-CagiU2Uj.cjs +0 -1
- package/dist/server/VpTrash-DVBfts9_.js +0 -116
- package/dist/server/announcerService-B7yicxvU.js +0 -97
- package/dist/server/announcerService-D_pFE24a.cjs +0 -1
- package/dist/server/appThemeDerivation-DmKbTiFi.cjs +0 -1
- package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
- package/dist/server/catalogNotify-mUcKuUmZ.js +0 -1248
- package/dist/server/createResizableSidebar-CCrAgu_K.js +0 -299
- package/dist/server/createResizableSidebar-DGd-3PrM.cjs +0 -1
- package/dist/server/defineSettings-By5ell8e.js +0 -391
- package/dist/server/defineSettings-DRv1FRbv.cjs +0 -1
- package/dist/server/descriptor-IJq9wdXK.cjs +0 -1
- package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
- package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
- package/dist/server/displayOwner-BNw2Foa_.cjs +0 -1
- package/dist/server/displayOwner-B_ezJv-O.js +0 -75
- package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
- package/dist/server/focusModality-DmOZptla.js +0 -124
- package/dist/server/format-x-8syaS2.cjs +0 -1
- package/dist/server/i18n-B9ccWgcR.cjs +0 -4
- package/dist/server/index-Xlas73iC.cjs +0 -1
- package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
- package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
- package/dist/server/menuFavorites-Db1DpHX6.js +0 -69
- package/dist/server/menuFavorites-EluLLTfi.cjs +0 -1
- package/dist/server/notification-CrxHMXsk.cjs +0 -1
- package/dist/server/notificationSuppressions-D7FZmJy8.cjs +0 -1
- package/dist/server/notificationSuppressions-DkrUMXHx.js +0 -391
- package/dist/server/pageTourState-CIr8ockR.js +0 -92
- package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
- package/dist/server/preferencesCache-BhUd3K9p.js +0 -65
- package/dist/server/preferencesCache-DJPCTPYx.cjs +0 -1
- package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
- package/dist/server/rendererLogging-Edo4ALXU.js +0 -822
- package/dist/server/settingsSearchContributor-DZj7Wc8l.cjs +0 -1
- package/dist/server/settingsSearchContributor-DeMn-njw.js +0 -199
- package/dist/server/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/server/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/server/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/server/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/server/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/server/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/server/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/server/windowRegistry-CGvOBUsw.cjs +0 -1
- package/dist/settingsSearchContributor-C-UJc7Xc.js +0 -199
- package/dist/settingsSearchContributor-Du0SDpJt.cjs +0 -1
- package/dist/solid/_internal/app/contexts/WorkspaceTabsContext.js +0 -10
- package/dist/solid/_internal/app/settings/theme/appThemeChange.js +0 -5
- package/dist/solid/_internal/app/settings/ui/shell/openSettingsModal.js +0 -15
- package/dist/solid/_internal/base/listenerDispatch.js +0 -12
- package/dist/solid/_internal/contract/appName.js +0 -7
- package/dist/solid/_internal/contract/hostText.js +0 -15
- package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
- package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
- package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
- package/dist/solid/_internal/platform/logging/rendererLogging.js +0 -42
- package/dist/solid/_internal/platform/settings/preferencesCache.js +0 -329
- package/dist/solid/feedback/preference.notifications.samples.js +0 -5
- package/dist/solid/notifications/copyToClipboard.js +0 -21
- package/dist/solid/notifications/createCopyFlash.js +0 -26
- package/dist/solid/notifications/notificationDisplayOwner.js +0 -1
- package/dist/solid/notifications/notificationRepeaterEntryFactory.js +0 -20
- package/dist/solid/notifications/notifications.notifications.samples.js +0 -14
- package/dist/solid/notifications/persistWithRollbackOnFailure.js +0 -11
- package/dist/solid/notifications/startNotificationSchedulers.js +0 -8
- package/dist/solid/notifications/startNotificationSettingsReactions.js +0 -22
- package/dist/solid/overlay/ToastHost.jsx +0 -1
- package/dist/stateDbStore-Ds3zJ4cd.js +0 -47
- package/dist/stateDbStore-THFfFGa0.cjs +0 -1
- package/dist/tooltipCoordinator-y5YP3tsJ.cjs +0 -1
- package/dist/useListCommands-Bf7aOTXZ.js +0 -61
- package/dist/useListCommands-ucngC3t4.cjs +0 -1
- package/dist/useSettingsSubscription-cu943hND.js +0 -11
- package/dist/useSettingsSubscription-vlMrNNH9.cjs +0 -1
- package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
- package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
- package/dist/windowRegistry-Bk5lXIVd.js +0 -62
- package/dist/windowRegistry-CGvOBUsw.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function i(n,e){return n.includes(e)}exports.isOneOf=i;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
const t = [
|
|
1
|
+
import { i as r } from "./isOneOf-Dtomuazg.js";
|
|
2
|
+
const o = [
|
|
5
3
|
"Enter",
|
|
6
4
|
"Escape",
|
|
7
5
|
"Tab",
|
|
@@ -35,12 +33,11 @@ const t = [
|
|
|
35
33
|
function a(e, n) {
|
|
36
34
|
return e.key === n;
|
|
37
35
|
}
|
|
38
|
-
function
|
|
39
|
-
return r(
|
|
36
|
+
function F(e) {
|
|
37
|
+
return r(o, e.key) ? e.key : null;
|
|
40
38
|
}
|
|
41
39
|
export {
|
|
42
|
-
|
|
43
|
-
r as a,
|
|
40
|
+
o as N,
|
|
44
41
|
a as i,
|
|
45
|
-
|
|
42
|
+
F as n
|
|
46
43
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./isOneOf-9EXOSYJu.cjs"),n=["Enter","Escape","Tab","Backspace","Delete","Insert","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown","ContextMenu","Dead","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"];function o(e,r){return e.key===r}function F(e){return t.isOneOf(n,e.key)?e.key:null}exports.NAMED_KEYS=n;exports.isKey=o;exports.namedKeyOf=F;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("solid-js/web"),o=require("solid-js"),i=require("./bugIndicatingError-D2X5Hfgg.cjs"),e=o.createContext();function n(t){return r.createComponent(e.Provider,{get value(){return t.host},get children(){return t.children}})}function s(){const t=o.useContext(e);if(t===void 0)throw new i.BugIndicatingError("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");return t}exports.KitHostProvider=n;exports.useKitHost=s;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createComponent as r } from "solid-js/web";
|
|
2
|
+
import { createContext as e, useContext as i } from "solid-js";
|
|
3
|
+
import { B as n } from "./bugIndicatingError-h3J5qkL6.js";
|
|
4
|
+
const o = e();
|
|
5
|
+
function c(t) {
|
|
6
|
+
return r(o.Provider, {
|
|
7
|
+
get value() {
|
|
8
|
+
return t.host;
|
|
9
|
+
},
|
|
10
|
+
get children() {
|
|
11
|
+
return t.children;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function d() {
|
|
16
|
+
const t = i(o);
|
|
17
|
+
if (t === void 0) throw new n("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
c as K,
|
|
22
|
+
d as u
|
|
23
|
+
};
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { type Accessor } from 'solid-js';
|
|
2
|
+
import type { UiLayoutPreferences } from '../_internal/platform/settings/settingsTypes.cjs';
|
|
3
|
+
import type { Event } from '../_internal/base/event.cjs';
|
|
4
|
+
/**
|
|
5
|
+
* The host's layout preferences — where sidebar widths and collapsed states live (`KitHost.layout`). The kit
|
|
6
|
+
* keeps no copy: a second cache would answer a sidebar with a value another surface already changed.
|
|
7
|
+
*/
|
|
8
|
+
export interface LayoutPreferences {
|
|
9
|
+
getUiLayout(): UiLayoutPreferences;
|
|
10
|
+
setSidebarWidth(key: string, width: number): void;
|
|
11
|
+
setSidebarCollapsed(key: string, collapsed: boolean): void;
|
|
12
|
+
/** Fires with the key of a sidebar whose width or collapsed state changed — whoever changed it. */
|
|
13
|
+
readonly onDidChangeSidebar: Event<string>;
|
|
14
|
+
}
|
|
2
15
|
export interface ResizableSidebarOptions {
|
|
3
16
|
storageKey: string;
|
|
4
17
|
collapsedKey: string;
|
|
@@ -15,4 +28,5 @@ export interface ResizableSidebarApi {
|
|
|
15
28
|
resetWidth: () => void;
|
|
16
29
|
toggleCollapse: () => void;
|
|
17
30
|
}
|
|
31
|
+
/** A sidebar whose width and collapsed state persist in the host's layout preferences — call during setup. */
|
|
18
32
|
export declare function createResizableSidebar(opts: ResizableSidebarOptions): ResizableSidebarApi;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { type Accessor } from 'solid-js';
|
|
2
|
+
import type { UiLayoutPreferences } from '../_internal/platform/settings/settingsTypes.js';
|
|
3
|
+
import type { Event } from '../_internal/base/event.js';
|
|
4
|
+
/**
|
|
5
|
+
* The host's layout preferences — where sidebar widths and collapsed states live (`KitHost.layout`). The kit
|
|
6
|
+
* keeps no copy: a second cache would answer a sidebar with a value another surface already changed.
|
|
7
|
+
*/
|
|
8
|
+
export interface LayoutPreferences {
|
|
9
|
+
getUiLayout(): UiLayoutPreferences;
|
|
10
|
+
setSidebarWidth(key: string, width: number): void;
|
|
11
|
+
setSidebarCollapsed(key: string, collapsed: boolean): void;
|
|
12
|
+
/** Fires with the key of a sidebar whose width or collapsed state changed — whoever changed it. */
|
|
13
|
+
readonly onDidChangeSidebar: Event<string>;
|
|
14
|
+
}
|
|
2
15
|
export interface ResizableSidebarOptions {
|
|
3
16
|
storageKey: string;
|
|
4
17
|
collapsedKey: string;
|
|
@@ -15,4 +28,5 @@ export interface ResizableSidebarApi {
|
|
|
15
28
|
resetWidth: () => void;
|
|
16
29
|
toggleCollapse: () => void;
|
|
17
30
|
}
|
|
31
|
+
/** A sidebar whose width and collapsed state persist in the host's layout preferences — call during setup. */
|
|
18
32
|
export declare function createResizableSidebar(opts: ResizableSidebarOptions): ResizableSidebarApi;
|
package/dist/layout/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-q7aC7SAO.cjs"),r=require("../Stepper-CtaTpnQu.cjs"),a=require("../createVirtualScroller-CL49JE2P.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualScroller=a.createVirtualScroller;
|
package/dist/layout/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-
|
|
2
|
-
import { A as l, B as b, S as d, T as p } from "../Stepper-
|
|
3
|
-
import { c as m } from "../createVirtualScroller-
|
|
1
|
+
import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-CfFxQUny.js";
|
|
2
|
+
import { A as l, B as b, S as d, T as p } from "../Stepper-38IAEOyT.js";
|
|
3
|
+
import { c as m } from "../createVirtualScroller-vu-l4rVv.js";
|
|
4
4
|
export {
|
|
5
5
|
l as Accordion,
|
|
6
6
|
b as Breadcrumb,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pure clamp + persisted-read resolution for a resizable sidebar's width.
|
|
3
3
|
*
|
|
4
4
|
* Extracted from createResizableSidebar so the bounds arithmetic can be unit
|
|
5
|
-
* tested without solid-js / window /
|
|
5
|
+
* tested without solid-js / window / the host's layout preferences (jsdom-free). The hook
|
|
6
6
|
* delegates here; this module has zero framework or I/O imports. (#1341)
|
|
7
7
|
*/
|
|
8
8
|
/** Clamp a candidate width into the inclusive [min, max] range. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pure clamp + persisted-read resolution for a resizable sidebar's width.
|
|
3
3
|
*
|
|
4
4
|
* Extracted from createResizableSidebar so the bounds arithmetic can be unit
|
|
5
|
-
* tested without solid-js / window /
|
|
5
|
+
* tested without solid-js / window / the host's layout preferences (jsdom-free). The hook
|
|
6
6
|
* delegates here; this module has zero framework or I/O imports. (#1341)
|
|
7
7
|
*/
|
|
8
8
|
/** Clamp a candidate width into the inclusive [min, max] range. */
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { use as B, insert as m, createComponent as h, effect as g, className as u, memo as D, style as N, setAttribute as c, template as W, delegateEvents as T } from "solid-js/web";
|
|
2
|
+
import { createUniqueId as w, onCleanup as y, Show as S } from "solid-js";
|
|
3
|
+
import { t as z } from "./tooltipCoordinator-BzxEyKhA.js";
|
|
4
|
+
const C = "vk_badge_H207K", I = "vk_icon_pYYcO", L = "vk_dot_rH6r0", E = "vk_sm_wGIZ-", M = "vk_minWidth_COglg", X = "vk_uppercase_VXoV8", H = "vk_toneNeutral_X8HW3", P = "vk_toneBrand_yGkjl", O = "vk_toneInfo_wp-9H", V = "vk_toneSuccess_VG8jt", j = "vk_toneWarning_zPFLO", q = "vk_toneDanger_cRUoq", F = "vk_soft_8b-4T", R = "vk_outline_gFFWD", G = "vk_collapsible_DMKBX", K = "vk_label_veC9k", a = {
|
|
5
|
+
badge: C,
|
|
6
|
+
icon: I,
|
|
7
|
+
dot: L,
|
|
8
|
+
sm: E,
|
|
9
|
+
minWidth: M,
|
|
10
|
+
uppercase: X,
|
|
11
|
+
toneNeutral: H,
|
|
12
|
+
toneBrand: P,
|
|
13
|
+
toneInfo: O,
|
|
14
|
+
toneSuccess: V,
|
|
15
|
+
toneWarning: j,
|
|
16
|
+
toneDanger: q,
|
|
17
|
+
soft: F,
|
|
18
|
+
outline: R,
|
|
19
|
+
collapsible: G,
|
|
20
|
+
label: K
|
|
21
|
+
};
|
|
22
|
+
var A = /* @__PURE__ */ W("<span aria-hidden=true>"), $ = /* @__PURE__ */ W("<span>");
|
|
23
|
+
const U = {
|
|
24
|
+
neutral: a.toneNeutral,
|
|
25
|
+
brand: a.toneBrand,
|
|
26
|
+
info: a.toneInfo,
|
|
27
|
+
success: a.toneSuccess,
|
|
28
|
+
warning: a.toneWarning,
|
|
29
|
+
danger: a.toneDanger
|
|
30
|
+
}, Q = {
|
|
31
|
+
soft: a.soft,
|
|
32
|
+
outline: a.outline
|
|
33
|
+
};
|
|
34
|
+
function fe(e) {
|
|
35
|
+
let t;
|
|
36
|
+
const l = w(), r = () => e.tooltip !== void 0 ? typeof e.tooltip == "function" ? e.tooltip() : e.tooltip : e.title, d = () => {
|
|
37
|
+
const n = r();
|
|
38
|
+
!n || !t || (t.hasAttribute("title") && (t.setAttribute("data-suppressed-title", t.getAttribute("title") ?? ""), t.removeAttribute("title")), z.showTooltip({
|
|
39
|
+
id: l,
|
|
40
|
+
target: t,
|
|
41
|
+
content: n,
|
|
42
|
+
placement: e.tooltipPlacement
|
|
43
|
+
}));
|
|
44
|
+
}, i = () => {
|
|
45
|
+
if (t && t.hasAttribute("data-suppressed-title")) {
|
|
46
|
+
const n = t.getAttribute("data-suppressed-title");
|
|
47
|
+
n && t.setAttribute("title", n), t.removeAttribute("data-suppressed-title");
|
|
48
|
+
}
|
|
49
|
+
}, v = () => {
|
|
50
|
+
i(), t && z.hideTooltip(t);
|
|
51
|
+
};
|
|
52
|
+
y(() => {
|
|
53
|
+
t && z.hideTooltip(t);
|
|
54
|
+
});
|
|
55
|
+
const k = () => [a.badge, U[e.tone ?? "neutral"], Q[e.variant ?? "soft"], e.size === "sm" ? a.sm : void 0, e.uppercase ? a.uppercase : void 0, e.minWidth ? a.minWidth : void 0, e.collapsible === !0 ? a.collapsible : void 0, e.class].filter((n) => !!n).join(" ");
|
|
56
|
+
return (() => {
|
|
57
|
+
var n = $();
|
|
58
|
+
return n.$$focusout = v, n.$$focusin = d, n.addEventListener("pointerleave", v), n.addEventListener("pointerenter", d), B((o) => t = o, n), m(n, h(S, {
|
|
59
|
+
get when() {
|
|
60
|
+
return e.icon !== void 0;
|
|
61
|
+
},
|
|
62
|
+
get children() {
|
|
63
|
+
var o = A();
|
|
64
|
+
return m(o, () => e.icon), g(() => u(o, a.icon)), o;
|
|
65
|
+
}
|
|
66
|
+
}), null), m(n, h(S, {
|
|
67
|
+
get when() {
|
|
68
|
+
return D(() => e.collapsible === !0)() && e.icon === void 0;
|
|
69
|
+
},
|
|
70
|
+
get children() {
|
|
71
|
+
var o = A();
|
|
72
|
+
return g(() => u(o, a.dot)), o;
|
|
73
|
+
}
|
|
74
|
+
}), null), m(n, h(S, {
|
|
75
|
+
get when() {
|
|
76
|
+
return e.collapsible === !0;
|
|
77
|
+
},
|
|
78
|
+
get fallback() {
|
|
79
|
+
return e.children;
|
|
80
|
+
},
|
|
81
|
+
get children() {
|
|
82
|
+
var o = $();
|
|
83
|
+
return m(o, () => e.children), g(() => u(o, a.label)), o;
|
|
84
|
+
}
|
|
85
|
+
}), null), g((o) => {
|
|
86
|
+
var _ = k(), b = e.style, f = e.title;
|
|
87
|
+
return _ !== o.e && u(n, o.e = _), o.t = N(n, b, o.t), f !== o.a && c(n, "title", o.a = f), o;
|
|
88
|
+
}, {
|
|
89
|
+
e: void 0,
|
|
90
|
+
t: void 0,
|
|
91
|
+
a: void 0
|
|
92
|
+
}), n;
|
|
93
|
+
})();
|
|
94
|
+
}
|
|
95
|
+
T(["focusin", "focusout"]);
|
|
96
|
+
const Y = "vk_track_8sxq6", Z = "vk_size2xs_PFVQU", J = "vk_sizeXs_uv795", p = "vk_sizeSm_PXflS", ee = "vk_sizeMd_D7fn9", te = "vk_fill_WzdHy", ne = "vk_toneBrand_Tv6r-", oe = "vk_toneSuccess_zqjLa", ie = "vk_toneWarning_xuA11", ae = "vk_toneDanger_eWHhk", re = "vk_toneNeutral_-Ko2R", se = "vk_indeterminate_94QkD", s = {
|
|
97
|
+
track: Y,
|
|
98
|
+
size2xs: Z,
|
|
99
|
+
sizeXs: J,
|
|
100
|
+
sizeSm: p,
|
|
101
|
+
sizeMd: ee,
|
|
102
|
+
fill: te,
|
|
103
|
+
toneBrand: ne,
|
|
104
|
+
toneSuccess: oe,
|
|
105
|
+
toneWarning: ie,
|
|
106
|
+
toneDanger: ae,
|
|
107
|
+
toneNeutral: re,
|
|
108
|
+
indeterminate: se
|
|
109
|
+
};
|
|
110
|
+
var le = /* @__PURE__ */ W("<div role=progressbar><span>");
|
|
111
|
+
const ce = {
|
|
112
|
+
brand: s.toneBrand,
|
|
113
|
+
success: s.toneSuccess,
|
|
114
|
+
warning: s.toneWarning,
|
|
115
|
+
danger: s.toneDanger,
|
|
116
|
+
neutral: s.toneNeutral
|
|
117
|
+
}, ue = {
|
|
118
|
+
"2xs": s.size2xs,
|
|
119
|
+
xs: s.sizeXs,
|
|
120
|
+
sm: s.sizeSm,
|
|
121
|
+
md: s.sizeMd
|
|
122
|
+
};
|
|
123
|
+
function me(e) {
|
|
124
|
+
const t = () => {
|
|
125
|
+
if (e.indeterminate) return 0;
|
|
126
|
+
const r = e.max ?? 100;
|
|
127
|
+
return r <= 0 ? 0 : Math.max(0, Math.min(100, e.value / r * 100));
|
|
128
|
+
}, l = () => e.indeterminate === !0;
|
|
129
|
+
return (() => {
|
|
130
|
+
var r = le(), d = r.firstChild;
|
|
131
|
+
return g((i) => {
|
|
132
|
+
var v = `${s.track} ${ue[e.size ?? "md"]} ${ce[e.tone ?? "brand"]} ${l() ? s.indeterminate : ""} ${e.class ?? ""}`, k = l() ? void 0 : Math.round(t()), n = l() ? void 0 : 0, o = l() ? void 0 : 100, _ = l() ? "true" : void 0, b = e.ariaLabel, f = s.fill, x = l() ? void 0 : {
|
|
133
|
+
"--progress-pct": `${t()}%`
|
|
134
|
+
};
|
|
135
|
+
return v !== i.e && u(r, i.e = v), k !== i.t && c(r, "aria-valuenow", i.t = k), n !== i.a && c(r, "aria-valuemin", i.a = n), o !== i.o && c(r, "aria-valuemax", i.o = o), _ !== i.i && c(r, "aria-busy", i.i = _), b !== i.n && c(r, "aria-label", i.n = b), f !== i.s && u(d, i.s = f), i.h = N(d, x, i.h), i;
|
|
136
|
+
}, {
|
|
137
|
+
e: void 0,
|
|
138
|
+
t: void 0,
|
|
139
|
+
a: void 0,
|
|
140
|
+
o: void 0,
|
|
141
|
+
i: void 0,
|
|
142
|
+
n: void 0,
|
|
143
|
+
s: void 0,
|
|
144
|
+
h: void 0
|
|
145
|
+
}), r;
|
|
146
|
+
})();
|
|
147
|
+
}
|
|
148
|
+
function ge(e, t) {
|
|
149
|
+
return {
|
|
150
|
+
...e,
|
|
151
|
+
category: e.category ?? e.id.split(".")[0] ?? "general",
|
|
152
|
+
build: t
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function ke(e, t, l) {
|
|
156
|
+
return {
|
|
157
|
+
id: e,
|
|
158
|
+
notification: t,
|
|
159
|
+
resolve: (r) => t.build(l, r)
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
function be(e) {
|
|
163
|
+
return document.createElement(e);
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
fe as B,
|
|
167
|
+
me as P,
|
|
168
|
+
ke as a,
|
|
169
|
+
be as c,
|
|
170
|
+
ge as d
|
|
171
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("solid-js/web"),_=require("solid-js"),b=require("./tooltipCoordinator-DslqMlsI.cjs"),N="vk_badge_H207K",z="vk_icon_pYYcO",A="vk_dot_rH6r0",W="vk_sm_wGIZ-",$="vk_minWidth_COglg",C="vk_uppercase_VXoV8",w="vk_toneNeutral_X8HW3",x="vk_toneBrand_yGkjl",B="vk_toneInfo_wp-9H",D="vk_toneSuccess_VG8jt",T="vk_toneWarning_zPFLO",y="vk_toneDanger_cRUoq",E="vk_soft_8b-4T",I="vk_outline_gFFWD",L="vk_collapsible_DMKBX",M="vk_label_veC9k",r={badge:N,icon:z,dot:A,sm:W,minWidth:$,uppercase:C,toneNeutral:w,toneBrand:x,toneInfo:B,toneSuccess:D,toneWarning:T,toneDanger:y,soft:E,outline:I,collapsible:L,label:M};var k=t.template("<span aria-hidden=true>"),h=t.template("<span>");const X={neutral:r.toneNeutral,brand:r.toneBrand,info:r.toneInfo,success:r.toneSuccess,warning:r.toneWarning,danger:r.toneDanger},q={soft:r.soft,outline:r.outline};function H(e){let n;const c=_.createUniqueId(),a=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,u=()=>{const o=a();!o||!n||(n.hasAttribute("title")&&(n.setAttribute("data-suppressed-title",n.getAttribute("title")??""),n.removeAttribute("title")),b.tooltipCoordinator.showTooltip({id:c,target:n,content:o,placement:e.tooltipPlacement}))},s=()=>{if(n&&n.hasAttribute("data-suppressed-title")){const o=n.getAttribute("data-suppressed-title");o&&n.setAttribute("title",o),n.removeAttribute("data-suppressed-title")}},d=()=>{s(),n&&b.tooltipCoordinator.hideTooltip(n)};_.onCleanup(()=>{n&&b.tooltipCoordinator.hideTooltip(n)});const m=()=>[r.badge,X[e.tone??"neutral"],q[e.variant??"soft"],e.size==="sm"?r.sm:void 0,e.uppercase?r.uppercase:void 0,e.minWidth?r.minWidth:void 0,e.collapsible===!0?r.collapsible:void 0,e.class].filter(o=>!!o).join(" ");return(()=>{var o=h();return o.$$focusout=d,o.$$focusin=u,o.addEventListener("pointerleave",d),o.addEventListener("pointerenter",u),t.use(i=>n=i,o),t.insert(o,t.createComponent(_.Show,{get when(){return e.icon!==void 0},get children(){var i=k();return t.insert(i,()=>e.icon),t.effect(()=>t.className(i,r.icon)),i}}),null),t.insert(o,t.createComponent(_.Show,{get when(){return t.memo(()=>e.collapsible===!0)()&&e.icon===void 0},get children(){var i=k();return t.effect(()=>t.className(i,r.dot)),i}}),null),t.insert(o,t.createComponent(_.Show,{get when(){return e.collapsible===!0},get fallback(){return e.children},get children(){var i=h();return t.insert(i,()=>e.children),t.effect(()=>t.className(i,r.label)),i}}),null),t.effect(i=>{var v=m(),g=e.style,f=e.title;return v!==i.e&&t.className(o,i.e=v),i.t=t.style(o,g,i.t),f!==i.a&&t.setAttribute(o,"title",i.a=f),i},{e:void 0,t:void 0,a:void 0}),o})()}t.delegateEvents(["focusin","focusout"]);const P="vk_track_8sxq6",O="vk_size2xs_PFVQU",V="vk_sizeXs_uv795",j="vk_sizeSm_PXflS",F="vk_sizeMd_D7fn9",R="vk_fill_WzdHy",G="vk_toneBrand_Tv6r-",K="vk_toneSuccess_zqjLa",U="vk_toneWarning_xuA11",Q="vk_toneDanger_eWHhk",Y="vk_toneNeutral_-Ko2R",Z="vk_indeterminate_94QkD",l={track:P,size2xs:O,sizeXs:V,sizeSm:j,sizeMd:F,fill:R,toneBrand:G,toneSuccess:K,toneWarning:U,toneDanger:Q,toneNeutral:Y,indeterminate:Z};var J=t.template("<div role=progressbar><span>");const p={brand:l.toneBrand,success:l.toneSuccess,warning:l.toneWarning,danger:l.toneDanger,neutral:l.toneNeutral},ee={"2xs":l.size2xs,xs:l.sizeXs,sm:l.sizeSm,md:l.sizeMd};function te(e){const n=()=>{if(e.indeterminate)return 0;const a=e.max??100;return a<=0?0:Math.max(0,Math.min(100,e.value/a*100))},c=()=>e.indeterminate===!0;return(()=>{var a=J(),u=a.firstChild;return t.effect(s=>{var d=`${l.track} ${ee[e.size??"md"]} ${p[e.tone??"brand"]} ${c()?l.indeterminate:""} ${e.class??""}`,m=c()?void 0:Math.round(n()),o=c()?void 0:0,i=c()?void 0:100,v=c()?"true":void 0,g=e.ariaLabel,f=l.fill,S=c()?void 0:{"--progress-pct":`${n()}%`};return d!==s.e&&t.className(a,s.e=d),m!==s.t&&t.setAttribute(a,"aria-valuenow",s.t=m),o!==s.a&&t.setAttribute(a,"aria-valuemin",s.a=o),i!==s.o&&t.setAttribute(a,"aria-valuemax",s.o=i),v!==s.i&&t.setAttribute(a,"aria-busy",s.i=v),g!==s.n&&t.setAttribute(a,"aria-label",s.n=g),f!==s.s&&t.className(u,s.s=f),s.h=t.style(u,S,s.h),s},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0}),a})()}function ne(e,n){return{...e,category:e.category??e.id.split(".")[0]??"general",build:n}}function oe(e,n,c){return{id:e,notification:n,resolve:a=>n.build(c,a)}}function ie(e){return document.createElement(e)}exports.Badge=H;exports.Progress=te;exports.createElement=ie;exports.defineNotification=ne;exports.defineNotificationScenario=oe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-CtaTpnQu.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
|
package/dist/navigation/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-
|
|
1
|
+
import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-38IAEOyT.js";
|
|
2
2
|
import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
|
|
3
3
|
import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
|
|
4
4
|
export {
|
|
@@ -7,7 +7,13 @@ export declare const NotificationHost: Component<{
|
|
|
7
7
|
* look the bridge up itself.
|
|
8
8
|
*
|
|
9
9
|
* ui adapter: optional; when left out the host takes the realm window's channel
|
|
10
|
-
* (`appWindowNotificationOverlay()`), which is "none" unless the desktop bridge provides one.
|
|
10
|
+
* (`appWindowNotificationOverlay(desktop)`), which is "none" unless the desktop bridge provides one.
|
|
11
11
|
*/
|
|
12
12
|
readonly overlay?: NotificationOverlayChannel;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the notification center is showing in this window — the stack hides while it is, the center
|
|
15
|
+
* lists the same notifications. Read in a tracking scope. Which surface is the center and when it is
|
|
16
|
+
* visible is the application's layout: a window without a center passes `() => false`.
|
|
17
|
+
*/
|
|
18
|
+
readonly centerOpen: () => boolean;
|
|
13
19
|
}>;
|
|
@@ -7,7 +7,13 @@ export declare const NotificationHost: Component<{
|
|
|
7
7
|
* look the bridge up itself.
|
|
8
8
|
*
|
|
9
9
|
* ui adapter: optional; when left out the host takes the realm window's channel
|
|
10
|
-
* (`appWindowNotificationOverlay()`), which is "none" unless the desktop bridge provides one.
|
|
10
|
+
* (`appWindowNotificationOverlay(desktop)`), which is "none" unless the desktop bridge provides one.
|
|
11
11
|
*/
|
|
12
12
|
readonly overlay?: NotificationOverlayChannel;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the notification center is showing in this window — the stack hides while it is, the center
|
|
15
|
+
* lists the same notifications. Read in a tracking scope. Which surface is the center and when it is
|
|
16
|
+
* visible is the application's layout: a window without a center passes `() => false`.
|
|
17
|
+
*/
|
|
18
|
+
readonly centerOpen: () => boolean;
|
|
13
19
|
}>;
|
|
@@ -1,20 +1,53 @@
|
|
|
1
1
|
import { type Component } from 'solid-js';
|
|
2
|
-
import
|
|
2
|
+
import type { NotificationItem as NotificationItemModel } from './nativeEngine.cjs';
|
|
3
|
+
import { type VendorErrorMatch } from '../_internal/platform/vendorErrors/index.cjs';
|
|
4
|
+
import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.cjs';
|
|
5
|
+
import type { Announcer } from '../_internal/platform/a11y/announcerService.cjs';
|
|
6
|
+
/**
|
|
7
|
+
* What a card does with itself and what it reads about itself — answered by the stack that owns the
|
|
8
|
+
* card: the realm's notification service (`NotificationHost`), a native overlay's bridge, a preview's
|
|
9
|
+
* isolated engine. The card reads no settings and no module state of its own, so it renders the same
|
|
10
|
+
* in every realm.
|
|
11
|
+
*/
|
|
12
|
+
export interface NotificationItemController {
|
|
13
|
+
close(id: string): void;
|
|
14
|
+
setFocus(id: string, focused: boolean): void;
|
|
15
|
+
setHover(id: string, hovered: boolean): void;
|
|
16
|
+
toggleExpanded(id: string): void;
|
|
17
|
+
/** Whether the card stays until it is closed — read in a tracking scope, so a change re-renders it. */
|
|
18
|
+
isSticky(item: NotificationItemModel): boolean;
|
|
19
|
+
/** How long the card stays, in ms; a value that is not finite or not positive runs no timer. */
|
|
20
|
+
duration(item: NotificationItemModel): number;
|
|
21
|
+
/** The card's vendor error, for the context menu's documentation entries. */
|
|
22
|
+
resolveVendorError(ref: VendorErrorRef): VendorErrorMatch | null;
|
|
23
|
+
/** Opens a link from the card's body or menu outside the app. */
|
|
24
|
+
openExternal(url: string): void;
|
|
25
|
+
/** Reads the card to a screen reader — an error assertively, the rest politely. */
|
|
26
|
+
readonly announcer: Pick<Announcer, 'polite' | 'assertive'>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The application's verbs behind a card's gear menu and body click — the suppressions, the settings
|
|
30
|
+
* page and the shell's page navigation.
|
|
31
|
+
*/
|
|
32
|
+
export interface NotificationItemShell {
|
|
33
|
+
/** Whether the gear menu offers "remind me later". */
|
|
34
|
+
remindLaterEnabled(): boolean;
|
|
35
|
+
isSourceMuted(source: string): boolean;
|
|
36
|
+
setSourceMuted(source: string, muted: boolean): void;
|
|
37
|
+
dismissKey(key: string): void;
|
|
38
|
+
remindLater(key: string, ttlMs: number): void;
|
|
39
|
+
openSettings(): void;
|
|
40
|
+
/** A click on the card's body asked for the notification's page (its opaque `defaultRoute`). */
|
|
41
|
+
navigate(route: string): void;
|
|
42
|
+
}
|
|
3
43
|
interface Props {
|
|
4
|
-
item: NotificationItemModel;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
onNavigate?: () => void;
|
|
12
|
-
onOpenExternal?: (url: string) => void;
|
|
13
|
-
isSourceMuted?: (source: string) => boolean;
|
|
14
|
-
sticky?: () => boolean | undefined;
|
|
15
|
-
};
|
|
16
|
-
/** Disables routes, external links and persistent suppression/settings menus. */
|
|
17
|
-
isolated?: boolean;
|
|
44
|
+
readonly item: NotificationItemModel;
|
|
45
|
+
readonly controller: NotificationItemController;
|
|
46
|
+
/**
|
|
47
|
+
* The application's verbs. `null` renders the card ISOLATED (a preview): no gear menu and no
|
|
48
|
+
* navigation, markdown links inert and images off.
|
|
49
|
+
*/
|
|
50
|
+
readonly shell: NotificationItemShell | null;
|
|
18
51
|
}
|
|
19
52
|
export declare const NotificationItem: Component<Props>;
|
|
20
53
|
export {};
|
|
@@ -1,20 +1,53 @@
|
|
|
1
1
|
import { type Component } from 'solid-js';
|
|
2
|
-
import
|
|
2
|
+
import type { NotificationItem as NotificationItemModel } from './nativeEngine.js';
|
|
3
|
+
import { type VendorErrorMatch } from '../_internal/platform/vendorErrors/index.js';
|
|
4
|
+
import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.js';
|
|
5
|
+
import type { Announcer } from '../_internal/platform/a11y/announcerService.js';
|
|
6
|
+
/**
|
|
7
|
+
* What a card does with itself and what it reads about itself — answered by the stack that owns the
|
|
8
|
+
* card: the realm's notification service (`NotificationHost`), a native overlay's bridge, a preview's
|
|
9
|
+
* isolated engine. The card reads no settings and no module state of its own, so it renders the same
|
|
10
|
+
* in every realm.
|
|
11
|
+
*/
|
|
12
|
+
export interface NotificationItemController {
|
|
13
|
+
close(id: string): void;
|
|
14
|
+
setFocus(id: string, focused: boolean): void;
|
|
15
|
+
setHover(id: string, hovered: boolean): void;
|
|
16
|
+
toggleExpanded(id: string): void;
|
|
17
|
+
/** Whether the card stays until it is closed — read in a tracking scope, so a change re-renders it. */
|
|
18
|
+
isSticky(item: NotificationItemModel): boolean;
|
|
19
|
+
/** How long the card stays, in ms; a value that is not finite or not positive runs no timer. */
|
|
20
|
+
duration(item: NotificationItemModel): number;
|
|
21
|
+
/** The card's vendor error, for the context menu's documentation entries. */
|
|
22
|
+
resolveVendorError(ref: VendorErrorRef): VendorErrorMatch | null;
|
|
23
|
+
/** Opens a link from the card's body or menu outside the app. */
|
|
24
|
+
openExternal(url: string): void;
|
|
25
|
+
/** Reads the card to a screen reader — an error assertively, the rest politely. */
|
|
26
|
+
readonly announcer: Pick<Announcer, 'polite' | 'assertive'>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The application's verbs behind a card's gear menu and body click — the suppressions, the settings
|
|
30
|
+
* page and the shell's page navigation.
|
|
31
|
+
*/
|
|
32
|
+
export interface NotificationItemShell {
|
|
33
|
+
/** Whether the gear menu offers "remind me later". */
|
|
34
|
+
remindLaterEnabled(): boolean;
|
|
35
|
+
isSourceMuted(source: string): boolean;
|
|
36
|
+
setSourceMuted(source: string, muted: boolean): void;
|
|
37
|
+
dismissKey(key: string): void;
|
|
38
|
+
remindLater(key: string, ttlMs: number): void;
|
|
39
|
+
openSettings(): void;
|
|
40
|
+
/** A click on the card's body asked for the notification's page (its opaque `defaultRoute`). */
|
|
41
|
+
navigate(route: string): void;
|
|
42
|
+
}
|
|
3
43
|
interface Props {
|
|
4
|
-
item: NotificationItemModel;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
onNavigate?: () => void;
|
|
12
|
-
onOpenExternal?: (url: string) => void;
|
|
13
|
-
isSourceMuted?: (source: string) => boolean;
|
|
14
|
-
sticky?: () => boolean | undefined;
|
|
15
|
-
};
|
|
16
|
-
/** Disables routes, external links and persistent suppression/settings menus. */
|
|
17
|
-
isolated?: boolean;
|
|
44
|
+
readonly item: NotificationItemModel;
|
|
45
|
+
readonly controller: NotificationItemController;
|
|
46
|
+
/**
|
|
47
|
+
* The application's verbs. `null` renders the card ISOLATED (a preview): no gear menu and no
|
|
48
|
+
* navigation, markdown links inert and images off.
|
|
49
|
+
*/
|
|
50
|
+
readonly shell: NotificationItemShell | null;
|
|
18
51
|
}
|
|
19
52
|
export declare const NotificationItem: Component<Props>;
|
|
20
53
|
export {};
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
import type { NotificationPriority, NotificationSeverity } from '../_internal/contract/notification.cjs';
|
|
2
2
|
import type { NotificationCatalogMetadata, NotificationCatalogPayload } from '../_internal/contract/notificationCatalog.cjs';
|
|
3
3
|
import type { CatalogNotificationHost } from '../_internal/contract/catalogNotify.cjs';
|
|
4
|
-
|
|
4
|
+
import type { ErrorActionsFn } from '../_internal/contract/hostErrorText.cjs';
|
|
5
|
+
import type { OsNotifyOptions } from '../_internal/app/platform/electronBridge.cjs';
|
|
6
|
+
import type { NativeNotificationEngine } from './nativeEngine.cjs';
|
|
7
|
+
import { type Toast } from './toast.cjs';
|
|
8
|
+
import { type VendorErrorSource } from '../_internal/platform/vendorErrors/index.cjs';
|
|
9
|
+
export interface CatalogDeliveryDependencies {
|
|
10
|
+
readonly toast: Toast;
|
|
11
|
+
readonly osNotify: (options: OsNotifyOptions) => void;
|
|
12
|
+
/** The error's actions — they become the notification's buttons. */
|
|
13
|
+
readonly errorActions: ErrorActionsFn;
|
|
14
|
+
/** Tells the user that an error action's button failed. */
|
|
15
|
+
readonly onActionFailed: (failure: unknown) => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The delivery of built catalog payloads — the only route from a feature's definition to a toast or
|
|
19
|
+
* an OS notification; features never select raw toast policy.
|
|
20
|
+
*/
|
|
21
|
+
export declare function createCatalogDelivery(deps: CatalogDeliveryDependencies): CatalogNotificationHost;
|
|
5
22
|
/** Mirrors toast.error's vendor-code escalation before a preview reaches its isolated engine. */
|
|
6
23
|
export declare function resolveCatalogPreviewPriority(severity: NotificationSeverity, priority: NotificationPriority, hasVendorCode: boolean, vendorCodesAreUrgent: boolean): NotificationPriority;
|
|
24
|
+
export interface CatalogPreviewDependencies {
|
|
25
|
+
readonly engine: NativeNotificationEngine;
|
|
26
|
+
readonly vendorErrors: VendorErrorSource;
|
|
27
|
+
/** Opens a vendor's documentation link — the one action of a preview that does what it says. */
|
|
28
|
+
readonly openExternal: (url: string) => void;
|
|
29
|
+
}
|
|
7
30
|
/**
|
|
8
|
-
* Paints one catalog payload in the real
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* navigation, suppression write or production setting mutation is performed.
|
|
31
|
+
* Paints one catalog payload in the real toast stack while keeping every external and persistent sink
|
|
32
|
+
* disconnected. Used only by the developer catalog: no timeline entry, sound, OS notification, webhook,
|
|
33
|
+
* digest, navigation, suppression write or production setting mutation is performed.
|
|
12
34
|
*/
|
|
13
|
-
export declare function showCatalogPreviewToast(definition: NotificationCatalogMetadata, payload: NotificationCatalogPayload): string;
|
|
35
|
+
export declare function showCatalogPreviewToast(deps: CatalogPreviewDependencies, definition: NotificationCatalogMetadata, payload: NotificationCatalogPayload): string;
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
import type { NotificationPriority, NotificationSeverity } from '../_internal/contract/notification.js';
|
|
2
2
|
import type { NotificationCatalogMetadata, NotificationCatalogPayload } from '../_internal/contract/notificationCatalog.js';
|
|
3
3
|
import type { CatalogNotificationHost } from '../_internal/contract/catalogNotify.js';
|
|
4
|
-
|
|
4
|
+
import type { ErrorActionsFn } from '../_internal/contract/hostErrorText.js';
|
|
5
|
+
import type { OsNotifyOptions } from '../_internal/app/platform/electronBridge.js';
|
|
6
|
+
import type { NativeNotificationEngine } from './nativeEngine.js';
|
|
7
|
+
import { type Toast } from './toast.js';
|
|
8
|
+
import { type VendorErrorSource } from '../_internal/platform/vendorErrors/index.js';
|
|
9
|
+
export interface CatalogDeliveryDependencies {
|
|
10
|
+
readonly toast: Toast;
|
|
11
|
+
readonly osNotify: (options: OsNotifyOptions) => void;
|
|
12
|
+
/** The error's actions — they become the notification's buttons. */
|
|
13
|
+
readonly errorActions: ErrorActionsFn;
|
|
14
|
+
/** Tells the user that an error action's button failed. */
|
|
15
|
+
readonly onActionFailed: (failure: unknown) => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The delivery of built catalog payloads — the only route from a feature's definition to a toast or
|
|
19
|
+
* an OS notification; features never select raw toast policy.
|
|
20
|
+
*/
|
|
21
|
+
export declare function createCatalogDelivery(deps: CatalogDeliveryDependencies): CatalogNotificationHost;
|
|
5
22
|
/** Mirrors toast.error's vendor-code escalation before a preview reaches its isolated engine. */
|
|
6
23
|
export declare function resolveCatalogPreviewPriority(severity: NotificationSeverity, priority: NotificationPriority, hasVendorCode: boolean, vendorCodesAreUrgent: boolean): NotificationPriority;
|
|
24
|
+
export interface CatalogPreviewDependencies {
|
|
25
|
+
readonly engine: NativeNotificationEngine;
|
|
26
|
+
readonly vendorErrors: VendorErrorSource;
|
|
27
|
+
/** Opens a vendor's documentation link — the one action of a preview that does what it says. */
|
|
28
|
+
readonly openExternal: (url: string) => void;
|
|
29
|
+
}
|
|
7
30
|
/**
|
|
8
|
-
* Paints one catalog payload in the real
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* navigation, suppression write or production setting mutation is performed.
|
|
31
|
+
* Paints one catalog payload in the real toast stack while keeping every external and persistent sink
|
|
32
|
+
* disconnected. Used only by the developer catalog: no timeline entry, sound, OS notification, webhook,
|
|
33
|
+
* digest, navigation, suppression write or production setting mutation is performed.
|
|
12
34
|
*/
|
|
13
|
-
export declare function showCatalogPreviewToast(definition: NotificationCatalogMetadata, payload: NotificationCatalogPayload): string;
|
|
35
|
+
export declare function showCatalogPreviewToast(deps: CatalogPreviewDependencies, definition: NotificationCatalogMetadata, payload: NotificationCatalogPayload): string;
|