@deepfuture/dui-components 0.0.21 → 1.0.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/README.md +56 -65
- package/_install.js +11 -0
- package/accordion/accordion-item.d.ts +3 -20
- package/accordion/accordion-item.js +93 -292
- package/accordion/accordion.d.ts +3 -18
- package/accordion/accordion.js +9 -247
- package/accordion/index.d.ts +6 -6
- package/accordion/index.js +5 -5
- package/alert-dialog/alert-dialog-close.d.ts +3 -14
- package/alert-dialog/alert-dialog-close.js +4 -34
- package/alert-dialog/alert-dialog-popup.d.ts +3 -32
- package/alert-dialog/alert-dialog-popup.js +68 -317
- package/alert-dialog/alert-dialog-trigger.d.ts +3 -14
- package/alert-dialog/alert-dialog-trigger.js +4 -51
- package/alert-dialog/alert-dialog.d.ts +3 -30
- package/alert-dialog/alert-dialog.js +8 -158
- package/alert-dialog/index.d.ts +11 -11
- package/alert-dialog/index.js +9 -9
- package/all.d.ts +159 -123
- package/all.js +134 -231
- package/avatar/avatar.d.ts +3 -39
- package/avatar/avatar.js +18 -238
- package/avatar/index.d.ts +4 -4
- package/avatar/index.js +3 -3
- package/badge/badge.d.ts +3 -10
- package/badge/badge.js +88 -22
- package/badge/index.d.ts +2 -3
- package/badge/index.js +2 -3
- package/breadcrumb/breadcrumb-ellipsis.d.ts +3 -12
- package/breadcrumb/breadcrumb-ellipsis.js +8 -34
- package/breadcrumb/breadcrumb-item.d.ts +3 -11
- package/breadcrumb/breadcrumb-item.js +7 -26
- package/breadcrumb/breadcrumb-link.d.ts +3 -12
- package/breadcrumb/breadcrumb-link.js +16 -26
- package/breadcrumb/breadcrumb-page.d.ts +3 -11
- package/breadcrumb/breadcrumb-page.js +8 -31
- package/breadcrumb/breadcrumb-separator.d.ts +3 -12
- package/breadcrumb/breadcrumb-separator.js +8 -31
- package/breadcrumb/breadcrumb.d.ts +3 -12
- package/breadcrumb/breadcrumb.js +10 -33
- package/breadcrumb/index.d.ts +12 -13
- package/breadcrumb/index.js +12 -13
- package/button/button.d.ts +3 -32
- package/button/button.js +221 -165
- package/button/index.d.ts +3 -3
- package/button/index.js +3 -3
- package/calendar/calendar.d.ts +3 -31
- package/calendar/calendar.js +71 -481
- package/calendar/index.d.ts +3 -3
- package/calendar/index.js +3 -3
- package/card/card.d.ts +3 -27
- package/card/card.js +80 -163
- package/card/index.d.ts +2 -3
- package/card/index.js +2 -3
- package/card-grid/card-grid.d.ts +3 -15
- package/card-grid/card-grid.js +8 -106
- package/card-grid/index.d.ts +2 -3
- package/card-grid/index.js +2 -3
- package/checkbox/checkbox-group.d.ts +3 -34
- package/checkbox/checkbox-group.js +11 -188
- package/checkbox/checkbox.d.ts +3 -47
- package/checkbox/checkbox.js +43 -341
- package/checkbox/index.d.ts +6 -6
- package/checkbox/index.js +5 -5
- package/collapsible/collapsible.d.ts +3 -20
- package/collapsible/collapsible.js +83 -277
- package/collapsible/index.d.ts +3 -3
- package/collapsible/index.js +3 -3
- package/combobox/combobox.d.ts +3 -47
- package/combobox/combobox.js +136 -538
- package/combobox/index.d.ts +4 -4
- package/combobox/index.js +3 -3
- package/command/command-empty.d.ts +3 -8
- package/command/command-empty.js +10 -88
- package/command/command-group.d.ts +3 -13
- package/command/command-group.js +15 -114
- package/command/command-input.d.ts +3 -11
- package/command/command-input.js +20 -136
- package/command/command-item.d.ts +3 -18
- package/command/command-item.js +24 -212
- package/command/command-list.d.ts +3 -7
- package/command/command-list.js +11 -79
- package/command/command-separator.d.ts +3 -5
- package/command/command-separator.js +10 -11
- package/command/command-shortcut.d.ts +3 -5
- package/command/command-shortcut.js +9 -12
- package/command/command.d.ts +3 -23
- package/command/command.js +10 -339
- package/command/index.d.ts +17 -19
- package/command/index.js +16 -18
- package/data-table/data-table.d.ts +3 -57
- package/data-table/data-table.js +86 -449
- package/data-table/index.d.ts +3 -4
- package/data-table/index.js +2 -3
- package/dialog/dialog-close.d.ts +3 -14
- package/dialog/dialog-close.js +4 -34
- package/dialog/dialog-popup.d.ts +3 -34
- package/dialog/dialog-popup.js +70 -336
- package/dialog/dialog-trigger.d.ts +3 -14
- package/dialog/dialog-trigger.js +4 -51
- package/dialog/dialog.d.ts +3 -30
- package/dialog/dialog.js +8 -158
- package/dialog/index.d.ts +11 -11
- package/dialog/index.js +9 -9
- package/dropzone/dropzone.d.ts +3 -72
- package/dropzone/dropzone.js +29 -407
- package/dropzone/index.d.ts +4 -4
- package/dropzone/index.js +3 -3
- package/field/field.d.ts +3 -30
- package/field/field.js +34 -353
- package/field/index.d.ts +1 -0
- package/field/index.js +1 -0
- package/fieldset/fieldset.d.ts +3 -18
- package/fieldset/fieldset.js +21 -110
- package/fieldset/index.d.ts +1 -0
- package/fieldset/index.js +1 -0
- package/icon/icon.d.ts +3 -15
- package/icon/icon.js +4 -33
- package/icon/index.d.ts +2 -3
- package/icon/index.js +2 -3
- package/input/index.d.ts +3 -3
- package/input/index.js +3 -3
- package/input/input.d.ts +3 -49
- package/input/input.js +57 -238
- package/menu/index.d.ts +4 -5
- package/menu/index.js +4 -5
- package/menu/menu-item.d.ts +3 -13
- package/menu/menu-item.js +41 -91
- package/menu/menu.d.ts +3 -15
- package/menu/menu.js +27 -277
- package/menubar/index.d.ts +3 -4
- package/menubar/index.js +2 -3
- package/menubar/menubar.d.ts +3 -19
- package/menubar/menubar.js +12 -183
- package/number-field/index.d.ts +3 -3
- package/number-field/index.js +3 -3
- package/number-field/number-field.d.ts +3 -55
- package/number-field/number-field.js +205 -698
- package/package.json +126 -113
- package/popover/index.d.ts +11 -11
- package/popover/index.js +9 -9
- package/popover/popover-close.d.ts +3 -12
- package/popover/popover-close.js +4 -32
- package/popover/popover-popup.d.ts +3 -18
- package/popover/popover-popup.js +28 -205
- package/popover/popover-trigger.d.ts +3 -13
- package/popover/popover-trigger.js +4 -73
- package/popover/popover.d.ts +3 -29
- package/popover/popover.js +8 -207
- package/portal/index.d.ts +3 -4
- package/portal/index.js +2 -3
- package/portal/portal.d.ts +3 -27
- package/portal/portal.js +8 -157
- package/preview-card/index.d.ts +9 -9
- package/preview-card/index.js +7 -7
- package/preview-card/preview-card-popup.d.ts +3 -14
- package/preview-card/preview-card-popup.js +29 -194
- package/preview-card/preview-card-trigger.d.ts +3 -12
- package/preview-card/preview-card-trigger.js +4 -74
- package/preview-card/preview-card.d.ts +3 -33
- package/preview-card/preview-card.js +8 -239
- package/progress/index.d.ts +2 -3
- package/progress/index.js +2 -3
- package/progress/progress.d.ts +3 -17
- package/progress/progress.js +28 -130
- package/radio/index.d.ts +6 -6
- package/radio/index.js +5 -5
- package/radio/radio-group.d.ts +3 -37
- package/radio/radio-group.js +8 -200
- package/radio/radio.d.ts +3 -28
- package/radio/radio.js +38 -213
- package/scroll-area/index.d.ts +2 -3
- package/scroll-area/index.js +2 -3
- package/scroll-area/scroll-area.d.ts +3 -36
- package/scroll-area/scroll-area.js +25 -535
- package/select/index.d.ts +3 -4
- package/select/index.js +2 -3
- package/select/select.d.ts +3 -39
- package/select/select.js +115 -425
- package/separator/index.d.ts +2 -3
- package/separator/index.js +2 -3
- package/separator/separator.d.ts +3 -10
- package/separator/separator.js +23 -85
- package/sidebar/index.d.ts +29 -29
- package/sidebar/index.js +27 -32
- package/sidebar/sidebar-content.d.ts +3 -12
- package/sidebar/sidebar-content.js +7 -29
- package/sidebar/sidebar-footer.d.ts +3 -10
- package/sidebar/sidebar-footer.js +7 -20
- package/sidebar/sidebar-group-label.d.ts +3 -15
- package/sidebar/sidebar-group-label.js +17 -41
- package/sidebar/sidebar-group.d.ts +3 -13
- package/sidebar/sidebar-group.js +7 -24
- package/sidebar/sidebar-header.d.ts +3 -10
- package/sidebar/sidebar-header.js +7 -16
- package/sidebar/sidebar-inset.d.ts +3 -13
- package/sidebar/sidebar-inset.js +7 -28
- package/sidebar/sidebar-menu-button.d.ts +3 -26
- package/sidebar/sidebar-menu-button.js +60 -217
- package/sidebar/sidebar-menu-item.d.ts +3 -10
- package/sidebar/sidebar-menu-item.js +7 -19
- package/sidebar/sidebar-menu.d.ts +3 -12
- package/sidebar/sidebar-menu.js +7 -25
- package/sidebar/sidebar-provider.d.ts +3 -34
- package/sidebar/sidebar-provider.js +22 -232
- package/sidebar/sidebar-separator.d.ts +3 -10
- package/sidebar/sidebar-separator.js +9 -19
- package/sidebar/sidebar-trigger.d.ts +3 -14
- package/sidebar/sidebar-trigger.js +10 -46
- package/sidebar/sidebar.d.ts +3 -19
- package/sidebar/sidebar.js +65 -262
- package/slider/index.d.ts +3 -3
- package/slider/index.js +3 -3
- package/slider/slider.d.ts +3 -45
- package/slider/slider.js +97 -382
- package/spinner/index.d.ts +2 -3
- package/spinner/index.js +2 -3
- package/spinner/spinner.d.ts +3 -11
- package/spinner/spinner.js +20 -163
- package/split-button/index.d.ts +3 -1
- package/split-button/index.js +3 -1
- package/split-button/split-button.d.ts +3 -33
- package/split-button/split-button.js +307 -394
- package/stepper/index.d.ts +3 -3
- package/stepper/index.js +3 -3
- package/stepper/stepper.d.ts +3 -41
- package/stepper/stepper.js +57 -381
- package/switch/index.d.ts +3 -3
- package/switch/index.js +3 -3
- package/switch/switch.d.ts +3 -30
- package/switch/switch.js +63 -228
- package/tabs/index.d.ts +12 -12
- package/tabs/index.js +11 -11
- package/tabs/tab.d.ts +3 -14
- package/tabs/tab.js +33 -131
- package/tabs/tabs-indicator.d.ts +3 -9
- package/tabs/tabs-indicator.js +17 -22
- package/tabs/tabs-list.d.ts +3 -15
- package/tabs/tabs-list.js +14 -113
- package/tabs/tabs-panel.d.ts +3 -16
- package/tabs/tabs-panel.js +32 -114
- package/tabs/tabs.d.ts +3 -22
- package/tabs/tabs.js +8 -170
- package/textarea/index.d.ts +4 -4
- package/textarea/index.js +3 -3
- package/textarea/textarea.d.ts +3 -36
- package/textarea/textarea.js +63 -220
- package/toggle/index.d.ts +6 -6
- package/toggle/index.js +5 -5
- package/toggle/toggle-group.d.ts +3 -27
- package/toggle/toggle-group.js +9 -224
- package/toggle/toggle.d.ts +3 -26
- package/toggle/toggle.js +94 -178
- package/tokens/properties.css +361 -0
- package/tokens/prose.css +250 -0
- package/tokens/prose.d.ts +2 -0
- package/tokens/prose.js +4 -0
- package/tokens/tokens-raw.d.ts +2 -0
- package/tokens/tokens-raw.js +2 -0
- package/tokens/tokens.css +409 -0
- package/tokens/tokens.d.ts +2 -0
- package/tokens/tokens.js +5 -0
- package/toolbar/index.d.ts +2 -3
- package/toolbar/index.js +2 -3
- package/toolbar/toolbar.d.ts +3 -11
- package/toolbar/toolbar.js +25 -116
- package/tooltip/index.d.ts +9 -9
- package/tooltip/index.js +7 -7
- package/tooltip/tooltip-popup.d.ts +3 -14
- package/tooltip/tooltip-popup.js +32 -185
- package/tooltip/tooltip-trigger.d.ts +3 -14
- package/tooltip/tooltip-trigger.js +5 -148
- package/tooltip/tooltip.d.ts +3 -35
- package/tooltip/tooltip.js +8 -253
- package/trunc/index.d.ts +2 -3
- package/trunc/index.js +2 -3
- package/trunc/trunc.d.ts +3 -17
- package/trunc/trunc.js +10 -108
- package/_deprecated/center/center.d.ts +0 -14
- package/_deprecated/center/center.js +0 -37
- package/_deprecated/center/index.d.ts +0 -3
- package/_deprecated/center/index.js +0 -3
- package/_deprecated/center/register.js +0 -4
- package/_deprecated/hstack/hstack.d.ts +0 -25
- package/_deprecated/hstack/hstack.js +0 -187
- package/_deprecated/hstack/index.d.ts +0 -4
- package/_deprecated/hstack/index.js +0 -3
- package/_deprecated/hstack/register.d.ts +0 -1
- package/_deprecated/hstack/register.js +0 -4
- package/_deprecated/page-inset/index.d.ts +0 -3
- package/_deprecated/page-inset/index.js +0 -3
- package/_deprecated/page-inset/page-inset.d.ts +0 -28
- package/_deprecated/page-inset/page-inset.js +0 -151
- package/_deprecated/page-inset/register.d.ts +0 -1
- package/_deprecated/page-inset/register.js +0 -4
- package/_deprecated/vstack/index.d.ts +0 -3
- package/_deprecated/vstack/index.js +0 -3
- package/_deprecated/vstack/register.d.ts +0 -1
- package/_deprecated/vstack/register.js +0 -4
- package/_deprecated/vstack/vstack.d.ts +0 -17
- package/_deprecated/vstack/vstack.js +0 -125
- package/accordion/accordion-context.d.ts +0 -15
- package/accordion/accordion-context.js +0 -3
- package/alert-dialog/alert-dialog-context.d.ts +0 -13
- package/alert-dialog/alert-dialog-context.js +0 -3
- package/checkbox/checkbox-group-context.d.ts +0 -11
- package/checkbox/checkbox-group-context.js +0 -3
- package/command/command-context.d.ts +0 -30
- package/command/command-context.js +0 -3
- package/command/command-score.d.ts +0 -6
- package/command/command-score.js +0 -31
- package/dialog/dialog-context.d.ts +0 -13
- package/dialog/dialog-context.js +0 -3
- package/global.d.ts +0 -179
- package/menubar/menubar-context.d.ts +0 -9
- package/menubar/menubar-context.js +0 -2
- package/popover/popover-context.d.ts +0 -17
- package/popover/popover-context.js +0 -3
- package/preview-card/preview-card-context.d.ts +0 -16
- package/preview-card/preview-card-context.js +0 -3
- package/radio/radio-group-context.d.ts +0 -11
- package/radio/radio-group-context.js +0 -2
- package/sidebar/sidebar-context.d.ts +0 -15
- package/sidebar/sidebar-context.js +0 -3
- package/split-button/register.d.ts +0 -1
- package/split-button/register.js +0 -4
- package/tabs/tabs-context.d.ts +0 -8
- package/tabs/tabs-context.js +0 -2
- package/toggle/toggle-group-context.d.ts +0 -9
- package/toggle/toggle-group-context.js +0 -2
- package/tooltip/tooltip-context.d.ts +0 -17
- package/tooltip/tooltip-context.js +0 -3
- /package/{_deprecated/center/register.d.ts → _install.d.ts} +0 -0
package/checkbox/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { DuiCheckboxGroup
|
|
5
|
-
export type { CheckboxGroupContext } from "
|
|
6
|
-
export
|
|
1
|
+
import "./checkbox.js";
|
|
2
|
+
import "./checkbox-group.js";
|
|
3
|
+
export { DuiCheckbox } from "./checkbox.js";
|
|
4
|
+
export { DuiCheckboxGroup } from "./checkbox-group.js";
|
|
5
|
+
export type { CheckboxGroupContext } from "@deepfuture/dui-primitives/checkbox";
|
|
6
|
+
export { checkedChangeEvent, valueChangeEvent } from "@deepfuture/dui-primitives/checkbox";
|
package/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { DuiCheckboxGroup
|
|
5
|
-
export
|
|
1
|
+
import "./checkbox.js";
|
|
2
|
+
import "./checkbox-group.js";
|
|
3
|
+
export { DuiCheckbox } from "./checkbox.js";
|
|
4
|
+
export { DuiCheckboxGroup } from "./checkbox-group.js";
|
|
5
|
+
export { checkedChangeEvent, valueChangeEvent } from "@deepfuture/dui-primitives/checkbox";
|
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
export declare
|
|
4
|
-
open: boolean;
|
|
5
|
-
}) => CustomEvent<{
|
|
6
|
-
open: boolean;
|
|
7
|
-
}>;
|
|
8
|
-
export declare class DuiCollapsible extends LitElement {
|
|
9
|
-
#private;
|
|
10
|
-
static tagName: "dui-collapsible";
|
|
1
|
+
import { DuiCollapsiblePrimitive } from "@deepfuture/dui-primitives/collapsible";
|
|
2
|
+
import "../_install.js";
|
|
3
|
+
export declare class DuiCollapsible extends DuiCollapsiblePrimitive {
|
|
11
4
|
static styles: import("lit").CSSResult[];
|
|
12
|
-
/** Controlled open state. When set, the component is fully controlled. */
|
|
13
|
-
accessor open: boolean;
|
|
14
|
-
/** Uncontrolled initial open state. Only used on first render. */
|
|
15
|
-
accessor defaultOpen: boolean;
|
|
16
|
-
accessor disabled: boolean;
|
|
17
|
-
/** Keep panel content mounted when closed. */
|
|
18
|
-
accessor keepMounted: boolean;
|
|
19
|
-
connectedCallback(): void;
|
|
20
|
-
willUpdate(changed: Map<string, unknown>): void;
|
|
21
|
-
render(): TemplateResult;
|
|
22
5
|
}
|
|
@@ -1,290 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
5
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
6
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
7
|
-
var _, done = false;
|
|
8
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
9
|
-
var context = {};
|
|
10
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
11
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
12
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
13
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
14
|
-
if (kind === "accessor") {
|
|
15
|
-
if (result === void 0) continue;
|
|
16
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
17
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
|
18
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
|
19
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
|
20
|
-
}
|
|
21
|
-
else if (_ = accept(result)) {
|
|
22
|
-
if (kind === "field") initializers.unshift(_);
|
|
23
|
-
else descriptor[key] = _;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
27
|
-
done = true;
|
|
28
|
-
};
|
|
29
|
-
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
|
30
|
-
var useValue = arguments.length > 2;
|
|
31
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
32
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
33
|
-
}
|
|
34
|
-
return useValue ? value : void 0;
|
|
35
|
-
};
|
|
36
|
-
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
37
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
38
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
39
|
-
};
|
|
40
|
-
import { css, html, LitElement, nothing } from "lit";
|
|
41
|
-
import { property, state } from "lit/decorators.js";
|
|
42
|
-
import { base } from "@deepfuture/dui-core/base";
|
|
43
|
-
import { customEvent } from "@deepfuture/dui-core/event";
|
|
44
|
-
export const openChangeEvent = customEvent("open-change", { bubbles: true, composed: true });
|
|
1
|
+
import { css, unsafeCSS } from "lit";
|
|
2
|
+
// Chevron-down SVG encoded for use as a CSS mask
|
|
3
|
+
const chevronMask = unsafeCSS(`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`);
|
|
45
4
|
const styles = css `
|
|
46
|
-
|
|
47
|
-
display: block;
|
|
48
|
-
}
|
|
5
|
+
/* ── Trigger ── */
|
|
49
6
|
|
|
50
7
|
[part="trigger"] {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
8
|
+
gap: var(--space-4);
|
|
9
|
+
padding-block: var(--space-2);
|
|
10
|
+
padding-inline: 0;
|
|
11
|
+
color: var(--text-1);
|
|
12
|
+
font-family: var(--font-sans);
|
|
13
|
+
font-weight: var(--font-weight-semibold);
|
|
14
|
+
font-size: var(--text-sm); line-height: var(--text-sm--line-height);
|
|
15
|
+
text-box: trim-both cap alphabetic;
|
|
16
|
+
height: var(--component-height-md);
|
|
17
|
+
border-radius: var(--radius-sm);
|
|
18
|
+
transition-property: background, box-shadow, filter, transform;
|
|
19
|
+
transition-duration: var(--duration-fast);
|
|
20
|
+
transition-timing-function: var(--ease-out-3);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (hover: hover) {
|
|
24
|
+
[part="trigger"]:hover {
|
|
25
|
+
background: oklch(from var(--foreground) l c h / 0.05);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part="trigger"]:focus-visible {
|
|
30
|
+
box-shadow:
|
|
31
|
+
0 0 0 var(--focus-ring-offset) var(--background),
|
|
32
|
+
0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width)) var(--focus-ring-color);
|
|
33
|
+
z-index: 1;
|
|
62
34
|
}
|
|
63
35
|
|
|
64
36
|
[part="trigger"][data-disabled] {
|
|
65
|
-
|
|
37
|
+
opacity: 0.4;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* ── Indicator (theme-owned) ── */
|
|
41
|
+
|
|
42
|
+
[part="trigger"]::after {
|
|
43
|
+
content: "";
|
|
44
|
+
display: var(--collapsible-indicator-display, block);
|
|
45
|
+
width: var(--space-4);
|
|
46
|
+
height: var(--space-4);
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
background: currentColor;
|
|
49
|
+
-webkit-mask: ${chevronMask} center / contain no-repeat;
|
|
50
|
+
mask: ${chevronMask} center / contain no-repeat;
|
|
51
|
+
transition-property: transform;
|
|
52
|
+
transition-duration: var(--duration-fast);
|
|
53
|
+
transition-timing-function: var(--ease-out-3);
|
|
66
54
|
}
|
|
67
55
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
min-width: 0;
|
|
56
|
+
[part="trigger"][data-open]::after {
|
|
57
|
+
transform: rotate(180deg);
|
|
71
58
|
}
|
|
72
59
|
|
|
60
|
+
/* ── Panel ── */
|
|
61
|
+
|
|
73
62
|
[part="panel"] {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
63
|
+
transition-duration: var(--duration-fast);
|
|
64
|
+
transition-timing-function: var(--ease-out-3);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part="panel"][data-starting-style],
|
|
68
|
+
[part="panel"][data-ending-style] {
|
|
69
|
+
height: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[part="content"] {
|
|
73
|
+
padding: var(--space-1_5) 0 var(--space-4);
|
|
74
|
+
font-family: var(--font-sans);
|
|
75
|
+
font-size: var(--text-sm); line-height: var(--text-sm--line-height);
|
|
76
|
+
font-weight: var(--font-weight-regular);
|
|
77
|
+
color: var(--text-2);
|
|
78
|
+
text-box: trim-both cap alphabetic;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* ── Reduced motion ── */
|
|
82
|
+
|
|
83
|
+
@media (prefers-reduced-motion: reduce) {
|
|
84
|
+
[part="trigger"],
|
|
85
|
+
[part="trigger"]::after,
|
|
86
|
+
[part="panel"] {
|
|
87
|
+
transition-duration: 0s;
|
|
88
|
+
}
|
|
77
89
|
}
|
|
78
90
|
`;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
let _defaultOpen_initializers = [];
|
|
86
|
-
let _defaultOpen_extraInitializers = [];
|
|
87
|
-
let _disabled_decorators;
|
|
88
|
-
let _disabled_initializers = [];
|
|
89
|
-
let _disabled_extraInitializers = [];
|
|
90
|
-
let _keepMounted_decorators;
|
|
91
|
-
let _keepMounted_initializers = [];
|
|
92
|
-
let _keepMounted_extraInitializers = [];
|
|
93
|
-
let _private_starting_decorators;
|
|
94
|
-
let _private_starting_initializers = [];
|
|
95
|
-
let _private_starting_extraInitializers = [];
|
|
96
|
-
let _private_starting_descriptor;
|
|
97
|
-
let _private_ending_decorators;
|
|
98
|
-
let _private_ending_initializers = [];
|
|
99
|
-
let _private_ending_extraInitializers = [];
|
|
100
|
-
let _private_ending_descriptor;
|
|
101
|
-
let _private_panelHeight_decorators;
|
|
102
|
-
let _private_panelHeight_initializers = [];
|
|
103
|
-
let _private_panelHeight_extraInitializers = [];
|
|
104
|
-
let _private_panelHeight_descriptor;
|
|
105
|
-
let _private_visible_decorators;
|
|
106
|
-
let _private_visible_initializers = [];
|
|
107
|
-
let _private_visible_extraInitializers = [];
|
|
108
|
-
let _private_visible_descriptor;
|
|
109
|
-
let _private_internalOpen_decorators;
|
|
110
|
-
let _private_internalOpen_initializers = [];
|
|
111
|
-
let _private_internalOpen_extraInitializers = [];
|
|
112
|
-
let _private_internalOpen_descriptor;
|
|
113
|
-
return class DuiCollapsible extends _classSuper {
|
|
114
|
-
static {
|
|
115
|
-
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
116
|
-
_open_decorators = [property({ type: Boolean, reflect: true })];
|
|
117
|
-
_defaultOpen_decorators = [property({ type: Boolean, attribute: "default-open" })];
|
|
118
|
-
_disabled_decorators = [property({ type: Boolean, reflect: true })];
|
|
119
|
-
_keepMounted_decorators = [property({ type: Boolean, attribute: "keep-mounted" })];
|
|
120
|
-
_private_starting_decorators = [state()];
|
|
121
|
-
_private_ending_decorators = [state()];
|
|
122
|
-
_private_panelHeight_decorators = [state()];
|
|
123
|
-
_private_visible_decorators = [state()];
|
|
124
|
-
_private_internalOpen_decorators = [state()];
|
|
125
|
-
__esDecorate(this, null, _open_decorators, { kind: "accessor", name: "open", static: false, private: false, access: { has: obj => "open" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);
|
|
126
|
-
__esDecorate(this, null, _defaultOpen_decorators, { kind: "accessor", name: "defaultOpen", static: false, private: false, access: { has: obj => "defaultOpen" in obj, get: obj => obj.defaultOpen, set: (obj, value) => { obj.defaultOpen = value; } }, metadata: _metadata }, _defaultOpen_initializers, _defaultOpen_extraInitializers);
|
|
127
|
-
__esDecorate(this, null, _disabled_decorators, { kind: "accessor", name: "disabled", static: false, private: false, access: { has: obj => "disabled" in obj, get: obj => obj.disabled, set: (obj, value) => { obj.disabled = value; } }, metadata: _metadata }, _disabled_initializers, _disabled_extraInitializers);
|
|
128
|
-
__esDecorate(this, null, _keepMounted_decorators, { kind: "accessor", name: "keepMounted", static: false, private: false, access: { has: obj => "keepMounted" in obj, get: obj => obj.keepMounted, set: (obj, value) => { obj.keepMounted = value; } }, metadata: _metadata }, _keepMounted_initializers, _keepMounted_extraInitializers);
|
|
129
|
-
__esDecorate(this, _private_starting_descriptor = { get: __setFunctionName(function () { return this.#starting_accessor_storage; }, "#starting", "get"), set: __setFunctionName(function (value) { this.#starting_accessor_storage = value; }, "#starting", "set") }, _private_starting_decorators, { kind: "accessor", name: "#starting", static: false, private: true, access: { has: obj => #starting in obj, get: obj => obj.#starting, set: (obj, value) => { obj.#starting = value; } }, metadata: _metadata }, _private_starting_initializers, _private_starting_extraInitializers);
|
|
130
|
-
__esDecorate(this, _private_ending_descriptor = { get: __setFunctionName(function () { return this.#ending_accessor_storage; }, "#ending", "get"), set: __setFunctionName(function (value) { this.#ending_accessor_storage = value; }, "#ending", "set") }, _private_ending_decorators, { kind: "accessor", name: "#ending", static: false, private: true, access: { has: obj => #ending in obj, get: obj => obj.#ending, set: (obj, value) => { obj.#ending = value; } }, metadata: _metadata }, _private_ending_initializers, _private_ending_extraInitializers);
|
|
131
|
-
__esDecorate(this, _private_panelHeight_descriptor = { get: __setFunctionName(function () { return this.#panelHeight_accessor_storage; }, "#panelHeight", "get"), set: __setFunctionName(function (value) { this.#panelHeight_accessor_storage = value; }, "#panelHeight", "set") }, _private_panelHeight_decorators, { kind: "accessor", name: "#panelHeight", static: false, private: true, access: { has: obj => #panelHeight in obj, get: obj => obj.#panelHeight, set: (obj, value) => { obj.#panelHeight = value; } }, metadata: _metadata }, _private_panelHeight_initializers, _private_panelHeight_extraInitializers);
|
|
132
|
-
__esDecorate(this, _private_visible_descriptor = { get: __setFunctionName(function () { return this.#visible_accessor_storage; }, "#visible", "get"), set: __setFunctionName(function (value) { this.#visible_accessor_storage = value; }, "#visible", "set") }, _private_visible_decorators, { kind: "accessor", name: "#visible", static: false, private: true, access: { has: obj => #visible in obj, get: obj => obj.#visible, set: (obj, value) => { obj.#visible = value; } }, metadata: _metadata }, _private_visible_initializers, _private_visible_extraInitializers);
|
|
133
|
-
__esDecorate(this, _private_internalOpen_descriptor = { get: __setFunctionName(function () { return this.#internalOpen_accessor_storage; }, "#internalOpen", "get"), set: __setFunctionName(function (value) { this.#internalOpen_accessor_storage = value; }, "#internalOpen", "set") }, _private_internalOpen_decorators, { kind: "accessor", name: "#internalOpen", static: false, private: true, access: { has: obj => #internalOpen in obj, get: obj => obj.#internalOpen, set: (obj, value) => { obj.#internalOpen = value; } }, metadata: _metadata }, _private_internalOpen_initializers, _private_internalOpen_extraInitializers);
|
|
134
|
-
if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
135
|
-
}
|
|
136
|
-
static tagName = "dui-collapsible";
|
|
137
|
-
static styles = [base, styles];
|
|
138
|
-
#open_accessor_storage = __runInitializers(this, _open_initializers, false);
|
|
139
|
-
/** Controlled open state. When set, the component is fully controlled. */
|
|
140
|
-
get open() { return this.#open_accessor_storage; }
|
|
141
|
-
set open(value) { this.#open_accessor_storage = value; }
|
|
142
|
-
#defaultOpen_accessor_storage = (__runInitializers(this, _open_extraInitializers), __runInitializers(this, _defaultOpen_initializers, false));
|
|
143
|
-
/** Uncontrolled initial open state. Only used on first render. */
|
|
144
|
-
get defaultOpen() { return this.#defaultOpen_accessor_storage; }
|
|
145
|
-
set defaultOpen(value) { this.#defaultOpen_accessor_storage = value; }
|
|
146
|
-
#disabled_accessor_storage = (__runInitializers(this, _defaultOpen_extraInitializers), __runInitializers(this, _disabled_initializers, false));
|
|
147
|
-
get disabled() { return this.#disabled_accessor_storage; }
|
|
148
|
-
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
149
|
-
#keepMounted_accessor_storage = (__runInitializers(this, _disabled_extraInitializers), __runInitializers(this, _keepMounted_initializers, false));
|
|
150
|
-
/** Keep panel content mounted when closed. */
|
|
151
|
-
get keepMounted() { return this.#keepMounted_accessor_storage; }
|
|
152
|
-
set keepMounted(value) { this.#keepMounted_accessor_storage = value; }
|
|
153
|
-
#starting_accessor_storage = (__runInitializers(this, _keepMounted_extraInitializers), __runInitializers(this, _private_starting_initializers, false));
|
|
154
|
-
get #starting() { return _private_starting_descriptor.get.call(this); }
|
|
155
|
-
set #starting(value) { return _private_starting_descriptor.set.call(this, value); }
|
|
156
|
-
#ending_accessor_storage = (__runInitializers(this, _private_starting_extraInitializers), __runInitializers(this, _private_ending_initializers, false));
|
|
157
|
-
get #ending() { return _private_ending_descriptor.get.call(this); }
|
|
158
|
-
set #ending(value) { return _private_ending_descriptor.set.call(this, value); }
|
|
159
|
-
#panelHeight_accessor_storage = (__runInitializers(this, _private_ending_extraInitializers), __runInitializers(this, _private_panelHeight_initializers, "0"));
|
|
160
|
-
get #panelHeight() { return _private_panelHeight_descriptor.get.call(this); }
|
|
161
|
-
set #panelHeight(value) { return _private_panelHeight_descriptor.set.call(this, value); }
|
|
162
|
-
#visible_accessor_storage = (__runInitializers(this, _private_panelHeight_extraInitializers), __runInitializers(this, _private_visible_initializers, false));
|
|
163
|
-
get #visible() { return _private_visible_descriptor.get.call(this); }
|
|
164
|
-
set #visible(value) { return _private_visible_descriptor.set.call(this, value); }
|
|
165
|
-
#internalOpen_accessor_storage = (__runInitializers(this, _private_visible_extraInitializers), __runInitializers(this, _private_internalOpen_initializers, false));
|
|
166
|
-
get #internalOpen() { return _private_internalOpen_descriptor.get.call(this); }
|
|
167
|
-
set #internalOpen(value) { return _private_internalOpen_descriptor.set.call(this, value); }
|
|
168
|
-
#prevOpen = (__runInitializers(this, _private_internalOpen_extraInitializers), undefined);
|
|
169
|
-
#animGen = 0;
|
|
170
|
-
#controlled = false;
|
|
171
|
-
get #isOpen() {
|
|
172
|
-
return this.#controlled ? this.open : this.#internalOpen;
|
|
173
|
-
}
|
|
174
|
-
connectedCallback() {
|
|
175
|
-
super.connectedCallback();
|
|
176
|
-
// Check if `open` attribute was explicitly set (controlled mode)
|
|
177
|
-
this.#controlled = this.hasAttribute("open");
|
|
178
|
-
if (!this.#controlled && this.defaultOpen) {
|
|
179
|
-
this.#internalOpen = true;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
willUpdate(changed) {
|
|
183
|
-
// If `open` property is set after initial render, switch to controlled mode
|
|
184
|
-
if (changed.has("open") && this.#prevOpen !== undefined) {
|
|
185
|
-
this.#controlled = true;
|
|
186
|
-
}
|
|
187
|
-
const isOpen = this.#isOpen;
|
|
188
|
-
if (this.#prevOpen === undefined) {
|
|
189
|
-
this.#visible = isOpen;
|
|
190
|
-
this.#panelHeight = isOpen ? "auto" : "0";
|
|
191
|
-
}
|
|
192
|
-
else if (this.#prevOpen !== isOpen) {
|
|
193
|
-
if (isOpen) {
|
|
194
|
-
this.#startOpenAnimation();
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
this.#startCloseAnimation();
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
this.#prevOpen = isOpen;
|
|
201
|
-
}
|
|
202
|
-
#startOpenAnimation() {
|
|
203
|
-
const gen = ++this.#animGen;
|
|
204
|
-
this.#ending = false;
|
|
205
|
-
this.#visible = true;
|
|
206
|
-
this.#starting = true;
|
|
207
|
-
this.#panelHeight = "0";
|
|
208
|
-
requestAnimationFrame(() => {
|
|
209
|
-
if (this.#animGen !== gen)
|
|
210
|
-
return;
|
|
211
|
-
const panel = this.shadowRoot?.querySelector("[part='panel']");
|
|
212
|
-
if (panel) {
|
|
213
|
-
this.#panelHeight = `${panel.scrollHeight}px`;
|
|
214
|
-
}
|
|
215
|
-
this.#starting = false;
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
#startCloseAnimation() {
|
|
219
|
-
const gen = ++this.#animGen;
|
|
220
|
-
this.#starting = false;
|
|
221
|
-
const panel = this.shadowRoot?.querySelector("[part='panel']");
|
|
222
|
-
if (panel) {
|
|
223
|
-
this.#panelHeight = `${panel.scrollHeight}px`;
|
|
224
|
-
}
|
|
225
|
-
requestAnimationFrame(() => {
|
|
226
|
-
if (this.#animGen !== gen)
|
|
227
|
-
return;
|
|
228
|
-
this.#ending = true;
|
|
229
|
-
this.#panelHeight = "0";
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
#onTransitionEnd = (event) => {
|
|
233
|
-
if (event.propertyName !== "height")
|
|
234
|
-
return;
|
|
235
|
-
if (this.#ending) {
|
|
236
|
-
this.#ending = false;
|
|
237
|
-
if (!this.keepMounted) {
|
|
238
|
-
this.#visible = false;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
else if (this.#isOpen) {
|
|
242
|
-
this.#panelHeight = "auto";
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
#onClick = () => {
|
|
246
|
-
if (this.disabled)
|
|
247
|
-
return;
|
|
248
|
-
const nextOpen = !this.#isOpen;
|
|
249
|
-
if (!this.#controlled) {
|
|
250
|
-
this.#internalOpen = nextOpen;
|
|
251
|
-
}
|
|
252
|
-
this.dispatchEvent(openChangeEvent({ open: nextOpen }));
|
|
253
|
-
};
|
|
254
|
-
render() {
|
|
255
|
-
const isOpen = this.#isOpen;
|
|
256
|
-
const shouldRender = this.#visible || this.keepMounted;
|
|
257
|
-
return html `
|
|
258
|
-
<button
|
|
259
|
-
part="trigger"
|
|
260
|
-
aria-expanded=${isOpen}
|
|
261
|
-
?data-open=${isOpen}
|
|
262
|
-
?data-disabled=${this.disabled}
|
|
263
|
-
?disabled=${this.disabled}
|
|
264
|
-
@click=${this.#onClick}
|
|
265
|
-
>
|
|
266
|
-
<slot name="trigger"></slot>
|
|
267
|
-
</button>
|
|
268
|
-
${shouldRender
|
|
269
|
-
? html `
|
|
270
|
-
<div
|
|
271
|
-
part="panel"
|
|
272
|
-
role="region"
|
|
273
|
-
style="height: ${this.#panelHeight}"
|
|
274
|
-
?data-open=${isOpen && !this.#starting}
|
|
275
|
-
?data-starting-style=${this.#starting}
|
|
276
|
-
?data-ending-style=${this.#ending}
|
|
277
|
-
?hidden=${!this.#visible && !this.#ending}
|
|
278
|
-
@transitionend=${this.#onTransitionEnd}
|
|
279
|
-
>
|
|
280
|
-
<div part="content">
|
|
281
|
-
<slot></slot>
|
|
282
|
-
</div>
|
|
283
|
-
</div>
|
|
284
|
-
`
|
|
285
|
-
: nothing}
|
|
286
|
-
`;
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
})();
|
|
290
|
-
export { DuiCollapsible };
|
|
91
|
+
import { DuiCollapsiblePrimitive } from "@deepfuture/dui-primitives/collapsible";
|
|
92
|
+
import "../_install.js";
|
|
93
|
+
export class DuiCollapsible extends DuiCollapsiblePrimitive {
|
|
94
|
+
static styles = [...DuiCollapsiblePrimitive.styles, styles];
|
|
95
|
+
}
|
|
96
|
+
customElements.define(DuiCollapsible.tagName, DuiCollapsible);
|
package/collapsible/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { DuiCollapsible
|
|
3
|
-
export
|
|
1
|
+
import "./collapsible.js";
|
|
2
|
+
export { DuiCollapsible } from "./collapsible.js";
|
|
3
|
+
export { openChangeEvent } from "@deepfuture/dui-primitives/collapsible";
|
package/collapsible/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { DuiCollapsible
|
|
3
|
-
export
|
|
1
|
+
import "./collapsible.js";
|
|
2
|
+
export { DuiCollapsible } from "./collapsible.js";
|
|
3
|
+
export { openChangeEvent } from "@deepfuture/dui-primitives/collapsible";
|
package/combobox/combobox.d.ts
CHANGED
|
@@ -1,49 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
export
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
};
|
|
7
|
-
export type ComboboxValueChangeDetail = {
|
|
8
|
-
value: string;
|
|
9
|
-
option: SelectOption;
|
|
10
|
-
};
|
|
11
|
-
export type ComboboxValuesChangeDetail = {
|
|
12
|
-
value: string;
|
|
13
|
-
selected: boolean;
|
|
14
|
-
values: Set<string>;
|
|
15
|
-
};
|
|
16
|
-
export declare const valueChangeEvent: (detail: ComboboxValueChangeDetail) => CustomEvent<ComboboxValueChangeDetail>;
|
|
17
|
-
export declare const valuesChangeEvent: (detail: ComboboxValuesChangeDetail) => CustomEvent<ComboboxValuesChangeDetail>;
|
|
18
|
-
/**
|
|
19
|
-
* `<dui-combobox>` — A searchable dropdown for selecting from a list of options.
|
|
20
|
-
* Supports single-select and multi-select (chip) modes.
|
|
21
|
-
*
|
|
22
|
-
* @fires value-change - Single-select: fired when selection changes.
|
|
23
|
-
* Detail: { value: string, option: SelectOption }
|
|
24
|
-
* @fires values-change - Multi-select: fired when a value is toggled.
|
|
25
|
-
* Detail: { value: string, selected: boolean, values: Set<string> }
|
|
26
|
-
*/
|
|
27
|
-
export declare class DuiCombobox extends LitElement {
|
|
28
|
-
#private;
|
|
29
|
-
static tagName: "dui-combobox";
|
|
30
|
-
static formAssociated: boolean;
|
|
1
|
+
import { DuiComboboxPrimitive } from "@deepfuture/dui-primitives/combobox";
|
|
2
|
+
import "../_install.js";
|
|
3
|
+
export declare class DuiCombobox extends DuiComboboxPrimitive {
|
|
31
4
|
static styles: import("lit").CSSResult[];
|
|
32
|
-
constructor();
|
|
33
|
-
/** The available options. */
|
|
34
|
-
accessor options: SelectOption[];
|
|
35
|
-
/** Currently selected value (single-select mode). */
|
|
36
|
-
accessor value: string;
|
|
37
|
-
/** Currently selected values (multi-select mode). */
|
|
38
|
-
accessor values: Set<string>;
|
|
39
|
-
/** Enable multi-select mode with chips. */
|
|
40
|
-
accessor multiple: boolean;
|
|
41
|
-
/** Placeholder text for the input. */
|
|
42
|
-
accessor placeholder: string;
|
|
43
|
-
/** Whether the combobox is disabled. */
|
|
44
|
-
accessor disabled: boolean;
|
|
45
|
-
/** Name for form submission. */
|
|
46
|
-
accessor name: string;
|
|
47
|
-
willUpdate(): void;
|
|
48
|
-
render(): TemplateResult;
|
|
49
5
|
}
|