@softheon/armature 17.23.2 → 17.24.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.
@@ -11,18 +11,9 @@ export declare class SofButtonToggleGroupComponent implements OnInit, OnDestroy,
11
11
  /** Whether the field is required or not */
12
12
  isRequired: boolean;
13
13
  /** The toggle button data */
14
- buttonData: {
15
- [key in ButtonToggleType]?: {
16
- text: string;
17
- value: any;
18
- };
19
- };
14
+ buttonData: ButtonToggleData;
20
15
  /** The tooltip data */
21
- tooltipData: {
22
- text?: string;
23
- position?: string;
24
- color?: string;
25
- };
16
+ tooltipData?: ButtonToggleTooltipData;
26
17
  /** The layout align input for styling */
27
18
  layoutAlign: {
28
19
  label?: string;
@@ -97,4 +88,14 @@ declare const enum ButtonToggleType {
97
88
  MIDDLE = "middle",
98
89
  RIGHT = "right"
99
90
  }
91
+ export type ButtonToggleData = {
92
+ [key in ButtonToggleType]?: {
93
+ text: string;
94
+ value: any;
95
+ };
96
+ };
97
+ export interface ButtonToggleTooltipData {
98
+ text?: string;
99
+ position?: string;
100
+ }
100
101
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "17.23.2",
3
+ "version": "17.24.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },