@melodicdev/components 1.0.20 → 1.0.22
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/assets/melodic-components.js +4 -0
- package/assets/melodic-components.js.map +1 -1
- package/assets/melodic-components.min.js +4 -0
- package/lib/components/foundation/card/card.styles.d.ts.map +1 -1
- package/lib/components/foundation/card/card.styles.js +1 -0
- package/lib/components/overlays/dialog/dialog.component.d.ts +3 -2
- package/lib/components/overlays/dialog/dialog.component.d.ts.map +1 -1
- package/lib/components/overlays/dialog/dialog.component.js +3 -0
- package/package.json +1 -1
|
@@ -8948,6 +8948,7 @@ const ro = () => y`
|
|
|
8948
8948
|
background-color: var(--ml-color-surface);
|
|
8949
8949
|
border-radius: var(--ml-radius-lg);
|
|
8950
8950
|
overflow: hidden;
|
|
8951
|
+
height: 100%;
|
|
8951
8952
|
}
|
|
8952
8953
|
|
|
8953
8954
|
.ml-card--default {
|
|
@@ -16813,6 +16814,9 @@ var nr, Te = class {
|
|
|
16813
16814
|
constructor() {
|
|
16814
16815
|
this._dialogID = ea(), this._registered = !1;
|
|
16815
16816
|
}
|
|
16817
|
+
onCreate() {
|
|
16818
|
+
this.registerDialog();
|
|
16819
|
+
}
|
|
16816
16820
|
registerDialog() {
|
|
16817
16821
|
if (this._registered) return;
|
|
16818
16822
|
const t = this.elementRef.shadowRoot?.querySelector("dialog");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/card/card.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/card/card.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,iDAsEtB,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { OnDestroy, IElementRef } from '@melodicdev/core';
|
|
2
|
-
export declare class DialogComponent implements IElementRef, OnDestroy {
|
|
1
|
+
import type { OnCreate, OnDestroy, IElementRef } from '@melodicdev/core';
|
|
2
|
+
export declare class DialogComponent implements IElementRef, OnCreate, OnDestroy {
|
|
3
3
|
elementRef: HTMLElement;
|
|
4
4
|
private readonly _dialogService;
|
|
5
5
|
private _dialogID;
|
|
6
6
|
private _dialogEl;
|
|
7
7
|
private _dialogRef;
|
|
8
8
|
private _registered;
|
|
9
|
+
onCreate(): void;
|
|
9
10
|
private registerDialog;
|
|
10
11
|
onDestroy(): void;
|
|
11
12
|
open(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/components/overlays/dialog/dialog.component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/components/overlays/dialog/dialog.component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKzE,qBAMa,eAAgB,YAAW,WAAW,EAAE,QAAQ,EAAE,SAAS;IAChE,UAAU,EAAG,WAAW,CAAC;IAGhC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAiB;IAEhD,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,WAAW,CAAS;IAE5B,QAAQ,IAAI,IAAI;IAIhB,OAAO,CAAC,cAAc;IAatB,SAAS,IAAI,IAAI;IAIjB,IAAI,IAAI,IAAI;IAKZ,KAAK,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI;IAIpC,OAAO,CAAC,cAAc;CAQtB"}
|