@vokril/ui-solid 0.5.0 → 0.8.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 +65 -0
- package/README.md +20 -1
- package/dist/AttributeGrid-Bnn1w5XX.cjs +1 -0
- package/dist/AttributeGrid-DJdW32LQ.js +320 -0
- package/dist/CommandPalette-BBDBVARB.cjs +2 -0
- package/dist/CommandPalette-e6FePgys.js +3950 -0
- package/dist/{DateRangePicker-jnZfDhQA.js → DateRangePicker-BcqoUao4.js} +4 -4
- package/dist/{DateRangePicker-CHrwr34H.cjs → DateRangePicker-DHI3SNna.cjs} +1 -1
- package/dist/{GuidedTour-DHgMaTVv.js → GuidedTour-B-BXe3ul.js} +2239 -2223
- package/dist/{GuidedTour-B-67TJlO.cjs → GuidedTour-c7XiyOmE.cjs} +7 -7
- 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-DpTaPcoW.cjs → StatusBarNotificationBell-2bIRvg2s.cjs} +1 -1
- package/dist/{StatusBarNotificationBell-Czirj1Df.js → StatusBarNotificationBell-B5knnCWK.js} +5 -5
- 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.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 +1106 -1008
- 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 +2 -0
- package/dist/overlay/index.d.ts +2 -0
- package/dist/overlay/index.js +132 -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/panelClasses.d.cts +50 -0
- package/dist/overlay/panelClasses.d.ts +50 -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-BCYNwNjw.js +281 -0
- package/dist/server/AttributeGrid-BVAQshm3.cjs +1 -0
- package/dist/server/CommandPalette-4RCiBlmz.js +3210 -0
- package/dist/server/CommandPalette-Dd8AW-WZ.cjs +1 -0
- package/dist/server/{DateRangePicker-BK2Ul2uy.js → DateRangePicker-TW0Dy4u6.js} +4 -4
- package/dist/server/{DateRangePicker-s-I_rNUK.cjs → DateRangePicker-sX2m4194.cjs} +1 -1
- package/dist/server/{GuidedTour-BvDY-xaZ.js → GuidedTour-Bc7SqDXY.js} +756 -740
- package/dist/server/{GuidedTour-zesfTSmE.cjs → GuidedTour-DvMqeZIU.cjs} +8 -8
- 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-Bk9ETGFK.js} +5 -5
- package/dist/server/{StatusBarNotificationBell-COaYD8sz.cjs → StatusBarNotificationBell-t7B7rSrd.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 +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 +1442 -1344
- 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 +131 -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/grid/index.js +1 -0
- package/dist/solid/grid/resultTabToolbarClasses.js +33 -0
- package/dist/solid/index.js +1 -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 +2 -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/panelClasses.js +29 -0
- 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/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/menuSurface.module.css.js +17 -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 +2 -2
- 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/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/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 +1 -1
- package/dist/AttributeGrid-BUyv-hUX.js +0 -260
- package/dist/AttributeGrid-Tk8KJx8e.cjs +0 -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/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/iconScale.module-Cw_Yn8O6.js +0 -10
- package/dist/overlayStack-BZR1emYS.cjs +0 -1
- package/dist/overlayStack-ND6EQZlX.js +0 -196
- package/dist/server/AttributeGrid-CSidAjfz.cjs +0 -1
- package/dist/server/AttributeGrid-D6b2qQS9.js +0 -221
- 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/iconScale.module-BA7n9qSH.cjs +0 -1
- package/dist/server/iconScale.module-Cw_Yn8O6.js +0 -10
- 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-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";
|
|
@@ -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-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,10 +4,12 @@ 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';
|
|
10
11
|
export * from './DropdownMenu.cjs';
|
|
12
|
+
export * from './menu/index.cjs';
|
|
11
13
|
export * from './ActionPlaceRow.cjs';
|
|
12
14
|
export * from './Disclosure.cjs';
|
|
13
15
|
export * from './HoverTooltip.cjs';
|
package/dist/overlay/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ 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';
|
|
10
11
|
export * from './DropdownMenu.js';
|
|
12
|
+
export * from './menu/index.js';
|
|
11
13
|
export * from './ActionPlaceRow.js';
|
|
12
14
|
export * from './Disclosure.js';
|
|
13
15
|
export * from './HoverTooltip.js';
|
package/dist/overlay/index.js
CHANGED
|
@@ -1,132 +1,142 @@
|
|
|
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 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
|
-
|
|
22
|
-
|
|
17
|
+
ee as ActionPlaceRow,
|
|
18
|
+
He as AnchorAlignment,
|
|
19
|
+
We as AnchorAxisAlignment,
|
|
20
|
+
we as AnchorPosition,
|
|
21
|
+
Ce 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
|
+
Aa as DesktopContextMenuContext,
|
|
31
|
+
ue 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
|
-
z as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
35
|
+
pe as GuidedTour,
|
|
36
|
+
De as HoverTooltip,
|
|
37
|
+
xa as LISTBOX_OPTION_SELECTOR,
|
|
38
|
+
fa 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
|
+
ae as Modal,
|
|
47
|
+
D as NameStep,
|
|
48
|
+
ke as OVERLAY_DEFAULT_GAP,
|
|
49
|
+
Be as OVERLAY_DEFAULT_MARGIN,
|
|
50
|
+
P as OptionList,
|
|
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
|
+
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
|
+
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
|
+
f as TooltipHost,
|
|
74
|
+
fe as WARM_DELAY_MS,
|
|
75
|
+
Ye as calcFixedWidthDropdownLeft,
|
|
76
|
+
y as closeContextMenu,
|
|
77
|
+
oe as collectFocusableElements,
|
|
78
|
+
Xe as computeAnchoredPosition,
|
|
79
|
+
ye as computeAnchoredTooltipPosition,
|
|
80
|
+
qe as computeDropdownPosition,
|
|
81
|
+
je as computePopoverPosition,
|
|
82
|
+
R as computeSubmenuPlacement,
|
|
83
|
+
Ae as computeTooltipPointerPosition,
|
|
84
|
+
L as confirmationLevelOf,
|
|
85
|
+
h as createConfirmDialog,
|
|
86
|
+
N as createDangerousActionDialog,
|
|
87
|
+
U as createDesktopContextMenuApi,
|
|
88
|
+
b as createDialogFocusScope,
|
|
89
|
+
ve as createDialogShellFocus,
|
|
90
|
+
G as createOverlayCloseGuard,
|
|
91
|
+
H as createPromptDialog,
|
|
92
|
+
W as createSaveDiscardDialog,
|
|
93
|
+
Re as createTooltipCoordinator,
|
|
94
|
+
w as describeConsequence,
|
|
95
|
+
k as estimateSubmenuHeight,
|
|
96
|
+
B as firstFocusableMenuIndex,
|
|
97
|
+
$e as getOverlayDiagnostics,
|
|
98
|
+
ea as hasOpenLayerIn,
|
|
99
|
+
aa as isAnyOverlayOpen,
|
|
100
|
+
V as isDesktopMenuNavigationKey,
|
|
101
|
+
K as isIrreversible,
|
|
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
|
+
q as nextFocusableMenuIndex,
|
|
112
|
+
ta as notifyOverlayChanged,
|
|
113
|
+
ra as notifyOverlayMotionEnd,
|
|
114
|
+
na as notifyOverlayMotionStart,
|
|
115
|
+
ia as onOverlayMotion,
|
|
116
|
+
j as openContextMenu,
|
|
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,
|
|
134
|
+
Fa as setSettingsSearchSource,
|
|
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
|
|
132
142
|
};
|
|
@@ -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;
|