@vokril/ui-solid 0.35.0 → 0.37.1
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 +31 -0
- package/dist/{AttributeGrid-CNkALmJq.cjs → AttributeGrid-BNQaSpfE.cjs} +1 -1
- package/dist/{AttributeGrid-DnuTPJ_P.js → AttributeGrid-tjVwSI4h.js} +4 -4
- package/dist/{Button-lMUW5P3O.cjs → Button-D5Ihf90u.cjs} +1 -1
- package/dist/{Button-CX7mylBT.js → Button-DDkZzT-k.js} +1 -1
- package/dist/{CommandPalette-BnZwM7DE.js → CommandPalette-CGfXynfl.js} +7 -7
- package/dist/{CommandPalette-3wKYPO9u.cjs → CommandPalette-CdiIycaW.cjs} +1 -1
- package/dist/{CopyButton-Dnd8_2Lj.cjs → CopyButton-Hb6c_Oq1.cjs} +1 -1
- package/dist/{CopyButton-BVvv5M8g.js → CopyButton-gHxA-WL_.js} +1 -1
- package/dist/{DateRangePicker-B7XbFZP_.js → DateRangePicker-B36NSGMS.js} +5 -5
- package/dist/{DateRangePicker-Cnzwgtx-.cjs → DateRangePicker-EEcp-IbM.cjs} +1 -1
- package/dist/Disclosure-0tZlCnkH.js +76 -0
- package/dist/Disclosure-DHNtLOWi.cjs +1 -0
- package/dist/GuidedTour-DicNwdq3.cjs +1 -0
- package/dist/GuidedTour-bcaKpXPX.js +412 -0
- package/dist/{HostPortal-Dm4BmY8M.cjs → HostPortal-C1xTPZYj.cjs} +1 -1
- package/dist/{HostPortal-De65s6CU.js → HostPortal-DsVQEH2q.js} +1 -1
- package/dist/{IconPicker-Cku0jy4r.js → IconPicker-7sF4n6vD.js} +4 -4
- package/dist/{IconPicker-pYYYpMF6.cjs → IconPicker-D60txter.cjs} +1 -1
- package/dist/{Input-CHtvL4_4.cjs → Input-DTm6v0fK.cjs} +1 -1
- package/dist/{Input-C3rEQffK.js → Input-agpwYeJd.js} +1 -1
- package/dist/{Modal-zPqB1ufV.cjs → Modal-C1vp7z7l.cjs} +1 -1
- package/dist/{Modal-CjPn7xsM.js → Modal-aKptl9ig.js} +2 -2
- package/dist/{PageSkeleton-lfENszyc.js → PageSkeleton-XNfK8xoY.js} +3 -3
- package/dist/{PageSkeleton-3f-2SBNK.cjs → PageSkeleton-jljSUpu1.cjs} +1 -1
- package/dist/{SearchableSelect-C-lV1vSv.cjs → SearchableSelect-CXPSoFqf.cjs} +1 -1
- package/dist/{SearchableSelect-Du12kcI9.js → SearchableSelect-DFdGGNR6.js} +3 -3
- package/dist/{StatusBarNotificationBell-GbkAwC4w.js → StatusBarNotificationBell-CnmMzXzD.js} +39 -38
- package/dist/{StatusBarNotificationBell-fegn26_s.cjs → StatusBarNotificationBell-MXX_K48w.cjs} +21 -21
- package/dist/{Stepper-rpu7lpzB.cjs → Stepper-BLKD4ub3.cjs} +1 -1
- package/dist/{Stepper-DzI-gtKd.js → Stepper-D0rrrtAN.js} +1 -1
- package/dist/{Textarea-DOzZCc-O.js → Textarea-CKJDNOaL.js} +1 -1
- package/dist/{Textarea-D4nYoQ0J.cjs → Textarea-Ds3bMrq9.cjs} +1 -1
- package/dist/{TimeSeriesChart-BJqQpeEJ.cjs → TimeSeriesChart-B9cqfs1M.cjs} +1 -1
- package/dist/{TimeSeriesChart-DvAhuyVl.js → TimeSeriesChart-DBARL8HG.js} +1 -1
- package/dist/ToggleButton-DaDfg2cC.js +2186 -0
- package/dist/ToggleButton-WoM2S_S4.cjs +1 -0
- package/dist/{appThemeDerivation-CKoSe4KP.js → appThemeDerivation--Nybjbd2.js} +36 -36
- package/dist/{server/appThemeDerivation-Be_oKljl.cjs → appThemeDerivation-Cgg74S4e.cjs} +1 -1
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{createDialogShellFocus-DFEaujn4.cjs → createDialogShellFocus-C2FKc2rv.cjs} +1 -1
- package/dist/{createDialogShellFocus-Z557MGDg.js → createDialogShellFocus-CgjiySLA.js} +2 -2
- package/dist/createResizableSidebar-BqW3Ozgd.cjs +1 -0
- package/dist/createResizableSidebar-CKbN032u.js +853 -0
- package/dist/de-BQbrl0SL.cjs +1 -0
- package/dist/{server/de-q3NXnC0J.js → de-CSWSMGCG.js} +45 -39
- package/dist/desktop/index.cjs +1 -1
- package/dist/desktop/index.js +3 -3
- package/dist/feedback/index.cjs +1 -1
- package/dist/feedback/index.js +2 -2
- package/dist/forms/NumberInput.d.cts +5 -0
- package/dist/forms/NumberInput.d.ts +5 -0
- package/dist/forms/RadioGroup.d.cts +13 -0
- package/dist/forms/RadioGroup.d.ts +13 -0
- package/dist/forms/index.cjs +1 -1
- package/dist/forms/index.js +9 -9
- package/dist/grid/index.cjs +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/host/index.cjs +1 -1
- package/dist/host/index.js +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/messageKeys.d.cts +1 -1
- package/dist/i18n/messageKeys.d.ts +1 -1
- package/dist/{i18n-CBlUGOyu.js → i18n-BJiKwNyr.js} +2 -2
- package/dist/{i18n-D3s-a2a0.cjs → i18n-DrmazJQC.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +389 -384
- package/dist/layout/SettingsCard.d.cts +108 -0
- package/dist/layout/SettingsCard.d.ts +108 -0
- package/dist/layout/SettingsSubpageHeader.d.cts +29 -0
- package/dist/layout/SettingsSubpageHeader.d.ts +29 -0
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.d.cts +2 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +18 -14
- 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 +1 -1
- package/dist/overlay/index.cjs +1 -1
- package/dist/overlay/index.js +85 -84
- package/dist/{rowSource-D8gyHbEE.cjs → rowSource-BWm-kZHe.cjs} +1 -1
- package/dist/{rowSource-_4IuosKj.js → rowSource-DEulMv5F.js} +1 -1
- package/dist/server/{AttributeGrid-B9j_c2wM.js → AttributeGrid-BmS2U5Gz.js} +4 -4
- package/dist/server/{AttributeGrid-BALCTvOI.cjs → AttributeGrid-fT5-b9ZJ.cjs} +1 -1
- package/dist/server/{Button-ft_8RNJj.js → Button-XL9Os1pR.js} +1 -1
- package/dist/server/{Button-DHefmmYz.cjs → Button-lNnNp0um.cjs} +1 -1
- package/dist/server/{CommandPalette-DKURJBBZ.cjs → CommandPalette-C0MbWZHM.cjs} +1 -1
- package/dist/server/{CommandPalette-B3EE1iMo.js → CommandPalette-CgTnmrYx.js} +7 -7
- package/dist/server/{CopyButton-CiYcsQcI.js → CopyButton-BdU_8aZB.js} +1 -1
- package/dist/server/{CopyButton-D2q7tQ0m.cjs → CopyButton-BpbGM72h.cjs} +1 -1
- package/dist/server/{DateRangePicker-BeByF_wt.cjs → DateRangePicker-ClJHlO9g.cjs} +1 -1
- package/dist/server/{DateRangePicker-TIOF99wh.js → DateRangePicker-DGXmbyCR.js} +5 -5
- package/dist/server/Disclosure-CUvaGDTZ.cjs +1 -0
- package/dist/server/Disclosure-ClOFRW_3.js +55 -0
- package/dist/server/GuidedTour-CCkg6Paz.js +350 -0
- package/dist/server/GuidedTour-PETCExHX.cjs +1 -0
- package/dist/server/{HostPortal-CwyePpDX.cjs → HostPortal-BNGZ8nw4.cjs} +1 -1
- package/dist/server/{HostPortal-C4xdfRyM.js → HostPortal-CdhnKAWT.js} +1 -1
- package/dist/server/{IconPicker-DX5JVIOl.js → IconPicker-B5lUuCxR.js} +5 -5
- package/dist/server/{IconPicker-QZrwihNH.cjs → IconPicker-BfRZtScr.cjs} +1 -1
- package/dist/server/{Input-V9Szcw6w.js → Input-DFAn8kou.js} +1 -1
- package/dist/server/{Input-UX0Hk53M.cjs → Input-DOTXKwhw.cjs} +1 -1
- package/dist/server/{Modal-DNYwnQ0V.cjs → Modal-BI3FtG-d.cjs} +1 -1
- package/dist/server/{Modal-Cl_asviX.js → Modal-Cbmikig8.js} +2 -2
- package/dist/server/{PageSkeleton-CP8EmxyS.cjs → PageSkeleton--ssP7Di9.cjs} +1 -1
- package/dist/server/{PageSkeleton-HhO6CRZ8.js → PageSkeleton-DRPIcDHU.js} +3 -3
- package/dist/server/{SearchableSelect-BBu5cP6P.cjs → SearchableSelect-DsHkuiTW.cjs} +1 -1
- package/dist/server/{SearchableSelect-B2ZFnp6i.js → SearchableSelect-y0Fr7cPS.js} +3 -3
- package/dist/server/{StatusBarNotificationBell-CB919YAX.cjs → StatusBarNotificationBell-BrHZ2r3X.cjs} +20 -20
- package/dist/server/{StatusBarNotificationBell-BfBGKXDG.js → StatusBarNotificationBell-CY16bTyI.js} +39 -38
- package/dist/server/{Stepper-C04rOZcI.cjs → Stepper-BOVzsqcG.cjs} +1 -1
- package/dist/server/{Stepper-CVAOsf3o.js → Stepper-DC34G5fk.js} +1 -1
- package/dist/server/{Textarea-DM4zpgWo.js → Textarea-CL2wYpW7.js} +1 -1
- package/dist/server/{Textarea-BG6F8taO.cjs → Textarea-D43xOjAJ.cjs} +1 -1
- package/dist/server/{TimeSeriesChart-tWbSF6fJ.cjs → TimeSeriesChart-CL1GjjV5.cjs} +1 -1
- package/dist/server/{TimeSeriesChart-kuuqH7we.js → TimeSeriesChart-CP-2M3R7.js} +1 -1
- package/dist/server/ToggleButton-BmvcLm_6.cjs +1 -0
- package/dist/server/ToggleButton-oDCxuzfp.js +1375 -0
- package/dist/server/VpRefresh-CEyHVNo-.cjs +1 -0
- package/dist/server/{VpRefresh-CjGV1jUv.js → VpRefresh-Dlqsm9Va.js} +17 -3
- package/dist/server/{appThemeDerivation-CKoSe4KP.js → appThemeDerivation--Nybjbd2.js} +36 -36
- package/dist/{appThemeDerivation-Be_oKljl.cjs → server/appThemeDerivation-Cgg74S4e.cjs} +1 -1
- package/dist/server/charts/index.cjs +1 -1
- package/dist/server/charts/index.js +1 -1
- package/dist/server/{createDialogShellFocus-B10Toy2h.js → createDialogShellFocus-BXCNQyU9.js} +1 -1
- package/dist/server/{createDialogShellFocus-usbhq9Av.cjs → createDialogShellFocus-CKsZl9Uz.cjs} +1 -1
- package/dist/server/createResizableSidebar-B8zMo4jJ.js +599 -0
- package/dist/server/createResizableSidebar-DXFKY01F.cjs +1 -0
- package/dist/server/de-BQbrl0SL.cjs +1 -0
- package/dist/{de-q3NXnC0J.js → server/de-CSWSMGCG.js} +45 -39
- package/dist/server/desktop/index.cjs +1 -1
- package/dist/server/desktop/index.js +3 -3
- package/dist/server/feedback/index.cjs +1 -1
- package/dist/server/feedback/index.js +2 -2
- package/dist/server/forms/index.cjs +1 -1
- package/dist/server/forms/index.js +9 -9
- package/dist/server/grid/index.cjs +1 -1
- package/dist/server/grid/index.js +1 -1
- package/dist/server/host/index.cjs +1 -1
- package/dist/server/host/index.js +1 -1
- package/dist/server/i18n/index.cjs +1 -1
- package/dist/server/i18n/index.js +1 -1
- package/dist/server/{i18n-CBlUGOyu.js → i18n-BJiKwNyr.js} +2 -2
- package/dist/server/{i18n-D3s-a2a0.cjs → i18n-DrmazJQC.cjs} +1 -1
- package/dist/server/index-CME-IDQX.cjs +1 -0
- package/dist/server/{index-BNXRPhpr.js → index-vTHpJ130.js} +3879 -3892
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +327 -322
- package/dist/server/layout/index.cjs +1 -1
- package/dist/server/layout/index.js +18 -14
- 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 +1 -1
- package/dist/server/overlay/index.cjs +1 -1
- package/dist/server/overlay/index.js +80 -79
- package/dist/server/{rowSource-Yw-xtlih.cjs → rowSource-BOt_vVGY.cjs} +1 -1
- package/dist/server/{rowSource-BSa7rgYJ.js → rowSource-WElLH5Tb.js} +1 -1
- package/dist/server/tokens/index.cjs +1 -1
- package/dist/server/tokens/index.js +1 -1
- package/dist/server/{tr-C_dUz00P.js → tr-BL1soeyr.js} +33 -27
- package/dist/server/tr-sOAsJS3P.cjs +1 -0
- package/dist/server/tree/index.cjs +1 -1
- package/dist/server/tree/index.js +1 -1
- package/dist/solid/forms/NumberInput.jsx +14 -6
- package/dist/solid/forms/NumberInput.module.css.js +3 -1
- package/dist/solid/forms/RadioGroup.jsx +14 -3
- package/dist/solid/forms/RadioGroup.module.css.js +6 -1
- package/dist/solid/i18n/locales/de.json +4 -1
- package/dist/solid/i18n/locales/tr.json +4 -1
- package/dist/solid/layout/SettingsCard.jsx +103 -0
- package/dist/solid/layout/SettingsCard.module.css.js +33 -0
- package/dist/solid/layout/SettingsSubpageHeader.jsx +31 -0
- package/dist/solid/layout/SettingsSubpageHeader.module.css.js +10 -0
- package/dist/solid/layout/index.js +2 -0
- package/dist/solid/tokens/palette/accessiblePalette.js +2 -2
- package/dist/solid/tokens/palette/palettes.js +8 -8
- package/dist/style.css +89 -89
- package/dist/theme.css +88 -88
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/palette/accessiblePalette.d.cts +2 -2
- package/dist/tokens/palette/accessiblePalette.d.ts +2 -2
- package/dist/tokens/tokens.css +88 -88
- package/dist/{tr-C_dUz00P.js → tr-BL1soeyr.js} +33 -27
- package/dist/tr-sOAsJS3P.cjs +1 -0
- package/dist/tree/index.cjs +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/dist/GuidedTour-BTvAeAfT.cjs +0 -1
- package/dist/GuidedTour-CwbGGSIW.js +0 -483
- package/dist/ToggleButton-BTu9tcCi.js +0 -2144
- package/dist/ToggleButton-iMcQGwDn.cjs +0 -1
- package/dist/createResizableSidebar-De-8HN0W.js +0 -504
- package/dist/createResizableSidebar-JB_GlEN7.cjs +0 -1
- package/dist/de-BqFZ0Ac8.cjs +0 -1
- package/dist/server/GuidedTour-DCoB90h1.cjs +0 -1
- package/dist/server/GuidedTour-pdx_4IrZ.js +0 -400
- package/dist/server/ToggleButton-BbW2zC_f.js +0 -1344
- package/dist/server/ToggleButton-CQd_Jagp.cjs +0 -1
- package/dist/server/VpRefresh-Khu7XHaq.cjs +0 -1
- package/dist/server/createResizableSidebar-CeY4cES5.cjs +0 -1
- package/dist/server/createResizableSidebar-DA0AZVNV.js +0 -312
- package/dist/server/de-BqFZ0Ac8.cjs +0 -1
- package/dist/server/index-D0BVVt2h.cjs +0 -1
- package/dist/server/tr-D7bwe7tl.cjs +0 -1
- package/dist/tr-D7bwe7tl.cjs +0 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
export type SettingsHeadingLevel = 2 | 3 | 4;
|
|
3
|
+
export interface SettingsCardProps {
|
|
4
|
+
/** The group's heading, above the card. Pre-translated by the caller. */
|
|
5
|
+
title?: JSX.Element | undefined;
|
|
6
|
+
/** A muted line under the heading. */
|
|
7
|
+
description?: JSX.Element | undefined;
|
|
8
|
+
/** A small muted count after the heading ("12"). */
|
|
9
|
+
count?: JSX.Element | undefined;
|
|
10
|
+
/** Controls on the right of the heading: an "Add" or a "Reset all" button. */
|
|
11
|
+
actions?: JSX.Element | undefined;
|
|
12
|
+
/** Heading level of `title`. Default 3: a settings page's own title is the `h2`. */
|
|
13
|
+
headingLevel?: SettingsHeadingLevel | undefined;
|
|
14
|
+
/** Accessible name of the group when it has no `title`. */
|
|
15
|
+
ariaLabel?: string | undefined;
|
|
16
|
+
/** The rows: `SettingsRow`, `SettingsAdvancedRow` or any element that should sit in the card. */
|
|
17
|
+
children: JSX.Element;
|
|
18
|
+
class?: string | undefined;
|
|
19
|
+
/** Class on the bordered card that holds the rows. */
|
|
20
|
+
cardClass?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A titled group of settings: a heading with an optional description and actions, then a bordered
|
|
24
|
+
* card whose rows are divided by a hairline. A settings page is a column of these cards.
|
|
25
|
+
*
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <SettingsCard title="Permissions" description="How often agents must ask you.">
|
|
28
|
+
* <SettingsRow label="Databases" description="Every connection.">
|
|
29
|
+
* <SearchableSelect … />
|
|
30
|
+
* </SettingsRow>
|
|
31
|
+
* <SettingsAdvancedRow summary="Tools and saved permissions">
|
|
32
|
+
* <SettingsRow label="Tools" description="48 tools" onOpen={openTools} />
|
|
33
|
+
* </SettingsAdvancedRow>
|
|
34
|
+
* </SettingsCard>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* With a `title` the group is a `section` named by its heading; without one it is a plain block
|
|
38
|
+
* (pass `ariaLabel` to still name it).
|
|
39
|
+
*/
|
|
40
|
+
export declare function SettingsCard(props: SettingsCardProps): JSX.Element;
|
|
41
|
+
export type SettingsRowTone = 'default' | 'subtle' | 'warning';
|
|
42
|
+
export interface SettingsRowProps {
|
|
43
|
+
/** The setting's name. Pre-translated by the caller. */
|
|
44
|
+
label: JSX.Element;
|
|
45
|
+
/** One muted sentence under the label: what the setting does, or why it is unavailable. */
|
|
46
|
+
description?: JSX.Element | undefined;
|
|
47
|
+
/** The control on the right: a `Toggle`, a `SearchableSelect`, a `SegmentedControl`, buttons, a value. */
|
|
48
|
+
children?: JSX.Element | undefined;
|
|
49
|
+
/** Content before the text: an icon or an avatar. */
|
|
50
|
+
leading?: JSX.Element | undefined;
|
|
51
|
+
/** Badges after the label, on its line. */
|
|
52
|
+
badges?: JSX.Element | undefined;
|
|
53
|
+
/** Marks the setting as changed from its default with a dot after the label. */
|
|
54
|
+
modified?: boolean | undefined;
|
|
55
|
+
/** Accessible name of the `modified` dot. Default: the translated "Modified". */
|
|
56
|
+
modifiedLabel?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Dims the label and description. The control is disabled by the caller (its own `disabled`),
|
|
59
|
+
* and the description should say why.
|
|
60
|
+
*/
|
|
61
|
+
disabled?: boolean | undefined;
|
|
62
|
+
/** `subtle` paints a quiet note row; `warning` a row that needs attention. Default `default`. */
|
|
63
|
+
tone?: SettingsRowTone | undefined;
|
|
64
|
+
/** Full-width content under the row: an inline warning with its action, an editor. */
|
|
65
|
+
footer?: JSX.Element | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Makes the row lead to a subpage: an "Open" button at the end, named with the row's label
|
|
68
|
+
* ("Open Tools"). Moving focus back to it when the subpage closes is the host's job.
|
|
69
|
+
*/
|
|
70
|
+
onOpen?: (() => void) | undefined;
|
|
71
|
+
/** Text of the open button. Default: the translated "Open". */
|
|
72
|
+
openLabel?: string | undefined;
|
|
73
|
+
/** `id` of the open button, for the host to return focus to it. */
|
|
74
|
+
openButtonId?: string | undefined;
|
|
75
|
+
class?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* One setting: label and description on the left, its control on the right. The package's
|
|
79
|
+
* controls take their accessible name from the label and their description from the muted line,
|
|
80
|
+
* as inside a `FormField`, so the control needs no `ariaLabel` of its own. On a narrow card the
|
|
81
|
+
* control wraps under the text.
|
|
82
|
+
*/
|
|
83
|
+
export declare function SettingsRow(props: SettingsRowProps): JSX.Element;
|
|
84
|
+
export interface SettingsAdvancedRowProps {
|
|
85
|
+
/** The toggle's text. Default: the translated "Advanced". */
|
|
86
|
+
label?: JSX.Element | undefined;
|
|
87
|
+
/** A muted line after the label naming what is inside ("Port, limits"). */
|
|
88
|
+
summary?: JSX.Element | undefined;
|
|
89
|
+
/** A badge after the summary, for example how many settings inside differ from their default. */
|
|
90
|
+
aside?: JSX.Element | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Controlled open state, with `onToggle`. A host's settings search should open the row while a
|
|
93
|
+
* match is inside it: closed rows are not rendered.
|
|
94
|
+
*/
|
|
95
|
+
open?: boolean | undefined;
|
|
96
|
+
onToggle?: ((open: boolean) => void) | undefined;
|
|
97
|
+
/** Uncontrolled initial state. Default false. */
|
|
98
|
+
defaultOpen?: boolean | undefined;
|
|
99
|
+
/** The rows it reveals, usually `SettingsRow`s. */
|
|
100
|
+
children: JSX.Element;
|
|
101
|
+
class?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A row inside a `SettingsCard` that folds the card's less used settings away: "› Advanced",
|
|
105
|
+
* what is inside, and a badge. Opening it reveals its rows in the same card, indented. Built on
|
|
106
|
+
* `Disclosure`: a real button with `aria-expanded` and `aria-controls`.
|
|
107
|
+
*/
|
|
108
|
+
export declare function SettingsAdvancedRow(props: SettingsAdvancedRowProps): JSX.Element;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
export type SettingsHeadingLevel = 2 | 3 | 4;
|
|
3
|
+
export interface SettingsCardProps {
|
|
4
|
+
/** The group's heading, above the card. Pre-translated by the caller. */
|
|
5
|
+
title?: JSX.Element | undefined;
|
|
6
|
+
/** A muted line under the heading. */
|
|
7
|
+
description?: JSX.Element | undefined;
|
|
8
|
+
/** A small muted count after the heading ("12"). */
|
|
9
|
+
count?: JSX.Element | undefined;
|
|
10
|
+
/** Controls on the right of the heading: an "Add" or a "Reset all" button. */
|
|
11
|
+
actions?: JSX.Element | undefined;
|
|
12
|
+
/** Heading level of `title`. Default 3: a settings page's own title is the `h2`. */
|
|
13
|
+
headingLevel?: SettingsHeadingLevel | undefined;
|
|
14
|
+
/** Accessible name of the group when it has no `title`. */
|
|
15
|
+
ariaLabel?: string | undefined;
|
|
16
|
+
/** The rows: `SettingsRow`, `SettingsAdvancedRow` or any element that should sit in the card. */
|
|
17
|
+
children: JSX.Element;
|
|
18
|
+
class?: string | undefined;
|
|
19
|
+
/** Class on the bordered card that holds the rows. */
|
|
20
|
+
cardClass?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A titled group of settings: a heading with an optional description and actions, then a bordered
|
|
24
|
+
* card whose rows are divided by a hairline. A settings page is a column of these cards.
|
|
25
|
+
*
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <SettingsCard title="Permissions" description="How often agents must ask you.">
|
|
28
|
+
* <SettingsRow label="Databases" description="Every connection.">
|
|
29
|
+
* <SearchableSelect … />
|
|
30
|
+
* </SettingsRow>
|
|
31
|
+
* <SettingsAdvancedRow summary="Tools and saved permissions">
|
|
32
|
+
* <SettingsRow label="Tools" description="48 tools" onOpen={openTools} />
|
|
33
|
+
* </SettingsAdvancedRow>
|
|
34
|
+
* </SettingsCard>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* With a `title` the group is a `section` named by its heading; without one it is a plain block
|
|
38
|
+
* (pass `ariaLabel` to still name it).
|
|
39
|
+
*/
|
|
40
|
+
export declare function SettingsCard(props: SettingsCardProps): JSX.Element;
|
|
41
|
+
export type SettingsRowTone = 'default' | 'subtle' | 'warning';
|
|
42
|
+
export interface SettingsRowProps {
|
|
43
|
+
/** The setting's name. Pre-translated by the caller. */
|
|
44
|
+
label: JSX.Element;
|
|
45
|
+
/** One muted sentence under the label: what the setting does, or why it is unavailable. */
|
|
46
|
+
description?: JSX.Element | undefined;
|
|
47
|
+
/** The control on the right: a `Toggle`, a `SearchableSelect`, a `SegmentedControl`, buttons, a value. */
|
|
48
|
+
children?: JSX.Element | undefined;
|
|
49
|
+
/** Content before the text: an icon or an avatar. */
|
|
50
|
+
leading?: JSX.Element | undefined;
|
|
51
|
+
/** Badges after the label, on its line. */
|
|
52
|
+
badges?: JSX.Element | undefined;
|
|
53
|
+
/** Marks the setting as changed from its default with a dot after the label. */
|
|
54
|
+
modified?: boolean | undefined;
|
|
55
|
+
/** Accessible name of the `modified` dot. Default: the translated "Modified". */
|
|
56
|
+
modifiedLabel?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Dims the label and description. The control is disabled by the caller (its own `disabled`),
|
|
59
|
+
* and the description should say why.
|
|
60
|
+
*/
|
|
61
|
+
disabled?: boolean | undefined;
|
|
62
|
+
/** `subtle` paints a quiet note row; `warning` a row that needs attention. Default `default`. */
|
|
63
|
+
tone?: SettingsRowTone | undefined;
|
|
64
|
+
/** Full-width content under the row: an inline warning with its action, an editor. */
|
|
65
|
+
footer?: JSX.Element | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Makes the row lead to a subpage: an "Open" button at the end, named with the row's label
|
|
68
|
+
* ("Open Tools"). Moving focus back to it when the subpage closes is the host's job.
|
|
69
|
+
*/
|
|
70
|
+
onOpen?: (() => void) | undefined;
|
|
71
|
+
/** Text of the open button. Default: the translated "Open". */
|
|
72
|
+
openLabel?: string | undefined;
|
|
73
|
+
/** `id` of the open button, for the host to return focus to it. */
|
|
74
|
+
openButtonId?: string | undefined;
|
|
75
|
+
class?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* One setting: label and description on the left, its control on the right. The package's
|
|
79
|
+
* controls take their accessible name from the label and their description from the muted line,
|
|
80
|
+
* as inside a `FormField`, so the control needs no `ariaLabel` of its own. On a narrow card the
|
|
81
|
+
* control wraps under the text.
|
|
82
|
+
*/
|
|
83
|
+
export declare function SettingsRow(props: SettingsRowProps): JSX.Element;
|
|
84
|
+
export interface SettingsAdvancedRowProps {
|
|
85
|
+
/** The toggle's text. Default: the translated "Advanced". */
|
|
86
|
+
label?: JSX.Element | undefined;
|
|
87
|
+
/** A muted line after the label naming what is inside ("Port, limits"). */
|
|
88
|
+
summary?: JSX.Element | undefined;
|
|
89
|
+
/** A badge after the summary, for example how many settings inside differ from their default. */
|
|
90
|
+
aside?: JSX.Element | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Controlled open state, with `onToggle`. A host's settings search should open the row while a
|
|
93
|
+
* match is inside it: closed rows are not rendered.
|
|
94
|
+
*/
|
|
95
|
+
open?: boolean | undefined;
|
|
96
|
+
onToggle?: ((open: boolean) => void) | undefined;
|
|
97
|
+
/** Uncontrolled initial state. Default false. */
|
|
98
|
+
defaultOpen?: boolean | undefined;
|
|
99
|
+
/** The rows it reveals, usually `SettingsRow`s. */
|
|
100
|
+
children: JSX.Element;
|
|
101
|
+
class?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A row inside a `SettingsCard` that folds the card's less used settings away: "› Advanced",
|
|
105
|
+
* what is inside, and a badge. Opening it reveals its rows in the same card, indented. Built on
|
|
106
|
+
* `Disclosure`: a real button with `aria-expanded` and `aria-controls`.
|
|
107
|
+
*/
|
|
108
|
+
export declare function SettingsAdvancedRow(props: SettingsAdvancedRowProps): JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import type { SettingsHeadingLevel } from './SettingsCard.cjs';
|
|
3
|
+
export interface SettingsSubpageHeaderProps {
|
|
4
|
+
/** The subpage's title. Pre-translated by the caller. */
|
|
5
|
+
title: JSX.Element;
|
|
6
|
+
/** A muted line under the title: what the subpage is for. */
|
|
7
|
+
description?: JSX.Element | undefined;
|
|
8
|
+
/** Goes back to the page the subpage was opened from. */
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
/** Text of the back button, usually the parent page's name. Default: the translated "Back". */
|
|
11
|
+
backLabel?: string | undefined;
|
|
12
|
+
/** Controls on the right of the title: a "Reset all" or an "Add" button. */
|
|
13
|
+
actions?: JSX.Element | undefined;
|
|
14
|
+
/** Heading level of `title`. Default 2, the level of the page it replaces. */
|
|
15
|
+
headingLevel?: SettingsHeadingLevel | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Moves focus to the title when the header mounts, so a screen reader announces the new
|
|
18
|
+
* subpage. Default true; pass false when the host restores focus elsewhere.
|
|
19
|
+
*/
|
|
20
|
+
focusOnMount?: boolean | undefined;
|
|
21
|
+
class?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The top of a settings subpage opened in place from a `SettingsRow`'s "Open" button: a back
|
|
25
|
+
* button, the title and its description, and actions on the right. The title takes focus when
|
|
26
|
+
* the subpage appears. Going back and moving focus to the row that opened the subpage is the
|
|
27
|
+
* host's job (`SettingsRow.openButtonId`).
|
|
28
|
+
*/
|
|
29
|
+
export declare function SettingsSubpageHeader(props: SettingsSubpageHeaderProps): JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import type { SettingsHeadingLevel } from './SettingsCard.js';
|
|
3
|
+
export interface SettingsSubpageHeaderProps {
|
|
4
|
+
/** The subpage's title. Pre-translated by the caller. */
|
|
5
|
+
title: JSX.Element;
|
|
6
|
+
/** A muted line under the title: what the subpage is for. */
|
|
7
|
+
description?: JSX.Element | undefined;
|
|
8
|
+
/** Goes back to the page the subpage was opened from. */
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
/** Text of the back button, usually the parent page's name. Default: the translated "Back". */
|
|
11
|
+
backLabel?: string | undefined;
|
|
12
|
+
/** Controls on the right of the title: a "Reset all" or an "Add" button. */
|
|
13
|
+
actions?: JSX.Element | undefined;
|
|
14
|
+
/** Heading level of `title`. Default 2, the level of the page it replaces. */
|
|
15
|
+
headingLevel?: SettingsHeadingLevel | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Moves focus to the title when the header mounts, so a screen reader announces the new
|
|
18
|
+
* subpage. Default true; pass false when the host restores focus elsewhere.
|
|
19
|
+
*/
|
|
20
|
+
focusOnMount?: boolean | undefined;
|
|
21
|
+
class?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The top of a settings subpage opened in place from a `SettingsRow`'s "Open" button: a back
|
|
25
|
+
* button, the title and its description, and actions on the right. The title takes focus when
|
|
26
|
+
* the subpage appears. Going back and moving focus to the row that opened the subpage is the
|
|
27
|
+
* host's job (`SettingsRow.openButtonId`).
|
|
28
|
+
*/
|
|
29
|
+
export declare function SettingsSubpageHeader(props: SettingsSubpageHeaderProps): JSX.Element;
|
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-BqW3Ozgd.cjs"),a=require("../Stepper-BLKD4ub3.cjs"),r=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.SettingsAdvancedRow=e.SettingsAdvancedRow;exports.SettingsCard=e.SettingsCard;exports.SettingsRow=e.SettingsRow;exports.SettingsSubpageHeader=e.SettingsSubpageHeader;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=a.Accordion;exports.Breadcrumb=a.Breadcrumb;exports.Stepper=a.Stepper;exports.Tabs=a.Tabs;exports.createVirtualWindow=r.createVirtualWindow;
|
package/dist/layout/index.d.cts
CHANGED
package/dist/layout/index.d.ts
CHANGED
package/dist/layout/index.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { P as
|
|
2
|
-
import { A as
|
|
3
|
-
import { c as
|
|
1
|
+
import { P as s, a as r, R as t, b as i, S as o, c as d, d as c, e as S, f as n, g } from "../createResizableSidebar-CKbN032u.js";
|
|
2
|
+
import { A as b, B as p, S as R, T as f } from "../Stepper-D0rrrtAN.js";
|
|
3
|
+
import { c as u } from "../createVirtualWindow-CGPw2jm_.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
b as Accordion,
|
|
6
|
+
p as Breadcrumb,
|
|
7
|
+
s as PageHeader,
|
|
8
|
+
r as PageHeaderIcon,
|
|
9
|
+
t as ResizableSplitPane,
|
|
10
|
+
i as ResizeHandle,
|
|
11
|
+
o as SettingsAdvancedRow,
|
|
12
|
+
d as SettingsCard,
|
|
13
|
+
c as SettingsRow,
|
|
14
|
+
S as SettingsSubpageHeader,
|
|
15
|
+
R as Stepper,
|
|
16
|
+
f as Tabs,
|
|
17
|
+
n as createResizableSidebar,
|
|
18
|
+
g as createVirtualScroller,
|
|
19
|
+
u as createVirtualWindow
|
|
16
20
|
};
|
|
@@ -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-BLKD4ub3.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-D0rrrtAN.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 i=require("../StatusBarNotificationBell-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-MXX_K48w.cjs"),e=require("../notificationCatalog-DmwTAO09.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-
|
|
1
|
+
import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-CnmMzXzD.js";
|
|
2
2
|
import { d as Si, a as Ti } from "../notificationCatalog-otJ1LHFH.js";
|
|
3
3
|
import { n as ui } from "../useSettingsSubscription-DLEk4k4j.js";
|
|
4
4
|
export {
|
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-CdiIycaW.cjs"),r=require("../Modal-C1vp7z7l.cjs"),p=require("../OverlayScrollArea-Cr0VAApT.cjs"),l=require("../GuidedTour-DicNwdq3.cjs"),M=require("../Disclosure-DHNtLOWi.cjs"),i=require("../createDialogShellFocus-C2FKc2rv.cjs"),n=require("../nativeTitleHold-B7Ou-W9b.cjs"),T=require("../Input-DTm6v0fK.cjs"),t=require("../anchoredLayout-CBjQ1etD.cjs"),o=require("../overlayStack-eD8AmuwY.cjs"),d=require("../useFloatingDropdown-D5UayoN6.cjs"),D=require("../ownerWindow-BCmJFMbR.cjs"),_=require("../ownerAnimationFrame-T6jf6qYC.cjs"),s=require("../prefersReducedMotion-DYR56SKZ.cjs"),u=require("../kitHost-u0-mKvEK.cjs"),c=require("../dialogFocusRestore-DP5b1bDo.cjs"),O=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),a=require("../Popover-CLTXG8W0.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.InputDialog=e.InputDialog;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.SaveDiscardDialog=e.SaveDiscardDialog;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.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;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.GuidedTour=l.GuidedTour;exports.Panel=l.Panel;exports.PanelSeparator=l.PanelSeparator;exports.positionTourCard=l.positionTourCard;exports.Disclosure=M.Disclosure;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=T.OverlayPortal;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.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=d.useFloatingDropdown;exports.ownerWindow=D.ownerWindow;exports.requestOwnerAnimationFrame=_.requestOwnerAnimationFrame;exports.modalBackgroundExemption=s.modalBackgroundExemption;exports.neutralizeBackground=s.neutralizeBackground;exports.ModalDefaultsProvider=u.ModalDefaultsProvider;exports.useModalDefaults=u.useModalDefaults;exports.restoreFocusTo=c.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=c.shouldRestoreFocusOnDialogClose;exports.DesktopContextMenuContext=O.DesktopContextMenuContext;exports.useDesktopContextMenu=O.useDesktopContextMenu;exports.LISTBOX_OPTION_SELECTOR=a.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=a.MENU_ITEM_SELECTOR;exports.Popover=a.Popover;exports.isPopoverNavigationKey=a.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=a.resolvePopoverFocusForKey;
|