@hantera/design-system 20250812.0.0-2025.2.1 → 20250923.0.0-2025.2.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.
Files changed (2) hide show
  1. package/dist/entry.d.ts +20 -3
  2. package/package.json +1 -1
package/dist/entry.d.ts CHANGED
@@ -26,11 +26,11 @@ import { WatchStopHandle } from 'vue';
26
26
  declare const __VLS_component: DefineComponent< {
27
27
  label?: string;
28
28
  disabled?: boolean;
29
- buttonStyle?: "primary" | "warning" | "danger" | "silent";
29
+ buttonStyle?: "default" | "primary" | "warning" | "danger" | "silent";
30
30
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
31
31
  label?: string;
32
32
  disabled?: boolean;
33
- buttonStyle?: "primary" | "warning" | "danger" | "silent";
33
+ buttonStyle?: "default" | "primary" | "warning" | "danger" | "silent";
34
34
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
35
 
36
36
  declare const __VLS_component_10: DefineComponent< {
@@ -143,6 +143,10 @@ onDrop?: ((payload: DragPayload) => any) | undefined;
143
143
 
144
144
  declare const __VLS_component_19: DefineComponent< {
145
145
  target?: DropdownTarget | null;
146
+ /**
147
+ * Renders the dropdown as a popover instead of dialog. Popovers do not take focus on opening.
148
+ */
149
+ popover?: boolean;
146
150
  }, {
147
151
  open: typeof open_3;
148
152
  close: typeof close_3;
@@ -152,6 +156,10 @@ close: () => any;
152
156
  open: () => any;
153
157
  }, string, PublicProps, Readonly<{
154
158
  target?: DropdownTarget | null;
159
+ /**
160
+ * Renders the dropdown as a popover instead of dialog. Popovers do not take focus on opening.
161
+ */
162
+ popover?: boolean;
155
163
  }> & Readonly<{
156
164
  onClose?: (() => any) | undefined;
157
165
  onOpen?: (() => any) | undefined;
@@ -333,6 +341,7 @@ declare function __VLS_template(): {
333
341
  $data: {};
334
342
  $props: {
335
343
  readonly target?: (DropdownTarget | null) | undefined;
344
+ readonly popover?: boolean | undefined;
336
345
  readonly onClose?: (() => any) | undefined;
337
346
  readonly onOpen?: (() => any) | undefined;
338
347
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -352,6 +361,7 @@ declare function __VLS_template(): {
352
361
  $el: any;
353
362
  $options: ComponentOptionsBase<Readonly<{
354
363
  target?: DropdownTarget | null;
364
+ popover?: boolean;
355
365
  }> & Readonly<{
356
366
  onClose?: (() => any) | undefined;
357
367
  onOpen?: (() => any) | undefined;
@@ -384,6 +394,7 @@ declare function __VLS_template(): {
384
394
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
385
395
  } & Readonly<{}> & Omit<Readonly<{
386
396
  target?: DropdownTarget | null;
397
+ popover?: boolean;
387
398
  }> & Readonly<{
388
399
  onClose?: (() => any) | undefined;
389
400
  onOpen?: (() => any) | undefined;
@@ -427,6 +438,7 @@ declare function __VLS_template_12(): {
427
438
  $data: {};
428
439
  $props: {
429
440
  readonly target?: (DropdownTarget | null) | undefined;
441
+ readonly popover?: boolean | undefined;
430
442
  readonly onClose?: (() => any) | undefined;
431
443
  readonly onOpen?: (() => any) | undefined;
432
444
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -446,6 +458,7 @@ declare function __VLS_template_12(): {
446
458
  $el: any;
447
459
  $options: ComponentOptionsBase<Readonly<{
448
460
  target?: DropdownTarget | null;
461
+ popover?: boolean;
449
462
  }> & Readonly<{
450
463
  onClose?: (() => any) | undefined;
451
464
  onOpen?: (() => any) | undefined;
@@ -478,6 +491,7 @@ declare function __VLS_template_12(): {
478
491
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
479
492
  } & Readonly<{}> & Omit<Readonly<{
480
493
  target?: DropdownTarget | null;
494
+ popover?: boolean;
481
495
  }> & Readonly<{
482
496
  onClose?: (() => any) | undefined;
483
497
  onOpen?: (() => any) | undefined;
@@ -560,7 +574,7 @@ declare function __VLS_template_19(): {
560
574
  default?(_: {}): any;
561
575
  };
562
576
  refs: {
563
- dropdown: HTMLDialogElement;
577
+ dropdown: unknown;
564
578
  };
565
579
  attrs: Partial<{}>;
566
580
  };
@@ -621,6 +635,7 @@ declare function __VLS_template_24(): {
621
635
  $data: {};
622
636
  $props: {
623
637
  readonly target?: (DropdownTarget | null) | undefined;
638
+ readonly popover?: boolean | undefined;
624
639
  readonly onClose?: (() => any) | undefined;
625
640
  readonly onOpen?: (() => any) | undefined;
626
641
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -640,6 +655,7 @@ declare function __VLS_template_24(): {
640
655
  $el: any;
641
656
  $options: ComponentOptionsBase<Readonly<{
642
657
  target?: DropdownTarget | null;
658
+ popover?: boolean;
643
659
  }> & Readonly<{
644
660
  onClose?: (() => any) | undefined;
645
661
  onOpen?: (() => any) | undefined;
@@ -672,6 +688,7 @@ declare function __VLS_template_24(): {
672
688
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
673
689
  } & Readonly<{}> & Omit<Readonly<{
674
690
  target?: DropdownTarget | null;
691
+ popover?: boolean;
675
692
  }> & Readonly<{
676
693
  onClose?: (() => any) | undefined;
677
694
  onOpen?: (() => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hantera/design-system",
3
- "version": "20250812.0.0-2025.2.1",
3
+ "version": "20250923.0.0-2025.2.2",
4
4
  "types": "./dist/entry.d.ts",
5
5
  "scripts": {
6
6
  "build": "cpx ../../design-system/dist/**/*.d.ts ./dist -C"