foldkit 0.84.0 → 0.86.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/dist/runtime/runtime.d.ts.map +1 -1
- package/dist/runtime/runtime.js +16 -6
- package/dist/task/dom.d.ts +11 -7
- package/dist/task/dom.d.ts.map +1 -1
- package/dist/task/dom.js +17 -20
- package/dist/task/elementMovement.d.ts.map +1 -1
- package/dist/task/elementMovement.js +4 -5
- package/dist/task/index.d.ts +1 -1
- package/dist/task/index.d.ts.map +1 -1
- package/dist/task/index.js +1 -1
- package/dist/task/public.d.ts +1 -1
- package/dist/task/public.d.ts.map +1 -1
- package/dist/task/public.js +1 -1
- package/dist/task/timing.d.ts +23 -0
- package/dist/task/timing.d.ts.map +1 -1
- package/dist/task/timing.js +26 -0
- package/dist/test/apps/mountPanel.d.ts +3 -3
- package/dist/test/apps/mountPanel.js +9 -9
- package/dist/test/internal.d.ts +6 -1
- package/dist/test/internal.d.ts.map +1 -1
- package/dist/test/internal.js +18 -0
- package/dist/test/scene.d.ts +3 -0
- package/dist/test/scene.d.ts.map +1 -1
- package/dist/test/scene.js +62 -8
- package/dist/ui/combobox/multi.d.ts +10 -10
- package/dist/ui/combobox/public.d.ts +1 -1
- package/dist/ui/combobox/public.d.ts.map +1 -1
- package/dist/ui/combobox/public.js +1 -1
- package/dist/ui/combobox/shared.d.ts +27 -27
- package/dist/ui/combobox/shared.d.ts.map +1 -1
- package/dist/ui/combobox/shared.js +36 -36
- package/dist/ui/combobox/single.d.ts +10 -10
- package/dist/ui/datePicker/index.d.ts +1 -1
- package/dist/ui/listbox/multi.d.ts +4 -8
- package/dist/ui/listbox/multi.d.ts.map +1 -1
- package/dist/ui/listbox/public.d.ts +1 -1
- package/dist/ui/listbox/public.d.ts.map +1 -1
- package/dist/ui/listbox/public.js +1 -1
- package/dist/ui/listbox/shared.d.ts +13 -24
- package/dist/ui/listbox/shared.d.ts.map +1 -1
- package/dist/ui/listbox/shared.js +22 -40
- package/dist/ui/listbox/single.d.ts +4 -8
- package/dist/ui/listbox/single.d.ts.map +1 -1
- package/dist/ui/menu/index.d.ts +11 -20
- package/dist/ui/menu/index.d.ts.map +1 -1
- package/dist/ui/menu/index.js +26 -40
- package/dist/ui/menu/public.d.ts +1 -1
- package/dist/ui/menu/public.d.ts.map +1 -1
- package/dist/ui/menu/public.js +1 -1
- package/dist/ui/popover/index.d.ts +11 -11
- package/dist/ui/popover/index.d.ts.map +1 -1
- package/dist/ui/popover/index.js +21 -21
- package/dist/ui/popover/public.d.ts +1 -1
- package/dist/ui/popover/public.d.ts.map +1 -1
- package/dist/ui/popover/public.js +1 -1
- package/dist/ui/tooltip/index.d.ts +6 -6
- package/dist/ui/tooltip/index.d.ts.map +1 -1
- package/dist/ui/tooltip/index.js +11 -11
- package/dist/ui/tooltip/public.d.ts +1 -1
- package/dist/ui/tooltip/public.d.ts.map +1 -1
- package/dist/ui/tooltip/public.js +1 -1
- package/package.json +1 -1
|
@@ -46,9 +46,9 @@ export declare const IgnoredMouseClick: import("../../schema/index.js").Callable
|
|
|
46
46
|
/** Sent when a Space key-up is captured to prevent page scrolling. */
|
|
47
47
|
export declare const SuppressedSpaceScroll: import("../../schema/index.js").CallableTaggedStruct<"SuppressedSpaceScroll", {}>;
|
|
48
48
|
/** Sent when the popover panel mounts and Floating UI has positioned it. Update no-ops; the side effect is the act of positioning, surfaced for DevTools observability. */
|
|
49
|
-
export declare const
|
|
49
|
+
export declare const CompletedAnchorPopover: import("../../schema/index.js").CallableTaggedStruct<"CompletedAnchorPopover", {}>;
|
|
50
50
|
/** Sent when the popover backdrop mounts and is portaled to the document body. Update no-ops; surfaces the portal side effect for DevTools. */
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const CompletedPortalPopoverBackdrop: import("../../schema/index.js").CallableTaggedStruct<"CompletedPortalPopoverBackdrop", {}>;
|
|
52
52
|
/** Wraps an Animation submodel message for delegation. */
|
|
53
53
|
export declare const GotAnimationMessage: import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
|
|
54
54
|
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
@@ -67,8 +67,8 @@ export declare const Message: S.Union<[
|
|
|
67
67
|
typeof CompletedTeardownInert,
|
|
68
68
|
typeof IgnoredMouseClick,
|
|
69
69
|
typeof SuppressedSpaceScroll,
|
|
70
|
-
typeof
|
|
71
|
-
typeof
|
|
70
|
+
typeof CompletedAnchorPopover,
|
|
71
|
+
typeof CompletedPortalPopoverBackdrop,
|
|
72
72
|
typeof GotAnimationMessage
|
|
73
73
|
]>;
|
|
74
74
|
export type Opened = typeof Opened.Type;
|
|
@@ -128,16 +128,16 @@ export declare const DetectMovementOrAnimationEnd: Command.CommandDefinition<"De
|
|
|
128
128
|
/** Processes a popover message and returns the next model and commands. */
|
|
129
129
|
export declare const update: (model: Model, message: Message) => UpdateReturn;
|
|
130
130
|
/** The anchor-positioning Mount this Popover renders on its panel. Exposed so
|
|
131
|
-
* Scene tests can call `Scene.Mount.resolve(
|
|
131
|
+
* Scene tests can call `Scene.Mount.resolve(AnchorPopover, CompletedAnchorPopover())`
|
|
132
132
|
* to acknowledge the mount produced by the rendered panel. */
|
|
133
|
-
export declare const
|
|
134
|
-
readonly _tag: "
|
|
133
|
+
export declare const AnchorPopover: Mount.MountDefinition<"AnchorPopover", {
|
|
134
|
+
readonly _tag: "CompletedAnchorPopover";
|
|
135
135
|
}>;
|
|
136
136
|
/** The backdrop-portaling Mount this Popover renders. Exposed so Scene tests can
|
|
137
|
-
* call `Scene.Mount.resolve(
|
|
137
|
+
* call `Scene.Mount.resolve(PortalPopoverBackdrop, CompletedPortalPopoverBackdrop())` to
|
|
138
138
|
* acknowledge the mount produced by the rendered backdrop. */
|
|
139
|
-
export declare const
|
|
140
|
-
readonly _tag: "
|
|
139
|
+
export declare const PortalPopoverBackdrop: Mount.MountDefinition<"PortalPopoverBackdrop", {
|
|
140
|
+
readonly _tag: "CompletedPortalPopoverBackdrop";
|
|
141
141
|
}>;
|
|
142
142
|
/** Programmatically opens the popover, updating the model and returning
|
|
143
143
|
* focus and modal commands. Use this in domain-event handlers when the popover uses `onOpened`. */
|
|
@@ -148,7 +148,7 @@ export declare const close: (model: Model) => readonly [Model, ReadonlyArray<Com
|
|
|
148
148
|
/** Configuration for rendering a popover with `view`. */
|
|
149
149
|
export type ViewConfig<ParentMessage> = Readonly<{
|
|
150
150
|
model: Model;
|
|
151
|
-
toParentMessage: (message: Opened | Closed | BlurredPanel | PressedPointerOnButton | IgnoredMouseClick | SuppressedSpaceScroll | typeof
|
|
151
|
+
toParentMessage: (message: Opened | Closed | BlurredPanel | PressedPointerOnButton | IgnoredMouseClick | SuppressedSpaceScroll | typeof CompletedAnchorPopover.Type | typeof CompletedPortalPopoverBackdrop.Type) => ParentMessage;
|
|
152
152
|
onOpened?: () => ParentMessage;
|
|
153
153
|
onClosed?: () => ParentMessage;
|
|
154
154
|
anchor: AnchorConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE9E,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EAIV,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAI7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAiBhD,qGAAqG;AACrG,eAAO,MAAM,KAAK;;;;;;;;;;;;EAQhB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,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AAkB,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;CACrD,CAAC,CAAA;AAEF,yKAAyK;AACzK,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,QAAQ,UAAU,CAAC,aAAa,CAAC,KAChC,IAsNF,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,cAAc,IAAI,CAChB,UAAU,CAAC,aAAa,CAAC,EACzB,OAAO,GAAG,iBAAiB,GAAG,UAAU,GAAG,UAAU,CACtD,KACA,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC,iBAAiB,CAAC,KAC1D,IAAI,CAgBR,CAAA"}
|
package/dist/ui/popover/index.js
CHANGED
|
@@ -52,9 +52,9 @@ export const IgnoredMouseClick = m('IgnoredMouseClick');
|
|
|
52
52
|
/** Sent when a Space key-up is captured to prevent page scrolling. */
|
|
53
53
|
export const SuppressedSpaceScroll = m('SuppressedSpaceScroll');
|
|
54
54
|
/** Sent when the popover panel mounts and Floating UI has positioned it. Update no-ops; the side effect is the act of positioning, surfaced for DevTools observability. */
|
|
55
|
-
export const
|
|
55
|
+
export const CompletedAnchorPopover = m('CompletedAnchorPopover');
|
|
56
56
|
/** Sent when the popover backdrop mounts and is portaled to the document body. Update no-ops; surfaces the portal side effect for DevTools. */
|
|
57
|
-
export const
|
|
57
|
+
export const CompletedPortalPopoverBackdrop = m('CompletedPortalPopoverBackdrop');
|
|
58
58
|
/** Wraps an Animation submodel message for delegation. */
|
|
59
59
|
export const GotAnimationMessage = m('GotAnimationMessage', {
|
|
60
60
|
message: AnimationMessage,
|
|
@@ -73,8 +73,8 @@ export const Message = S.Union([
|
|
|
73
73
|
CompletedTeardownInert,
|
|
74
74
|
IgnoredMouseClick,
|
|
75
75
|
SuppressedSpaceScroll,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
CompletedAnchorPopover,
|
|
77
|
+
CompletedPortalPopoverBackdrop,
|
|
78
78
|
GotAnimationMessage,
|
|
79
79
|
]);
|
|
80
80
|
// INIT
|
|
@@ -208,22 +208,22 @@ export const update = (model, message) => {
|
|
|
208
208
|
[],
|
|
209
209
|
],
|
|
210
210
|
SuppressedSpaceScroll: () => [model, []],
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
CompletedAnchorPopover: () => [model, []],
|
|
212
|
+
CompletedPortalPopoverBackdrop: () => [model, []],
|
|
213
213
|
}));
|
|
214
214
|
};
|
|
215
215
|
/** The anchor-positioning Mount this Popover renders on its panel. Exposed so
|
|
216
|
-
* Scene tests can call `Scene.Mount.resolve(
|
|
216
|
+
* Scene tests can call `Scene.Mount.resolve(AnchorPopover, CompletedAnchorPopover())`
|
|
217
217
|
* to acknowledge the mount produced by the rendered panel. */
|
|
218
|
-
export const
|
|
218
|
+
export const AnchorPopover = Mount.define('AnchorPopover', CompletedAnchorPopover);
|
|
219
219
|
/** The backdrop-portaling Mount this Popover renders. Exposed so Scene tests can
|
|
220
|
-
* call `Scene.Mount.resolve(
|
|
220
|
+
* call `Scene.Mount.resolve(PortalPopoverBackdrop, CompletedPortalPopoverBackdrop())` to
|
|
221
221
|
* acknowledge the mount produced by the rendered backdrop. */
|
|
222
|
-
export const
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}))
|
|
222
|
+
export const PortalPopoverBackdrop = Mount.define('PortalPopoverBackdrop', CompletedPortalPopoverBackdrop);
|
|
223
|
+
const portalPopoverBackdrop = PortalPopoverBackdrop((element) => Effect.sync(() => {
|
|
224
|
+
const cleanup = portalToBody(element);
|
|
225
|
+
return { message: CompletedPortalPopoverBackdrop(), cleanup };
|
|
226
|
+
}));
|
|
227
227
|
/** Programmatically opens the popover, updating the model and returning
|
|
228
228
|
* focus and modal commands. Use this in domain-event handlers when the popover uses `onOpened`. */
|
|
229
229
|
export const open = (model) => update(model, Opened());
|
|
@@ -294,19 +294,19 @@ export const view = (config) => {
|
|
|
294
294
|
...(buttonClassName ? [Class(buttonClassName)] : []),
|
|
295
295
|
...buttonAttributes,
|
|
296
296
|
];
|
|
297
|
-
const
|
|
298
|
-
|
|
299
|
-
cleanup: anchorSetup({
|
|
297
|
+
const anchorPopover = Mount.mapMessage(AnchorPopover((items) => Effect.sync(() => {
|
|
298
|
+
const cleanup = anchorSetup({
|
|
300
299
|
buttonId: `${id}-button`,
|
|
301
300
|
anchor,
|
|
302
301
|
interceptTab: false,
|
|
303
302
|
focusAfterPosition: true,
|
|
304
303
|
...(focusSelector !== undefined && { focusSelector }),
|
|
305
|
-
})(items)
|
|
306
|
-
|
|
304
|
+
})(items);
|
|
305
|
+
return { message: CompletedAnchorPopover(), cleanup };
|
|
306
|
+
})), toParentMessage);
|
|
307
307
|
const anchorAttributes = [
|
|
308
308
|
Style({ position: 'absolute', margin: '0', visibility: 'hidden' }),
|
|
309
|
-
OnMount(
|
|
309
|
+
OnMount(anchorPopover),
|
|
310
310
|
];
|
|
311
311
|
const resolvedPanelAttributes = [
|
|
312
312
|
Id(`${id}-panel`),
|
|
@@ -323,7 +323,7 @@ export const view = (config) => {
|
|
|
323
323
|
...panelAttributes,
|
|
324
324
|
];
|
|
325
325
|
const backdrop = keyed('div')(`${id}-backdrop`, [
|
|
326
|
-
OnMount(Mount.mapMessage(
|
|
326
|
+
OnMount(Mount.mapMessage(portalPopoverBackdrop, toParentMessage)),
|
|
327
327
|
...(isLeaving ? [] : [OnClick(dispatchClosed())]),
|
|
328
328
|
...(backdropClassName ? [Class(backdropClassName)] : []),
|
|
329
329
|
...backdropAttributes,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert,
|
|
1
|
+
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedAnchorPopover, CompletedPortalPopoverBackdrop, AnchorPopover, PortalPopoverBackdrop, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index.js';
|
|
2
2
|
export type { BlurredPanel, PressedPointerOnButton, IgnoredMouseClick, SuppressedSpaceScroll, InitConfig, ViewConfig, } from './index.js';
|
|
3
3
|
export type { AnchorConfig } from '../anchor.js';
|
|
4
4
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,8BAA8B,EAC9B,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,4BAA4B,GAC7B,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,UAAU,GACX,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert,
|
|
1
|
+
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedAnchorPopover, CompletedPortalPopoverBackdrop, AnchorPopover, PortalPopoverBackdrop, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index.js';
|
|
@@ -39,7 +39,7 @@ export declare const ChangedShowDelay: import("../../schema/index.js").CallableT
|
|
|
39
39
|
showDelay: S.DurationFromMillis;
|
|
40
40
|
}>;
|
|
41
41
|
/** Sent when the tooltip panel mounts and Floating UI has positioned it. Update no-ops; the side effect is the act of positioning, surfaced for DevTools observability. */
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const CompletedAnchorTooltip: import("../../schema/index.js").CallableTaggedStruct<"CompletedAnchorTooltip", {}>;
|
|
43
43
|
/** Union of all messages the tooltip component can produce. */
|
|
44
44
|
export declare const Message: S.Union<[
|
|
45
45
|
typeof EnteredTrigger,
|
|
@@ -50,7 +50,7 @@ export declare const Message: S.Union<[
|
|
|
50
50
|
typeof PressedPointerOnTrigger,
|
|
51
51
|
typeof ElapsedShowDelay,
|
|
52
52
|
typeof ChangedShowDelay,
|
|
53
|
-
typeof
|
|
53
|
+
typeof CompletedAnchorTooltip
|
|
54
54
|
]>;
|
|
55
55
|
export type EnteredTrigger = typeof EnteredTrigger.Type;
|
|
56
56
|
export type LeftTrigger = typeof LeftTrigger.Type;
|
|
@@ -73,10 +73,10 @@ export declare const ShowAfterDelay: Command.CommandDefinition<"ShowAfterDelay",
|
|
|
73
73
|
readonly version: number;
|
|
74
74
|
}>;
|
|
75
75
|
/** The anchor-positioning Mount this Tooltip renders on its panel. Exposed so
|
|
76
|
-
* Scene tests can call `Scene.Mount.resolve(
|
|
76
|
+
* Scene tests can call `Scene.Mount.resolve(AnchorTooltip, CompletedAnchorTooltip())`
|
|
77
77
|
* to acknowledge the mount produced by the rendered panel. */
|
|
78
|
-
export declare const
|
|
79
|
-
readonly _tag: "
|
|
78
|
+
export declare const AnchorTooltip: Mount.MountDefinition<"AnchorTooltip", {
|
|
79
|
+
readonly _tag: "CompletedAnchorTooltip";
|
|
80
80
|
}>;
|
|
81
81
|
/** Processes a tooltip message and returns the next model and commands. */
|
|
82
82
|
export declare const update: (model: Model, message: Message) => UpdateReturn;
|
|
@@ -85,7 +85,7 @@ export declare const setShowDelay: (model: Model, showDelay: Duration.Input) =>
|
|
|
85
85
|
/** Configuration for rendering a tooltip with `view`. */
|
|
86
86
|
export type ViewConfig<ParentMessage> = Readonly<{
|
|
87
87
|
model: Model;
|
|
88
|
-
toParentMessage: (message: EnteredTrigger | LeftTrigger | FocusedTrigger | BlurredTrigger | PressedEscape | PressedPointerOnTrigger | typeof
|
|
88
|
+
toParentMessage: (message: EnteredTrigger | LeftTrigger | FocusedTrigger | BlurredTrigger | PressedEscape | PressedPointerOnTrigger | typeof CompletedAnchorTooltip.Type) => ParentMessage;
|
|
89
89
|
anchor: AnchorConfig;
|
|
90
90
|
triggerContent: Html;
|
|
91
91
|
triggerClassName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/index.ts"],"names":[],"mappings":"AAAA,OA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CAAC,aAAa,CAAC,CAAC,CAAA;IAC3D,OAAO,EAAE,IAAI,CAAA;IACb,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;IACzD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAA;CACrD,CAAC,CAAA;AAEF,8SAA8S;AAC9S,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,QAAQ,UAAU,CAAC,aAAa,CAAC,KAChC,IAsHF,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,aAAa,EAChC,cAAc,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC,KACzE,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC,iBAAiB,CAAC,KAC1D,IAAI,CAgBR,CAAA"}
|
package/dist/ui/tooltip/index.js
CHANGED
|
@@ -44,7 +44,7 @@ export const ChangedShowDelay = m('ChangedShowDelay', {
|
|
|
44
44
|
showDelay: S.DurationFromMillis,
|
|
45
45
|
});
|
|
46
46
|
/** Sent when the tooltip panel mounts and Floating UI has positioned it. Update no-ops; the side effect is the act of positioning, surfaced for DevTools observability. */
|
|
47
|
-
export const
|
|
47
|
+
export const CompletedAnchorTooltip = m('CompletedAnchorTooltip');
|
|
48
48
|
/** Union of all messages the tooltip component can produce. */
|
|
49
49
|
export const Message = S.Union([
|
|
50
50
|
EnteredTrigger,
|
|
@@ -55,7 +55,7 @@ export const Message = S.Union([
|
|
|
55
55
|
PressedPointerOnTrigger,
|
|
56
56
|
ElapsedShowDelay,
|
|
57
57
|
ChangedShowDelay,
|
|
58
|
-
|
|
58
|
+
CompletedAnchorTooltip,
|
|
59
59
|
]);
|
|
60
60
|
// INIT
|
|
61
61
|
const DEFAULT_SHOW_DELAY = Duration.millis(500);
|
|
@@ -77,9 +77,9 @@ const withUpdateReturn = M.withReturnType();
|
|
|
77
77
|
/** Waits for the tooltip's show delay before emitting `ElapsedShowDelay`. The version is echoed back so a stale timer is ignored when the user leaves before the delay fires. */
|
|
78
78
|
export const ShowAfterDelay = Command.define('ShowAfterDelay', ElapsedShowDelay);
|
|
79
79
|
/** The anchor-positioning Mount this Tooltip renders on its panel. Exposed so
|
|
80
|
-
* Scene tests can call `Scene.Mount.resolve(
|
|
80
|
+
* Scene tests can call `Scene.Mount.resolve(AnchorTooltip, CompletedAnchorTooltip())`
|
|
81
81
|
* to acknowledge the mount produced by the rendered panel. */
|
|
82
|
-
export const
|
|
82
|
+
export const AnchorTooltip = Mount.define('AnchorTooltip', CompletedAnchorTooltip);
|
|
83
83
|
/** Processes a tooltip message and returns the next model and commands. */
|
|
84
84
|
export const update = (model, message) => M.value(message).pipe(withUpdateReturn, M.tagsExhaustive({
|
|
85
85
|
EnteredTrigger: () => {
|
|
@@ -186,7 +186,7 @@ export const update = (model, message) => M.value(message).pipe(withUpdateReturn
|
|
|
186
186
|
evo(model, { showDelay: () => showDelay }),
|
|
187
187
|
[],
|
|
188
188
|
],
|
|
189
|
-
|
|
189
|
+
CompletedAnchorTooltip: () => [model, []],
|
|
190
190
|
}));
|
|
191
191
|
/** Programmatically updates the tooltip's hover show-delay. Use this in response to user preference changes, input-method switches, or reduced-motion settings. The new delay applies to the next hover; any pending timer is unaffected (its stale version will discard harmlessly when it fires). */
|
|
192
192
|
export const setShowDelay = (model, showDelay) => update(model, ChangedShowDelay({ showDelay: Duration.fromInputUnsafe(showDelay) }));
|
|
@@ -214,14 +214,14 @@ export const view = (config) => {
|
|
|
214
214
|
...(triggerClassName ? [Class(triggerClassName)] : []),
|
|
215
215
|
...triggerAttributes,
|
|
216
216
|
];
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
cleanup: anchorSetup({
|
|
217
|
+
const anchorTooltip = Mount.mapMessage(AnchorTooltip((items) => Effect.sync(() => {
|
|
218
|
+
const cleanup = anchorSetup({
|
|
220
219
|
buttonId: `${id}-trigger`,
|
|
221
220
|
anchor,
|
|
222
221
|
interceptTab: false,
|
|
223
|
-
})(items)
|
|
224
|
-
|
|
222
|
+
})(items);
|
|
223
|
+
return { message: CompletedAnchorTooltip(), cleanup };
|
|
224
|
+
})), toParentMessage);
|
|
225
225
|
const anchorAttributes = [
|
|
226
226
|
Style({
|
|
227
227
|
position: 'absolute',
|
|
@@ -229,7 +229,7 @@ export const view = (config) => {
|
|
|
229
229
|
visibility: 'hidden',
|
|
230
230
|
pointerEvents: 'none',
|
|
231
231
|
}),
|
|
232
|
-
OnMount(
|
|
232
|
+
OnMount(anchorTooltip),
|
|
233
233
|
];
|
|
234
234
|
const resolvedPanelAttributes = [
|
|
235
235
|
Id(`${id}-panel`),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { init, update, view, lazy, setShowDelay, Model, Message, EnteredTrigger, LeftTrigger, FocusedTrigger, BlurredTrigger, PressedEscape, PressedPointerOnTrigger, ElapsedShowDelay, ChangedShowDelay, ShowAfterDelay,
|
|
1
|
+
export { init, update, view, lazy, setShowDelay, Model, Message, EnteredTrigger, LeftTrigger, FocusedTrigger, BlurredTrigger, PressedEscape, PressedPointerOnTrigger, ElapsedShowDelay, ChangedShowDelay, ShowAfterDelay, CompletedAnchorTooltip, AnchorTooltip, } from './index.js';
|
|
2
2
|
export type { InitConfig, ViewConfig } from './index.js';
|
|
3
3
|
export type { AnchorConfig } from '../anchor.js';
|
|
4
4
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,OAAO,EACP,cAAc,EACd,WAAW,EACX,cAAc,EACd,cAAc,EACd,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/tooltip/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,OAAO,EACP,cAAc,EACd,WAAW,EACX,cAAc,EACd,cAAc,EACd,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,aAAa,GACd,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAExD,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, view, lazy, setShowDelay, Model, Message, EnteredTrigger, LeftTrigger, FocusedTrigger, BlurredTrigger, PressedEscape, PressedPointerOnTrigger, ElapsedShowDelay, ChangedShowDelay, ShowAfterDelay,
|
|
1
|
+
export { init, update, view, lazy, setShowDelay, Model, Message, EnteredTrigger, LeftTrigger, FocusedTrigger, BlurredTrigger, PressedEscape, PressedPointerOnTrigger, ElapsedShowDelay, ChangedShowDelay, ShowAfterDelay, CompletedAnchorTooltip, AnchorTooltip, } from './index.js';
|