@magmonium/one 0.4.63 → 0.4.64
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.
|
@@ -17186,11 +17186,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17186
17186
|
var SectionFooterComponent = class SectionFooterComponent {
|
|
17187
17187
|
sticky = input(false, ...ngDevMode ? [{ debugName: "sticky" }] : /* istanbul ignore next */ []);
|
|
17188
17188
|
align = input("right", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
|
|
17189
|
+
maxWidth = input(...ngDevMode ? [void 0, { debugName: "maxWidth" }] : /* istanbul ignore next */ []);
|
|
17189
17190
|
scrollSticky = injectScrollSticky(0, "none");
|
|
17190
17191
|
isSticky = computed(() => this.sticky() && this.scrollSticky(), ...ngDevMode ? [{ debugName: "isSticky" }] : /* istanbul ignore next */ []);
|
|
17191
17192
|
sectionContext = inject(SECTION_CONTEXT, { optional: true });
|
|
17192
17193
|
sidepanel = computed(() => this.sectionContext?.sidepanel() ?? false, ...ngDevMode ? [{ debugName: "sidepanel" }] : /* istanbul ignore next */ []);
|
|
17193
17194
|
noBorder = computed(() => this.sectionContext?.variant() === "noBorder", ...ngDevMode ? [{ debugName: "noBorder" }] : /* istanbul ignore next */ []);
|
|
17195
|
+
resolvedMaxWidth = computed(() => this.maxWidth() ?? this.sectionContext?.maxWidth?.(), ...ngDevMode ? [{ debugName: "resolvedMaxWidth" }] : /* istanbul ignore next */ []);
|
|
17196
|
+
boxAlign = computed(() => this.sectionContext?.align?.() ?? "left", ...ngDevMode ? [{ debugName: "boxAlign" }] : /* istanbul ignore next */ []);
|
|
17194
17197
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17195
17198
|
minVersion: "12.0.0",
|
|
17196
17199
|
version: "22.2.1",
|
|
@@ -17219,6 +17222,13 @@ var SectionFooterComponent = class SectionFooterComponent {
|
|
|
17219
17222
|
isSignal: true,
|
|
17220
17223
|
isRequired: false,
|
|
17221
17224
|
transformFunction: null
|
|
17225
|
+
},
|
|
17226
|
+
maxWidth: {
|
|
17227
|
+
classPropertyName: "maxWidth",
|
|
17228
|
+
publicName: "maxWidth",
|
|
17229
|
+
isSignal: true,
|
|
17230
|
+
isRequired: false,
|
|
17231
|
+
transformFunction: null
|
|
17222
17232
|
}
|
|
17223
17233
|
},
|
|
17224
17234
|
host: {
|
|
@@ -17229,14 +17239,17 @@ var SectionFooterComponent = class SectionFooterComponent {
|
|
|
17229
17239
|
"class.align-center": "align() === \"center\"",
|
|
17230
17240
|
"class.align-right": "align() === \"right\"",
|
|
17231
17241
|
"class.has-sidepanel": "sidepanel()",
|
|
17232
|
-
"class.no-border": "noBorder()"
|
|
17242
|
+
"class.no-border": "noBorder()",
|
|
17243
|
+
"class.box-center": "boxAlign() === \"center\"",
|
|
17244
|
+
"class.box-right": "boxAlign() === \"right\"",
|
|
17245
|
+
"style.--m-section-footer-max-width": "resolvedMaxWidth()"
|
|
17233
17246
|
},
|
|
17234
17247
|
classAttribute: "m-section-footer"
|
|
17235
17248
|
},
|
|
17236
17249
|
ngImport: i0,
|
|
17237
|
-
template: `<ng-content
|
|
17250
|
+
template: `<div class="section-footer__container"><ng-content /></div>`,
|
|
17238
17251
|
isInline: true,
|
|
17239
|
-
styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:flex;align-items:center;
|
|
17252
|
+
styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:flex;align-items:center;min-height:var(--section-footer-min-height, calc(var(--section-footer-py, .5rem) * 2 + 1.25rem));border-top:1px solid var(--m-backdrop-border);padding:var(--section-footer-py, .85rem) var(--section-px, 1rem);width:100%;box-sizing:border-box}:host(.no-border){border-top:none}.section-footer__container{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;min-width:0;max-width:var(--m-section-footer-max-width, none);margin-inline:0 auto}:host(.box-center) .section-footer__container{margin-inline:auto}:host(.box-right) .section-footer__container{margin-inline:auto 0}:host(.align-left) .section-footer__container{justify-content:flex-start}:host(.align-center) .section-footer__container{justify-content:center}:host(.align-right) .section-footer__container{justify-content:flex-end}:host(.is-sticky-enabled){position:sticky;bottom:0;z-index:10}:host(.is-sticky-enabled){background:color-mix(in srgb,var(--m-background) 80%,transparent);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%)}\n"],
|
|
17240
17253
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
17241
17254
|
});
|
|
17242
17255
|
};
|
|
@@ -17249,7 +17262,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17249
17262
|
type: Component,
|
|
17250
17263
|
args: [{
|
|
17251
17264
|
selector: "m-section-footer",
|
|
17252
|
-
template: `<ng-content
|
|
17265
|
+
template: `<div class="section-footer__container"><ng-content /></div>`,
|
|
17253
17266
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17254
17267
|
host: {
|
|
17255
17268
|
class: "m-section-footer",
|
|
@@ -17259,9 +17272,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17259
17272
|
"[class.align-center]": "align() === \"center\"",
|
|
17260
17273
|
"[class.align-right]": "align() === \"right\"",
|
|
17261
17274
|
"[class.has-sidepanel]": "sidepanel()",
|
|
17262
|
-
"[class.no-border]": "noBorder()"
|
|
17275
|
+
"[class.no-border]": "noBorder()",
|
|
17276
|
+
"[class.box-center]": "boxAlign() === \"center\"",
|
|
17277
|
+
"[class.box-right]": "boxAlign() === \"right\"",
|
|
17278
|
+
"[style.--m-section-footer-max-width]": "resolvedMaxWidth()"
|
|
17263
17279
|
},
|
|
17264
|
-
styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:flex;align-items:center;
|
|
17280
|
+
styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:flex;align-items:center;min-height:var(--section-footer-min-height, calc(var(--section-footer-py, .5rem) * 2 + 1.25rem));border-top:1px solid var(--m-backdrop-border);padding:var(--section-footer-py, .85rem) var(--section-px, 1rem);width:100%;box-sizing:border-box}:host(.no-border){border-top:none}.section-footer__container{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;min-width:0;max-width:var(--m-section-footer-max-width, none);margin-inline:0 auto}:host(.box-center) .section-footer__container{margin-inline:auto}:host(.box-right) .section-footer__container{margin-inline:auto 0}:host(.align-left) .section-footer__container{justify-content:flex-start}:host(.align-center) .section-footer__container{justify-content:center}:host(.align-right) .section-footer__container{justify-content:flex-end}:host(.is-sticky-enabled){position:sticky;bottom:0;z-index:10}:host(.is-sticky-enabled){background:color-mix(in srgb,var(--m-background) 80%,transparent);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%)}\n"]
|
|
17265
17281
|
}]
|
|
17266
17282
|
}],
|
|
17267
17283
|
propDecorators: {
|
|
@@ -17280,6 +17296,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17280
17296
|
alias: "align",
|
|
17281
17297
|
required: false
|
|
17282
17298
|
}]
|
|
17299
|
+
}],
|
|
17300
|
+
maxWidth: [{
|
|
17301
|
+
type: i0.Input,
|
|
17302
|
+
args: [{
|
|
17303
|
+
isSignal: true,
|
|
17304
|
+
alias: "maxWidth",
|
|
17305
|
+
required: false
|
|
17306
|
+
}]
|
|
17283
17307
|
}]
|
|
17284
17308
|
}
|
|
17285
17309
|
});
|