ids-enterprise-typings 17.6.1 → 17.7.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.
@@ -117,6 +117,9 @@ interface SohoDropDownOptions {
117
117
  */
118
118
  empty?: boolean;
119
119
 
120
+ /** If true, the lookup wrapper will add `no-margin` class. */
121
+ noMarginWrapper?: boolean;
122
+
120
123
  /**
121
124
  * Typing Buffer Delay
122
125
  */
@@ -265,6 +268,11 @@ interface SohoDropDownStatic {
265
268
  * Set the selected option with icon.
266
269
  */
267
270
  setListIcon(): void;
271
+
272
+ /**
273
+ * Focus the input element. Since the select is hidden this is needed over normal focus()
274
+ */
275
+ activate(): void;
268
276
  }
269
277
 
270
278
  /**
@@ -46,22 +46,22 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
46
46
 
47
47
  type SohoFieldFilterOperator =
48
48
  'end-with' | 'does-not-end-with' |
49
- 'start-with' | 'does-not-start-with' |
50
- 'equals' | 'does-not-equal' |
51
- 'contains' | 'does-not-contain' |
52
- 'calendar' | 'in-range' |
53
- 'is-empty' | 'is-not-empty' |
54
- 'less-equals' | 'less-than' |
55
- 'greater-equals' | 'greater-than' |
56
- 'between' | 'selected-notselected' |
57
- 'selected' | 'not-selected' |
58
- 'sort-a-to-z' | 'sort-z-to-a';
49
+ 'start-with' | 'does-not-start-with' |
50
+ 'equals' | 'does-not-equal' |
51
+ 'contains' | 'does-not-contain' |
52
+ 'calendar' | 'in-range' |
53
+ 'is-empty' | 'is-not-empty' |
54
+ 'less-equals' | 'less-than' |
55
+ 'greater-equals' | 'greater-than' |
56
+ 'between' | 'selected-notselected' |
57
+ 'selected' | 'not-selected' |
58
+ 'sort-a-to-z' | 'sort-z-to-a';
59
59
 
60
60
  interface SohoFieldFilterOption {
61
61
  value: SohoFieldFilterOperator;
62
62
  text: string;
63
63
  icon: string;
64
- selected ?: boolean;
64
+ selected?: boolean;
65
65
  }
66
66
 
67
67
  interface SohoFieldFilteredEvent extends JQuery.TriggeredEvent {
@@ -28,6 +28,9 @@ interface SohoHomePageOptions {
28
28
  widgetHeight?: number;
29
29
  useSmall?: boolean;
30
30
  timeout?: number;
31
+ background?: {
32
+ banner?: SohoHomePageBannerOptions;
33
+ }
31
34
  onBeforeRemoveCard?: SohoHomePageBeforeRemoveCardFunction;
32
35
  }
33
36
 
@@ -101,4 +104,15 @@ interface SohoHomePageWidgetEditEvent {
101
104
  metadata?: object;
102
105
  }
103
106
 
107
+ /**
108
+ * Soho Homepage background settings
109
+ */
110
+ interface SohoHomePageBannerOptions {
111
+ image?: string;
112
+ icon?: {
113
+ image?: string;
114
+ width?: number;
115
+ }
116
+ }
117
+
104
118
  type SohoHomePageBeforeRemoveCardFunction = null | Function;
@@ -30,6 +30,9 @@ interface SohoLookupOptions {
30
30
  /** Pass dialog buttons or Cancel / Apply. */
31
31
  buttons?: SohoModalButton[];
32
32
 
33
+ /** If true, the lookup wrapper will add `no-margin` class. */
34
+ noMarginWrapper?: boolean;
35
+
33
36
  /** Options to pass to the underlying data grid. */
34
37
  options?: SohoDataGridOptions;
35
38
 
@@ -80,6 +80,9 @@ interface SohoModalOptions {
80
80
  // The maximum width to show for the modal, regardless of content.
81
81
  maxWidth?: number;
82
82
 
83
+ // Optional width to set the text of the buttonset.
84
+ buttonsetTextWidth?: number | string;
85
+
83
86
  // Force the modal to go full size.
84
87
  fullsize?: SohoModalFullSize;
85
88
 
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.6.1",
4
+ "version": "17.7.0",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {