@ctrliq/quantic-components 1.61.2 → 1.61.4

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.
@@ -47,16 +47,14 @@ DialogBackdropElement.styles = css `
47
47
  }
48
48
 
49
49
  .backdrop--subtle {
50
- background-color: rgba(
51
- var(--quantic-component-dialog-backdrop-color),
52
- 0.5
50
+ background-color: rgb(
51
+ var(--quantic-component-dialog-backdrop-color) / 0.7
53
52
  );
54
53
  }
55
54
 
56
55
  .backdrop--opaque {
57
- background-color: rgba(
58
- var(--quantic-component-dialog-backdrop-color),
59
- 0.95
56
+ background-color: rgb(
57
+ var(--quantic-component-dialog-backdrop-color) / 0.8
60
58
  );
61
59
  backdrop-filter: blur(4px);
62
60
  }
@@ -67,10 +65,20 @@ DialogBackdropElement.styles = css `
67
65
  }
68
66
  `;
69
67
  __decorate([
70
- prop({ type: 'boolean', default: 'false', reflect: true, description: 'Whether the backdrop is visible.' })
68
+ prop({
69
+ type: 'boolean',
70
+ default: 'false',
71
+ reflect: true,
72
+ description: 'Whether the backdrop is visible.',
73
+ })
71
74
  ], DialogBackdropElement.prototype, "visible", void 0);
72
75
  __decorate([
73
- prop({ type: 'DialogBackdrop', options: Object.values(DialogBackdrop), default: DialogBackdrop.Opaque, description: 'Visual style of the backdrop overlay.' })
76
+ prop({
77
+ type: 'DialogBackdrop',
78
+ options: Object.values(DialogBackdrop),
79
+ default: DialogBackdrop.Opaque,
80
+ description: 'Visual style of the backdrop overlay.',
81
+ })
74
82
  ], DialogBackdropElement.prototype, "variant", void 0);
75
83
  DialogBackdropElement = __decorate([
76
84
  quanticElement('quantic-dialog-backdrop')
@@ -1,8 +1,6 @@
1
1
  import { type PropertyValues } from 'lit';
2
2
  import { QuanticElement } from '../shared/quantic-element';
3
3
  import { DialogSize, DialogBackdrop, DialogRole } from './index.constants';
4
- import '../button';
5
- import '../icon';
6
4
  import type { ComponentMeta } from '../shared/meta.types';
7
5
  export { DialogSize, DialogBackdrop, DialogRole } from './index.constants';
8
6
  declare const Dialog_base: typeof QuanticElement & import("../shared/shared.types").LitConstructor<import("../shared/auto-hide-empty-slots.mixin").AutoHideEmptySlotsInterface>;
@@ -11,12 +11,16 @@ import { classMap } from 'lit/directives/class-map.js';
11
11
  import { AutoHideEmptySlotsMixin } from '../shared/auto-hide-empty-slots.mixin';
12
12
  import { generateId } from '../shared/shared.utils';
13
13
  import { DialogSize, DialogBackdrop, DialogRole } from './index.constants';
14
+ import { DialogBackdropElement } from './dialog-backdrop';
15
+ import { Button } from '../button';
16
+ import { LucideIconX } from '../icon/__generated__/lucide/x';
14
17
  import { createFocusTrap } from 'focus-trap';
15
- import '../button';
16
- import '../icon';
17
18
  import { ifDefined } from 'lit/directives/if-defined.js';
18
19
  import { event, prop } from '../shared/component-meta.decorators';
19
20
  export { DialogSize, DialogBackdrop, DialogRole } from './index.constants';
21
+ DialogBackdropElement.ensureDefined();
22
+ Button.ensureDefined();
23
+ LucideIconX.ensureDefined();
20
24
  let Dialog = class Dialog extends AutoHideEmptySlotsMixin(QuanticElement) {
21
25
  constructor() {
22
26
  super(...arguments);