ids-enterprise-typings 17.0.1 → 17.1.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.
@@ -5,11 +5,39 @@
5
5
  * interface of the Soho jQuery wizard control.
6
6
  */
7
7
 
8
- /**
9
- * Soho Widget model for a tick
10
- */
11
- interface SohoWizardTick {
8
+ /**
9
+ * Soho ButtonBar button definition
10
+ */
11
+ interface SohoWizardButtonBarButton {
12
+ /** the button's unique element id */
13
+ id: string, // e.g. 'next'
14
+
15
+ /** the button's text */
16
+ text: string, // e.g. "Next"
17
+
18
+ /** the button's icon */
19
+ icon?: string, // the name of the icon to use
20
+
21
+ /** the click callback for the button */
22
+ click: () => void,
23
+
24
+ /** an optional disable callback, return true if the button is disabled */
25
+ disabled?: () => boolean,
26
+
27
+ /** an optional hidden callback, return true if the button is hidden */
28
+ hidden?: () => boolean,
29
+
30
+ /** an optional isDefault flag, true if the button is displayed as the default */
31
+ isDefault?: boolean, // defaults to false
12
32
 
33
+ /** the relative position of the button */
34
+ position?: 'left' | 'middle' | 'right' | undefined
35
+ }
36
+
37
+ /**
38
+ * Soho Widget model for a tick
39
+ */
40
+ interface SohoWizardTick {
13
41
  /**
14
42
  * Sets the ng-click event for AngularJS.
15
43
  *
@@ -35,7 +63,7 @@
35
63
  *
36
64
  */
37
65
  label?: string;
38
- }
66
+ }
39
67
 
40
68
  /**
41
69
  * Wizard options.
@@ -43,9 +71,6 @@
43
71
  interface SohoWizardOptions {
44
72
  /**
45
73
  * Optional model driven list of ticks to display.
46
- *
47
- *
48
- *
49
74
  */
50
75
  ticks?: SohoWizardTick[];
51
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "17.0.1",
4
+ "version": "17.1.1",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {