@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.
@@ -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,iDAqEtB,CAAC"}
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"}
@@ -8,6 +8,7 @@ export const cardStyles = () => css `
8
8
  background-color: var(--ml-color-surface);
9
9
  border-radius: var(--ml-radius-lg);
10
10
  overflow: hidden;
11
+ height: 100%;
11
12
  }
12
13
 
13
14
  .ml-card--default {
@@ -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;AAK/D,qBAMa,eAAgB,YAAW,WAAW,EAAE,SAAS;IACtD,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,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"}
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"}
@@ -17,6 +17,9 @@ let DialogComponent = class DialogComponent {
17
17
  this._dialogID = newID();
18
18
  this._registered = false;
19
19
  }
20
+ onCreate() {
21
+ this.registerDialog();
22
+ }
20
23
  registerDialog() {
21
24
  if (this._registered)
22
25
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melodicdev/components",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Themeable UI component library built on the Melodic Framework",
5
5
  "license": "MIT",
6
6
  "author": "Melodic Development",