@hantera/design-system 20250602.0.0-develop.1 → 20250707.0.0-develop.1

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 +183 -66
  2. package/package.json +1 -1
package/dist/entry.d.ts CHANGED
@@ -17,7 +17,6 @@ import { nextTick } from 'vue';
17
17
  import { OnCleanup } from '@vue/reactivity';
18
18
  import { Plugin as Plugin_2 } from 'vue';
19
19
  import { PublicProps } from 'vue';
20
- import { Ref } from 'vue';
21
20
  import { ShallowUnwrapRef } from 'vue';
22
21
  import { Slot } from 'vue';
23
22
  import { VNodeProps } from 'vue';
@@ -35,12 +34,18 @@ buttonStyle?: "primary" | "warning" | "danger" | "silent";
35
34
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
36
35
 
37
36
  declare const __VLS_component_10: DefineComponent< {
37
+ href: string;
38
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
39
+ href: string;
40
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
41
+
42
+ declare const __VLS_component_11: DefineComponent< {
38
43
  loading: boolean;
39
44
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
40
45
  loading: boolean;
41
46
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
47
 
43
- declare const __VLS_component_11: DefineComponent< {
48
+ declare const __VLS_component_12: DefineComponent< {
44
49
  selectedValues: string[];
45
50
  availableSets: DataColumnValuesEnumSet[];
46
51
  onAdd?: any;
@@ -58,19 +63,29 @@ onAdd?: ((value: DataColumnValuesEnumValue) => any) | undefined;
58
63
  onRemove?: ((value: DataColumnValuesEnumValue) => any) | undefined;
59
64
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
60
65
 
61
- declare const __VLS_component_12: DefineComponent< {
62
- cacheKey: string;
66
+ declare const __VLS_component_13: DefineComponent< {
67
+ cacheKey?: string;
63
68
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
64
- cacheKey: string;
69
+ cacheKey?: string;
65
70
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
66
71
 
67
- declare const __VLS_component_13: DefineComponent< {
72
+ declare const __VLS_component_14: DefineComponent< {
68
73
  provider: InspectorProvider;
69
74
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
70
75
  provider: InspectorProvider;
71
76
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
72
77
 
73
- declare const __VLS_component_14: DefineComponent< {
78
+ declare const __VLS_component_15: DefineComponent< {
79
+ cacheKey?: string;
80
+ provider: DataProvider;
81
+ detailComponent: any;
82
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
83
+ cacheKey?: string;
84
+ provider: DataProvider;
85
+ detailComponent: any;
86
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
87
+
88
+ declare const __VLS_component_16: DefineComponent< {
74
89
  type: string;
75
90
  data: any;
76
91
  metadata?: Record<string, any>;
@@ -90,7 +105,7 @@ mode?: "hit" | "closest";
90
105
  onDropped?: ((zone: DropZoneRef) => any) | undefined;
91
106
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
92
107
 
93
- declare const __VLS_component_15: DefineComponent< {
108
+ declare const __VLS_component_17: DefineComponent< {
94
109
  type: string;
95
110
  data: any;
96
111
  metadata?: Record<string, any>;
@@ -112,7 +127,7 @@ onDropBefore?: ((payload: DragPayload) => any) | undefined;
112
127
  onDropAfter?: ((payload: DragPayload) => any) | undefined;
113
128
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
114
129
 
115
- declare const __VLS_component_16: DefineComponent< {
130
+ declare const __VLS_component_18: DefineComponent< {
116
131
  accepts: string | string[];
117
132
  metadata?: Record<string, any>;
118
133
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -124,7 +139,7 @@ metadata?: Record<string, any>;
124
139
  onDrop?: ((payload: DragPayload) => any) | undefined;
125
140
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
126
141
 
127
- declare const __VLS_component_17: DefineComponent< {
142
+ declare const __VLS_component_19: DefineComponent< {
128
143
  target?: DropDownTarget | null;
129
144
  }, {
130
145
  open: typeof open_3;
@@ -140,7 +155,15 @@ onClose?: (() => any) | undefined;
140
155
  onOpen?: (() => any) | undefined;
141
156
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
142
157
 
143
- declare const __VLS_component_18: DefineComponent< {
158
+ declare const __VLS_component_2: DefineComponent< {
159
+ to: string;
160
+ label?: string;
161
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
162
+ to: string;
163
+ label?: string;
164
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
165
+
166
+ declare const __VLS_component_20: DefineComponent< {
144
167
  disabled?: boolean;
145
168
  title?: string;
146
169
  onClick?: any;
@@ -154,7 +177,7 @@ onClick?: any;
154
177
  onClick?: ((preventClose: () => void) => any) | undefined;
155
178
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
156
179
 
157
- declare const __VLS_component_19: DefineComponent< {
180
+ declare const __VLS_component_21: DefineComponent< {
158
181
  selected: boolean;
159
182
  closeOnClick?: boolean;
160
183
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -166,21 +189,13 @@ closeOnClick?: boolean;
166
189
  onClick?: (() => any) | undefined;
167
190
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
168
191
 
169
- declare const __VLS_component_2: DefineComponent< {
170
- to: string;
171
- label?: string;
172
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
173
- to: string;
174
- label?: string;
175
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
176
-
177
- declare const __VLS_component_20: DefineComponent< {
192
+ declare const __VLS_component_22: DefineComponent< {
178
193
  title?: string;
179
194
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
180
195
  title?: string;
181
196
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
182
197
 
183
- declare const __VLS_component_21: DefineComponent< {
198
+ declare const __VLS_component_23: DefineComponent< {
184
199
  modelValue: string | number;
185
200
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
186
201
  "update:modelValue": (value: string | number) => any;
@@ -190,7 +205,7 @@ modelValue: string | number;
190
205
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
191
206
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
192
207
 
193
- declare const __VLS_component_22: DefineComponent< {
208
+ declare const __VLS_component_24: DefineComponent< {
194
209
  label?: string;
195
210
  count?: number;
196
211
  value: string | number;
@@ -266,22 +281,28 @@ disabled?: boolean;
266
281
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
267
282
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
268
283
 
269
- declare const __VLS_component_9: DefineComponent< {
270
- href: string;
271
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
272
- href: string;
273
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
284
+ declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
285
+ "update:modelValue": (modelValue: any) => any;
286
+ } & {
287
+ "update:modelValue": (value: any) => any;
288
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
289
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
290
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
274
291
 
275
292
  declare type __VLS_PublicProps = {
276
293
  modelValue: any;
277
294
  } & typeof __VLS_typeProps;
278
295
 
279
296
  declare type __VLS_PublicProps_2 = {
297
+ modelValue?: any;
298
+ } & typeof __VLS_typeProps_2;
299
+
300
+ declare type __VLS_PublicProps_3 = {
280
301
  modelValue?: {
281
302
  start: Date;
282
303
  end: Date;
283
304
  } | Date;
284
- } & typeof __VLS_typeProps_2;
305
+ } & typeof __VLS_typeProps_3;
285
306
 
286
307
  declare function __VLS_template(): {
287
308
  slots: {
@@ -372,6 +393,14 @@ declare function __VLS_template_10(): {
372
393
  };
373
394
 
374
395
  declare function __VLS_template_11(): {
396
+ slots: {
397
+ default?(_: {}): any;
398
+ };
399
+ refs: {};
400
+ attrs: Partial<{}>;
401
+ };
402
+
403
+ declare function __VLS_template_12(): {
375
404
  slots: {
376
405
  dropdown?(_: {}): any;
377
406
  };
@@ -449,7 +478,7 @@ declare function __VLS_template_11(): {
449
478
  attrs: Partial<{}>;
450
479
  };
451
480
 
452
- declare function __VLS_template_12(): {
481
+ declare function __VLS_template_13(): {
453
482
  slots: {
454
483
  sidebar?(_: {}): any;
455
484
  content?(_: {}): any;
@@ -458,7 +487,7 @@ declare function __VLS_template_12(): {
458
487
  attrs: Partial<{}>;
459
488
  };
460
489
 
461
- declare function __VLS_template_13(): {
490
+ declare function __VLS_template_14(): {
462
491
  slots: {
463
492
  header?(_: {}): any;
464
493
  };
@@ -469,7 +498,18 @@ declare function __VLS_template_13(): {
469
498
  attrs: Partial<{}>;
470
499
  };
471
500
 
472
- declare function __VLS_template_14(): {
501
+ declare function __VLS_template_15(): {
502
+ slots: {
503
+ "list-toolbar"?(_: {}): any;
504
+ "detail-toolbar"?(_: {}): any;
505
+ };
506
+ refs: {
507
+ containerElem: HTMLDivElement;
508
+ };
509
+ attrs: Partial<{}>;
510
+ };
511
+
512
+ declare function __VLS_template_16(): {
473
513
  slots: {
474
514
  default?(_: {}): any;
475
515
  };
@@ -479,7 +519,7 @@ declare function __VLS_template_14(): {
479
519
  attrs: Partial<{}>;
480
520
  };
481
521
 
482
- declare function __VLS_template_15(): {
522
+ declare function __VLS_template_17(): {
483
523
  slots: {
484
524
  default?(_: {}): any;
485
525
  };
@@ -489,7 +529,7 @@ declare function __VLS_template_15(): {
489
529
  attrs: Partial<{}>;
490
530
  };
491
531
 
492
- declare function __VLS_template_16(): {
532
+ declare function __VLS_template_18(): {
493
533
  slots: {
494
534
  default?(_: {}): any;
495
535
  };
@@ -499,7 +539,7 @@ declare function __VLS_template_16(): {
499
539
  attrs: Partial<{}>;
500
540
  };
501
541
 
502
- declare function __VLS_template_17(): {
542
+ declare function __VLS_template_19(): {
503
543
  slots: {
504
544
  default?(_: {}): any;
505
545
  };
@@ -509,15 +549,18 @@ declare function __VLS_template_17(): {
509
549
  attrs: Partial<{}>;
510
550
  };
511
551
 
512
- declare function __VLS_template_18(): {
552
+ declare function __VLS_template_2(): {
513
553
  slots: {
514
554
  default?(_: {}): any;
555
+ dropdown?(_: {}): any;
556
+ };
557
+ refs: {
558
+ element: HTMLLIElement;
515
559
  };
516
- refs: {};
517
560
  attrs: Partial<{}>;
518
561
  };
519
562
 
520
- declare function __VLS_template_19(): {
563
+ declare function __VLS_template_20(): {
521
564
  slots: {
522
565
  default?(_: {}): any;
523
566
  };
@@ -525,18 +568,15 @@ declare function __VLS_template_19(): {
525
568
  attrs: Partial<{}>;
526
569
  };
527
570
 
528
- declare function __VLS_template_2(): {
571
+ declare function __VLS_template_21(): {
529
572
  slots: {
530
573
  default?(_: {}): any;
531
- dropdown?(_: {}): any;
532
- };
533
- refs: {
534
- element: HTMLLIElement;
535
574
  };
575
+ refs: {};
536
576
  attrs: Partial<{}>;
537
577
  };
538
578
 
539
- declare function __VLS_template_20(): {
579
+ declare function __VLS_template_22(): {
540
580
  slots: {
541
581
  default?(_: {}): any;
542
582
  };
@@ -544,7 +584,7 @@ declare function __VLS_template_20(): {
544
584
  attrs: Partial<{}>;
545
585
  };
546
586
 
547
- declare function __VLS_template_21(): {
587
+ declare function __VLS_template_23(): {
548
588
  slots: {
549
589
  actions?(_: {}): any;
550
590
  default?(_: {}): any;
@@ -554,7 +594,7 @@ declare function __VLS_template_21(): {
554
594
  attrs: Partial<{}>;
555
595
  };
556
596
 
557
- declare function __VLS_template_22(): {
597
+ declare function __VLS_template_24(): {
558
598
  slots: {
559
599
  content?(_: {}): any;
560
600
  default?(_: {}): any;
@@ -723,6 +763,10 @@ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
723
763
 
724
764
  declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
725
765
 
766
+ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
767
+
768
+ declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
769
+
726
770
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
727
771
 
728
772
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -746,6 +790,12 @@ declare let __VLS_typeProps: {
746
790
  };
747
791
 
748
792
  declare let __VLS_typeProps_2: {
793
+ modelValue: any;
794
+ value: any;
795
+ disabled?: boolean;
796
+ };
797
+
798
+ declare let __VLS_typeProps_3: {
749
799
  minDate?: Date;
750
800
  maxDate?: Date;
751
801
  startOfWeek?: number;
@@ -843,6 +893,18 @@ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
843
893
  };
844
894
  };
845
895
 
896
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
897
+ new (): {
898
+ $slots: S;
899
+ };
900
+ };
901
+
902
+ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
903
+ new (): {
904
+ $slots: S;
905
+ };
906
+ };
907
+
846
908
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
847
909
  new (): {
848
910
  $slots: S;
@@ -895,6 +957,8 @@ export declare const ContextMenuButton: __VLS_WithTemplateSlots_6<typeof __VLS_c
895
957
 
896
958
  export declare interface ContextMenuItem {
897
959
  label: string;
960
+ checked?: boolean;
961
+ icon?: IconName;
898
962
  shortcut?: string;
899
963
  /**
900
964
  * If set to true, the item will only be shown if the shift keys is pressed when the context menu is opened.
@@ -1020,6 +1084,7 @@ export declare interface DataProvider {
1020
1084
  removeColumn?: (columnOption: DataColumnOption) => void;
1021
1085
  setColumnOrder?: (column: DataColumn, newIndex: number) => void;
1022
1086
  setColumnSize?: (columnKey: string, size?: number) => void;
1087
+ isLoading: ComputedRef<boolean>;
1023
1088
  allLoaded: ComputedRef<boolean>;
1024
1089
  rows: ComputedRef<DataRow[]>;
1025
1090
  columns: ComputedRef<DataColumn[]>;
@@ -1034,6 +1099,10 @@ export declare interface DataProvider {
1034
1099
 
1035
1100
  export declare interface DataRow {
1036
1101
  key: string;
1102
+ /**
1103
+ * If specified, will color the row in the given hue. CSS custom properties can be specified as strings.
1104
+ */
1105
+ hue?: number | string;
1037
1106
  values: any[];
1038
1107
  }
1039
1108
 
@@ -1060,14 +1129,14 @@ export declare interface DataTableContextMenuProvider {
1060
1129
  forRow(row: DataRow): ContextMenuSections;
1061
1130
  }
1062
1131
 
1063
- export declare const DatePicker: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1132
+ export declare const DatePicker: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1064
1133
  "update:modelValue": (modelValue: Date | {
1065
1134
  start: Date;
1066
1135
  end: Date;
1067
1136
  }) => any;
1068
1137
  } & {
1069
1138
  "update:selectionState": (value: "single" | "start" | "end") => any;
1070
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
1139
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
1071
1140
  "onUpdate:modelValue"?: ((modelValue: Date | {
1072
1141
  start: Date;
1073
1142
  end: Date;
@@ -1124,9 +1193,9 @@ export declare interface DecimalInputValue {
1124
1193
  declare const _default: Plugin_2<[]>;
1125
1194
  export default _default;
1126
1195
 
1127
- export declare const Draggable: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1196
+ export declare const Draggable: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1128
1197
 
1129
- export declare const DraggableListItem: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1198
+ export declare const DraggableListItem: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1130
1199
 
1131
1200
  export declare interface DragPayload {
1132
1201
  type: string;
@@ -1142,19 +1211,23 @@ export declare interface DragPayload {
1142
1211
  sourceElement?: HTMLElement | null;
1143
1212
  metadata?: Record<string, any>;
1144
1213
  onDrop?: (zone: DropZoneRef) => void;
1214
+ /**
1215
+ * If set, handler will be called if the drag operation did not move the item.
1216
+ */
1217
+ onClick?: () => void;
1145
1218
  }
1146
1219
 
1147
1220
  export declare const DropdownButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1148
1221
 
1149
- export declare const DropdownCheckbox: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1222
+ export declare const DropdownCheckbox: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1150
1223
 
1151
1224
  export declare const DropdownDivider: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1152
1225
 
1153
- export declare const DropdownGroup: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1226
+ export declare const DropdownGroup: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1154
1227
 
1155
- export declare const DropdownItem: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1228
+ export declare const DropdownItem: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1156
1229
 
1157
- export declare const DropdownMenu: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1230
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1158
1231
 
1159
1232
  export declare type DropDownTarget = Element | DropDownTargetPoint;
1160
1233
 
@@ -1163,7 +1236,7 @@ export declare interface DropDownTargetPoint {
1163
1236
  y: number;
1164
1237
  }
1165
1238
 
1166
- export declare const DropZone: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1239
+ export declare const DropZone: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1167
1240
 
1168
1241
  export declare interface DropZoneRef {
1169
1242
  accepts: string | string[];
@@ -1172,11 +1245,11 @@ export declare interface DropZoneRef {
1172
1245
  onDrop?: (payload: DragPayload) => void;
1173
1246
  }
1174
1247
 
1175
- export declare const EnumsBar: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1248
+ export declare const EnumsBar: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1176
1249
 
1177
1250
  export declare const Expandable: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1178
1251
 
1179
- export declare const ExternalLink: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1252
+ export declare const ExternalLink: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1180
1253
 
1181
1254
  export declare const FloatingPanel: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1182
1255
 
@@ -1188,10 +1261,18 @@ declare function focus_4(): void;
1188
1261
 
1189
1262
  declare function focus_5(): void;
1190
1263
 
1264
+ export declare const Icon: DefineComponent< {
1265
+ name: IconName;
1266
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
1267
+ name: IconName;
1268
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1269
+
1191
1270
  export declare const IconArrow: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1192
1271
 
1193
1272
  export declare const IconArrows: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1194
1273
 
1274
+ export declare const IconCheck: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1275
+
1195
1276
  export declare const IconChevron: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1196
1277
 
1197
1278
  export declare const IconClose: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1202,6 +1283,8 @@ export declare const IconHamburger: DefineComponent< {}, {}, {}, {}, {}, Comp
1202
1283
 
1203
1284
  export declare const IconInbound: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1204
1285
 
1286
+ export declare type IconName = 'close' | 'check' | 'plus' | 'chevron' | 'folder' | 'outbound' | 'inbound' | 'question' | 'reload' | 'filter' | 'redo' | 'undo' | 'hamburger' | 'warning' | 'arrow' | 'arrows' | 'square' | 'squareSplitHorizontal' | 'squareSplitVertical';
1287
+
1205
1288
  export declare const IconOutbound: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1206
1289
 
1207
1290
  export declare const IconPlus: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1212,6 +1295,12 @@ export declare const IconRedo: DefineComponent< {}, {}, {}, {}, {}, Component
1212
1295
 
1213
1296
  export declare const IconReload: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1214
1297
 
1298
+ export declare const IconSquare: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1299
+
1300
+ export declare const IconSquareSplitHorizontal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1301
+
1302
+ export declare const IconSquareSplitVertical: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1303
+
1215
1304
  export declare const IconUndo: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1216
1305
 
1217
1306
  export declare const IconWarning: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1242,7 +1331,7 @@ onFocus?: ((value: Event) => any) | undefined;
1242
1331
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1243
1332
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1244
1333
 
1245
- export declare const InspectorLayout: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1334
+ export declare const InspectorLayout: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1246
1335
 
1247
1336
  /**
1248
1337
  * Defines the provider that provides InspectorLayout with content to render
@@ -1253,7 +1342,7 @@ export declare interface InspectorProvider {
1253
1342
  */
1254
1343
  state?: {
1255
1344
  label: string;
1256
- hue?: number;
1345
+ hue?: number | string;
1257
1346
  };
1258
1347
  /**
1259
1348
  * If set, adds the title to the header
@@ -1274,7 +1363,7 @@ export declare interface InspectorProvider {
1274
1363
  * The currently selected tab. 0 means select first tab which is summary
1275
1364
  * or first tab depending on viewport size.
1276
1365
  */
1277
- selectedTab: Ref<string | number>;
1366
+ selectedTab: string | number;
1278
1367
  tabs: {
1279
1368
  key: string;
1280
1369
  label: string;
@@ -1288,9 +1377,11 @@ export declare interface InspectorProvider {
1288
1377
 
1289
1378
  declare function isOpen(): boolean;
1290
1379
 
1380
+ export declare const ListDetailLayout: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1381
+
1291
1382
  export declare const ListLink: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1292
1383
 
1293
- export declare const LoadingArea: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1384
+ export declare const LoadingArea: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1294
1385
 
1295
1386
  declare function open_2(): void;
1296
1387
 
@@ -1337,6 +1428,8 @@ isValid: boolean;
1337
1428
  defaultCountry: string;
1338
1429
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1339
1430
 
1431
+ export declare const RadioButton: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1432
+
1340
1433
  export declare const RemoveButton: DefineComponent< {
1341
1434
  /**
1342
1435
  * If this button is used on an "inverted" background, set to true to increase contrast
@@ -1385,13 +1478,13 @@ declare function setError_3(message?: string): void;
1385
1478
  */
1386
1479
  declare function setError_4(message?: string): void;
1387
1480
 
1388
- export declare const SidebarLayout: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1481
+ export declare const SidebarLayout: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1389
1482
 
1390
1483
  export declare const Spinner: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1391
1484
 
1392
- export declare const TabBar: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1485
+ export declare const TabBar: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1393
1486
 
1394
- export declare const TabItem: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1487
+ export declare const TabItem: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1395
1488
 
1396
1489
  export declare const TextInput: DefineComponent<__VLS_PublicProps, {
1397
1490
  setError: typeof setError;
@@ -1482,8 +1575,9 @@ export declare interface TreeNode {
1482
1575
  id: string;
1483
1576
  children?: TreeNode[];
1484
1577
  label: string | ComputedRef<string>;
1578
+ style?: 'header';
1485
1579
  tags?: TreeNodeTag[] | ComputedRef<TreeNodeTag[]>;
1486
- icon?: string;
1580
+ icon?: IconName;
1487
1581
  onRename?: (newName: string, context: {
1488
1582
  node: TreeNode;
1489
1583
  parentNode?: TreeNode;
@@ -1495,11 +1589,34 @@ export declare interface TreeNode {
1495
1589
  onClick?: () => void;
1496
1590
  isSelected?: () => boolean;
1497
1591
  contextMenu?: ContextMenuSections;
1592
+ dropZone?: {
1593
+ accepts: string | string[];
1594
+ metadata?: Record<string, any>;
1595
+ onDrop: (payload: DragPayload) => void;
1596
+ };
1597
+ draggable?: {
1598
+ type: string;
1599
+ data: any;
1600
+ metadata?: Record<string, any>;
1601
+ };
1602
+ /**
1603
+ * Automatic sorting of children.
1604
+ *
1605
+ * none = Display in actual order
1606
+ * az = Alphabetical
1607
+ * caz = Alphabetical but entries with children comes first
1608
+ */
1609
+ sort?: 'none' | 'az' | 'caz';
1498
1610
  }
1499
1611
 
1500
1612
  export declare interface TreeNodeTag {
1501
1613
  value: string;
1502
- style: 'primary' | 'secondary' | 'tertiary';
1614
+ style: 'primary' | 'secondary' | 'tertiary' | 'hue';
1615
+ /**
1616
+ * If style is hue, this determines the hue value
1617
+ */
1618
+ hue?: number;
1619
+ title?: string;
1503
1620
  }
1504
1621
 
1505
1622
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hantera/design-system",
3
- "version": "20250602.0.0-develop.1",
3
+ "version": "20250707.0.0-develop.1",
4
4
  "types": "./dist/entry.d.ts",
5
5
  "scripts": {
6
6
  "build": "cpx ../../design-system/dist/**/*.d.ts ./dist -C"