@hantera/design-system 20250930.0.0-2025.2.1 → 20251025.1.0

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 +40 -7
  2. package/package.json +1 -1
package/dist/entry.d.ts CHANGED
@@ -46,7 +46,7 @@ loading: boolean;
46
46
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
47
 
48
48
  declare const __VLS_component_12: DefineComponent< {
49
- selectedValues: string[];
49
+ selectedValues?: string[];
50
50
  availableSets: DataColumnValuesEnumSet[];
51
51
  onAdd?: any;
52
52
  onRemove?: any;
@@ -55,7 +55,7 @@ disabled?: boolean;
55
55
  add: (value: DataColumnValuesEnumValue) => any;
56
56
  remove: (value: DataColumnValuesEnumValue) => any;
57
57
  }, string, PublicProps, Readonly<{
58
- selectedValues: string[];
58
+ selectedValues?: string[];
59
59
  availableSets: DataColumnValuesEnumSet[];
60
60
  onAdd?: any;
61
61
  onRemove?: any;
@@ -242,6 +242,7 @@ isRoot?: boolean;
242
242
  declare const __VLS_component_4: DefineComponent< {
243
243
  label: string;
244
244
  showClose?: boolean;
245
+ defaultWidth?: string;
245
246
  }, {
246
247
  open: typeof open_2;
247
248
  openModal: typeof openModal;
@@ -251,6 +252,7 @@ close: () => any;
251
252
  }, string, PublicProps, Readonly<{
252
253
  label: string;
253
254
  showClose?: boolean;
255
+ defaultWidth?: string;
254
256
  }> & Readonly<{
255
257
  onClose?: (() => any) | undefined;
256
258
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1496,15 +1498,13 @@ export declare interface InspectorProvider {
1496
1498
  tabs: InspectorTab[];
1497
1499
  }
1498
1500
 
1499
- declare interface InspectorTab extends NavItemDefinition {
1501
+ export declare interface InspectorTab extends NavItemDefinition {
1500
1502
  /**
1501
1503
  * An HTML tag name, a Component name or Component class reference to render as tab's content.
1502
1504
  */
1503
1505
  component: string | object;
1504
- /**
1505
- * An HTML tag name, a Component name or Component class reference to render as tab's toolbar.
1506
- */
1507
- toolbar?: string | object;
1506
+ toolbar?: ToolbarItem[];
1507
+ props?: any;
1508
1508
  }
1509
1509
 
1510
1510
  declare function isOpen(): boolean;
@@ -1697,6 +1697,39 @@ disabled?: boolean;
1697
1697
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1698
1698
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1699
1699
 
1700
+ export declare const Toolbar: DefineComponent< {
1701
+ items: ToolbarItem[];
1702
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
1703
+ items: ToolbarItem[];
1704
+ }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1705
+
1706
+ export declare interface ToolbarButton {
1707
+ type: 'button';
1708
+ id: string;
1709
+ label?: string;
1710
+ icon?: IconName;
1711
+ disabled?: boolean;
1712
+ buttonStyle?: 'default' | 'primary' | 'warning' | 'danger' | 'silent';
1713
+ onClick: () => void;
1714
+ title?: string;
1715
+ align?: 'left' | 'right';
1716
+ }
1717
+
1718
+ export declare interface ToolbarButtonGroup {
1719
+ type: 'button-group';
1720
+ id: string;
1721
+ buttons: Omit<ToolbarButton, 'type' | 'align'>[];
1722
+ align?: 'left' | 'right';
1723
+ }
1724
+
1725
+ export declare type ToolbarItem = ToolbarButton | ToolbarButtonGroup | ToolbarSeparator;
1726
+
1727
+ export declare interface ToolbarSeparator {
1728
+ type: 'separator';
1729
+ id: string;
1730
+ align?: 'left' | 'right';
1731
+ }
1732
+
1700
1733
  export declare const Tree: DefineComponent< {
1701
1734
  cacheKey: string;
1702
1735
  nodes: TreeNode[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hantera/design-system",
3
- "version": "20250930.0.0-2025.2.1",
3
+ "version": "20251025.1.0",
4
4
  "types": "./dist/entry.d.ts",
5
5
  "scripts": {
6
6
  "build": "cpx ../../design-system/dist/**/*.d.ts ./dist -C"