@vokril/ui-solid 0.7.0 → 0.8.2
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 +29 -0
- package/README.md +19 -0
- package/dist/AttributeGrid-Bnn1w5XX.cjs +1 -0
- package/dist/AttributeGrid-DJdW32LQ.js +320 -0
- package/dist/CommandPalette-BBDBVARB.cjs +2 -0
- package/dist/{CommandPalette-Ds3xf2z7.js → CommandPalette-e6FePgys.js} +1126 -1097
- package/dist/{DateRangePicker-BSb6F_gs.js → DateRangePicker-BcqoUao4.js} +1 -1
- package/dist/{DateRangePicker-DUrJJjO7.cjs → DateRangePicker-DHI3SNna.cjs} +1 -1
- package/dist/{GuidedTour-C0Q_EEvI.js → GuidedTour-B-BXe3ul.js} +2236 -2220
- package/dist/{GuidedTour-CkGOxh2p.cjs → GuidedTour-c7XiyOmE.cjs} +7 -7
- package/dist/{StatusBarNotificationBell-C8nQZh4i.cjs → StatusBarNotificationBell-2bIRvg2s.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-BMmjdBvj.js → StatusBarNotificationBell-B5knnCWK.js} +2 -2
- package/dist/_internal/app/platform/electronBridge.d.cts +9 -3
- package/dist/_internal/app/platform/electronBridge.d.ts +9 -3
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +1 -1
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.d.cts +1 -0
- package/dist/grid/index.d.ts +1 -0
- package/dist/grid/index.js +7 -6
- package/dist/grid/resultTabToolbarClasses.d.cts +47 -0
- package/dist/grid/resultTabToolbarClasses.d.ts +47 -0
- package/dist/iconScale.module-C3O0bxfp.js +13 -0
- package/dist/iconScale.module-CzmKG1rf.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1096 -1008
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +2 -2
- package/dist/notifications/notificationOverlayChannel.d.cts +3 -3
- package/dist/notifications/notificationOverlayChannel.d.ts +3 -3
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.d.cts +1 -0
- package/dist/overlay/index.d.ts +1 -0
- package/dist/overlay/index.js +93 -92
- package/dist/overlay/panelClasses.d.cts +50 -0
- package/dist/overlay/panelClasses.d.ts +50 -0
- package/dist/server/AttributeGrid-BCYNwNjw.js +281 -0
- package/dist/server/AttributeGrid-BVAQshm3.cjs +1 -0
- package/dist/server/{CommandPalette-Bfm1R0KC.js → CommandPalette-4RCiBlmz.js} +1050 -1021
- package/dist/server/CommandPalette-Dd8AW-WZ.cjs +1 -0
- package/dist/server/{DateRangePicker-BOsd_ZH2.js → DateRangePicker-TW0Dy4u6.js} +1 -1
- package/dist/server/{DateRangePicker-CIKghxMx.cjs → DateRangePicker-sX2m4194.cjs} +1 -1
- package/dist/server/{GuidedTour-BVaym9s9.js → GuidedTour-Bc7SqDXY.js} +754 -738
- package/dist/server/{GuidedTour-B4IK-M3E.cjs → GuidedTour-DvMqeZIU.cjs} +8 -8
- package/dist/server/{StatusBarNotificationBell-DLrvONW3.js → StatusBarNotificationBell-Bk9ETGFK.js} +2 -2
- package/dist/server/{StatusBarNotificationBell-DufUCZwN.cjs → StatusBarNotificationBell-t7B7rSrd.cjs} +1 -1
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +1 -1
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +7 -6
- package/dist/server/iconScale.module-C3O0bxfp.js +13 -0
- package/dist/server/iconScale.module-CzmKG1rf.cjs +1 -0
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1445 -1357
- package/dist/server/notifications/index.cjs +1 -1
- package/dist/server/notifications/index.js +2 -2
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +94 -93
- package/dist/solid/grid/index.js +1 -0
- package/dist/solid/grid/resultTabToolbarClasses.js +33 -0
- package/dist/solid/index.js +1 -0
- package/dist/solid/notifications/notificationOverlayChannel.js +1 -1
- package/dist/solid/overlay/index.js +1 -0
- package/dist/solid/overlay/panelClasses.js +29 -0
- package/dist/solid/styles/detachedLayout.module.css.js +8 -0
- package/dist/solid/styles/detachedLayoutClasses.js +8 -0
- package/dist/solid/styles/hljsTheme.module.css.js +4 -0
- package/dist/solid/styles/hljsThemeClasses.js +4 -0
- package/dist/solid/styles/iconScaleClasses.js +11 -0
- package/dist/solid/styles/index.js +5 -0
- package/dist/solid/styles/recordTable.module.css.js +6 -0
- package/dist/solid/styles/recordTableClasses.js +6 -0
- package/dist/solid/styles/widgetChrome.module.css.js +13 -0
- package/dist/solid/styles/widgetChromeClasses.js +13 -0
- package/dist/solid/widgets/index.js +1 -0
- package/dist/solid/widgets/settingsFieldClasses.js +26 -0
- package/dist/style.css +1 -1
- package/dist/styles/detachedLayoutClasses.d.cts +17 -0
- package/dist/styles/detachedLayoutClasses.d.ts +17 -0
- package/dist/styles/hljsThemeClasses.d.cts +11 -0
- package/dist/styles/hljsThemeClasses.d.ts +11 -0
- package/dist/styles/iconScaleClasses.d.cts +19 -0
- package/dist/styles/iconScaleClasses.d.ts +19 -0
- package/dist/styles/index.d.cts +5 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/recordTableClasses.d.cts +17 -0
- package/dist/styles/recordTableClasses.d.ts +17 -0
- package/dist/styles/widgetChromeClasses.d.cts +31 -0
- package/dist/styles/widgetChromeClasses.d.ts +31 -0
- package/dist/ui.css +1 -1
- package/dist/widgets/index.d.cts +1 -0
- package/dist/widgets/index.d.ts +1 -0
- package/dist/widgets/settingsFieldClasses.d.cts +41 -0
- package/dist/widgets/settingsFieldClasses.d.ts +41 -0
- package/package.json +2 -2
- package/dist/AttributeGrid-CX_GJHgz.js +0 -260
- package/dist/AttributeGrid-X7fHuuIb.cjs +0 -1
- package/dist/CommandPalette-C8JJMY79.cjs +0 -2
- package/dist/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/iconScale.module-Cw_Yn8O6.js +0 -10
- package/dist/server/AttributeGrid-BkWsx39p.js +0 -221
- package/dist/server/AttributeGrid-PHZKkiBG.cjs +0 -1
- package/dist/server/CommandPalette-DIgBGmAh.cjs +0 -1
- package/dist/server/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/server/iconScale.module-Cw_Yn8O6.js +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../StatusBarNotificationBell-2bIRvg2s.cjs"),i=require("../catalogNotify-C9RzbC6x.cjs"),e=require("../notificationSuppressions-DFbFpayS.cjs"),o=require("../GuidedTour-c7XiyOmE.cjs"),s=require("../notification-CrxHMXsk.cjs"),n=require("../visibleBrowserRegistry-BTfWUlI1.cjs"),a=require("../displayOwner-BNw2Foa_.cjs");exports.LogFilterBar=t.LogFilterBar;exports.NOTIFICATION_SOURCES=t.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=t.NOTIFICATION_SOURCE_IDS;exports.NotificationPanel=t.NotificationPanel;exports.NotificationsCenter=t.NotificationsCenter;exports.StatusBarNotificationBell=t.StatusBarNotificationBell;exports.compileNotificationSearchMatcher=t.compileNotificationSearchMatcher;exports.createNotificationPreviewRuntime=t.createNotificationPreviewRuntime;exports.exportTimelineAsCsv=t.exportTimelineAsCsv;exports.exportTimelineAsJson=t.exportTimelineAsJson;exports.filterNotificationTimeline=t.filterNotificationTimeline;exports.groupTimelineEntries=t.groupTimelineEntries;exports.isNotificationSourceId=t.isNotificationSourceId;exports.listNotificationSources=t.listNotificationSources;exports.resolveNotificationSource=t.resolveNotificationSource;exports.startNotificationSchedulers=t.startNotificationSchedulers;exports.startNotificationSettingsReactions=t.startNotificationSettingsReactions;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.addTimelineEntry=i.addTimelineEntry;exports.applyNotificationRules=i.applyNotificationRules;exports.catalogNotificationHost=i.catalogNotificationHost;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.clearNotificationTimeline=i.clearNotificationTimeline;exports.defineNotification=i.defineNotification;exports.defineNotificationScenario=i.defineNotificationScenario;exports.digestNotSentText=i.digestNotSentText;exports.dismissNotificationFromCatalog=i.dismissNotificationFromCatalog;exports.dismissNotificationTimelineEntries=i.dismissNotificationTimelineEntries;exports.dismissNotificationTimelineEntriesBySource=i.dismissNotificationTimelineEntriesBySource;exports.dismissNotificationTimelineEntry=i.dismissNotificationTimelineEntry;exports.enrichErrorToast=i.enrichErrorToast;exports.entryVendorMatch=i.entryVendorMatch;exports.fire=i.fire;exports.flushDigest=i.flushDigest;exports.invalidateCustomSoundCache=i.invalidateCustomSoundCache;exports.isInQuietHours=i.isInQuietHours;exports.loadCustomSoundDataUrl=i.loadCustomSoundDataUrl;exports.markTimelineSeen=i.markTimelineSeen;exports.notifyFromCatalog=i.notifyFromCatalog;exports.playQueryCompletedCue=i.playQueryCompletedCue;exports.playSeverityToneIfEnabled=i.playSeverityToneIfEnabled;exports.progressFromCatalog=i.progressFromCatalog;exports.provideCatalogNotificationHost=i.provideCatalogNotificationHost;exports.refreshOsBadge=i.refreshOsBadge;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationScenario=i.resolveNotificationScenario;exports.resolveSeverityTone=i.resolveSeverityTone;exports.setEmailDigestTransport=i.setEmailDigestTransport;exports.shouldFireOsNative=i.shouldFireOsNative;exports.showCatalogPreviewToast=i.showCatalogPreviewToast;exports.subscribeNotificationTimeline=i.subscribeNotificationTimeline;exports.subscribeUnreadCount=i.subscribeUnreadCount;exports.toTimelineActions=i.toTimelineActions;exports.toast=i.toast;exports.toggleTimelineEntryPin=i.toggleTimelineEntryPin;exports.closeNotification=e.closeNotification;exports.configureDesktopBridge=e.configureDesktopBridge;exports.createNativeNotificationEngine=e.createNativeNotificationEngine;exports.decideFilter=e.decideFilter;exports.deriveImplicitRemindKey=e.deriveImplicitRemindKey;exports.dismissKey=e.dismissKey;exports.isKeyDismissed=e.isKeyDismissed;exports.isKeyRemindSuppressed=e.isKeyRemindSuppressed;exports.isNotificationSticky=e.isNotificationSticky;exports.isSourceMuted=e.isSourceMuted;exports.isSpamDropHandle=e.isSpamDropHandle;exports.notify=e.notify;exports.remindLater=e.remindLater;exports.resolveNotificationDuration=e.resolveNotificationDuration;exports.restoreAllKeys=e.restoreAllKeys;exports.restoreKey=e.restoreKey;exports.setNotificationFocus=e.setNotificationFocus;exports.setNotificationHover=e.setNotificationHover;exports.setSourceMuted=e.setSourceMuted;exports.subscribeNotifications=e.subscribeNotifications;exports.toggleNotificationExpanded=e.toggleNotificationExpanded;exports.unmuteAllSources=e.unmuteAllSources;exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=o.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=o.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=o.HIDE_NOTIFICATION_TOASTS;exports.NO_NOTIFICATION_OVERLAY=o.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=o.NotificationHost;exports.NotificationItem=o.NotificationItem;exports.appWindowNotificationOverlay=o.appWindowNotificationOverlay;exports.dismissableToastIds=o.dismissableToastIds;exports.registerFenceAliases=o.registerFenceAliases;exports.registerNotificationCommands=o.registerNotificationCommands;exports.notificationSettings=s.notificationSettings;exports.setOpenSettingsHandler=n.setOpenSettingsHandler;exports.registerNotificationHost=a.registerDisplayHost;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as T, l as u, r as S, s as C, k as p } from "../StatusBarNotificationBell-
|
|
1
|
+
import { L as a, N as e, a as t, b as o, c as r, S as n, d as c, e as l, f, g as N, h as m, i as d, j as T, l as u, r as S, s as C, k as p } from "../StatusBarNotificationBell-B5knnCWK.js";
|
|
2
2
|
import { S as g, c as E, d as O, e as y, f as A, h as v, i as R, j as F, k as h, l as x, m as _, n as D, o as b, q as H, r as B, t as P, u as K, v as k, w, x as L, y as M, z as U, A as V, B as Y, C as j, D as q, p as z, E as J, F as Q, G, H as W, b as X, I as Z, J as $, K as ii, L as si, M as ai, N as ei, O as ti } from "../catalogNotify-CIhFuJ1b.js";
|
|
3
3
|
import { f as ri, c as ni, h as ci, j as li, k as fi, l as Ni, m as mi, n as di, o as Ti, q as ui, s as Si, t as Ci, u as pi, v as Ii, x as gi, y as Ei, z as Oi, A as yi, B as Ai, C as vi, D as Ri, E as Fi } from "../notificationSuppressions-CBIJ4bC4.js";
|
|
4
|
-
import { A as xi, C as _i, H as Di, N as bi, a as Hi, b as Bi, c as Pi, d as Ki, r as ki, e as wi } from "../GuidedTour-
|
|
4
|
+
import { A as xi, C as _i, H as Di, N as bi, a as Hi, b as Bi, c as Pi, d as Ki, r as ki, e as wi } from "../GuidedTour-B-BXe3ul.js";
|
|
5
5
|
import { n as Mi } from "../notification-DFbp3S_f.js";
|
|
6
6
|
import { s as Vi } from "../visibleBrowserRegistry-Dw2Y4y_I.js";
|
|
7
7
|
import { r as ji } from "../displayOwner-B_ezJv-O.js";
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* ui adapter: the host app reads `window.electronAPI.browser.workspace` directly; ui asks the desktop
|
|
16
16
|
* bridge (`configureDesktopBridge({ notificationOverlay })`), so a plain browser gets no overlay.
|
|
17
17
|
*/
|
|
18
|
-
import type
|
|
19
|
-
/** The overlay's renderer-facing side —
|
|
20
|
-
export type NotificationOverlayPort
|
|
18
|
+
import { type NotificationOverlayPort } from '../_internal/app/platform/electronBridge.cjs';
|
|
19
|
+
/** The overlay's renderer-facing side — declared with the desktop bridge that hands it over. */
|
|
20
|
+
export type { NotificationOverlayPort };
|
|
21
21
|
/** A window's overlay channel: the native overlay, or (in an auxiliary window) none. */
|
|
22
22
|
export type NotificationOverlayChannel = {
|
|
23
23
|
readonly kind: 'native';
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* ui adapter: the host app reads `window.electronAPI.browser.workspace` directly; ui asks the desktop
|
|
16
16
|
* bridge (`configureDesktopBridge({ notificationOverlay })`), so a plain browser gets no overlay.
|
|
17
17
|
*/
|
|
18
|
-
import type
|
|
19
|
-
/** The overlay's renderer-facing side —
|
|
20
|
-
export type NotificationOverlayPort
|
|
18
|
+
import { type NotificationOverlayPort } from '../_internal/app/platform/electronBridge.js';
|
|
19
|
+
/** The overlay's renderer-facing side — declared with the desktop bridge that hands it over. */
|
|
20
|
+
export type { NotificationOverlayPort };
|
|
21
21
|
/** A window's overlay channel: the native overlay, or (in an auxiliary window) none. */
|
|
22
22
|
export type NotificationOverlayChannel = {
|
|
23
23
|
readonly kind: 'native';
|
package/dist/overlay/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-BBDBVARB.cjs"),r=require("../Modal-DpDHzCWT.cjs"),p=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-c7XiyOmE.cjs"),i=require("../format-Dih0q9gm.cjs"),n=require("../tooltipCoordinator-y5YP3tsJ.cjs"),l=require("../dialogFocusRestore-BcMPrbig.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-DvKYN7SD.cjs"),M=require("../useFloatingDropdown-DcU7ozDg.cjs"),T=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),O=require("../settingsSearchContributor-Du0SDpJt.cjs"),s=require("../Popover-Dbi7L860.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createConfirmDialog=e.createConfirmDialog;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.createPromptDialog=e.createPromptDialog;exports.createSaveDiscardDialog=e.createSaveDiscardDialog;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=p.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.ToastHost=a.NotificationHost;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=l.OverlayPortal;exports.restoreFocusTo=l.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=l.shouldRestoreFocusOnDialogClose;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=M.useFloatingDropdown;exports.ownerWindow=T.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.setDatabaseObjectSearchProvider=O.setDatabaseObjectSearchProvider;exports.setSettingsSearchSource=O.setSettingsSearchSource;exports.LISTBOX_OPTION_SELECTOR=s.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=s.MENU_ITEM_SELECTOR;exports.Popover=s.Popover;exports.isPopoverNavigationKey=s.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=s.resolvePopoverFocusForKey;
|
package/dist/overlay/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './ConfirmDialog.cjs';
|
|
|
4
4
|
export * from './ToastHost.cjs';
|
|
5
5
|
export * from './OverlayScrollArea.cjs';
|
|
6
6
|
export * from './Panel.cjs';
|
|
7
|
+
export * from './panelClasses.cjs';
|
|
7
8
|
export * from './ContextMenu.cjs';
|
|
8
9
|
export * from './popover/index.cjs';
|
|
9
10
|
export * from './Drawer.cjs';
|
package/dist/overlay/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './ConfirmDialog.js';
|
|
|
4
4
|
export * from './ToastHost.js';
|
|
5
5
|
export * from './OverlayScrollArea.js';
|
|
6
6
|
export * from './Panel.js';
|
|
7
|
+
export * from './panelClasses.js';
|
|
7
8
|
export * from './ContextMenu.js';
|
|
8
9
|
export * from './popover/index.js';
|
|
9
10
|
export * from './Drawer.js';
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as c, M as u, f as p, g as O, h as M, i as T, j as m, k as d, N as D, O as P, P as E, S, l as _, m as A, n as v, o as g, p as
|
|
2
|
-
import { A as
|
|
3
|
-
import { O as
|
|
4
|
-
import { D as
|
|
5
|
-
import { H as
|
|
6
|
-
import { C as
|
|
7
|
-
import { O as
|
|
8
|
-
import { A as
|
|
9
|
-
import { g as
|
|
10
|
-
import { u as
|
|
11
|
-
import { o as
|
|
12
|
-
import { m as
|
|
13
|
-
import { D as
|
|
14
|
-
import { s as
|
|
15
|
-
import { L as xa, M as
|
|
1
|
+
import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as c, M as u, f as p, g as O, h as M, i as T, j as m, k as d, N as D, O as P, P as E, S, l as _, m as A, n as v, o as g, p as C, q as F, r as I, T as x, s as f, t as y, u as R, v as L, w as h, x as N, y as U, z as b, A as G, B as H, E as W, G as w, H as k, I as B, J as V, K, L as Y, Q as X, R as q, U as j, V as z, W as J, X as Q, Y as Z } from "../CommandPalette-e6FePgys.js";
|
|
2
|
+
import { A as ee, M as ae, c as oe, m as se, r as te, a as re, t as ne } from "../Modal-CsiV55WW.js";
|
|
3
|
+
import { O as le } from "../OverlayScrollArea-c8Za77qs.js";
|
|
4
|
+
import { D as ue, G as pe, P as Oe, f as Me, a as Te, p as me } from "../GuidedTour-B-BXe3ul.js";
|
|
5
|
+
import { H as De, T as Pe, a as Ee, c as Se, d as _e, e as Ae, f as ve } from "../format-UGlMj0HW.js";
|
|
6
|
+
import { C as Ce, a as Fe, D as Ie, b as xe, W as fe, c as ye, d as Re, t as Le } from "../tooltipCoordinator-GV0L9lXH.js";
|
|
7
|
+
import { O as Ne, r as Ue, s as be } from "../dialogFocusRestore-B4ggeVAM.js";
|
|
8
|
+
import { A as He, a as We, b as we, O as ke, c as Be, P as Ve, d as Ke, e as Ye, f as Xe, g as qe, h as je, l as ze, r as Je, i as Qe } from "../anchoredLayout-FC-qv8xm.js";
|
|
9
|
+
import { g as $e, h as ea, i as aa, a as oa, b as sa, n as ta, c as ra, d as na, o as ia, e as la, r as ca, f as ua, j as pa, k as Oa, u as Ma } from "../overlayStack-DvGdPMdq.js";
|
|
10
|
+
import { u as ma } from "../useFloatingDropdown-CfPEYRut.js";
|
|
11
|
+
import { o as Da } from "../ownerWindow-9mx_LD47.js";
|
|
12
|
+
import { m as Ea, n as Sa } from "../prefersReducedMotion-B2mMn01s.js";
|
|
13
|
+
import { D as Aa, u as va } from "../DesktopContextMenuContext-DJ3PnqAv.js";
|
|
14
|
+
import { s as Ca, a as Fa } from "../settingsSearchContributor-C-UJc7Xc.js";
|
|
15
|
+
import { L as xa, M as fa, P as ya, i as Ra, r as La } from "../Popover-C3dFuObM.js";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
ee as ActionPlaceRow,
|
|
18
|
+
He as AnchorAlignment,
|
|
19
|
+
We as AnchorAxisAlignment,
|
|
20
|
+
we as AnchorPosition,
|
|
21
|
+
Ce as COLD_DELAY_MS,
|
|
22
22
|
Fe as COOLDOWN_MS,
|
|
23
23
|
o as CommandPalette,
|
|
24
24
|
s as ConfirmDialog,
|
|
@@ -27,15 +27,15 @@ export {
|
|
|
27
27
|
Ie as DEFAULT_MARGIN,
|
|
28
28
|
xe as DEFAULT_OFFSET,
|
|
29
29
|
n as DesktopContextMenu,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
Aa as DesktopContextMenuContext,
|
|
31
|
+
ue as Disclosure,
|
|
32
32
|
i as Drawer,
|
|
33
33
|
l as DropdownMenu,
|
|
34
34
|
c as FloatingWindow,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
pe as GuidedTour,
|
|
36
|
+
De as HoverTooltip,
|
|
37
37
|
xa as LISTBOX_OPTION_SELECTOR,
|
|
38
|
-
|
|
38
|
+
fa as MENU_ITEM_SELECTOR,
|
|
39
39
|
u as MenuDisclosure,
|
|
40
40
|
p as MenuEmpty,
|
|
41
41
|
O as MenuItem,
|
|
@@ -43,99 +43,100 @@ export {
|
|
|
43
43
|
T as MenuSearch,
|
|
44
44
|
m as MenuSection,
|
|
45
45
|
d as MenuSeparator,
|
|
46
|
-
|
|
46
|
+
ae as Modal,
|
|
47
47
|
D as NameStep,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
ke as OVERLAY_DEFAULT_GAP,
|
|
49
|
+
Be as OVERLAY_DEFAULT_MARGIN,
|
|
50
50
|
P as OptionList,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
Ne as OverlayPortal,
|
|
52
|
+
le as OverlayScrollArea,
|
|
53
|
+
Ve as POPOVER_DEFAULT_GAP,
|
|
54
|
+
Ke as POPOVER_VIEWPORT_MARGIN,
|
|
55
|
+
Oe as Panel,
|
|
56
|
+
Me as PanelSeparator,
|
|
57
|
+
ya as Popover,
|
|
58
58
|
E as PopoverPanel,
|
|
59
59
|
S as SUBMENU_ANCHOR_OVERLAP,
|
|
60
60
|
_ as SUBMENU_ESTIMATED_ROW_HEIGHT,
|
|
61
61
|
A as SUBMENU_ESTIMATED_WIDTH,
|
|
62
62
|
v as SUBMENU_MIN_ESTIMATED_HEIGHT,
|
|
63
63
|
g as SUBMENU_VIEWPORT_MARGIN,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
64
|
+
C as SelectedOptions,
|
|
65
|
+
F as StatementPreview,
|
|
66
|
+
I as StepFooter,
|
|
67
|
+
Pe as TOOLTIP_CURSOR_OFFSET_X,
|
|
68
|
+
Ee as TOOLTIP_CURSOR_OFFSET_Y,
|
|
69
|
+
Se as TOOLTIP_MAX_FOOTPRINT_X,
|
|
70
|
+
_e as TOOLTIP_VIEWPORT_MARGIN,
|
|
71
|
+
Te as ToastHost,
|
|
72
|
+
x as Tooltip,
|
|
73
73
|
f as TooltipHost,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
fe as WARM_DELAY_MS,
|
|
75
|
+
Ye as calcFixedWidthDropdownLeft,
|
|
76
76
|
y as closeContextMenu,
|
|
77
|
-
|
|
77
|
+
oe as collectFocusableElements,
|
|
78
78
|
Xe as computeAnchoredPosition,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
ye as computeAnchoredTooltipPosition,
|
|
80
|
+
qe as computeDropdownPosition,
|
|
81
|
+
je as computePopoverPosition,
|
|
82
82
|
R as computeSubmenuPlacement,
|
|
83
|
-
|
|
83
|
+
Ae as computeTooltipPointerPosition,
|
|
84
84
|
L as confirmationLevelOf,
|
|
85
85
|
h as createConfirmDialog,
|
|
86
86
|
N as createDangerousActionDialog,
|
|
87
87
|
U as createDesktopContextMenuApi,
|
|
88
88
|
b as createDialogFocusScope,
|
|
89
|
-
|
|
89
|
+
ve as createDialogShellFocus,
|
|
90
90
|
G as createOverlayCloseGuard,
|
|
91
91
|
H as createPromptDialog,
|
|
92
92
|
W as createSaveDiscardDialog,
|
|
93
|
-
|
|
93
|
+
Re as createTooltipCoordinator,
|
|
94
94
|
w as describeConsequence,
|
|
95
95
|
k as estimateSubmenuHeight,
|
|
96
96
|
B as firstFocusableMenuIndex,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
$e as getOverlayDiagnostics,
|
|
98
|
+
ea as hasOpenLayerIn,
|
|
99
|
+
aa as isAnyOverlayOpen,
|
|
100
100
|
V as isDesktopMenuNavigationKey,
|
|
101
101
|
K as isIrreversible,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
102
|
+
oa as isModalOccluded,
|
|
103
|
+
sa as isOverlayOverlapping,
|
|
104
|
+
Ra as isPopoverNavigationKey,
|
|
105
|
+
Y as lastFocusableMenuIndex,
|
|
106
|
+
ze as layout2d,
|
|
107
|
+
X as menuSurfaceClasses,
|
|
108
|
+
Ea as modalBackgroundExemption,
|
|
109
|
+
se as modalTitlebarHeight,
|
|
110
|
+
Sa as neutralizeBackground,
|
|
111
111
|
q as nextFocusableMenuIndex,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
ta as notifyOverlayChanged,
|
|
113
|
+
ra as notifyOverlayMotionEnd,
|
|
114
|
+
na as notifyOverlayMotionStart,
|
|
115
|
+
ia as onOverlayMotion,
|
|
116
116
|
j as openContextMenu,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
ca as
|
|
122
|
-
ua as
|
|
123
|
-
pa as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
117
|
+
la as overlayDepth,
|
|
118
|
+
Da as ownerWindow,
|
|
119
|
+
z as panelClasses,
|
|
120
|
+
me as positionTourCard,
|
|
121
|
+
ca as readOverlayMutationRevision,
|
|
122
|
+
ua as registerOverlayClose,
|
|
123
|
+
pa as registerOverlayCondition,
|
|
124
|
+
Oa as registerOverlayOpen,
|
|
125
|
+
Je as requestOwnerAnimationFrame,
|
|
126
|
+
J as resolveDangerousActionDialogKeyIntent,
|
|
127
|
+
te as resolveDialogShellKeyIntent,
|
|
128
|
+
Q as resolveMenuFocusForKey,
|
|
129
|
+
re as resolveModalFocusTrapTarget,
|
|
130
|
+
La as resolvePopoverFocusForKey,
|
|
131
|
+
Qe as resolvePopoverSide,
|
|
132
|
+
Ue as restoreFocusTo,
|
|
133
|
+
Ca as setDatabaseObjectSearchProvider,
|
|
133
134
|
Fa as setSettingsSearchSource,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
be as shouldRestoreFocusOnDialogClose,
|
|
136
|
+
Z as tooltip,
|
|
137
|
+
Le as tooltipCoordinator,
|
|
138
|
+
ne as trapTabFocusWithin,
|
|
139
|
+
va as useDesktopContextMenu,
|
|
140
|
+
ma as useFloatingDropdown,
|
|
141
|
+
Ma as useOverlayRegistration
|
|
141
142
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the {@link Panel} chrome, for a host whose header does not fit
|
|
3
|
+
* `Panel.Header`'s slots or that passes a variant through `class`, `titleClass`, `mainClass` and
|
|
4
|
+
* `actionsClass`. Besides the classes the parts draw by default it holds two denser dialects:
|
|
5
|
+
*
|
|
6
|
+
* - the rail (`*Rail`): the header of a side panel next to an editor, a 12px title with a count
|
|
7
|
+
* pill and icon actions;
|
|
8
|
+
* - the admin section (`*Admin`): the header of a section on an administration page, a 14px title
|
|
9
|
+
* with an optional description under it, no frame and no background.
|
|
10
|
+
*
|
|
11
|
+
* A host stylesheet cannot `composes` from the package, so the host puts these classes on its own
|
|
12
|
+
* elements, next to its own class when it adds to them. The chrome sits in the `vk.composed`
|
|
13
|
+
* cascade layer, so a host class outside any cascade layer wins where both set a property.
|
|
14
|
+
*/
|
|
15
|
+
export interface PanelClasses {
|
|
16
|
+
readonly root: string;
|
|
17
|
+
readonly header: string;
|
|
18
|
+
readonly headerMain: string;
|
|
19
|
+
readonly headerActions: string;
|
|
20
|
+
readonly title: string;
|
|
21
|
+
readonly toolbar: string;
|
|
22
|
+
readonly toolbarSeparator: string;
|
|
23
|
+
readonly toolbarSeparatorHorizontal: string;
|
|
24
|
+
readonly bodyNoScroll: string;
|
|
25
|
+
readonly emptyFill: string;
|
|
26
|
+
readonly footer: string;
|
|
27
|
+
readonly headerRail: string;
|
|
28
|
+
readonly titleRail: string;
|
|
29
|
+
/** The title and its count, side by side. */
|
|
30
|
+
readonly titleWrapRail: string;
|
|
31
|
+
readonly actionsRail: string;
|
|
32
|
+
/** The count pill beside a rail title. */
|
|
33
|
+
readonly countRail: string;
|
|
34
|
+
readonly headerAdmin: string;
|
|
35
|
+
readonly titleAdmin: string;
|
|
36
|
+
readonly titleWrapAdmin: string;
|
|
37
|
+
readonly actionsAdmin: string;
|
|
38
|
+
/** The count pill beside an admin title. */
|
|
39
|
+
readonly countAdmin: string;
|
|
40
|
+
/** The inset of an admin section's body. */
|
|
41
|
+
readonly bodyAdmin: string;
|
|
42
|
+
/** The title row over its description. */
|
|
43
|
+
readonly titleStackAdmin: string;
|
|
44
|
+
readonly titleRowAdmin: string;
|
|
45
|
+
/** The muted description under an admin title. */
|
|
46
|
+
readonly subtitleAdmin: string;
|
|
47
|
+
/** `headerAdmin` with the actions aligned to the top, for a title with a description. */
|
|
48
|
+
readonly headerAdminStacked: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const panelClasses: PanelClasses;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class names of the {@link Panel} chrome, for a host whose header does not fit
|
|
3
|
+
* `Panel.Header`'s slots or that passes a variant through `class`, `titleClass`, `mainClass` and
|
|
4
|
+
* `actionsClass`. Besides the classes the parts draw by default it holds two denser dialects:
|
|
5
|
+
*
|
|
6
|
+
* - the rail (`*Rail`): the header of a side panel next to an editor, a 12px title with a count
|
|
7
|
+
* pill and icon actions;
|
|
8
|
+
* - the admin section (`*Admin`): the header of a section on an administration page, a 14px title
|
|
9
|
+
* with an optional description under it, no frame and no background.
|
|
10
|
+
*
|
|
11
|
+
* A host stylesheet cannot `composes` from the package, so the host puts these classes on its own
|
|
12
|
+
* elements, next to its own class when it adds to them. The chrome sits in the `vk.composed`
|
|
13
|
+
* cascade layer, so a host class outside any cascade layer wins where both set a property.
|
|
14
|
+
*/
|
|
15
|
+
export interface PanelClasses {
|
|
16
|
+
readonly root: string;
|
|
17
|
+
readonly header: string;
|
|
18
|
+
readonly headerMain: string;
|
|
19
|
+
readonly headerActions: string;
|
|
20
|
+
readonly title: string;
|
|
21
|
+
readonly toolbar: string;
|
|
22
|
+
readonly toolbarSeparator: string;
|
|
23
|
+
readonly toolbarSeparatorHorizontal: string;
|
|
24
|
+
readonly bodyNoScroll: string;
|
|
25
|
+
readonly emptyFill: string;
|
|
26
|
+
readonly footer: string;
|
|
27
|
+
readonly headerRail: string;
|
|
28
|
+
readonly titleRail: string;
|
|
29
|
+
/** The title and its count, side by side. */
|
|
30
|
+
readonly titleWrapRail: string;
|
|
31
|
+
readonly actionsRail: string;
|
|
32
|
+
/** The count pill beside a rail title. */
|
|
33
|
+
readonly countRail: string;
|
|
34
|
+
readonly headerAdmin: string;
|
|
35
|
+
readonly titleAdmin: string;
|
|
36
|
+
readonly titleWrapAdmin: string;
|
|
37
|
+
readonly actionsAdmin: string;
|
|
38
|
+
/** The count pill beside an admin title. */
|
|
39
|
+
readonly countAdmin: string;
|
|
40
|
+
/** The inset of an admin section's body. */
|
|
41
|
+
readonly bodyAdmin: string;
|
|
42
|
+
/** The title row over its description. */
|
|
43
|
+
readonly titleStackAdmin: string;
|
|
44
|
+
readonly titleRowAdmin: string;
|
|
45
|
+
/** The muted description under an admin title. */
|
|
46
|
+
readonly subtitleAdmin: string;
|
|
47
|
+
/** `headerAdmin` with the actions aligned to the top, for a title with a description. */
|
|
48
|
+
readonly headerAdminStacked: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const panelClasses: PanelClasses;
|