@ids-group-ltd/ids-design-system 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,61 @@ While the package is on `0.x`, minor releases may contain breaking changes.
|
|
|
8
8
|
|
|
9
9
|
## Unreleased
|
|
10
10
|
|
|
11
|
+
## 0.6.2 — 2026-07-21
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`ds-sidenav` accepts a projected `[brand]` slot for a custom logo.** A
|
|
16
|
+
`<ng-content select="[brand]">` now sits in the brand row at the top of the rail, so consumers
|
|
17
|
+
can project an `img`/SVG/any markup as the logo instead of — or alongside — the string `brand`
|
|
18
|
+
input. The string `brand` input is unchanged (it still renders an auto letter-mark from the
|
|
19
|
+
first character plus the brand name). The brand row, previously gated on the string `brand`
|
|
20
|
+
being set, now always renders and hides itself via `:empty` when there is neither brand text
|
|
21
|
+
nor projected content, so the empty state is identical to before.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **`ds-bottom-sheet` Escape is now scoped to its own panel instead of the document.** The sheet
|
|
26
|
+
bound `(document:keydown.escape)`, whereas modal and drawer scope Escape to their panel; with
|
|
27
|
+
stacked overlays this let a background sheet steal the Escape meant for the overlay on top. The
|
|
28
|
+
binding moves to `(keydown.escape)` on the sheet's overlay element, mirroring modal — the focus
|
|
29
|
+
trap auto-captures focus inside the sheet so Escape lands on the panel (sheets whose body has no
|
|
30
|
+
focusable content now need one for Escape to reach them), and a stacked overlay above the sheet
|
|
31
|
+
no longer has its Escape consumed underneath.
|
|
32
|
+
- **`ds-date-picker` mobile Backspace/Delete removes one digit and crosses separators instead of
|
|
33
|
+
wiping the whole segment.** Following 0.6.1's routing of mobile edits through `beforeinput`,
|
|
34
|
+
Gboard reports Backspace/Delete with a full-segment "selection" (its composing region), which
|
|
35
|
+
hit the segment editor's selection-clear branch and erased the entire segment (e.g. all of
|
|
36
|
+
`MM`) on one tap — also defeating 0.6.1's separator-crossing behaviour. The mobile `beforeinput`
|
|
37
|
+
path now collapses the selection to the caret edge (`selectionEnd` for Backspace,
|
|
38
|
+
`selectionStart` for Delete) before editing, forcing the single-character branch so one tap
|
|
39
|
+
deletes exactly one digit and crosses a `/` separator, matching desktop `keydown`.
|
|
40
|
+
- **`ds-bottom-sheet` no longer jolts all host-app content up then down as it opens.** The `.sheet`
|
|
41
|
+
enters via `translateY(100%) → none` inside the `position: fixed; inset: 0` `.sheet-overlay`, and
|
|
42
|
+
`cdkTrapFocusAutoCapture` focuses the panel's first tabbable at frame ~0 via `element.focus()`
|
|
43
|
+
without `preventScroll` — while the panel still sticks out below the frame. In consumer shells that
|
|
44
|
+
are a containing block for fixed descendants (`filter`/`transform`) combined with `overflow: hidden`
|
|
45
|
+
(e.g. a centred "phone frame"), the still-translated panel contributes scrollable overflow to that
|
|
46
|
+
shell, so the focus scroll-into-view yanks the shell's `scrollTop` up by ≈ the sheet height (all app
|
|
47
|
+
content jumps up in one frame); as the enter animation lands the overflow vanishes and the browser
|
|
48
|
+
clamps the scroll back to 0 (content slides back down). `.sheet-overlay` now uses `overflow: clip`,
|
|
49
|
+
which clips the translating panel so it never leaks scrollable overflow to consumer ancestors and —
|
|
50
|
+
unlike `hidden` — is not programmatically scrollable, so scroll-into-view cannot move it either. No
|
|
51
|
+
visual change: the panel was already visually cut at the frame edge.
|
|
52
|
+
- **`ds-drawer` no longer scroll-jolts host-app content as it opens.** Same bug class as the
|
|
53
|
+
bottom-sheet fix: the `.drawer` panel was itself `position: fixed` (a sibling of the fixed
|
|
54
|
+
`.drawer-scrim`) sliding in from `translateX/Y(±100%)` under the same `cdkTrapFocusAutoCapture`, so
|
|
55
|
+
the right/bottom (positive-direction) placements leaked scrollable overflow into the same kind of
|
|
56
|
+
containing-block-plus-`overflow: hidden` consumer frames. The scrim and panel are now wrapped in a
|
|
57
|
+
`.drawer-root` div (`position: fixed; inset: 0; z-index: var(--layer-modal); overflow: clip`) and
|
|
58
|
+
both children switched from `fixed` to `absolute`, so the wrapper genuinely clips them (fixed
|
|
59
|
+
descendants would escape an ancestor's clip); geometry is identical in normal and framed apps across
|
|
60
|
+
all four placements, including the RTL left-drawer case. `isolation: isolate` was added to `.drawer`
|
|
61
|
+
to preserve the stacking context the old `fixed` + `z-index` panel provided, so negative-`z-index`
|
|
62
|
+
content projected into the drawer body can't sink under the scrim. No public API or token change:
|
|
63
|
+
scrim click-to-close, panel-scoped plus document-level Escape, `animationend` teardown, and the focus
|
|
64
|
+
trap are all unchanged.
|
|
65
|
+
|
|
11
66
|
## 0.6.1 — 2026-07-16
|
|
12
67
|
|
|
13
68
|
### Fixed
|
|
@@ -3136,7 +3136,15 @@ class DatePickerComponent extends DsControlValueAccessor {
|
|
|
3136
3136
|
return;
|
|
3137
3137
|
}
|
|
3138
3138
|
event.preventDefault();
|
|
3139
|
-
|
|
3139
|
+
// Gboard reports Backspace/Delete on mobile with a full-segment "selection" (its
|
|
3140
|
+
// composing region), which would hit the selection-clear branch below and wipe
|
|
3141
|
+
// the whole slot. Collapse to the caret edge so a mobile delete removes one digit.
|
|
3142
|
+
const collapsed = kind === 'backspace'
|
|
3143
|
+
? element.selectionEnd
|
|
3144
|
+
: kind === 'delete'
|
|
3145
|
+
? element.selectionStart
|
|
3146
|
+
: undefined;
|
|
3147
|
+
this.runSegmentEdit(element, kind, digit, collapsed);
|
|
3140
3148
|
this.mobileEdit = {
|
|
3141
3149
|
value: element.value,
|
|
3142
3150
|
caret: element.selectionStart ?? element.value.length,
|
|
@@ -3147,11 +3155,13 @@ class DatePickerComponent extends DsControlValueAccessor {
|
|
|
3147
3155
|
* over the selection, then write the fixed-width value + caret back. A
|
|
3148
3156
|
* selection is cleared through the model so `_` placeholders are never
|
|
3149
3157
|
* natively erased — only digits are editable. Shared by keydown + beforeinput. */
|
|
3150
|
-
runSegmentEdit(element, kind, digit) {
|
|
3158
|
+
runSegmentEdit(element, kind, digit, caretOverride) {
|
|
3151
3159
|
const layout = this.layout();
|
|
3152
3160
|
const segments = parseFieldText(element.value, layout);
|
|
3153
|
-
|
|
3154
|
-
|
|
3161
|
+
// A caretOverride collapses the range (caret === selectionEnd), forcing the
|
|
3162
|
+
// single-character branch below — used by the mobile beforeinput path.
|
|
3163
|
+
const caret = caretOverride ?? element.selectionStart ?? element.value.length;
|
|
3164
|
+
const selectionEnd = caretOverride ?? element.selectionEnd ?? caret;
|
|
3155
3165
|
let edit;
|
|
3156
3166
|
if (selectionEnd !== caret) {
|
|
3157
3167
|
const firstSel = caretToSlot(layout, caret);
|
|
@@ -4083,17 +4093,18 @@ const SIDENAV = new InjectionToken('SIDENAV');
|
|
|
4083
4093
|
class SidenavComponent {
|
|
4084
4094
|
/** Collapses the rail to icon-only width; read by nested `ds-sidenav-item`/`ds-sidenav-group`. */
|
|
4085
4095
|
collapsed = input(false, { ...(ngDevMode ? { debugName: "collapsed" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
4086
|
-
/** Brand
|
|
4096
|
+
/** Brand text at the top of the rail (auto letter-mark + name). For a custom
|
|
4097
|
+
* logo image/SVG, project it into the `[brand]` slot instead. */
|
|
4087
4098
|
brand = input('', ...(ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []));
|
|
4088
4099
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4089
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: SidenavComponent, isStandalone: true, selector: "ds-sidenav", inputs: { collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.sidenav": "true", "class.collapsed": "collapsed()" } }, providers: [{ provide: SIDENAV, useExisting: SidenavComponent }], ngImport: i0, template: "
|
|
4100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: SidenavComponent, isStandalone: true, selector: "ds-sidenav", inputs: { collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.sidenav": "true", "class.collapsed": "collapsed()" } }, providers: [{ provide: SIDENAV, useExisting: SidenavComponent }], ngImport: i0, template: "<div class=\"brand\">\n <ng-content select=\"[brand]\"></ng-content>\n\n @if (brand()) {\n <span class=\"mark\">\n {{ brand().charAt(0) }}\n </span>\n\n <span class=\"brand-name\">\n {{ brand() }}\n </span>\n }\n</div>\n\n<ng-content></ng-content>\n", styles: ["@charset \"UTF-8\";:host{--_sidenav-bg-color: var(--ds-sidenav-bg-color, var(--surface-default));--_sidenav-border: var(--ds-sidenav-border, var(--border-divider));--_sidenav-width: var(--ds-sidenav-width, var(--sidenav-w));--_sidenav-width-collapsed: var(--ds-sidenav-width-collapsed, var(--sidenav-w-collapsed));--_sidenav-mark-bg-color: var(--ds-sidenav-mark-bg-color, var(--accent));--_sidenav-mark-label-color: var(--ds-sidenav-mark-label-color, var(--accent-on));display:flex;flex-direction:column;gap:var(--space-1);width:var(--_sidenav-width);background-color:var(--_sidenav-bg-color);border-right:var(--border-width-default) solid var(--_sidenav-border);padding:var(--space-5);transition:width var(--duration-base) var(--ease-standard)}.brand{font:var(--font-weight-extrabold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans);display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-2) var(--space-6)}.brand:empty{display:none}.mark{width:var(--sidenav-logo-size);height:var(--sidenav-logo-size);border-radius:var(--radius-md);background-color:var(--_sidenav-mark-bg-color);display:grid;place-items:center;color:var(--_sidenav-mark-label-color);font-size:var(--font-size-s);flex-shrink:0}.brand-name{font:var(--font-weight-extrabold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans)}:host(.collapsed){width:var(--_sidenav-width-collapsed);padding:var(--space-3);align-items:center}:host(.collapsed) .brand{padding:var(--sidenav-pad-brand-y) 0 var(--sidenav-pad-brand-b);justify-content:center}:host(.collapsed) .brand-name{display:none}\n"] });
|
|
4090
4101
|
}
|
|
4091
4102
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SidenavComponent, decorators: [{
|
|
4092
4103
|
type: Component,
|
|
4093
4104
|
args: [{ selector: 'ds-sidenav', standalone: true, encapsulation: ViewEncapsulation.Emulated, host: {
|
|
4094
4105
|
'[class.sidenav]': 'true',
|
|
4095
4106
|
'[class.collapsed]': 'collapsed()',
|
|
4096
|
-
}, providers: [{ provide: SIDENAV, useExisting: SidenavComponent }], template: "
|
|
4107
|
+
}, providers: [{ provide: SIDENAV, useExisting: SidenavComponent }], template: "<div class=\"brand\">\n <ng-content select=\"[brand]\"></ng-content>\n\n @if (brand()) {\n <span class=\"mark\">\n {{ brand().charAt(0) }}\n </span>\n\n <span class=\"brand-name\">\n {{ brand() }}\n </span>\n }\n</div>\n\n<ng-content></ng-content>\n", styles: ["@charset \"UTF-8\";:host{--_sidenav-bg-color: var(--ds-sidenav-bg-color, var(--surface-default));--_sidenav-border: var(--ds-sidenav-border, var(--border-divider));--_sidenav-width: var(--ds-sidenav-width, var(--sidenav-w));--_sidenav-width-collapsed: var(--ds-sidenav-width-collapsed, var(--sidenav-w-collapsed));--_sidenav-mark-bg-color: var(--ds-sidenav-mark-bg-color, var(--accent));--_sidenav-mark-label-color: var(--ds-sidenav-mark-label-color, var(--accent-on));display:flex;flex-direction:column;gap:var(--space-1);width:var(--_sidenav-width);background-color:var(--_sidenav-bg-color);border-right:var(--border-width-default) solid var(--_sidenav-border);padding:var(--space-5);transition:width var(--duration-base) var(--ease-standard)}.brand{font:var(--font-weight-extrabold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans);display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-2) var(--space-6)}.brand:empty{display:none}.mark{width:var(--sidenav-logo-size);height:var(--sidenav-logo-size);border-radius:var(--radius-md);background-color:var(--_sidenav-mark-bg-color);display:grid;place-items:center;color:var(--_sidenav-mark-label-color);font-size:var(--font-size-s);flex-shrink:0}.brand-name{font:var(--font-weight-extrabold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans)}:host(.collapsed){width:var(--_sidenav-width-collapsed);padding:var(--space-3);align-items:center}:host(.collapsed) .brand{padding:var(--sidenav-pad-brand-y) 0 var(--sidenav-pad-brand-b);justify-content:center}:host(.collapsed) .brand-name{display:none}\n"] }]
|
|
4097
4108
|
}], propDecorators: { collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }], brand: [{ type: i0.Input, args: [{ isSignal: true, alias: "brand", required: false }] }] } });
|
|
4098
4109
|
|
|
4099
4110
|
class SidenavGroupComponent {
|
|
@@ -5827,13 +5838,13 @@ class DrawerComponent {
|
|
|
5827
5838
|
}
|
|
5828
5839
|
}
|
|
5829
5840
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5830
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: DrawerComponent, isStandalone: true, selector: "ds-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, ngImport: i0, template: "@if (rendered()) {\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- scrim; click dismisses, keyboard dismisses via Escape (host document:keydown.escape) -->\n
|
|
5841
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: DrawerComponent, isStandalone: true, selector: "ds-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, ngImport: i0, template: "@if (rendered()) {\n <div class=\"drawer-root\">\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- scrim; click dismisses, keyboard dismisses via Escape (host document:keydown.escape) -->\n <div\n class=\"drawer-scrim\"\n [class.closing]=\"closing()\"\n (click)=\"onClose()\"\n >\n </div>\n\n <div\n role=\"dialog\"\n aria-modal=\"true\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n [class]=\"classes()\"\n [class.closing]=\"closing()\"\n [attr.aria-labelledby]=\"title() ? titleId : null\"\n (keydown.escape)=\"onClose()\"\n (animationend)=\"onLeaveEnd($event)\"\n >\n <header class=\"header\">\n <h4\n class=\"title\"\n [id]=\"titleId\"\n >\n {{ title() }}\n </h4>\n\n <button\n type=\"button\"\n class=\"close\"\n aria-label=\"Close\"\n (click)=\"onClose()\"\n >\n <ds-icon\n name=\"x\"\n [size]=\"16\"\n />\n </button>\n </header>\n\n <div class=\"body\">\n <ng-content select=\"[drawer-body]\"></ng-content>\n </div>\n\n <div class=\"footer\">\n <ng-content select=\"[drawer-footer]\"></ng-content>\n </div>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{--_drawer-bg-color: var(--ds-drawer-bg-color, var(--surface-overlay));--_drawer-scrim-color: var(--ds-drawer-scrim-color, var(--scrim, hsl(220deg 20% 12% / 45%)));--_drawer-shadow: var(--ds-drawer-shadow, var(--shadow-modal));--_drawer-divider: var(--ds-drawer-divider, var(--border-divider));--_drawer-close-icon-color: var(--ds-drawer-close-icon-color, var(--icon-default));--_drawer-close-icon-color-hover: var(--ds-drawer-close-icon-color-hover, var(--icon-strong));--_drawer-radius: var(--ds-drawer-radius, 0);--_drawer-title-color: var(--ds-drawer-title-color, inherit);--_drawer-width-sm: var(--ds-drawer-width, var(--drawer-w-sm));--_drawer-width-md: var(--ds-drawer-width, var(--drawer-w-md));--_drawer-width-lg: var(--ds-drawer-width, var(--drawer-w-lg));display:contents}.drawer-root{position:fixed;inset:0;z-index:var(--layer-modal);overflow:clip}.drawer-scrim{position:absolute;inset:0;background:var(--_drawer-scrim-color);animation:drawer-scrim-in var(--duration-fast, .12s) var(--ease-decelerate, ease-out)}.drawer-scrim.closing{animation:drawer-scrim-out var(--duration-fast) var(--ease-accelerate) forwards}@keyframes drawer-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-scrim-out{to{opacity:0}}.drawer{position:absolute;background:var(--_drawer-bg-color);box-shadow:var(--_drawer-shadow);border-radius:var(--_drawer-radius);display:flex;flex-direction:column;isolation:isolate}.drawer.sm{width:var(--_drawer-width-sm)}.drawer.md{width:var(--_drawer-width-md)}.drawer.lg{width:var(--_drawer-width-lg)}.drawer.right{top:0;right:0;bottom:0;max-width:100vw;animation:drawer-in-right var(--duration-slow) var(--ease-decelerate)}.drawer.right.closing{animation:drawer-panel-close-right var(--duration-base) var(--ease-accelerate) forwards}.drawer.left{top:0;left:0;bottom:0;max-width:100vw;animation:drawer-in-left var(--duration-slow) var(--ease-decelerate)}.drawer.left.closing{animation:drawer-panel-close-left var(--duration-base) var(--ease-accelerate) forwards}.drawer.top{top:0;left:0;right:0;width:auto;max-height:80vh;animation:drawer-in-top var(--duration-slow) var(--ease-decelerate)}.drawer.top.closing{animation:drawer-panel-close-top var(--duration-base) var(--ease-accelerate) forwards}.drawer.bottom{bottom:0;left:0;right:0;width:auto;max-height:80vh;animation:drawer-in-bottom var(--duration-slow) var(--ease-decelerate)}.drawer.bottom.closing{animation:drawer-panel-close-bottom var(--duration-base) var(--ease-accelerate) forwards}.drawer .header{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-5) var(--space-6);border-bottom:var(--border-width-default) solid var(--_drawer-divider)}.drawer .title{font:var(--font-weight-bold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans);color:var(--_drawer-title-color);margin:0;flex:1}.drawer .close{background:transparent;border:0;width:var(--modal-close-size);height:var(--modal-close-size);color:var(--_drawer-close-icon-color);cursor:pointer;padding:0}.drawer .close:hover{color:var(--_drawer-close-icon-color-hover)}.drawer .close:active:not(:disabled):not([disabled]):not(.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.drawer .body{flex:1;padding:var(--space-6);overflow-y:auto}.drawer .footer{padding:var(--space-4) var(--space-6);border-top:var(--border-width-default) solid var(--_drawer-divider);display:flex;gap:var(--space-2);justify-content:flex-end}@keyframes drawer-in-right{0%{transform:translate(100%)}to{transform:none}}@keyframes drawer-panel-close-right{to{transform:translate(100%)}}@keyframes drawer-in-left{0%{transform:translate(-100%)}to{transform:none}}@keyframes drawer-panel-close-left{to{transform:translate(-100%)}}@keyframes drawer-in-top{0%{transform:translateY(-100%)}to{transform:none}}@keyframes drawer-panel-close-top{to{transform:translateY(-100%)}}@keyframes drawer-in-bottom{0%{transform:translateY(100%)}to{transform:none}}@keyframes drawer-panel-close-bottom{to{transform:translateY(100%)}}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }] });
|
|
5831
5842
|
}
|
|
5832
5843
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DrawerComponent, decorators: [{
|
|
5833
5844
|
type: Component,
|
|
5834
5845
|
args: [{ selector: 'ds-drawer', standalone: true, imports: [IconComponent, A11yModule], encapsulation: ViewEncapsulation.Emulated, host: {
|
|
5835
5846
|
'(document:keydown.escape)': 'onEscape()',
|
|
5836
|
-
}, template: "@if (rendered()) {\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- scrim; click dismisses, keyboard dismisses via Escape (host document:keydown.escape) -->\n
|
|
5847
|
+
}, template: "@if (rendered()) {\n <div class=\"drawer-root\">\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- scrim; click dismisses, keyboard dismisses via Escape (host document:keydown.escape) -->\n <div\n class=\"drawer-scrim\"\n [class.closing]=\"closing()\"\n (click)=\"onClose()\"\n >\n </div>\n\n <div\n role=\"dialog\"\n aria-modal=\"true\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n [class]=\"classes()\"\n [class.closing]=\"closing()\"\n [attr.aria-labelledby]=\"title() ? titleId : null\"\n (keydown.escape)=\"onClose()\"\n (animationend)=\"onLeaveEnd($event)\"\n >\n <header class=\"header\">\n <h4\n class=\"title\"\n [id]=\"titleId\"\n >\n {{ title() }}\n </h4>\n\n <button\n type=\"button\"\n class=\"close\"\n aria-label=\"Close\"\n (click)=\"onClose()\"\n >\n <ds-icon\n name=\"x\"\n [size]=\"16\"\n />\n </button>\n </header>\n\n <div class=\"body\">\n <ng-content select=\"[drawer-body]\"></ng-content>\n </div>\n\n <div class=\"footer\">\n <ng-content select=\"[drawer-footer]\"></ng-content>\n </div>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{--_drawer-bg-color: var(--ds-drawer-bg-color, var(--surface-overlay));--_drawer-scrim-color: var(--ds-drawer-scrim-color, var(--scrim, hsl(220deg 20% 12% / 45%)));--_drawer-shadow: var(--ds-drawer-shadow, var(--shadow-modal));--_drawer-divider: var(--ds-drawer-divider, var(--border-divider));--_drawer-close-icon-color: var(--ds-drawer-close-icon-color, var(--icon-default));--_drawer-close-icon-color-hover: var(--ds-drawer-close-icon-color-hover, var(--icon-strong));--_drawer-radius: var(--ds-drawer-radius, 0);--_drawer-title-color: var(--ds-drawer-title-color, inherit);--_drawer-width-sm: var(--ds-drawer-width, var(--drawer-w-sm));--_drawer-width-md: var(--ds-drawer-width, var(--drawer-w-md));--_drawer-width-lg: var(--ds-drawer-width, var(--drawer-w-lg));display:contents}.drawer-root{position:fixed;inset:0;z-index:var(--layer-modal);overflow:clip}.drawer-scrim{position:absolute;inset:0;background:var(--_drawer-scrim-color);animation:drawer-scrim-in var(--duration-fast, .12s) var(--ease-decelerate, ease-out)}.drawer-scrim.closing{animation:drawer-scrim-out var(--duration-fast) var(--ease-accelerate) forwards}@keyframes drawer-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-scrim-out{to{opacity:0}}.drawer{position:absolute;background:var(--_drawer-bg-color);box-shadow:var(--_drawer-shadow);border-radius:var(--_drawer-radius);display:flex;flex-direction:column;isolation:isolate}.drawer.sm{width:var(--_drawer-width-sm)}.drawer.md{width:var(--_drawer-width-md)}.drawer.lg{width:var(--_drawer-width-lg)}.drawer.right{top:0;right:0;bottom:0;max-width:100vw;animation:drawer-in-right var(--duration-slow) var(--ease-decelerate)}.drawer.right.closing{animation:drawer-panel-close-right var(--duration-base) var(--ease-accelerate) forwards}.drawer.left{top:0;left:0;bottom:0;max-width:100vw;animation:drawer-in-left var(--duration-slow) var(--ease-decelerate)}.drawer.left.closing{animation:drawer-panel-close-left var(--duration-base) var(--ease-accelerate) forwards}.drawer.top{top:0;left:0;right:0;width:auto;max-height:80vh;animation:drawer-in-top var(--duration-slow) var(--ease-decelerate)}.drawer.top.closing{animation:drawer-panel-close-top var(--duration-base) var(--ease-accelerate) forwards}.drawer.bottom{bottom:0;left:0;right:0;width:auto;max-height:80vh;animation:drawer-in-bottom var(--duration-slow) var(--ease-decelerate)}.drawer.bottom.closing{animation:drawer-panel-close-bottom var(--duration-base) var(--ease-accelerate) forwards}.drawer .header{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-5) var(--space-6);border-bottom:var(--border-width-default) solid var(--_drawer-divider)}.drawer .title{font:var(--font-weight-bold) var(--font-size-h5)/var(--line-height-snug) var(--font-sans);color:var(--_drawer-title-color);margin:0;flex:1}.drawer .close{background:transparent;border:0;width:var(--modal-close-size);height:var(--modal-close-size);color:var(--_drawer-close-icon-color);cursor:pointer;padding:0}.drawer .close:hover{color:var(--_drawer-close-icon-color-hover)}.drawer .close:active:not(:disabled):not([disabled]):not(.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.drawer .body{flex:1;padding:var(--space-6);overflow-y:auto}.drawer .footer{padding:var(--space-4) var(--space-6);border-top:var(--border-width-default) solid var(--_drawer-divider);display:flex;gap:var(--space-2);justify-content:flex-end}@keyframes drawer-in-right{0%{transform:translate(100%)}to{transform:none}}@keyframes drawer-panel-close-right{to{transform:translate(100%)}}@keyframes drawer-in-left{0%{transform:translate(-100%)}to{transform:none}}@keyframes drawer-panel-close-left{to{transform:translate(-100%)}}@keyframes drawer-in-top{0%{transform:translateY(-100%)}to{transform:none}}@keyframes drawer-panel-close-top{to{transform:translateY(-100%)}}@keyframes drawer-in-bottom{0%{transform:translateY(100%)}to{transform:none}}@keyframes drawer-panel-close-bottom{to{transform:translateY(100%)}}\n"] }]
|
|
5837
5848
|
}], ctorParameters: () => [], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
5838
5849
|
|
|
5839
5850
|
let nextId$1 = 0;
|
|
@@ -6022,13 +6033,11 @@ class BottomSheetComponent {
|
|
|
6022
6033
|
this.activeSnapIndex.set(nearestIndex);
|
|
6023
6034
|
}
|
|
6024
6035
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BottomSheetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6025
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: BottomSheetComponent, isStandalone: true, selector: "ds-bottom-sheet", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, snapPoints: { classPropertyName: "snapPoints", publicName: "snapPoints", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" },
|
|
6036
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: BottomSheetComponent, isStandalone: true, selector: "ds-bottom-sheet", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, snapPoints: { classPropertyName: "snapPoints", publicName: "snapPoints", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" }, viewQueries: [{ propertyName: "sheetRef", first: true, predicate: ["sheet"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (rendered()) {\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- backdrop; keyboard dismissal is (keydown.escape) on this element, a backdrop isn't a tabbable control -->\n <div\n class=\"sheet-overlay\"\n [class.closing]=\"closing()\"\n (click)=\"close()\"\n (keydown.escape)=\"onEscape()\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events -- (click) only stops propagation to the backdrop; the dialog itself isn't an activatable control -->\n <div\n #sheet\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n class=\"sheet\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"title() ? titleId : null\"\n [class.dragging]=\"dragOffset() !== null\"\n [class.closing]=\"closing()\"\n [class.snapping]=\"snapPoints().length > 0 && dragOffset() === null\"\n [style.transform]=\"\n dragOffset() ? 'translateY(' + dragOffset() + 'px)' : null\n \"\n [style.height]=\"snapHeight()\"\n [style.maxHeight]=\"snapHeight() ? snapHeight() : null\"\n (click)=\"stop($event)\"\n (animationend)=\"onLeaveEnd($event)\"\n >\n <div\n class=\"grab\"\n (pointerdown)=\"onGrabStart($event)\"\n (pointermove)=\"onGrabMove($event)\"\n (pointerup)=\"onGrabEnd()\"\n (pointercancel)=\"onGrabEnd()\"\n >\n <div class=\"sheet-handle\"></div>\n </div>\n\n @if (title()) {\n <h3\n class=\"sheet-title\"\n [id]=\"titleId\"\n >\n {{ title() }}\n </h3>\n }\n\n <div class=\"sheet-body\">\n <ng-content />\n </div>\n\n <div class=\"sheet-actions\">\n <ng-content select=\"[actions]\" />\n </div>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{--_bottom-sheet-maxw: var(--ds-bottom-sheet-maxw, 480px);--_bottom-sheet-maxh: var(--ds-bottom-sheet-maxh, 80%);--_bottom-sheet-radius: var(--ds-bottom-sheet-radius, var(--radius-lg));--_bottom-sheet-bg-color: var(--ds-bottom-sheet-bg-color, var(--surface-default));--_bottom-sheet-scrim-color: var(--ds-bottom-sheet-scrim-color, var(--surface-scrim));--_bottom-sheet-title-text-color: var(--ds-bottom-sheet-title-text-color, var(--text-primary));display:contents}.sheet-overlay{position:fixed;inset:0;z-index:var(--layer-modal);background:var(--_bottom-sheet-scrim-color);display:flex;flex-direction:column;justify-content:flex-end;overflow:clip;animation:ds-sheet-fade-in var(--duration-fast) var(--ease-decelerate)}.sheet-overlay.closing{animation:ds-sheet-fade-out var(--duration-fast) var(--ease-accelerate) forwards}.sheet{position:relative;width:min(100%,var(--_bottom-sheet-maxw));margin-inline:auto;background:var(--_bottom-sheet-bg-color);border-radius:var(--_bottom-sheet-radius) var(--_bottom-sheet-radius) 0 0;padding:0 var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));animation:ds-sheet-up var(--duration-base) var(--ease-decelerate);max-height:var(--_bottom-sheet-maxh);display:flex;flex-direction:column;transition:transform var(--duration-base) var(--ease-decelerate)}.sheet.dragging{transition:none}.sheet.snapping{transition:transform var(--duration-base) var(--ease-decelerate),height var(--duration-base) var(--ease-decelerate)}@media(prefers-reduced-motion:reduce){.sheet.snapping{transition:none}}.sheet.closing{animation:ds-sheet-down var(--duration-base) var(--ease-accelerate) forwards}.grab{padding:var(--space-3) 0;margin:0 calc(var(--space-4) * -1);cursor:grab;touch-action:none}.sheet-handle{width:var(--bottom-sheet-handle-w);height:var(--bottom-sheet-handle-h);background:var(--border-strong);border-radius:var(--radius-pill);margin:0 auto}.sheet-title{font:var(--font-weight-semibold) var(--font-size-l)/var(--line-height-snug) var(--font-sans);color:var(--_bottom-sheet-title-text-color);margin:0 0 var(--space-3)}.sheet-body{display:flex;flex-direction:column;gap:var(--space-2);overflow-y:auto;min-height:0;padding:var(--space-1);margin:calc(var(--space-1) * -1)}.sheet-actions{display:flex;flex-direction:column;gap:var(--space-2)}.sheet-actions:not(:empty){margin-top:var(--space-3)}@keyframes ds-sheet-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ds-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes ds-sheet-fade-out{to{opacity:0}}@keyframes ds-sheet-down{to{transform:translateY(100%)}}\n"], dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }] });
|
|
6026
6037
|
}
|
|
6027
6038
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BottomSheetComponent, decorators: [{
|
|
6028
6039
|
type: Component,
|
|
6029
|
-
args: [{ selector: 'ds-bottom-sheet', standalone: true, imports: [A11yModule], encapsulation: ViewEncapsulation.Emulated, host: {
|
|
6030
|
-
'(document:keydown.escape)': 'onEscape()',
|
|
6031
|
-
}, template: "@if (rendered()) {\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- backdrop; click dismisses, keyboard dismisses via Escape (host document:keydown.escape) -->\n <div\n class=\"sheet-overlay\"\n [class.closing]=\"closing()\"\n (click)=\"close()\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events -- (click) only stops propagation to the backdrop; the dialog itself isn't an activatable control -->\n <div\n #sheet\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n class=\"sheet\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"title() ? titleId : null\"\n [class.dragging]=\"dragOffset() !== null\"\n [class.closing]=\"closing()\"\n [class.snapping]=\"snapPoints().length > 0 && dragOffset() === null\"\n [style.transform]=\"\n dragOffset() ? 'translateY(' + dragOffset() + 'px)' : null\n \"\n [style.height]=\"snapHeight()\"\n [style.maxHeight]=\"snapHeight() ? snapHeight() : null\"\n (click)=\"stop($event)\"\n (animationend)=\"onLeaveEnd($event)\"\n >\n <div\n class=\"grab\"\n (pointerdown)=\"onGrabStart($event)\"\n (pointermove)=\"onGrabMove($event)\"\n (pointerup)=\"onGrabEnd()\"\n (pointercancel)=\"onGrabEnd()\"\n >\n <div class=\"sheet-handle\"></div>\n </div>\n\n @if (title()) {\n <h3\n class=\"sheet-title\"\n [id]=\"titleId\"\n >\n {{ title() }}\n </h3>\n }\n\n <div class=\"sheet-body\">\n <ng-content />\n </div>\n\n <div class=\"sheet-actions\">\n <ng-content select=\"[actions]\" />\n </div>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{--_bottom-sheet-maxw: var(--ds-bottom-sheet-maxw, 480px);--_bottom-sheet-maxh: var(--ds-bottom-sheet-maxh, 80%);--_bottom-sheet-radius: var(--ds-bottom-sheet-radius, var(--radius-lg));--_bottom-sheet-bg-color: var(--ds-bottom-sheet-bg-color, var(--surface-default));--_bottom-sheet-scrim-color: var(--ds-bottom-sheet-scrim-color, var(--surface-scrim));--_bottom-sheet-title-text-color: var(--ds-bottom-sheet-title-text-color, var(--text-primary));display:contents}.sheet-overlay{position:fixed;inset:0;z-index:var(--layer-modal);background:var(--_bottom-sheet-scrim-color);display:flex;flex-direction:column;justify-content:flex-end;animation:ds-sheet-fade-in var(--duration-fast) var(--ease-decelerate)}.sheet-overlay.closing{animation:ds-sheet-fade-out var(--duration-fast) var(--ease-accelerate) forwards}.sheet{position:relative;width:min(100%,var(--_bottom-sheet-maxw));margin-inline:auto;background:var(--_bottom-sheet-bg-color);border-radius:var(--_bottom-sheet-radius) var(--_bottom-sheet-radius) 0 0;padding:0 var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));animation:ds-sheet-up var(--duration-base) var(--ease-decelerate);max-height:var(--_bottom-sheet-maxh);display:flex;flex-direction:column;transition:transform var(--duration-base) var(--ease-decelerate)}.sheet.dragging{transition:none}.sheet.snapping{transition:transform var(--duration-base) var(--ease-decelerate),height var(--duration-base) var(--ease-decelerate)}@media(prefers-reduced-motion:reduce){.sheet.snapping{transition:none}}.sheet.closing{animation:ds-sheet-down var(--duration-base) var(--ease-accelerate) forwards}.grab{padding:var(--space-3) 0;margin:0 calc(var(--space-4) * -1);cursor:grab;touch-action:none}.sheet-handle{width:var(--bottom-sheet-handle-w);height:var(--bottom-sheet-handle-h);background:var(--border-strong);border-radius:var(--radius-pill);margin:0 auto}.sheet-title{font:var(--font-weight-semibold) var(--font-size-l)/var(--line-height-snug) var(--font-sans);color:var(--_bottom-sheet-title-text-color);margin:0 0 var(--space-3)}.sheet-body{display:flex;flex-direction:column;gap:var(--space-2);overflow-y:auto;min-height:0;padding:var(--space-1);margin:calc(var(--space-1) * -1)}.sheet-actions{display:flex;flex-direction:column;gap:var(--space-2)}.sheet-actions:not(:empty){margin-top:var(--space-3)}@keyframes ds-sheet-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ds-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes ds-sheet-fade-out{to{opacity:0}}@keyframes ds-sheet-down{to{transform:translateY(100%)}}\n"] }]
|
|
6040
|
+
args: [{ selector: 'ds-bottom-sheet', standalone: true, imports: [A11yModule], encapsulation: ViewEncapsulation.Emulated, template: "@if (rendered()) {\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- backdrop; keyboard dismissal is (keydown.escape) on this element, a backdrop isn't a tabbable control -->\n <div\n class=\"sheet-overlay\"\n [class.closing]=\"closing()\"\n (click)=\"close()\"\n (keydown.escape)=\"onEscape()\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events -- (click) only stops propagation to the backdrop; the dialog itself isn't an activatable control -->\n <div\n #sheet\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n class=\"sheet\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"title() ? titleId : null\"\n [class.dragging]=\"dragOffset() !== null\"\n [class.closing]=\"closing()\"\n [class.snapping]=\"snapPoints().length > 0 && dragOffset() === null\"\n [style.transform]=\"\n dragOffset() ? 'translateY(' + dragOffset() + 'px)' : null\n \"\n [style.height]=\"snapHeight()\"\n [style.maxHeight]=\"snapHeight() ? snapHeight() : null\"\n (click)=\"stop($event)\"\n (animationend)=\"onLeaveEnd($event)\"\n >\n <div\n class=\"grab\"\n (pointerdown)=\"onGrabStart($event)\"\n (pointermove)=\"onGrabMove($event)\"\n (pointerup)=\"onGrabEnd()\"\n (pointercancel)=\"onGrabEnd()\"\n >\n <div class=\"sheet-handle\"></div>\n </div>\n\n @if (title()) {\n <h3\n class=\"sheet-title\"\n [id]=\"titleId\"\n >\n {{ title() }}\n </h3>\n }\n\n <div class=\"sheet-body\">\n <ng-content />\n </div>\n\n <div class=\"sheet-actions\">\n <ng-content select=\"[actions]\" />\n </div>\n </div>\n </div>\n}\n", styles: ["@charset \"UTF-8\";:host{--_bottom-sheet-maxw: var(--ds-bottom-sheet-maxw, 480px);--_bottom-sheet-maxh: var(--ds-bottom-sheet-maxh, 80%);--_bottom-sheet-radius: var(--ds-bottom-sheet-radius, var(--radius-lg));--_bottom-sheet-bg-color: var(--ds-bottom-sheet-bg-color, var(--surface-default));--_bottom-sheet-scrim-color: var(--ds-bottom-sheet-scrim-color, var(--surface-scrim));--_bottom-sheet-title-text-color: var(--ds-bottom-sheet-title-text-color, var(--text-primary));display:contents}.sheet-overlay{position:fixed;inset:0;z-index:var(--layer-modal);background:var(--_bottom-sheet-scrim-color);display:flex;flex-direction:column;justify-content:flex-end;overflow:clip;animation:ds-sheet-fade-in var(--duration-fast) var(--ease-decelerate)}.sheet-overlay.closing{animation:ds-sheet-fade-out var(--duration-fast) var(--ease-accelerate) forwards}.sheet{position:relative;width:min(100%,var(--_bottom-sheet-maxw));margin-inline:auto;background:var(--_bottom-sheet-bg-color);border-radius:var(--_bottom-sheet-radius) var(--_bottom-sheet-radius) 0 0;padding:0 var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));animation:ds-sheet-up var(--duration-base) var(--ease-decelerate);max-height:var(--_bottom-sheet-maxh);display:flex;flex-direction:column;transition:transform var(--duration-base) var(--ease-decelerate)}.sheet.dragging{transition:none}.sheet.snapping{transition:transform var(--duration-base) var(--ease-decelerate),height var(--duration-base) var(--ease-decelerate)}@media(prefers-reduced-motion:reduce){.sheet.snapping{transition:none}}.sheet.closing{animation:ds-sheet-down var(--duration-base) var(--ease-accelerate) forwards}.grab{padding:var(--space-3) 0;margin:0 calc(var(--space-4) * -1);cursor:grab;touch-action:none}.sheet-handle{width:var(--bottom-sheet-handle-w);height:var(--bottom-sheet-handle-h);background:var(--border-strong);border-radius:var(--radius-pill);margin:0 auto}.sheet-title{font:var(--font-weight-semibold) var(--font-size-l)/var(--line-height-snug) var(--font-sans);color:var(--_bottom-sheet-title-text-color);margin:0 0 var(--space-3)}.sheet-body{display:flex;flex-direction:column;gap:var(--space-2);overflow-y:auto;min-height:0;padding:var(--space-1);margin:calc(var(--space-1) * -1)}.sheet-actions{display:flex;flex-direction:column;gap:var(--space-2)}.sheet-actions:not(:empty){margin-top:var(--space-3)}@keyframes ds-sheet-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ds-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes ds-sheet-fade-out{to{opacity:0}}@keyframes ds-sheet-down{to{transform:translateY(100%)}}\n"] }]
|
|
6032
6041
|
}], ctorParameters: () => [], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], closed: [{ type: i0.Output, args: ["closed"] }], snapPoints: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapPoints", required: false }] }], sheetRef: [{ type: i0.ViewChild, args: ['sheet', { isSignal: true }] }] } });
|
|
6033
6042
|
|
|
6034
6043
|
class TagComponent {
|