foldkit-mixins-ui 0.1.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/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/index.d.mts +454 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +623 -0
- package/dist/index.mjs.map +1 -0
- package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/package.json +47 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Patrick Glenn
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# foldkit-mixins-ui
|
|
2
|
+
|
|
3
|
+
Published slot contracts and mixin adapters for [`@foldkit/ui`](https://www.npmjs.com/package/@foldkit/ui),
|
|
4
|
+
built on [`foldkit-mixins`](../mixins).
|
|
5
|
+
|
|
6
|
+
`@foldkit/ui` components do not own markup: they build typed attribute bundles
|
|
7
|
+
and hand them to a consumer `toView` callback. This package formalizes those
|
|
8
|
+
bundles as `Slots` contracts and resolves attached Style/Behavior Mixins around
|
|
9
|
+
them, so you can customize an official component without copying it.
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { Button as UiButton } from 'foldkit-mixins-ui'
|
|
13
|
+
import { Button } from '@foldkit/ui/button'
|
|
14
|
+
|
|
15
|
+
Button.view(
|
|
16
|
+
{
|
|
17
|
+
onClick: Saved(),
|
|
18
|
+
toView: attributes => {
|
|
19
|
+
const slots = UiButton.resolve(attributes, [SaveStyle.mixin], { input, h })
|
|
20
|
+
return h.button(slots.button, ['Save'])
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
h,
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Base accessibility attributes, event Messages and any `ChildAttribute` are
|
|
28
|
+
preserved; Mixin contributions merge through the same deterministic resolver as
|
|
29
|
+
the core package. A Behavior cannot silently take over an event the component
|
|
30
|
+
already owns.
|
|
31
|
+
|
|
32
|
+
## Components
|
|
33
|
+
|
|
34
|
+
| Component | Slots |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| Button | `button` |
|
|
37
|
+
| Input | `input`, `label`, `description` |
|
|
38
|
+
| Textarea | `textarea`, `label`, `description` |
|
|
39
|
+
| Select | `select`, `label`, `description` |
|
|
40
|
+
| Checkbox | `checkbox`, `label`, `description`, `hiddenInput` |
|
|
41
|
+
| Switch | `button`, `label`, `description`, `hiddenInput` |
|
|
42
|
+
| Fieldset | `fieldset`, `legend`, `description` |
|
|
43
|
+
| Disclosure | `button`, `panel` |
|
|
44
|
+
| Dialog | `dialog`, `backdrop`, `panel`, `title`, `description`, `initialFocus`, `closeButton` |
|
|
45
|
+
| Popover | `button`, `panel`, `backdrop`, `arrow` |
|
|
46
|
+
| Tooltip | `trigger`, `panel` |
|
|
47
|
+
| Slider | `root`, `track`, `filledTrack`, `thumb`, `label`, `hiddenInput` |
|
|
48
|
+
| Tabs | `tablist`, `tab`, `panel` |
|
|
49
|
+
| RadioGroup | `group`, `option`, `label`, `description`, `hiddenInput` |
|
|
50
|
+
| Calendar | shared top-level groups plus `columnHeader`/`weekRow`/`dayCell`/`dayButton`/`monthCell`/`monthButton`/`yearCell`/`yearButton` |
|
|
51
|
+
|
|
52
|
+
Submodel components (Dialog, Popover, Tooltip, Slider, Tabs, RadioGroup, Calendar)
|
|
53
|
+
publish `ChildAttribute`s, which carry the child boundary's dispatcher; the
|
|
54
|
+
resolver preserves them by identity. The nested components apply one slot
|
|
55
|
+
contribution to every item while each item's base keeps its own event ownership.
|
|
56
|
+
|
|
57
|
+
## Limits
|
|
58
|
+
|
|
59
|
+
`Menu`, `Listbox`, `ComboBox` and `DatePicker` build their own element tree and
|
|
60
|
+
expose no attribute bundles, so there is nothing to resolve against; they are not
|
|
61
|
+
adapted.
|
|
62
|
+
|
|
63
|
+
The API is still settling (`0.1.0`). See [DESIGN.md](../../docs/design/mixins-DESIGN.md).
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import { Attr, Capability, Event, MixinValue, Slot, SlotAttributes, Slots, StaticMixin } from "foldkit-mixins";
|
|
2
|
+
import { HtmlBuilder } from "foldkit/html";
|
|
3
|
+
import { ButtonAttributes } from "@foldkit/ui/button";
|
|
4
|
+
import { CalendarAttributes, ColumnHeader, DayCell, DaysModeAttributes, MonthCell, MonthsModeAttributes, Week, YearCell, YearsModeAttributes } from "@foldkit/ui/calendar";
|
|
5
|
+
import { CheckboxAttributes } from "@foldkit/ui/checkbox";
|
|
6
|
+
import { RenderInfo } from "@foldkit/ui/dialog";
|
|
7
|
+
import { DisclosureAttributes } from "@foldkit/ui/disclosure";
|
|
8
|
+
import { FieldsetAttributes } from "@foldkit/ui/fieldset";
|
|
9
|
+
import { InputAttributes } from "@foldkit/ui/input";
|
|
10
|
+
import { RenderInfo as RenderInfo$1 } from "@foldkit/ui/popover";
|
|
11
|
+
import { RenderInfo as RenderInfo$2 } from "@foldkit/ui/radioGroup";
|
|
12
|
+
import { SelectAttributes } from "@foldkit/ui/select";
|
|
13
|
+
import { SliderAttributes } from "@foldkit/ui/slider";
|
|
14
|
+
import { SwitchAttributes } from "@foldkit/ui/switch";
|
|
15
|
+
import { RenderInfo as RenderInfo$3, TabInfo } from "@foldkit/ui/tabs";
|
|
16
|
+
import { TextareaAttributes } from "@foldkit/ui/textarea";
|
|
17
|
+
import { RenderInfo as RenderInfo$4 } from "@foldkit/ui/tooltip";
|
|
18
|
+
//#region src/resolve.d.ts
|
|
19
|
+
type MixinList<Message> = ReadonlyArray<MixinValue<Message> | MixinValue<never> | StaticMixin<Message>>;
|
|
20
|
+
interface ResolveContext<Input, Message> {
|
|
21
|
+
readonly input: Input;
|
|
22
|
+
readonly h: HtmlBuilder<Message>;
|
|
23
|
+
}
|
|
24
|
+
type ResolvedSlots<Slots, Message> = { readonly [K in keyof Slots]: SlotAttributes<Message>; };
|
|
25
|
+
declare const resolveFor: <Slots, Input, Message>(slots: Slots, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => <Base extends { readonly [K in keyof Slots]?: SlotAttributes<Message>; }>(base: Base) => Omit<Base, keyof Slots> & ResolvedSlots<Slots, Message>;
|
|
26
|
+
declare namespace button_d_exports {
|
|
27
|
+
export { ButtonSlots, resolve$14 as resolve };
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The button publishes one slot. `click` is owned by the base `OnClick` when
|
|
31
|
+
* the button is interactive, so a Behavior that adds its own click handler is a
|
|
32
|
+
* conflict rather than a second silent owner.
|
|
33
|
+
*/
|
|
34
|
+
export declare const ButtonSlots: Slots.Contract<{
|
|
35
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
36
|
+
}>;
|
|
37
|
+
declare const resolve$14: <Input, Message>(attributes: ButtonAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
38
|
+
button: readonly import("foldkit/html").Attribute<Message>[];
|
|
39
|
+
}>, "button"> & ResolvedSlots<Slots.Contract<{
|
|
40
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
41
|
+
}>, Message>;
|
|
42
|
+
declare namespace calendar_d_exports {
|
|
43
|
+
export { CalendarSlots, ResolvedCalendar, ResolvedColumnHeader, ResolvedDayCell, ResolvedDays, ResolvedMonthCell, ResolvedMonths, ResolvedWeek, ResolvedYearCell, ResolvedYears, resolve$13 as resolve };
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Calendar is a nested Submodel whose shape depends on `model.viewMode`. The
|
|
47
|
+
* top-level groups (`root`, `grid`, the navigation buttons) and per-item groups
|
|
48
|
+
* (`columnHeaders[]`, `weeks[].attributes`, the day/month/year cells and their
|
|
49
|
+
* buttons) are each resolved with `SlotView.buildersFor`, so a contribution to
|
|
50
|
+
* a cell slot applies to every cell while each cell's base keeps its own event
|
|
51
|
+
* ownership (a disabled day omits `OnClick`).
|
|
52
|
+
*/
|
|
53
|
+
export declare const CalendarSlots: Slots.Contract<{
|
|
54
|
+
readonly root: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
55
|
+
readonly previousMonthButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
56
|
+
readonly nextMonthButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
57
|
+
readonly headingButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
58
|
+
readonly previousPageButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
59
|
+
readonly nextPageButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
60
|
+
readonly grid: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"focus">, Event.EventToken<"blur">], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
61
|
+
readonly headerRow: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
62
|
+
readonly columnHeader: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
63
|
+
readonly weekRow: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
64
|
+
readonly dayCell: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
65
|
+
readonly dayButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
66
|
+
readonly monthCell: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
67
|
+
readonly monthButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
68
|
+
readonly yearCell: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
69
|
+
readonly yearButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
70
|
+
}>;
|
|
71
|
+
type ResolvedColumnHeader<Message> = Omit<ColumnHeader, 'attributes'> & {
|
|
72
|
+
readonly attributes: SlotAttributes<Message>;
|
|
73
|
+
};
|
|
74
|
+
type ResolvedDayCell<Message> = Omit<DayCell, 'cellAttributes' | 'buttonAttributes'> & {
|
|
75
|
+
readonly cellAttributes: SlotAttributes<Message>;
|
|
76
|
+
readonly buttonAttributes: SlotAttributes<Message>;
|
|
77
|
+
};
|
|
78
|
+
type ResolvedWeek<Message> = Omit<Week, 'attributes' | 'cells'> & {
|
|
79
|
+
readonly attributes: SlotAttributes<Message>;
|
|
80
|
+
readonly cells: ReadonlyArray<ResolvedDayCell<Message>>;
|
|
81
|
+
};
|
|
82
|
+
type ResolvedMonthCell<Message> = Omit<MonthCell, 'cellAttributes' | 'buttonAttributes'> & {
|
|
83
|
+
readonly cellAttributes: SlotAttributes<Message>;
|
|
84
|
+
readonly buttonAttributes: SlotAttributes<Message>;
|
|
85
|
+
};
|
|
86
|
+
type ResolvedYearCell<Message> = Omit<YearCell, 'cellAttributes' | 'buttonAttributes'> & {
|
|
87
|
+
readonly cellAttributes: SlotAttributes<Message>;
|
|
88
|
+
readonly buttonAttributes: SlotAttributes<Message>;
|
|
89
|
+
};
|
|
90
|
+
interface ResolvedDays<Message> {
|
|
91
|
+
readonly _tag: 'Days';
|
|
92
|
+
readonly root: SlotAttributes<Message>;
|
|
93
|
+
readonly previousMonthButton: SlotAttributes<Message>;
|
|
94
|
+
readonly nextMonthButton: SlotAttributes<Message>;
|
|
95
|
+
readonly headingButton: SlotAttributes<Message>;
|
|
96
|
+
readonly heading: DaysModeAttributes['heading'];
|
|
97
|
+
readonly grid: SlotAttributes<Message>;
|
|
98
|
+
readonly headerRow: SlotAttributes<Message>;
|
|
99
|
+
readonly columnHeaders: ReadonlyArray<ResolvedColumnHeader<Message>>;
|
|
100
|
+
readonly weeks: ReadonlyArray<ResolvedWeek<Message>>;
|
|
101
|
+
}
|
|
102
|
+
interface ResolvedMonths<Message> {
|
|
103
|
+
readonly _tag: 'Months';
|
|
104
|
+
readonly root: SlotAttributes<Message>;
|
|
105
|
+
readonly headingButton: SlotAttributes<Message>;
|
|
106
|
+
readonly heading: MonthsModeAttributes['heading'];
|
|
107
|
+
readonly grid: SlotAttributes<Message>;
|
|
108
|
+
readonly cells: ReadonlyArray<ResolvedMonthCell<Message>>;
|
|
109
|
+
}
|
|
110
|
+
interface ResolvedYears<Message> {
|
|
111
|
+
readonly _tag: 'Years';
|
|
112
|
+
readonly root: SlotAttributes<Message>;
|
|
113
|
+
readonly previousPageButton: SlotAttributes<Message>;
|
|
114
|
+
readonly nextPageButton: SlotAttributes<Message>;
|
|
115
|
+
readonly heading: YearsModeAttributes['heading'];
|
|
116
|
+
readonly grid: SlotAttributes<Message>;
|
|
117
|
+
readonly cells: ReadonlyArray<ResolvedYearCell<Message>>;
|
|
118
|
+
}
|
|
119
|
+
type ResolvedCalendar<Message> = ResolvedDays<Message> | ResolvedMonths<Message> | ResolvedYears<Message>;
|
|
120
|
+
/** Resolves every mode's nested groups, preserving the `_tag` and heading data. */
|
|
121
|
+
declare const resolve$13: <Input, Message>(render: CalendarAttributes, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => ResolvedCalendar<Message>;
|
|
122
|
+
declare namespace checkbox_d_exports {
|
|
123
|
+
export { CheckboxSlots, resolve$12 as resolve };
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Both the control and its label carry the base toggle handlers, so both own
|
|
127
|
+
* `click`. `hiddenInput` exists only when a form `name` is configured; its base
|
|
128
|
+
* bundle is then empty.
|
|
129
|
+
*/
|
|
130
|
+
export declare const CheckboxSlots: Slots.Contract<{
|
|
131
|
+
readonly checkbox: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
132
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
133
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
134
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
135
|
+
}>;
|
|
136
|
+
declare const resolve$12: <Input, Message>(attributes: CheckboxAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
137
|
+
checkbox: readonly import("foldkit/html").Attribute<Message>[];
|
|
138
|
+
label: readonly import("foldkit/html").Attribute<Message>[];
|
|
139
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
140
|
+
hiddenInput: readonly import("foldkit/html").Attribute<Message>[];
|
|
141
|
+
}>, "checkbox" | "label" | "description" | "hiddenInput"> & ResolvedSlots<Slots.Contract<{
|
|
142
|
+
readonly checkbox: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
143
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
144
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
145
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
146
|
+
}>, Message>;
|
|
147
|
+
declare namespace dialog_d_exports {
|
|
148
|
+
export { DialogSlots, resolve$11 as resolve };
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Dialog is a Submodel: each published bundle is a `ChildAttribute` group that
|
|
152
|
+
* carries the dialog boundary's dispatcher. The resolver treats those as opaque
|
|
153
|
+
* and preserves their identity, so spreading a resolved bundle into the parent's
|
|
154
|
+
* markup keeps routing through the dialog's `toParentMessage`.
|
|
155
|
+
*
|
|
156
|
+
* `dialog` owns `cancel` (the native Escape handler); `backdrop` and
|
|
157
|
+
* `closeButton` own `click`. A Behavior adding its own handler to one of those
|
|
158
|
+
* is a conflict, not a second silent owner.
|
|
159
|
+
*/
|
|
160
|
+
export declare const DialogSlots: Slots.Contract<{
|
|
161
|
+
readonly dialog: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"cancel">], readonly [Attr.AttrToken<"aria-describedby">], readonly Slot.RequirementName[], boolean>;
|
|
162
|
+
readonly backdrop: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
163
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
164
|
+
readonly title: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
165
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
166
|
+
readonly initialFocus: Slot.UnnamedSlot<Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
167
|
+
readonly closeButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
168
|
+
}>;
|
|
169
|
+
/** Resolves the dialog's render groups; `isVisible` passes through unchanged. */
|
|
170
|
+
declare const resolve$11: <Input, Message>(render: RenderInfo, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
171
|
+
dialog: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
172
|
+
backdrop: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
173
|
+
panel: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
174
|
+
title: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
175
|
+
description: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
176
|
+
initialFocus: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
177
|
+
closeButton: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
178
|
+
isVisible: boolean;
|
|
179
|
+
}>, "description" | "dialog" | "backdrop" | "panel" | "title" | "initialFocus" | "closeButton"> & ResolvedSlots<Slots.Contract<{
|
|
180
|
+
readonly dialog: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"cancel">], readonly [Attr.AttrToken<"aria-describedby">], readonly Slot.RequirementName[], boolean>;
|
|
181
|
+
readonly backdrop: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
182
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
183
|
+
readonly title: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
184
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
185
|
+
readonly initialFocus: Slot.UnnamedSlot<Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
186
|
+
readonly closeButton: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
187
|
+
}>, Message>;
|
|
188
|
+
declare namespace disclosure_d_exports {
|
|
189
|
+
export { DisclosureSlots, resolve$10 as resolve };
|
|
190
|
+
}
|
|
191
|
+
export declare const DisclosureSlots: Slots.Contract<{
|
|
192
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-expanded">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
193
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
194
|
+
}>;
|
|
195
|
+
/** `animatePanel` is not an attribute bundle, so it passes through unchanged. */
|
|
196
|
+
declare const resolve$10: <Input, Message>(attributes: DisclosureAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
197
|
+
button: readonly import("foldkit/html").Attribute<Message>[];
|
|
198
|
+
panel: readonly import("foldkit/html").Attribute<Message>[];
|
|
199
|
+
animatePanel: (content: import("foldkit/html").Html) => import("foldkit/html").Html;
|
|
200
|
+
}>, "button" | "panel"> & ResolvedSlots<Slots.Contract<{
|
|
201
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-expanded">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
202
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
203
|
+
}>, Message>;
|
|
204
|
+
declare namespace fieldset_d_exports {
|
|
205
|
+
export { FieldsetSlots, resolve$9 as resolve };
|
|
206
|
+
}
|
|
207
|
+
export declare const FieldsetSlots: Slots.Contract<{
|
|
208
|
+
readonly fieldset: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
209
|
+
readonly legend: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
210
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
211
|
+
}>;
|
|
212
|
+
declare const resolve$9: <Input, Message>(attributes: FieldsetAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
213
|
+
fieldset: readonly import("foldkit/html").Attribute<Message>[];
|
|
214
|
+
legend: readonly import("foldkit/html").Attribute<Message>[];
|
|
215
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
216
|
+
}>, "description" | "fieldset" | "legend"> & ResolvedSlots<Slots.Contract<{
|
|
217
|
+
readonly fieldset: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
218
|
+
readonly legend: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
219
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
220
|
+
}>, Message>;
|
|
221
|
+
declare namespace input_d_exports {
|
|
222
|
+
export { InputSlots, resolve$8 as resolve };
|
|
223
|
+
}
|
|
224
|
+
export declare const InputSlots: Slots.Contract<{
|
|
225
|
+
readonly input: Slot.UnnamedSlot<Capability.Capability<"TextInput", readonly [Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>]>, readonly [Event.EventToken<"input">, Event.EventToken<"focus">, Event.EventToken<"blur">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
226
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
227
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
228
|
+
}>;
|
|
229
|
+
declare const resolve$8: <Input, Message>(attributes: InputAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
230
|
+
input: readonly import("foldkit/html").Attribute<Message>[];
|
|
231
|
+
label: readonly import("foldkit/html").Attribute<Message>[];
|
|
232
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
233
|
+
}>, "label" | "description" | "input"> & ResolvedSlots<Slots.Contract<{
|
|
234
|
+
readonly input: Slot.UnnamedSlot<Capability.Capability<"TextInput", readonly [Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>]>, readonly [Event.EventToken<"input">, Event.EventToken<"focus">, Event.EventToken<"blur">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
235
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
236
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
237
|
+
}>, Message>;
|
|
238
|
+
declare namespace popover_d_exports {
|
|
239
|
+
export { PopoverSlots, resolve$7 as resolve };
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Popover is a Submodel; every bundle is a `ChildAttribute` group. `button`
|
|
243
|
+
* owns `click` (and its pointer/keyboard handlers) while open; `panel` owns
|
|
244
|
+
* `blur`; `backdrop` owns `click`. The panel and backdrop bundles also carry
|
|
245
|
+
* the anchor and portal Mounts, preserved as opaque `ChildAttribute`s.
|
|
246
|
+
*/
|
|
247
|
+
export declare const PopoverSlots: Slots.Contract<{
|
|
248
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-expanded">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
249
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"blur">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
250
|
+
readonly backdrop: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
251
|
+
readonly arrow: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
252
|
+
}>;
|
|
253
|
+
/** Resolves the popover's render groups; `isVisible` passes through unchanged. */
|
|
254
|
+
declare const resolve$7: <Input, Message>(render: RenderInfo$1, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
255
|
+
button: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
256
|
+
panel: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
257
|
+
backdrop: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
258
|
+
arrow: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
259
|
+
isVisible: boolean;
|
|
260
|
+
}>, "button" | "backdrop" | "panel" | "arrow"> & ResolvedSlots<Slots.Contract<{
|
|
261
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-expanded">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
262
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"blur">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
263
|
+
readonly backdrop: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
264
|
+
readonly arrow: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
265
|
+
}>, Message>;
|
|
266
|
+
declare namespace radioGroup_d_exports {
|
|
267
|
+
export { RadioGroupSlots, resolve$6 as resolve };
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* RadioGroup is a Submodel: each published bundle is a `ChildAttribute` group
|
|
271
|
+
* that carries the boundary's dispatcher. The resolver treats those as opaque
|
|
272
|
+
* and preserves their identity, so spreading a resolved bundle into the
|
|
273
|
+
* parent's markup keeps routing through the radio group's `toParentMessage`.
|
|
274
|
+
*
|
|
275
|
+
* The base installs `OnClick` on an enabled, non-readonly option's `option`
|
|
276
|
+
* bundle, so a Behavior adding its own click handler is a conflict rather than
|
|
277
|
+
* a second silent owner.
|
|
278
|
+
*/
|
|
279
|
+
export declare const RadioGroupSlots: Slots.Contract<{
|
|
280
|
+
readonly group: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
281
|
+
readonly option: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-selected">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
282
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
283
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
284
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
285
|
+
}>;
|
|
286
|
+
/** Resolves every option's bundles alongside the group and hidden input. */
|
|
287
|
+
declare const resolve$6: <Value extends string, Input, Message>(render: RenderInfo$2<Value>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => {
|
|
288
|
+
group: import("foldkit-mixins").SlotAttributes<Message>;
|
|
289
|
+
options: {
|
|
290
|
+
option: import("foldkit-mixins").SlotAttributes<Message>;
|
|
291
|
+
label: import("foldkit-mixins").SlotAttributes<Message>;
|
|
292
|
+
description: import("foldkit-mixins").SlotAttributes<Message>;
|
|
293
|
+
value: Value;
|
|
294
|
+
index: number;
|
|
295
|
+
isSelected: boolean;
|
|
296
|
+
isActive: boolean;
|
|
297
|
+
isDisabled: boolean;
|
|
298
|
+
isReadOnly: boolean;
|
|
299
|
+
}[];
|
|
300
|
+
selectedValue: import("effect/Option").Option<Value>;
|
|
301
|
+
hiddenInput: import("foldkit-mixins").SlotAttributes<Message>;
|
|
302
|
+
};
|
|
303
|
+
declare namespace select_d_exports {
|
|
304
|
+
export { SelectSlots, resolve$5 as resolve };
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* The base bundle installs `OnChange` only when `onChange` is configured and
|
|
308
|
+
* the control is enabled, so a Behavior that adds its own handler is a
|
|
309
|
+
* conflict rather than a second silent owner.
|
|
310
|
+
*/
|
|
311
|
+
export declare const SelectSlots: Slots.Contract<{
|
|
312
|
+
readonly select: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"change">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
313
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
314
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
315
|
+
}>;
|
|
316
|
+
declare const resolve$5: <Input, Message>(attributes: SelectAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
317
|
+
select: readonly import("foldkit/html").Attribute<Message>[];
|
|
318
|
+
label: readonly import("foldkit/html").Attribute<Message>[];
|
|
319
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
320
|
+
}>, "label" | "description" | "select"> & ResolvedSlots<Slots.Contract<{
|
|
321
|
+
readonly select: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"change">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
322
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
323
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
324
|
+
}>, Message>;
|
|
325
|
+
declare namespace slider_d_exports {
|
|
326
|
+
export { SliderSlots, resolve$4 as resolve };
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Slider is a Submodel: each published bundle is a `ChildAttribute` group that
|
|
330
|
+
* carries the boundary's dispatcher. The resolver treats those as opaque and
|
|
331
|
+
* preserves their identity, so spreading a resolved bundle into the parent's
|
|
332
|
+
* markup keeps routing through the slider's `toParentMessage`.
|
|
333
|
+
*
|
|
334
|
+
* The base installs the pointer handler on `track` and `thumb` only while the
|
|
335
|
+
* slider is interactive. A Behavior adding one of those owns it in the same
|
|
336
|
+
* window, so a second owner is a conflict rather than a silent takeover. Its
|
|
337
|
+
* keyboard handler is `OnKeyDownPreventDefault`, a distinct tag from `KeyDown`,
|
|
338
|
+
* so the thumb does not advertise `Event.KeyDown` (it would falsely imply a
|
|
339
|
+
* conflict the resolver cannot see).
|
|
340
|
+
*/
|
|
341
|
+
export declare const SliderSlots: Slots.Contract<{
|
|
342
|
+
readonly root: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
343
|
+
readonly track: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"pointerdown">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
344
|
+
readonly filledTrack: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
345
|
+
readonly thumb: Slot.UnnamedSlot<Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"pointerdown">], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
346
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
347
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
348
|
+
}>;
|
|
349
|
+
/** Resolves the slider's render groups; `value` and the rest pass through unchanged. */
|
|
350
|
+
declare const resolve$4: <Input, Message>(render: SliderAttributes, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
351
|
+
root: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
352
|
+
track: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
353
|
+
filledTrack: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
354
|
+
thumb: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
355
|
+
label: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
356
|
+
hiddenInput: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
357
|
+
}>, "root" | "label" | "hiddenInput" | "track" | "filledTrack" | "thumb"> & ResolvedSlots<Slots.Contract<{
|
|
358
|
+
readonly root: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
359
|
+
readonly track: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"pointerdown">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
360
|
+
readonly filledTrack: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
361
|
+
readonly thumb: Slot.UnnamedSlot<Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"pointerdown">], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
362
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
363
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
364
|
+
}>, Message>;
|
|
365
|
+
declare namespace switch_d_exports {
|
|
366
|
+
export { SwitchSlots, resolve$3 as resolve };
|
|
367
|
+
}
|
|
368
|
+
/** Mirrors the checkbox contract: both the control and its label own `click`. */
|
|
369
|
+
export declare const SwitchSlots: Slots.Contract<{
|
|
370
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
371
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
372
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
373
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
374
|
+
}>;
|
|
375
|
+
declare const resolve$3: <Input, Message>(attributes: SwitchAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
376
|
+
button: readonly import("foldkit/html").Attribute<Message>[];
|
|
377
|
+
label: readonly import("foldkit/html").Attribute<Message>[];
|
|
378
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
379
|
+
hiddenInput: readonly import("foldkit/html").Attribute<Message>[];
|
|
380
|
+
}>, "button" | "label" | "description" | "hiddenInput"> & ResolvedSlots<Slots.Contract<{
|
|
381
|
+
readonly button: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
382
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly [Event.EventToken<"click">], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
383
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
384
|
+
readonly hiddenInput: Slot.UnnamedSlot<Capability.Capability<"Base", readonly []>, readonly Slot.EventName[], readonly [Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
385
|
+
}>, Message>;
|
|
386
|
+
declare namespace tabs_d_exports {
|
|
387
|
+
export { ResolvedTab, ResolvedTabs, TabsSlots, resolve$2 as resolve };
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Tabs is a nested Submodel: one `tablist` group plus a `tab`/`panel` pair per
|
|
391
|
+
* item, so the resolver runs once per group and each base `ChildAttribute`
|
|
392
|
+
* bundle passes through by identity.
|
|
393
|
+
*
|
|
394
|
+
* Enabled tabs own `click` through the base `OnClick`; a Behavior adding its
|
|
395
|
+
* own click handler is a conflict rather than a second silent owner. Disabled
|
|
396
|
+
* tabs publish no click, so the contract still lists it as allowed.
|
|
397
|
+
*/
|
|
398
|
+
export declare const TabsSlots: Slots.Contract<{
|
|
399
|
+
readonly tablist: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
400
|
+
readonly tab: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"click">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-selected">, Attr.AttrToken<"disabled">, Attr.AttrToken<"aria-disabled">], readonly Slot.RequirementName[], boolean>;
|
|
401
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
402
|
+
}>;
|
|
403
|
+
type ResolvedTab<Value extends string, Message> = Omit<TabInfo<Value>, 'tab' | 'panel'> & {
|
|
404
|
+
readonly tab: SlotAttributes<Message>;
|
|
405
|
+
readonly panel: SlotAttributes<Message>;
|
|
406
|
+
};
|
|
407
|
+
interface ResolvedTabs<Value extends string, Message> {
|
|
408
|
+
readonly tablist: SlotAttributes<Message>;
|
|
409
|
+
readonly tabs: ReadonlyArray<ResolvedTab<Value, Message>>;
|
|
410
|
+
readonly activeIndex: number;
|
|
411
|
+
}
|
|
412
|
+
/** Resolves the tabs' nested render groups, preserving `activeIndex`. */
|
|
413
|
+
declare const resolve$2: <Value extends string, Input, Message>(render: RenderInfo$3<Value>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => ResolvedTabs<Value, Message>;
|
|
414
|
+
declare namespace textarea_d_exports {
|
|
415
|
+
export { TextareaSlots, resolve$1 as resolve };
|
|
416
|
+
}
|
|
417
|
+
export declare const TextareaSlots: Slots.Contract<{
|
|
418
|
+
readonly textarea: Slot.UnnamedSlot<Capability.Capability<"TextInput", readonly [Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>]>, readonly [Event.EventToken<"input">, Event.EventToken<"focus">, Event.EventToken<"blur">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
419
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
420
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
421
|
+
}>;
|
|
422
|
+
declare const resolve$1: <Input, Message>(attributes: TextareaAttributes<Message>, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
423
|
+
textarea: readonly import("foldkit/html").TextareaAttribute<Message>[];
|
|
424
|
+
label: readonly import("foldkit/html").Attribute<Message>[];
|
|
425
|
+
description: readonly import("foldkit/html").Attribute<Message>[];
|
|
426
|
+
}>, "label" | "description" | "textarea"> & ResolvedSlots<Slots.Contract<{
|
|
427
|
+
readonly textarea: Slot.UnnamedSlot<Capability.Capability<"TextInput", readonly [Capability.Capability<"Focusable", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>]>, readonly [Event.EventToken<"input">, Event.EventToken<"focus">, Event.EventToken<"blur">], readonly [Attr.AttrToken<"aria-label">, Attr.AttrToken<"aria-invalid">, Attr.AttrToken<"disabled">, Attr.AttrToken<"value">], readonly Slot.RequirementName[], boolean>;
|
|
428
|
+
readonly label: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
429
|
+
readonly description: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly Slot.AttributeName[], readonly Slot.RequirementName[], boolean>;
|
|
430
|
+
}>, Message>;
|
|
431
|
+
declare namespace tooltip_d_exports {
|
|
432
|
+
export { TooltipSlots, resolve };
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Tooltip is a Submodel; both bundles are `ChildAttribute` groups. `trigger`
|
|
436
|
+
* owns `focus`, `blur` and `pointerdown` (the hover/keyboard entry points);
|
|
437
|
+
* `panel` carries the anchor Mount. `resolve` preserves each group by identity.
|
|
438
|
+
*/
|
|
439
|
+
export declare const TooltipSlots: Slots.Contract<{
|
|
440
|
+
readonly trigger: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"focus">, Event.EventToken<"blur">, Event.EventToken<"pointerdown">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
441
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
442
|
+
}>;
|
|
443
|
+
/** Resolves the tooltip's render groups; `isVisible` passes through unchanged. */
|
|
444
|
+
declare const resolve: <Input, Message>(render: RenderInfo$4, mixins: MixinList<Message>, context: ResolveContext<Input, Message>) => Omit<Readonly<{
|
|
445
|
+
trigger: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
446
|
+
panel: ReadonlyArray<import("foldkit/html").ChildAttribute>;
|
|
447
|
+
isVisible: boolean;
|
|
448
|
+
}>, "panel" | "trigger"> & ResolvedSlots<Slots.Contract<{
|
|
449
|
+
readonly trigger: Slot.UnnamedSlot<Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>, readonly [Event.EventToken<"focus">, Event.EventToken<"blur">, Event.EventToken<"pointerdown">], readonly [Attr.AttrToken<"role">, Attr.AttrToken<"aria-disabled">, Attr.AttrToken<"disabled">], readonly Slot.RequirementName[], boolean>;
|
|
450
|
+
readonly panel: Slot.UnnamedSlot<Capability.Capability<"Container", readonly [Capability.Capability<"Interactive", readonly [Capability.Capability<"Base", readonly []>]>]>, readonly Slot.EventName[], readonly [Attr.AttrToken<"role">], readonly Slot.RequirementName[], boolean>;
|
|
451
|
+
}>, Message>;
|
|
452
|
+
//#endregion
|
|
453
|
+
export { button_d_exports as Button, calendar_d_exports as Calendar, checkbox_d_exports as Checkbox, dialog_d_exports as Dialog, disclosure_d_exports as Disclosure, fieldset_d_exports as Fieldset, input_d_exports as Input, type MixinList, popover_d_exports as Popover, radioGroup_d_exports as RadioGroup, type ResolveContext, type ResolvedCalendar, type ResolvedColumnHeader, type ResolvedDayCell, type ResolvedDays, type ResolvedMonthCell, type ResolvedMonths, type ResolvedSlots, type ResolvedTab, type ResolvedTabs, type ResolvedWeek, type ResolvedYearCell, type ResolvedYears, select_d_exports as Select, slider_d_exports as Slider, switch_d_exports as Switch, tabs_d_exports as Tabs, textarea_d_exports as Textarea, tooltip_d_exports as Tooltip, resolveFor as resolve };
|
|
454
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/resolve.ts","../src/button.ts","../src/calendar.ts","../src/checkbox.ts","../src/dialog.ts","../src/disclosure.ts","../src/fieldset.ts","../src/input.ts","../src/popover.ts","../src/radioGroup.ts","../src/select.ts","../src/slider.ts","../src/switch.ts","../src/tabs.ts","../src/textarea.ts","../src/tooltip.ts"],"mappings":"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"}
|