@vokril/ui-solid 0.5.0 → 0.7.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 +48 -0
- package/README.md +1 -1
- package/dist/{AttributeGrid-BUyv-hUX.js → AttributeGrid-CX_GJHgz.js} +2 -2
- package/dist/{AttributeGrid-Tk8KJx8e.cjs → AttributeGrid-X7fHuuIb.cjs} +1 -1
- package/dist/CommandPalette-C8JJMY79.cjs +2 -0
- package/dist/CommandPalette-Ds3xf2z7.js +3921 -0
- package/dist/{DateRangePicker-jnZfDhQA.js → DateRangePicker-BSb6F_gs.js} +3 -3
- package/dist/{DateRangePicker-CHrwr34H.cjs → DateRangePicker-DUrJJjO7.cjs} +1 -1
- package/dist/{GuidedTour-DHgMaTVv.js → GuidedTour-C0Q_EEvI.js} +3 -3
- package/dist/{GuidedTour-B-67TJlO.cjs → GuidedTour-CkGOxh2p.cjs} +1 -1
- package/dist/{IconPicker-C_gAGvo0.cjs → IconPicker-D2dZK0n3.cjs} +1 -1
- package/dist/{IconPicker-BxofGXCS.js → IconPicker-Fd2IE2Dm.js} +2 -2
- package/dist/Input-BEnk4FCF.cjs +1 -0
- package/dist/Input-PZ5wRvPx.js +227 -0
- package/dist/{Modal-BmtEt5Yo.js → Modal-CsiV55WW.js} +1 -1
- package/dist/{Modal-BSSY6C3D.cjs → Modal-DpDHzCWT.cjs} +1 -1
- package/dist/{Popover-Cg8LZCYo.js → Popover-C3dFuObM.js} +49 -45
- package/dist/Popover-Dbi7L860.cjs +1 -0
- package/dist/{SearchableSelect-ByCRBEZI.js → SearchableSelect-C6KL7e42.js} +2 -2
- package/dist/{SearchableSelect-9pgcO5JS.cjs → SearchableSelect-zT8XNpmt.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-Czirj1Df.js → StatusBarNotificationBell-BMmjdBvj.js} +5 -5
- package/dist/{StatusBarNotificationBell-DpTaPcoW.cjs → StatusBarNotificationBell-C8nQZh4i.cjs} +1 -1
- package/dist/{Stepper-CrTxBpDL.js → Stepper-B26aF0bA.js} +1 -1
- package/dist/{Stepper-C3dnwwiV.cjs → Stepper-Bl8P6HJx.cjs} +1 -1
- package/dist/Textarea-BUxibzkR.js +42 -0
- package/dist/Textarea-BunKEY68.cjs +1 -0
- package/dist/{ToggleButton-CFvMUndy.cjs → ToggleButton-DuKoI5PE.cjs} +1 -1
- package/dist/{ToggleButton-DBWFnm_R.js → ToggleButton-DwvUV2en.js} +6 -6
- package/dist/base.css +0 -1
- package/dist/{createResizableSidebar-uf_OJsjO.js → createResizableSidebar-B22SKv9b.js} +1 -1
- package/dist/{createResizableSidebar-DVATOkMf.cjs → createResizableSidebar-C3I0HSwo.cjs} +1 -1
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +2 -2
- package/dist/{dialogFocusRestore-DKxaV82N.js → dialogFocusRestore-B4ggeVAM.js} +1 -1
- package/dist/{dialogFocusRestore-BAF8QM6v.cjs → dialogFocusRestore-BcMPrbig.cjs} +1 -1
- package/dist/format-Dih0q9gm.cjs +1 -0
- package/dist/{format-Dd946oS-.js → format-UGlMj0HW.js} +91 -88
- package/dist/forms/formFieldContext.d.cts +15 -0
- package/dist/forms/formFieldContext.d.ts +15 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +41 -40
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +394 -384
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/navigation/index.cjs +1 -1
- package/dist/navigation/index.js +1 -1
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +2 -2
- package/dist/overlay/DropdownMenu.d.cts +15 -1
- package/dist/overlay/DropdownMenu.d.ts +15 -1
- 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 +131 -122
- package/dist/overlay/menu/MenuParts.d.cts +121 -0
- package/dist/overlay/menu/MenuParts.d.ts +121 -0
- package/dist/overlay/menu/index.d.cts +2 -0
- package/dist/overlay/menu/index.d.ts +2 -0
- package/dist/overlay/menu/menuSurfaceClasses.d.cts +28 -0
- package/dist/overlay/menu/menuSurfaceClasses.d.ts +28 -0
- package/dist/overlay/overlayStack.d.cts +6 -0
- package/dist/overlay/overlayStack.d.ts +6 -0
- package/dist/overlay/popover/PopoverPanel.d.cts +103 -0
- package/dist/overlay/popover/PopoverPanel.d.ts +103 -0
- package/dist/overlay/popover/index.d.cts +2 -0
- package/dist/overlay/popover/index.d.ts +2 -0
- package/dist/overlay/popover/popoverFocusNavigation.d.cts +6 -2
- package/dist/overlay/popover/popoverFocusNavigation.d.ts +6 -2
- package/dist/overlay-stack/index.cjs +1 -1
- package/dist/overlay-stack/index.js +1 -1
- package/dist/overlayStack-DvGdPMdq.js +203 -0
- package/dist/overlayStack-DvKYN7SD.cjs +1 -0
- package/dist/server/{AttributeGrid-D6b2qQS9.js → AttributeGrid-BkWsx39p.js} +2 -2
- package/dist/server/{AttributeGrid-CSidAjfz.cjs → AttributeGrid-PHZKkiBG.cjs} +1 -1
- package/dist/server/CommandPalette-Bfm1R0KC.js +3181 -0
- package/dist/server/CommandPalette-DIgBGmAh.cjs +1 -0
- package/dist/server/{DateRangePicker-BK2Ul2uy.js → DateRangePicker-BOsd_ZH2.js} +3 -3
- package/dist/server/{DateRangePicker-s-I_rNUK.cjs → DateRangePicker-CIKghxMx.cjs} +1 -1
- package/dist/server/{GuidedTour-zesfTSmE.cjs → GuidedTour-B4IK-M3E.cjs} +1 -1
- package/dist/server/{GuidedTour-BvDY-xaZ.js → GuidedTour-BVaym9s9.js} +4 -4
- package/dist/server/{IconPicker-Bw8tZjCl.cjs → IconPicker-Bat7VYeo.cjs} +1 -1
- package/dist/server/{IconPicker-BCUZcq-i.js → IconPicker-Dw4tbosO.js} +2 -2
- package/dist/server/Input-CjvD8w18.cjs +1 -0
- package/dist/server/Input-DaEN2JJd.js +127 -0
- package/dist/server/{Modal-CM54uXRu.js → Modal-Jf89av-C.js} +2 -2
- package/dist/server/{Modal-R86Fb2mX.cjs → Modal-W2cb3Xrx.cjs} +1 -1
- package/dist/server/{Popover-CTnX42Jq.js → Popover-BRU2E-ek.js} +17 -13
- package/dist/server/Popover-C2VwtQyu.cjs +1 -0
- package/dist/server/{SearchableSelect-Cog_rb31.js → SearchableSelect-0dP7bp0a.js} +2 -2
- package/dist/server/{SearchableSelect-fofn1Bjg.cjs → SearchableSelect-nMecJAYS.cjs} +1 -1
- package/dist/server/{StatusBarNotificationBell-Mh81s2kG.js → StatusBarNotificationBell-DLrvONW3.js} +5 -5
- package/dist/server/{StatusBarNotificationBell-COaYD8sz.cjs → StatusBarNotificationBell-DufUCZwN.cjs} +1 -1
- package/dist/server/{Stepper-BdOBuNco.js → Stepper-CJIoTXSv.js} +1 -1
- package/dist/server/{Stepper-DqwKOszc.cjs → Stepper-RFkjF_fm.cjs} +1 -1
- package/dist/server/Textarea-BQf2lL59.cjs +1 -0
- package/dist/server/Textarea-BTH48NET.js +37 -0
- package/dist/server/{ToggleButton-B0YuAGY4.js → ToggleButton-BAhucFQT.js} +6 -6
- package/dist/server/{ToggleButton-CbX1kbpI.cjs → ToggleButton-D9IXRIdl.cjs} +1 -1
- package/dist/server/{createResizableSidebar-D28fY_SX.cjs → createResizableSidebar-BymQA2Fs.cjs} +1 -1
- package/dist/server/{createResizableSidebar-BfTFOM7v.js → createResizableSidebar-IcXBM-BE.js} +1 -1
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +2 -2
- package/dist/server/{dialogFocusRestore-DKxaV82N.js → dialogFocusRestore-B4ggeVAM.js} +1 -1
- package/dist/server/{dialogFocusRestore-BAF8QM6v.cjs → dialogFocusRestore-BcMPrbig.cjs} +1 -1
- package/dist/server/format-CW_FVfq2.js +385 -0
- package/dist/server/format-x-8syaS2.cjs +1 -0
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +41 -40
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +722 -712
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +2 -2
- 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 +2 -2
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +130 -121
- package/dist/server/overlay-stack/index.cjs +1 -1
- package/dist/server/overlay-stack/index.js +1 -1
- package/dist/server/overlayStack-DvGdPMdq.js +203 -0
- package/dist/server/overlayStack-DvKYN7SD.cjs +1 -0
- package/dist/server/{useFloatingDropdown-HD3G-ECb.js → useFloatingDropdown-BN4J092P.js} +1 -1
- package/dist/server/{useFloatingDropdown-vYQiMh6N.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
- package/dist/solid/forms/Checkbox.jsx +5 -2
- package/dist/solid/forms/Input.jsx +5 -2
- package/dist/solid/forms/Textarea.jsx +5 -2
- package/dist/solid/forms/formFieldContext.js +7 -0
- package/dist/solid/overlay/DropdownMenu.jsx +48 -26
- package/dist/solid/overlay/DropdownMenu.module.css.js +1 -7
- package/dist/solid/overlay/index.js +1 -0
- package/dist/solid/overlay/menu/MenuParts.jsx +140 -0
- package/dist/solid/overlay/menu/MenuParts.module.css.js +34 -0
- package/dist/solid/overlay/menu/index.js +2 -0
- package/dist/solid/overlay/menu/menuSurfaceClasses.js +16 -0
- package/dist/solid/overlay/overlayStack.js +10 -3
- package/dist/solid/overlay/popover/Popover.jsx +1 -1
- package/dist/solid/overlay/popover/PopoverPanel.jsx +95 -0
- package/dist/solid/overlay/popover/PopoverPanel.module.css.js +22 -0
- package/dist/solid/overlay/popover/index.js +1 -0
- package/dist/solid/overlay/popover/popoverFocusNavigation.js +7 -1
- package/dist/solid/styles/menuSurface.module.css.js +17 -0
- package/dist/style.css +2 -2
- package/dist/theme.css +1 -1
- package/dist/tokens/tokens.css +1 -1
- package/dist/ui.css +1 -1
- package/dist/{useFloatingDropdown-CaQNfmfZ.js → useFloatingDropdown-CfPEYRut.js} +1 -1
- package/dist/{useFloatingDropdown-BKckfuUv.cjs → useFloatingDropdown-DcU7ozDg.cjs} +1 -1
- package/package.json +1 -1
- package/dist/CommandPalette-CIAqAbBE.cjs +0 -2
- package/dist/CommandPalette-l_vmlEnR.js +0 -3371
- package/dist/Input-BqiQPUxA.js +0 -215
- package/dist/Input-BrxV_Xcb.cjs +0 -1
- package/dist/Popover-B8ozGuDX.cjs +0 -1
- package/dist/Textarea-CXFZz3Oe.js +0 -36
- package/dist/Textarea-vl5fZzJa.cjs +0 -1
- package/dist/format-aHRZi12I.cjs +0 -1
- package/dist/overlayStack-BZR1emYS.cjs +0 -1
- package/dist/overlayStack-ND6EQZlX.js +0 -196
- package/dist/server/CommandPalette-9dL9DSG8.js +0 -2704
- package/dist/server/CommandPalette-Q296oZjU.cjs +0 -1
- package/dist/server/Input-Cxwc5CK4.js +0 -115
- package/dist/server/Input-k-IAQ5Wp.cjs +0 -1
- package/dist/server/Popover-BkZ9n6TA.cjs +0 -1
- package/dist/server/Textarea-DAoq3wWf.cjs +0 -1
- package/dist/server/Textarea-D_1mHXTj.js +0 -31
- package/dist/server/format-BWHKiXRe.cjs +0 -1
- package/dist/server/format-BubrMUMq.js +0 -382
- package/dist/server/overlayStack-BZR1emYS.cjs +0 -1
- package/dist/server/overlayStack-ND6EQZlX.js +0 -196
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-C3I0HSwo.cjs"),r=require("../Stepper-Bl8P6HJx.cjs"),a=require("../createVirtualScroller-LN-7QFiv.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,5 +1,5 @@
|
|
|
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-
|
|
1
|
+
import { P as r, a as s, R as o, b as c, c as t } from "../createResizableSidebar-B22SKv9b.js";
|
|
2
|
+
import { A as l, B as b, S as d, T as p } from "../Stepper-B26aF0bA.js";
|
|
3
3
|
import { c as m } from "../createVirtualScroller-DBvqT0UW.js";
|
|
4
4
|
export {
|
|
5
5
|
l as Accordion,
|
|
@@ -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-Bl8P6HJx.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-B26aF0bA.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 {
|
|
@@ -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-C8nQZh4i.cjs"),i=require("../catalogNotify-C9RzbC6x.cjs"),e=require("../notificationSuppressions-DFbFpayS.cjs"),o=require("../GuidedTour-CkGOxh2p.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-BMmjdBvj.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-C0Q_EEvI.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";
|
|
@@ -4,8 +4,14 @@ import { type PopoverPlacement } from './popover/Popover.cjs';
|
|
|
4
4
|
export interface DropdownMenuActionItem {
|
|
5
5
|
readonly id?: string | undefined;
|
|
6
6
|
readonly label: string | JSX.Element;
|
|
7
|
+
/** Second, muted line under the label. */
|
|
8
|
+
readonly description?: string | JSX.Element | undefined;
|
|
7
9
|
readonly icon?: JSX.Element | undefined;
|
|
8
10
|
readonly shortcut?: string | undefined;
|
|
11
|
+
/** A checkable row; `false` shows an empty check column. */
|
|
12
|
+
readonly checked?: boolean | undefined;
|
|
13
|
+
/** The current value. */
|
|
14
|
+
readonly selected?: boolean | undefined;
|
|
9
15
|
readonly danger?: boolean | undefined;
|
|
10
16
|
readonly disabled?: boolean | undefined;
|
|
11
17
|
readonly onSelect?: (() => void) | undefined;
|
|
@@ -13,7 +19,12 @@ export interface DropdownMenuActionItem {
|
|
|
13
19
|
export interface DropdownMenuSeparatorItem {
|
|
14
20
|
readonly type: 'separator';
|
|
15
21
|
}
|
|
16
|
-
|
|
22
|
+
/** A heading; the rows after it, up to the next heading or separator, form its group. */
|
|
23
|
+
export interface DropdownMenuSectionItem {
|
|
24
|
+
readonly type: 'section';
|
|
25
|
+
readonly label: string | JSX.Element;
|
|
26
|
+
}
|
|
27
|
+
export type DropdownMenuItem = DropdownMenuActionItem | DropdownMenuSeparatorItem | DropdownMenuSectionItem;
|
|
17
28
|
export interface DropdownMenuTriggerProps {
|
|
18
29
|
readonly open: boolean;
|
|
19
30
|
readonly toggle: () => void;
|
|
@@ -34,7 +45,10 @@ export interface DropdownMenuProps {
|
|
|
34
45
|
readonly open?: boolean | undefined;
|
|
35
46
|
readonly onOpenChange?: ((open: boolean) => void) | undefined;
|
|
36
47
|
readonly class?: string | undefined;
|
|
48
|
+
/** Class for the list of rows inside the panel. */
|
|
37
49
|
readonly menuClass?: string | undefined;
|
|
50
|
+
/** Class for the floating panel itself (width, max height). */
|
|
51
|
+
readonly surfaceClass?: string | undefined;
|
|
38
52
|
readonly ariaLabel?: string | undefined;
|
|
39
53
|
}
|
|
40
54
|
export declare function DropdownMenu(props: DropdownMenuProps): JSX.Element;
|
|
@@ -4,8 +4,14 @@ import { type PopoverPlacement } from './popover/Popover.js';
|
|
|
4
4
|
export interface DropdownMenuActionItem {
|
|
5
5
|
readonly id?: string | undefined;
|
|
6
6
|
readonly label: string | JSX.Element;
|
|
7
|
+
/** Second, muted line under the label. */
|
|
8
|
+
readonly description?: string | JSX.Element | undefined;
|
|
7
9
|
readonly icon?: JSX.Element | undefined;
|
|
8
10
|
readonly shortcut?: string | undefined;
|
|
11
|
+
/** A checkable row; `false` shows an empty check column. */
|
|
12
|
+
readonly checked?: boolean | undefined;
|
|
13
|
+
/** The current value. */
|
|
14
|
+
readonly selected?: boolean | undefined;
|
|
9
15
|
readonly danger?: boolean | undefined;
|
|
10
16
|
readonly disabled?: boolean | undefined;
|
|
11
17
|
readonly onSelect?: (() => void) | undefined;
|
|
@@ -13,7 +19,12 @@ export interface DropdownMenuActionItem {
|
|
|
13
19
|
export interface DropdownMenuSeparatorItem {
|
|
14
20
|
readonly type: 'separator';
|
|
15
21
|
}
|
|
16
|
-
|
|
22
|
+
/** A heading; the rows after it, up to the next heading or separator, form its group. */
|
|
23
|
+
export interface DropdownMenuSectionItem {
|
|
24
|
+
readonly type: 'section';
|
|
25
|
+
readonly label: string | JSX.Element;
|
|
26
|
+
}
|
|
27
|
+
export type DropdownMenuItem = DropdownMenuActionItem | DropdownMenuSeparatorItem | DropdownMenuSectionItem;
|
|
17
28
|
export interface DropdownMenuTriggerProps {
|
|
18
29
|
readonly open: boolean;
|
|
19
30
|
readonly toggle: () => void;
|
|
@@ -34,7 +45,10 @@ export interface DropdownMenuProps {
|
|
|
34
45
|
readonly open?: boolean | undefined;
|
|
35
46
|
readonly onOpenChange?: ((open: boolean) => void) | undefined;
|
|
36
47
|
readonly class?: string | undefined;
|
|
48
|
+
/** Class for the list of rows inside the panel. */
|
|
37
49
|
readonly menuClass?: string | undefined;
|
|
50
|
+
/** Class for the floating panel itself (width, max height). */
|
|
51
|
+
readonly surfaceClass?: string | undefined;
|
|
38
52
|
readonly ariaLabel?: string | undefined;
|
|
39
53
|
}
|
|
40
54
|
export declare function DropdownMenu(props: DropdownMenuProps): JSX.Element;
|
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-C8JJMY79.cjs"),n=require("../Modal-DpDHzCWT.cjs"),p=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-CkGOxh2p.cjs"),i=require("../format-Dih0q9gm.cjs"),r=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.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=n.ActionPlaceRow;exports.Modal=n.Modal;exports.collectFocusableElements=n.collectFocusableElements;exports.modalTitlebarHeight=n.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=n.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=n.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=n.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=r.COLD_DELAY_MS;exports.COOLDOWN_MS=r.COOLDOWN_MS;exports.DEFAULT_MARGIN=r.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=r.DEFAULT_OFFSET;exports.WARM_DELAY_MS=r.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=r.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=r.createTooltipCoordinator;exports.tooltipCoordinator=r.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
|
@@ -8,6 +8,7 @@ export * from './ContextMenu.cjs';
|
|
|
8
8
|
export * from './popover/index.cjs';
|
|
9
9
|
export * from './Drawer.cjs';
|
|
10
10
|
export * from './DropdownMenu.cjs';
|
|
11
|
+
export * from './menu/index.cjs';
|
|
11
12
|
export * from './ActionPlaceRow.cjs';
|
|
12
13
|
export * from './Disclosure.cjs';
|
|
13
14
|
export * from './HoverTooltip.cjs';
|
package/dist/overlay/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './ContextMenu.js';
|
|
|
8
8
|
export * from './popover/index.js';
|
|
9
9
|
export * from './Drawer.js';
|
|
10
10
|
export * from './DropdownMenu.js';
|
|
11
|
+
export * from './menu/index.js';
|
|
11
12
|
export * from './ActionPlaceRow.js';
|
|
12
13
|
export * from './Disclosure.js';
|
|
13
14
|
export * from './HoverTooltip.js';
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,132 +1,141 @@
|
|
|
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,
|
|
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
|
|
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 F, q as I, r as x, T as C, 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 X, Q as Y, R as q, U as j, V as z, W as J, X as Q } from "../CommandPalette-Ds3xf2z7.js";
|
|
2
|
+
import { A as $, M as ee, c as ae, m as oe, r as se, a as te, t as re } from "../Modal-CsiV55WW.js";
|
|
3
|
+
import { O as ie } from "../OverlayScrollArea-c8Za77qs.js";
|
|
4
|
+
import { D as ce, G as ue, P as pe, f as Oe, a as Me, p as Te } from "../GuidedTour-C0Q_EEvI.js";
|
|
5
|
+
import { H as de, T as De, a as Pe, c as Ee, d as Se, e as _e, f as Ae } from "../format-UGlMj0HW.js";
|
|
6
|
+
import { C as ge, a as Fe, D as Ie, b as xe, W as Ce, c as fe, d as ye, t as Re } from "../tooltipCoordinator-GV0L9lXH.js";
|
|
7
|
+
import { O as he, r as Ne, s as Ue } from "../dialogFocusRestore-B4ggeVAM.js";
|
|
8
|
+
import { A as Ge, a as He, b as We, O as we, c as ke, P as Be, d as Ve, e as Ke, f as Xe, g as Ye, h as qe, l as je, r as ze, i as Je } from "../anchoredLayout-FC-qv8xm.js";
|
|
9
|
+
import { g as Ze, h as $e, i as ea, a as aa, b as oa, n as sa, c as ta, d as ra, o as na, e as ia, r as la, f as ca, j as ua, k as pa, u as Oa } from "../overlayStack-DvGdPMdq.js";
|
|
10
|
+
import { u as Ta } from "../useFloatingDropdown-CfPEYRut.js";
|
|
11
|
+
import { o as da } from "../ownerWindow-9mx_LD47.js";
|
|
12
|
+
import { m as Pa, n as Ea } from "../prefersReducedMotion-B2mMn01s.js";
|
|
13
|
+
import { D as _a, u as Aa } from "../DesktopContextMenuContext-DJ3PnqAv.js";
|
|
14
|
+
import { s as ga, a as Fa } from "../settingsSearchContributor-C-UJc7Xc.js";
|
|
15
|
+
import { L as xa, M as Ca, P as fa, i as ya, r as Ra } from "../Popover-C3dFuObM.js";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
$ as ActionPlaceRow,
|
|
18
|
+
Ge as AnchorAlignment,
|
|
19
|
+
He as AnchorAxisAlignment,
|
|
20
|
+
We as AnchorPosition,
|
|
21
|
+
ge as COLD_DELAY_MS,
|
|
22
|
+
Fe as COOLDOWN_MS,
|
|
23
23
|
o as CommandPalette,
|
|
24
24
|
s as ConfirmDialog,
|
|
25
25
|
t as ConsequenceLine,
|
|
26
26
|
r as ContextMenu,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
Ie as DEFAULT_MARGIN,
|
|
28
|
+
xe as DEFAULT_OFFSET,
|
|
29
29
|
n as DesktopContextMenu,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
_a as DesktopContextMenuContext,
|
|
31
|
+
ce as Disclosure,
|
|
32
32
|
i as Drawer,
|
|
33
33
|
l as DropdownMenu,
|
|
34
34
|
c as FloatingWindow,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
35
|
+
ue as GuidedTour,
|
|
36
|
+
de as HoverTooltip,
|
|
37
|
+
xa as LISTBOX_OPTION_SELECTOR,
|
|
38
|
+
Ca as MENU_ITEM_SELECTOR,
|
|
39
|
+
u as MenuDisclosure,
|
|
40
|
+
p as MenuEmpty,
|
|
41
|
+
O as MenuItem,
|
|
42
|
+
M as MenuList,
|
|
43
|
+
T as MenuSearch,
|
|
44
|
+
m as MenuSection,
|
|
45
|
+
d as MenuSeparator,
|
|
46
|
+
ee as Modal,
|
|
47
|
+
D as NameStep,
|
|
48
|
+
we as OVERLAY_DEFAULT_GAP,
|
|
49
|
+
ke as OVERLAY_DEFAULT_MARGIN,
|
|
50
|
+
P as OptionList,
|
|
51
|
+
he as OverlayPortal,
|
|
52
|
+
ie as OverlayScrollArea,
|
|
53
|
+
Be as POPOVER_DEFAULT_GAP,
|
|
54
|
+
Ve as POPOVER_VIEWPORT_MARGIN,
|
|
55
|
+
pe as Panel,
|
|
56
|
+
Oe as PanelSeparator,
|
|
57
|
+
fa as Popover,
|
|
58
|
+
E as PopoverPanel,
|
|
59
|
+
S as SUBMENU_ANCHOR_OVERLAP,
|
|
60
|
+
_ as SUBMENU_ESTIMATED_ROW_HEIGHT,
|
|
61
|
+
A as SUBMENU_ESTIMATED_WIDTH,
|
|
62
|
+
v as SUBMENU_MIN_ESTIMATED_HEIGHT,
|
|
63
|
+
g as SUBMENU_VIEWPORT_MARGIN,
|
|
64
|
+
F as SelectedOptions,
|
|
65
|
+
I as StatementPreview,
|
|
66
|
+
x as StepFooter,
|
|
67
|
+
De as TOOLTIP_CURSOR_OFFSET_X,
|
|
68
|
+
Pe as TOOLTIP_CURSOR_OFFSET_Y,
|
|
69
|
+
Ee as TOOLTIP_MAX_FOOTPRINT_X,
|
|
70
|
+
Se as TOOLTIP_VIEWPORT_MARGIN,
|
|
71
|
+
Me as ToastHost,
|
|
72
|
+
C as Tooltip,
|
|
73
|
+
f as TooltipHost,
|
|
74
|
+
Ce as WARM_DELAY_MS,
|
|
75
|
+
Ke as calcFixedWidthDropdownLeft,
|
|
76
|
+
y as closeContextMenu,
|
|
77
|
+
ae as collectFocusableElements,
|
|
78
|
+
Xe as computeAnchoredPosition,
|
|
79
|
+
fe as computeAnchoredTooltipPosition,
|
|
80
|
+
Ye as computeDropdownPosition,
|
|
81
|
+
qe as computePopoverPosition,
|
|
82
|
+
R as computeSubmenuPlacement,
|
|
83
|
+
_e as computeTooltipPointerPosition,
|
|
84
|
+
L as confirmationLevelOf,
|
|
85
|
+
h as createConfirmDialog,
|
|
86
|
+
N as createDangerousActionDialog,
|
|
87
|
+
U as createDesktopContextMenuApi,
|
|
88
|
+
b as createDialogFocusScope,
|
|
89
|
+
Ae as createDialogShellFocus,
|
|
90
|
+
G as createOverlayCloseGuard,
|
|
91
|
+
H as createPromptDialog,
|
|
92
|
+
W as createSaveDiscardDialog,
|
|
93
|
+
ye as createTooltipCoordinator,
|
|
94
|
+
w as describeConsequence,
|
|
95
|
+
k as estimateSubmenuHeight,
|
|
96
|
+
B as firstFocusableMenuIndex,
|
|
97
|
+
Ze as getOverlayDiagnostics,
|
|
98
|
+
$e as hasOpenLayerIn,
|
|
99
|
+
ea as isAnyOverlayOpen,
|
|
100
|
+
V as isDesktopMenuNavigationKey,
|
|
101
|
+
K as isIrreversible,
|
|
102
|
+
aa as isModalOccluded,
|
|
103
|
+
oa as isOverlayOverlapping,
|
|
104
|
+
ya as isPopoverNavigationKey,
|
|
105
|
+
X as lastFocusableMenuIndex,
|
|
106
|
+
je as layout2d,
|
|
107
|
+
Y as menuSurfaceClasses,
|
|
108
|
+
Pa as modalBackgroundExemption,
|
|
109
|
+
oe as modalTitlebarHeight,
|
|
110
|
+
Ea as neutralizeBackground,
|
|
111
|
+
q as nextFocusableMenuIndex,
|
|
112
|
+
sa as notifyOverlayChanged,
|
|
113
|
+
ta as notifyOverlayMotionEnd,
|
|
114
|
+
ra as notifyOverlayMotionStart,
|
|
115
|
+
na as onOverlayMotion,
|
|
116
|
+
j as openContextMenu,
|
|
117
|
+
ia as overlayDepth,
|
|
118
|
+
da as ownerWindow,
|
|
119
|
+
Te as positionTourCard,
|
|
120
|
+
la as readOverlayMutationRevision,
|
|
121
|
+
ca as registerOverlayClose,
|
|
122
|
+
ua as registerOverlayCondition,
|
|
123
|
+
pa as registerOverlayOpen,
|
|
124
|
+
ze as requestOwnerAnimationFrame,
|
|
125
|
+
z as resolveDangerousActionDialogKeyIntent,
|
|
126
|
+
se as resolveDialogShellKeyIntent,
|
|
127
|
+
J as resolveMenuFocusForKey,
|
|
128
|
+
te as resolveModalFocusTrapTarget,
|
|
129
|
+
Ra as resolvePopoverFocusForKey,
|
|
130
|
+
Je as resolvePopoverSide,
|
|
131
|
+
Ne as restoreFocusTo,
|
|
132
|
+
ga as setDatabaseObjectSearchProvider,
|
|
133
|
+
Fa as setSettingsSearchSource,
|
|
134
|
+
Ue as shouldRestoreFocusOnDialogClose,
|
|
135
|
+
Q as tooltip,
|
|
136
|
+
Re as tooltipCoordinator,
|
|
137
|
+
re as trapTabFocusWithin,
|
|
138
|
+
Aa as useDesktopContextMenu,
|
|
139
|
+
Ta as useFloatingDropdown,
|
|
140
|
+
Oa as useOverlayRegistration
|
|
132
141
|
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
export interface MenuListProps {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
/** `menu` inside a menu Popover, `listbox` for a list of options; omit inside a dialog panel. */
|
|
5
|
+
role?: 'menu' | 'listbox' | 'group' | undefined;
|
|
6
|
+
ariaLabel?: string | undefined;
|
|
7
|
+
class?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The scrolling column of a menu or a menu-like panel. Put it inside a `Popover`, which draws
|
|
11
|
+
* the surface; the list itself paints nothing.
|
|
12
|
+
*/
|
|
13
|
+
export declare function MenuList(props: MenuListProps): JSX.Element;
|
|
14
|
+
export interface MenuSectionProps {
|
|
15
|
+
/** The heading, shown in small capitals above the section's rows. */
|
|
16
|
+
label: JSX.Element;
|
|
17
|
+
/** Content on the right of the heading: a "Show all" link, a clear or refresh button. */
|
|
18
|
+
aside?: JSX.Element | undefined;
|
|
19
|
+
children?: JSX.Element | undefined;
|
|
20
|
+
class?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A titled group of rows. The rows are announced as a group named by the heading, so a screen
|
|
24
|
+
* reader says "Open tabs, group" before the first row.
|
|
25
|
+
*/
|
|
26
|
+
export declare function MenuSection(props: MenuSectionProps): JSX.Element;
|
|
27
|
+
export type MenuItemRole = 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'button';
|
|
28
|
+
export interface MenuItemProps {
|
|
29
|
+
label: JSX.Element;
|
|
30
|
+
/** Second, muted line under the label: a host, a date, a status. */
|
|
31
|
+
description?: JSX.Element | undefined;
|
|
32
|
+
/** Leading icon. */
|
|
33
|
+
icon?: JSX.Element | undefined;
|
|
34
|
+
/** Keep the icon column on a row without an icon, so labels line up with rows that have one. */
|
|
35
|
+
reserveIcon?: boolean | undefined;
|
|
36
|
+
/** Shown right after the label (a "Tunnel" or "in use" chip). */
|
|
37
|
+
badge?: JSX.Element | undefined;
|
|
38
|
+
/** Muted text on the right: a shortcut, "Default", a duration. */
|
|
39
|
+
meta?: JSX.Element | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Controls on the right of the row (close, delete, pause). They stay inside the row's hover
|
|
42
|
+
* tint but are their own click targets: a click on them does not select the row. Meant for
|
|
43
|
+
* `menuitem` rows in a menu, where they sit inside the row, and `button` rows in a dialog
|
|
44
|
+
* panel, where they sit next to the row's button (a button presents its children as plain
|
|
45
|
+
* content). A listbox or a checkable menu row cannot own other controls.
|
|
46
|
+
*/
|
|
47
|
+
trailing?: JSX.Element | undefined;
|
|
48
|
+
/** A checkable row: shows the check column and announces the state. */
|
|
49
|
+
checked?: boolean | undefined;
|
|
50
|
+
/** Keep the check column on a row that is not checkable, so labels line up. */
|
|
51
|
+
reserveCheck?: boolean | undefined;
|
|
52
|
+
/** The current value or the open item. */
|
|
53
|
+
selected?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* A toggle row in a dialog panel ("Show favorites only"): with the `button` role it is
|
|
56
|
+
* announced as pressed or not, and a pressed row carries the selected tint.
|
|
57
|
+
*/
|
|
58
|
+
pressed?: boolean | undefined;
|
|
59
|
+
/** The keyboard cursor of a list that keeps focus elsewhere (`aria-activedescendant`). */
|
|
60
|
+
active?: boolean | undefined;
|
|
61
|
+
danger?: boolean | undefined;
|
|
62
|
+
disabled?: boolean | undefined;
|
|
63
|
+
/** Why the row is disabled; read to screen readers and shown as a tooltip. */
|
|
64
|
+
hint?: string | undefined;
|
|
65
|
+
/** Tooltip for the label, e.g. the full text of a truncated name. */
|
|
66
|
+
title?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Defaults to `menuitemcheckbox` when `checked` is set, `menuitem` otherwise. Use `option`
|
|
69
|
+
* inside a listbox and `button` inside a dialog panel.
|
|
70
|
+
*/
|
|
71
|
+
role?: MenuItemRole | undefined;
|
|
72
|
+
id?: string | undefined;
|
|
73
|
+
/** Gets the click, e.g. to open a menu at its position. */
|
|
74
|
+
onSelect?: ((event: MouseEvent) => void) | undefined;
|
|
75
|
+
onContextMenu?: ((event: MouseEvent) => void) | undefined;
|
|
76
|
+
ref?: ((el: HTMLElement) => void) | undefined;
|
|
77
|
+
class?: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* One row of a menu or a menu-like panel: optional check and icon columns, a label with an
|
|
81
|
+
* optional badge and description line, muted meta text and trailing controls on the right.
|
|
82
|
+
*/
|
|
83
|
+
export declare function MenuItem(props: MenuItemProps): JSX.Element;
|
|
84
|
+
/** A divider between groups of rows. */
|
|
85
|
+
export declare function MenuSeparator(props: {
|
|
86
|
+
class?: string | undefined;
|
|
87
|
+
}): JSX.Element;
|
|
88
|
+
/** The row shown when a list has nothing to show, or while it loads. */
|
|
89
|
+
export declare function MenuEmpty(props: {
|
|
90
|
+
children: JSX.Element;
|
|
91
|
+
class?: string | undefined;
|
|
92
|
+
}): JSX.Element;
|
|
93
|
+
/** A filter field above a list; pass the input (and any count or action next to it). */
|
|
94
|
+
export declare function MenuSearch(props: {
|
|
95
|
+
children: JSX.Element;
|
|
96
|
+
class?: string | undefined;
|
|
97
|
+
}): JSX.Element;
|
|
98
|
+
export interface MenuDisclosureProps {
|
|
99
|
+
label: JSX.Element;
|
|
100
|
+
icon?: JSX.Element | undefined;
|
|
101
|
+
/** Keep the icon column on a row without an icon, so labels line up with rows that have one. */
|
|
102
|
+
reserveIcon?: boolean | undefined;
|
|
103
|
+
description?: JSX.Element | undefined;
|
|
104
|
+
/** Controlled open state; pass with `onToggle`. Omit for self-managed. */
|
|
105
|
+
open?: boolean | undefined;
|
|
106
|
+
onToggle?: ((open: boolean) => void) | undefined;
|
|
107
|
+
/** Initial state when uncontrolled (default closed). */
|
|
108
|
+
defaultOpen?: boolean | undefined;
|
|
109
|
+
disabled?: boolean | undefined;
|
|
110
|
+
/** The rows or form controls revealed under the row. */
|
|
111
|
+
children: JSX.Element;
|
|
112
|
+
class?: string | undefined;
|
|
113
|
+
bodyClass?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* A row that opens its content in place, under itself, instead of in a side submenu: the panel
|
|
117
|
+
* grows downward and the content can hold form controls (a checkbox, a number field) that a
|
|
118
|
+
* submenu cannot. Use it in a panel with the `dialog` role; a `menu` may only contain menu
|
|
119
|
+
* items, and a side submenu belongs to the context menu.
|
|
120
|
+
*/
|
|
121
|
+
export declare function MenuDisclosure(props: MenuDisclosureProps): JSX.Element;
|