@ctrliq/quantic-components 1.63.0 → 1.63.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.
@@ -1,8 +1,6 @@
1
1
  import { type PropertyValues } from 'lit';
2
2
  import { QuanticElement } from '../shared/quantic-element';
3
3
  import { AlertType } from './index.constants';
4
- import '../button';
5
- import '../icon';
6
4
  import type { ComponentMeta } from '../shared/meta.types';
7
5
  export { AlertType } from './index.constants';
8
6
  declare const Alert_base: typeof QuanticElement & import("../shared/shared.types").LitConstructor<import("../shared/auto-hide-empty-slots.mixin").AutoHideEmptySlotsInterface>;
@@ -8,10 +8,20 @@ import { css, html, nothing } from 'lit';
8
8
  import { quanticElement, QuanticElement } from '../shared/quantic-element';
9
9
  import { AutoHideEmptySlotsMixin } from '../shared/auto-hide-empty-slots.mixin';
10
10
  import { AlertType } from './index.constants';
11
- import '../button';
12
- import '../icon';
11
+ import { Button } from '../button';
12
+ import { LucideIconCircleCheck } from '../icon/__generated__/lucide/circle-check';
13
+ import { LucideIconCircleX } from '../icon/__generated__/lucide/circle-x';
14
+ import { LucideIconInfo } from '../icon/__generated__/lucide/info';
15
+ import { LucideIconTriangleAlert } from '../icon/__generated__/lucide/triangle-alert';
16
+ import { LucideIconX } from '../icon/__generated__/lucide/x';
13
17
  import { event, prop } from '../shared/component-meta.decorators';
14
18
  export { AlertType } from './index.constants';
19
+ Button.ensureDefined();
20
+ LucideIconCircleCheck.ensureDefined();
21
+ LucideIconCircleX.ensureDefined();
22
+ LucideIconInfo.ensureDefined();
23
+ LucideIconTriangleAlert.ensureDefined();
24
+ LucideIconX.ensureDefined();
15
25
  let Alert = class Alert extends AutoHideEmptySlotsMixin(QuanticElement) {
16
26
  constructor() {
17
27
  super(...arguments);
@@ -6,5 +6,5 @@ export declare class IconBase extends QuanticElement {
6
6
  role: string;
7
7
  size: IconSize | number;
8
8
  strokeWidth?: number;
9
- updated(changed: Map<string, number | IconSize>): void;
9
+ willUpdate(changed: Map<string, number | IconSize>): void;
10
10
  }
@@ -15,7 +15,7 @@ export class IconBase extends QuanticElement {
15
15
  this.role = 'presentation';
16
16
  this.size = IconSize.Medium;
17
17
  }
18
- updated(changed) {
18
+ willUpdate(changed) {
19
19
  if (changed.has('size') && typeof this.size === 'number') {
20
20
  this.style.setProperty('--icon-size', `${this.size}px`);
21
21
  }
package/dist/icons.js CHANGED
@@ -110,7 +110,7 @@ class IconBase extends QuanticElement {
110
110
  this.role = 'presentation';
111
111
  this.size = IconSize.Medium;
112
112
  }
113
- updated(changed) {
113
+ willUpdate(changed) {
114
114
  if (changed.has('size') && typeof this.size === 'number') {
115
115
  this.style.setProperty('--icon-size', `${this.size}px`);
116
116
  }