@bryntum/core-react-thin 7.2.4 → 7.3.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 (204) hide show
  1. package/lib/BryntumBooleanCombo.d.ts +261 -0
  2. package/lib/BryntumBooleanCombo.js +204 -0
  3. package/lib/BryntumBooleanCombo.js.map +1 -0
  4. package/lib/BryntumButton.d.ts +6 -14
  5. package/lib/BryntumButton.js +1 -2
  6. package/lib/BryntumButton.js.map +1 -1
  7. package/lib/BryntumButtonGroup.d.ts +8 -15
  8. package/lib/BryntumButtonGroup.js +2 -5
  9. package/lib/BryntumButtonGroup.js.map +1 -1
  10. package/lib/BryntumChatPanel.d.ts +16 -20
  11. package/lib/BryntumChatPanel.js +7 -6
  12. package/lib/BryntumChatPanel.js.map +1 -1
  13. package/lib/BryntumCheckbox.d.ts +7 -15
  14. package/lib/BryntumCheckbox.js +1 -2
  15. package/lib/BryntumCheckbox.js.map +1 -1
  16. package/lib/BryntumCheckboxGroup.d.ts +9 -21
  17. package/lib/BryntumCheckboxGroup.js +2 -6
  18. package/lib/BryntumCheckboxGroup.js.map +1 -1
  19. package/lib/BryntumChipView.d.ts +6 -14
  20. package/lib/BryntumChipView.js +1 -2
  21. package/lib/BryntumChipView.js.map +1 -1
  22. package/lib/BryntumCodeEditor.d.ts +9 -20
  23. package/lib/BryntumCodeEditor.js +2 -5
  24. package/lib/BryntumCodeEditor.js.map +1 -1
  25. package/lib/BryntumColorField.d.ts +7 -15
  26. package/lib/BryntumColorField.js +1 -2
  27. package/lib/BryntumColorField.js.map +1 -1
  28. package/lib/BryntumCombo.d.ts +10 -18
  29. package/lib/BryntumCombo.js +1 -2
  30. package/lib/BryntumCombo.js.map +1 -1
  31. package/lib/BryntumContainer.d.ts +7 -14
  32. package/lib/BryntumContainer.js +2 -5
  33. package/lib/BryntumContainer.js.map +1 -1
  34. package/lib/BryntumDateField.d.ts +7 -15
  35. package/lib/BryntumDateField.js +1 -2
  36. package/lib/BryntumDateField.js.map +1 -1
  37. package/lib/BryntumDatePicker.d.ts +9 -20
  38. package/lib/BryntumDatePicker.js +2 -5
  39. package/lib/BryntumDatePicker.js.map +1 -1
  40. package/lib/BryntumDateRangeField.d.ts +10 -18
  41. package/lib/BryntumDateRangeField.js +1 -2
  42. package/lib/BryntumDateRangeField.js.map +1 -1
  43. package/lib/BryntumDateTimeField.d.ts +7 -15
  44. package/lib/BryntumDateTimeField.js +1 -2
  45. package/lib/BryntumDateTimeField.js.map +1 -1
  46. package/lib/BryntumDemoCodeEditor.d.ts +9 -20
  47. package/lib/BryntumDemoCodeEditor.js +2 -5
  48. package/lib/BryntumDemoCodeEditor.js.map +1 -1
  49. package/lib/BryntumDisplayField.d.ts +7 -15
  50. package/lib/BryntumDisplayField.js +1 -2
  51. package/lib/BryntumDisplayField.js.map +1 -1
  52. package/lib/BryntumDurationField.d.ts +7 -15
  53. package/lib/BryntumDurationField.js +1 -2
  54. package/lib/BryntumDurationField.js.map +1 -1
  55. package/lib/BryntumEditor.d.ts +9 -19
  56. package/lib/BryntumEditor.js +2 -5
  57. package/lib/BryntumEditor.js.map +1 -1
  58. package/lib/BryntumFieldFilterPicker.d.ts +7 -14
  59. package/lib/BryntumFieldFilterPicker.js +2 -5
  60. package/lib/BryntumFieldFilterPicker.js.map +1 -1
  61. package/lib/BryntumFieldFilterPickerGroup.d.ts +7 -14
  62. package/lib/BryntumFieldFilterPickerGroup.js +2 -5
  63. package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
  64. package/lib/BryntumFieldSet.d.ts +9 -21
  65. package/lib/BryntumFieldSet.js +2 -6
  66. package/lib/BryntumFieldSet.js.map +1 -1
  67. package/lib/BryntumFileField.d.ts +7 -15
  68. package/lib/BryntumFileField.js +1 -2
  69. package/lib/BryntumFileField.js.map +1 -1
  70. package/lib/BryntumFilePicker.d.ts +7 -14
  71. package/lib/BryntumFilePicker.js +2 -5
  72. package/lib/BryntumFilePicker.js.map +1 -1
  73. package/lib/BryntumFilterField.d.ts +7 -15
  74. package/lib/BryntumFilterField.js +1 -2
  75. package/lib/BryntumFilterField.js.map +1 -1
  76. package/lib/BryntumHint.d.ts +21 -30
  77. package/lib/BryntumHint.js +2 -5
  78. package/lib/BryntumHint.js.map +1 -1
  79. package/lib/BryntumLabel.d.ts +6 -14
  80. package/lib/BryntumLabel.js +1 -2
  81. package/lib/BryntumLabel.js.map +1 -1
  82. package/lib/BryntumList.d.ts +6 -14
  83. package/lib/BryntumList.js +1 -2
  84. package/lib/BryntumList.js.map +1 -1
  85. package/lib/BryntumMenu.d.ts +20 -25
  86. package/lib/BryntumMenu.js +2 -6
  87. package/lib/BryntumMenu.js.map +1 -1
  88. package/lib/BryntumMonthPicker.d.ts +9 -20
  89. package/lib/BryntumMonthPicker.js +2 -5
  90. package/lib/BryntumMonthPicker.js.map +1 -1
  91. package/lib/BryntumNumberField.d.ts +7 -15
  92. package/lib/BryntumNumberField.js +1 -2
  93. package/lib/BryntumNumberField.js.map +1 -1
  94. package/lib/BryntumPagingToolbar.d.ts +10 -17
  95. package/lib/BryntumPagingToolbar.js +2 -5
  96. package/lib/BryntumPagingToolbar.js.map +1 -1
  97. package/lib/BryntumPanel.d.ts +9 -20
  98. package/lib/BryntumPanel.js +2 -5
  99. package/lib/BryntumPanel.js.map +1 -1
  100. package/lib/BryntumPasswordField.d.ts +7 -15
  101. package/lib/BryntumPasswordField.js +1 -2
  102. package/lib/BryntumPasswordField.js.map +1 -1
  103. package/lib/BryntumProgressBar.d.ts +6 -14
  104. package/lib/BryntumProgressBar.js +1 -2
  105. package/lib/BryntumProgressBar.js.map +1 -1
  106. package/lib/BryntumRadio.d.ts +7 -15
  107. package/lib/BryntumRadio.js +1 -2
  108. package/lib/BryntumRadio.js.map +1 -1
  109. package/lib/BryntumRadioGroup.d.ts +9 -21
  110. package/lib/BryntumRadioGroup.js +2 -6
  111. package/lib/BryntumRadioGroup.js.map +1 -1
  112. package/lib/BryntumSlideToggle.d.ts +7 -15
  113. package/lib/BryntumSlideToggle.js +1 -2
  114. package/lib/BryntumSlideToggle.js.map +1 -1
  115. package/lib/BryntumSlider.d.ts +7 -14
  116. package/lib/BryntumSlider.js +2 -2
  117. package/lib/BryntumSlider.js.map +1 -1
  118. package/lib/BryntumSplitter.d.ts +6 -14
  119. package/lib/BryntumSplitter.js +1 -2
  120. package/lib/BryntumSplitter.js.map +1 -1
  121. package/lib/BryntumTabPanel.d.ts +9 -20
  122. package/lib/BryntumTabPanel.js +2 -5
  123. package/lib/BryntumTabPanel.js.map +1 -1
  124. package/lib/BryntumTextAreaField.d.ts +8 -15
  125. package/lib/BryntumTextAreaField.js +2 -2
  126. package/lib/BryntumTextAreaField.js.map +1 -1
  127. package/lib/BryntumTextAreaPickerField.d.ts +8 -16
  128. package/lib/BryntumTextAreaPickerField.js +1 -2
  129. package/lib/BryntumTextAreaPickerField.js.map +1 -1
  130. package/lib/BryntumTextField.d.ts +7 -15
  131. package/lib/BryntumTextField.js +1 -2
  132. package/lib/BryntumTextField.js.map +1 -1
  133. package/lib/BryntumTimeField.d.ts +8 -16
  134. package/lib/BryntumTimeField.js +1 -2
  135. package/lib/BryntumTimeField.js.map +1 -1
  136. package/lib/BryntumTimePicker.d.ts +7 -14
  137. package/lib/BryntumTimePicker.js +2 -5
  138. package/lib/BryntumTimePicker.js.map +1 -1
  139. package/lib/BryntumToolbar.d.ts +10 -17
  140. package/lib/BryntumToolbar.js +2 -5
  141. package/lib/BryntumToolbar.js.map +1 -1
  142. package/lib/BryntumWidget.d.ts +6 -14
  143. package/lib/BryntumWidget.js +1 -2
  144. package/lib/BryntumWidget.js.map +1 -1
  145. package/lib/BryntumYearPicker.d.ts +9 -20
  146. package/lib/BryntumYearPicker.js +2 -5
  147. package/lib/BryntumYearPicker.js.map +1 -1
  148. package/lib/WrapperHelper.js +2 -2
  149. package/lib/WrapperHelper.js.map +1 -1
  150. package/lib/index.d.ts +1 -0
  151. package/lib/index.js +1 -0
  152. package/lib/index.js.map +1 -1
  153. package/package.json +1 -1
  154. package/src/BryntumBooleanCombo.tsx +1180 -0
  155. package/src/BryntumButton.tsx +69 -115
  156. package/src/BryntumButtonGroup.tsx +78 -123
  157. package/src/BryntumChatPanel.tsx +139 -169
  158. package/src/BryntumCheckbox.tsx +73 -117
  159. package/src/BryntumCheckboxGroup.tsx +109 -179
  160. package/src/BryntumChipView.tsx +65 -105
  161. package/src/BryntumCodeEditor.tsx +106 -167
  162. package/src/BryntumColorField.tsx +73 -117
  163. package/src/BryntumCombo.tsx +92 -152
  164. package/src/BryntumContainer.tsx +78 -124
  165. package/src/BryntumDateField.tsx +80 -123
  166. package/src/BryntumDatePicker.tsx +119 -193
  167. package/src/BryntumDateRangeField.tsx +79 -126
  168. package/src/BryntumDateTimeField.tsx +73 -117
  169. package/src/BryntumDemoCodeEditor.tsx +106 -167
  170. package/src/BryntumDisplayField.tsx +74 -119
  171. package/src/BryntumDurationField.tsx +80 -125
  172. package/src/BryntumEditor.tsx +90 -140
  173. package/src/BryntumFieldFilterPicker.tsx +80 -128
  174. package/src/BryntumFieldFilterPickerGroup.tsx +82 -132
  175. package/src/BryntumFieldSet.tsx +105 -172
  176. package/src/BryntumFileField.tsx +73 -117
  177. package/src/BryntumFilePicker.tsx +78 -124
  178. package/src/BryntumFilterField.tsx +76 -123
  179. package/src/BryntumHint.tsx +133 -190
  180. package/src/BryntumLabel.tsx +59 -95
  181. package/src/BryntumList.tsx +62 -101
  182. package/src/BryntumMenu.tsx +128 -188
  183. package/src/BryntumMonthPicker.tsx +106 -167
  184. package/src/BryntumNumberField.tsx +77 -121
  185. package/src/BryntumPagingToolbar.tsx +82 -129
  186. package/src/BryntumPanel.tsx +106 -167
  187. package/src/BryntumPasswordField.tsx +73 -117
  188. package/src/BryntumProgressBar.tsx +58 -93
  189. package/src/BryntumRadio.tsx +73 -117
  190. package/src/BryntumRadioGroup.tsx +109 -178
  191. package/src/BryntumSlideToggle.tsx +73 -117
  192. package/src/BryntumSlider.tsx +67 -101
  193. package/src/BryntumSplitter.tsx +61 -99
  194. package/src/BryntumTabPanel.tsx +107 -169
  195. package/src/BryntumTextAreaField.tsx +81 -119
  196. package/src/BryntumTextAreaPickerField.tsx +75 -120
  197. package/src/BryntumTextField.tsx +74 -119
  198. package/src/BryntumTimeField.tsx +79 -120
  199. package/src/BryntumTimePicker.tsx +78 -124
  200. package/src/BryntumToolbar.tsx +82 -129
  201. package/src/BryntumWidget.tsx +59 -95
  202. package/src/BryntumYearPicker.tsx +107 -169
  203. package/src/WrapperHelper.tsx +2 -2
  204. package/src/index.ts +1 -0
@@ -3,7 +3,7 @@
3
3
  */
4
4
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
5
  import React, { RefObject } from 'react';
6
- import { AlignSpec, Base, ChipView, ChipViewListeners, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, MaskConfig, Model, ModelConfig, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { AlignSpec, Base, ChipView, ChipViewListeners, Collection, CollectionConfig, Color, DomConfig, KeyMapConfig, List, MaskConfig, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -17,14 +17,12 @@ export type BryntumChipViewProps = {
17
17
  /**
18
18
  * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
19
19
  * content will be placed inside this element.
20
- * ...
21
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-adopt)
20
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-adopt)
22
21
  */
23
22
  adopt? : HTMLElement|string
24
23
  /**
25
24
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
26
- * ...
27
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-align)
25
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-align)
28
26
  */
29
27
  align? : AlignSpec|string
30
28
  /**
@@ -51,35 +49,30 @@ export type BryntumChipViewProps = {
51
49
  /**
52
50
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
53
51
  * into an element which will be linked using the `aria-describedby` attribute.
54
- * ...
55
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ariaDescription)
52
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ariaDescription)
56
53
  */
57
54
  ariaDescription? : string
58
55
  /**
59
56
  * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
60
57
  * the `aria-label` attribute.
61
- * ...
62
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ariaLabel)
58
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ariaLabel)
63
59
  */
64
60
  ariaLabel? : string
65
61
  /**
66
62
  * An object where property names with a truthy value indicate which events should bubble up the ownership
67
63
  * hierarchy when triggered.
68
- * ...
69
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-bubbleEvents)
64
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-bubbleEvents)
70
65
  */
71
66
  bubbleEvents? : object
72
67
  /**
73
68
  * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
74
- * ...
75
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-callOnFunctions)
69
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-callOnFunctions)
76
70
  */
77
71
  callOnFunctions? : boolean
78
72
  /**
79
73
  * By default, if an event handler throws an exception, the error propagates up the stack and the
80
74
  * application state is undefined. Code which follows the event handler will *not* be executed.
81
- * ...
82
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-catchEventHandlerExceptions)
75
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-catchEventHandlerExceptions)
83
76
  */
84
77
  catchEventHandlerExceptions? : boolean
85
78
  /**
@@ -92,10 +85,9 @@ export type BryntumChipViewProps = {
92
85
  */
93
86
  clearSelectionOnEmptySpaceClick? : boolean
94
87
  /**
95
- * Configure as `true` to display a clickable close icon after the [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/List#config-itemTpl).
88
+ * Configure as `true` to display a clickable close icon after the [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/ChipView#config-itemTpl).
96
89
  * When tapped, the configured [closeHandler](https://bryntum.com/products/core/docs/api/Core/widget/ChipView#config-closeHandler) is called passing the associated record.
97
- * ...
98
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closable)
90
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closable)
99
91
  */
100
92
  closable? : boolean
101
93
  /**
@@ -108,8 +100,7 @@ export type BryntumChipViewProps = {
108
100
  * Custom CSS classes to add to element.
109
101
  * May be specified as a space separated string, or as an object in which property names
110
102
  * with truthy values are used as the class names:
111
- * ...
112
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-cls)
103
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-cls)
113
104
  */
114
105
  cls? : string|object
115
106
  /**
@@ -119,8 +110,7 @@ export type BryntumChipViewProps = {
119
110
  /**
120
111
  * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
121
112
  * `style` block.
122
- * ...
123
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-color)
113
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-color)
124
114
  */
125
115
  color? : Color
126
116
  /**
@@ -144,8 +134,7 @@ export type BryntumChipViewProps = {
144
134
  * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
145
135
  * May be specified as a space separated string, or as an object in which property names
146
136
  * with truthy values are used as the class names:
147
- * ...
148
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-contentElementCls)
137
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-contentElementCls)
149
138
  */
150
139
  contentElementCls? : string|object
151
140
  /**
@@ -163,16 +152,15 @@ export type BryntumChipViewProps = {
163
152
  */
164
153
  defaultBindProperty? : string
165
154
  /**
166
- * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
167
- * ...
168
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-detectCSSCompatibilityIssues)
155
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
156
+ * checks:
157
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-detectCSSCompatibilityIssues)
169
158
  */
170
159
  detectCSSCompatibilityIssues? : boolean
171
160
  /**
172
161
  * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
173
162
  * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
174
- * ...
175
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-disabled)
163
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-disabled)
176
164
  */
177
165
  disabled? : boolean|'inert'
178
166
  /**
@@ -184,25 +172,21 @@ export type BryntumChipViewProps = {
184
172
  * [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
185
173
  * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
186
174
  * body. Such widgets are called "edge strips".
187
- * ...
188
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-dock)
175
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-dock)
189
176
  */
190
177
  dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
191
178
  /**
192
179
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
193
180
  * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
194
181
  * property which controls when a drag should start.
195
- * ...
196
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-draggable)
182
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-draggable)
183
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
197
184
  */
198
- draggable? : boolean|{
199
- handleSelector?: string
200
- }
185
+ draggable? : boolean|object
201
186
  /**
202
187
  * An object specifying attributes to assign to the root element of this widget.
203
188
  * Set `null` value to attribute to remove it.
204
- * ...
205
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-elementAttributes)
189
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-elementAttributes)
206
190
  */
207
191
  elementAttributes? : Record<string, string|null>
208
192
  /**
@@ -257,25 +241,22 @@ export type BryntumChipViewProps = {
257
241
  hidden? : boolean
258
242
  /**
259
243
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
260
- * ...
261
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-hideAnimation)
244
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-hideAnimation)
262
245
  */
263
246
  hideAnimation? : boolean|object
264
247
  /**
265
248
  * The HTML to display initially or a function returning the markup (called at widget construction time).
266
- * ...
267
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-html)
249
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-html)
268
250
  * @param {Core.widget.Widget} widget The calling Widget
269
- * @returns {string}
270
251
  */
271
- html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
252
+ html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
272
253
  /**
273
254
  * The CSS class(es) to add when HTML content is being applied to this widget.
274
255
  */
275
256
  htmlCls? : string|object
276
257
  /**
277
258
  * A template function, which, when passed a record, returns the markup which encapsulates a chip's icon to be
278
- * placed before the [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/List#config-itemTpl).
259
+ * placed before the [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/ChipView#config-itemTpl).
279
260
  * @param {Core.data.Model} record The record to provide an icon for
280
261
  * @returns {DomConfig,string,void}
281
262
  */
@@ -286,8 +267,7 @@ export type BryntumChipViewProps = {
286
267
  id? : string
287
268
  /**
288
269
  * Determines if the widgets read-only state should be controlled by its parent.
289
- * ...
290
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ignoreParentReadOnly)
270
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ignoreParentReadOnly)
291
271
  */
292
272
  ignoreParentReadOnly? : boolean
293
273
  /**
@@ -321,22 +301,19 @@ export type BryntumChipViewProps = {
321
301
  * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
322
302
  * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
323
303
  * are the name of the instance method to call when the keystroke is received.
324
- * ...
325
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-keyMap)
304
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-keyMap)
326
305
  */
327
306
  keyMap? : Record<string, KeyMapConfig>
328
307
  /**
329
308
  * The listener set for this object.
330
- * ...
331
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-listeners)
309
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-listeners)
332
310
  */
333
311
  listeners? : ChipViewListeners
334
312
  /**
335
313
  * A class translations of which are used for translating this entity.
336
314
  * This is often used when translations of an item are defined on its container class.
337
315
  * For example:
338
- * ...
339
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-localeClass)
316
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-localeClass)
340
317
  */
341
318
  localeClass? : typeof Base
342
319
  /**
@@ -348,8 +325,7 @@ export type BryntumChipViewProps = {
348
325
  * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
349
326
  * you could use 'localeKey' meta configuration.
350
327
  * Example:
351
- * ...
352
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-localizableProperties)
328
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-localizableProperties)
353
329
  */
354
330
  localizableProperties? : string[]
355
331
  /**
@@ -375,8 +351,7 @@ export type BryntumChipViewProps = {
375
351
  maxHeight? : string|number
376
352
  /**
377
353
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
378
- * ...
379
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-maximizeOnMobile)
354
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-maximizeOnMobile)
380
355
  */
381
356
  maximizeOnMobile? : number|string
382
357
  /**
@@ -398,12 +373,10 @@ export type BryntumChipViewProps = {
398
373
  * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
399
374
  * is used to monitor this element for size changes caused by either style manipulation, or by CSS
400
375
  * layout.
401
- * ...
402
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-monitorResize)
376
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-monitorResize)
377
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
403
378
  */
404
- monitorResize? : boolean|{
405
- immediate?: boolean
406
- }
379
+ monitorResize? : boolean|object
407
380
  /**
408
381
  * Configure as `true` to allow multi select and allow clicking and key navigation to select multiple chips.
409
382
  */
@@ -412,8 +385,7 @@ export type BryntumChipViewProps = {
412
385
  * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
413
386
  * not participate in the standard layout of that widget, and must be positioned relatively to that
414
387
  * widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
415
- * ...
416
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-positioned)
388
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-positioned)
417
389
  */
418
390
  positioned? : boolean
419
391
  /**
@@ -424,8 +396,7 @@ export type BryntumChipViewProps = {
424
396
  /**
425
397
  * Whether this widget is read-only. This is only valid if the widget is an input
426
398
  * field, <strong>or contains input fields at any depth</strong>.
427
- * ...
428
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-readOnly)
399
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-readOnly)
429
400
  */
430
401
  readOnly? : boolean
431
402
  relayStoreEvents? : boolean
@@ -433,23 +404,26 @@ export type BryntumChipViewProps = {
433
404
  * Configure as `true` to have the component display a translucent ripple when its
434
405
  * [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
435
406
  * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
436
- * ...
437
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ripple)
438
- */
439
- ripple? : boolean|{
440
- delegate?: string
441
- color?: string
442
- radius?: number
443
- clip?: string
444
- }
407
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ripple)
408
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
409
+ * @property {string} [color] A CSS color name or specification.
410
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
411
+ * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
412
+ */
413
+ ripple? : boolean|object
414
+ /**
415
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
416
+ * accidentally applying a role which may interfere with screen readers.
417
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-role)
418
+ */
419
+ role? : string
445
420
  /**
446
421
  * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
447
422
  */
448
423
  rootElement? : ShadowRoot|HTMLElement
449
424
  /**
450
425
  * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
451
- * ...
452
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-rtl)
426
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-rtl)
453
427
  */
454
428
  rtl? : boolean
455
429
  /**
@@ -457,8 +431,7 @@ export type BryntumChipViewProps = {
457
431
  * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
458
432
  * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
459
433
  * CSS overflow properties thus:
460
- * ...
461
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-scrollable)
434
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-scrollable)
462
435
  */
463
436
  scrollable? : boolean|ScrollerConfig|Scroller
464
437
  /**
@@ -474,14 +447,12 @@ export type BryntumChipViewProps = {
474
447
  /**
475
448
  * A [Collection](https://bryntum.com/products/core/docs/api/Core/util/Collection), or Collection config object to use to contain this List's selected
476
449
  * records.
477
- * ...
478
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-selected)
450
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-selected)
479
451
  */
480
452
  selected? : object[]|number[]|string[]|Collection|CollectionConfig|CollectionConfig[]
481
453
  /**
482
454
  * *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
483
- * ...
484
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-showAnimation)
455
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-showAnimation)
485
456
  */
486
457
  showAnimation? : boolean|object
487
458
  /**
@@ -495,16 +466,14 @@ export type BryntumChipViewProps = {
495
466
  /**
496
467
  * A [Store](https://bryntum.com/products/core/docs/api/Core/data/Store) which provides the records which map to List items. Each record is passed through the
497
468
  * [itemTpl](https://bryntum.com/products/core/docs/api/Core/widget/List#config-itemTpl) to produce the DOM structure of the List. May be generated from an array of [items](#Core/widget/List#config-items).
498
- * ...
499
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-store)
469
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-store)
500
470
  */
501
471
  store? : object|object[]|StoreConfig|Store|StoreConfig[]
502
472
  /**
503
473
  * A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
504
474
  * [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
505
475
  * this widget:
506
- * ...
507
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-tab)
476
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-tab)
508
477
  */
509
478
  tab? : boolean|TabConfig
510
479
  /**
@@ -513,8 +482,7 @@ export type BryntumChipViewProps = {
513
482
  tag? : string
514
483
  /**
515
484
  * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
516
- * ...
517
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-textAlign)
485
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-textAlign)
518
486
  */
519
487
  textAlign? : 'left'|'center'|'right'|'start'|'end'
520
488
  /**
@@ -527,8 +495,7 @@ export type BryntumChipViewProps = {
527
495
  toggleAllIfCtrlPressed? : boolean
528
496
  /**
529
497
  * Tooltip for the widget, either as a string or as a Tooltip config object.
530
- * ...
531
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-tooltip)
498
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-tooltip)
532
499
  */
533
500
  tooltip? : string|TooltipConfig|null
534
501
  /**
@@ -542,16 +509,14 @@ export type BryntumChipViewProps = {
542
509
  * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
543
510
  * as a space separated string, an array of strings, or as an object in which property names with truthy
544
511
  * values are used as the class names.
545
- * ...
546
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ui)
512
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-ui)
547
513
  */
548
514
  ui? : string|object
549
515
  /**
550
516
  * Controls virtualization of list items using the `IntersectionObserver` API to render items only when
551
517
  * scrolled into view. This is only useful for lists with complex markup, for simple lists it likely adds
552
518
  * overhead.
553
- * ...
554
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-virtualize)
519
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-virtualize)
555
520
  */
556
521
  virtualize? : boolean|number
557
522
  /**
@@ -567,14 +532,12 @@ export type BryntumChipViewProps = {
567
532
  width? : string|number
568
533
  /**
569
534
  * The x position for the widget.
570
- * ...
571
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-x)
535
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-x)
572
536
  */
573
537
  x? : number
574
538
  /**
575
539
  * The y position for the widget.
576
- * ...
577
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-y)
540
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-y)
578
541
  */
579
542
  y? : number
580
543
 
@@ -611,8 +574,7 @@ export type BryntumChipViewProps = {
611
574
  onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
612
575
  /**
613
576
  * Fires when any other event is fired from the object.
614
- * ...
615
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#event-catchAll)
577
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#event-catchAll)
616
578
  * @param {object} event Event object
617
579
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
618
580
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -674,8 +636,7 @@ export type BryntumChipViewProps = {
674
636
  /**
675
637
  * Triggered when a widget which had been in a non-visible state for any reason
676
638
  * achieves visibility.
677
- * ...
678
- * [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#event-paint)
639
+ * [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#event-paint)
679
640
  * @param {object} event Event object
680
641
  * @param {Core.widget.Widget} event.source The widget being painted.
681
642
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -783,6 +744,7 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
783
744
  'preventTooltipOnTouch',
784
745
  'relayStoreEvents',
785
746
  'ripple',
747
+ 'role',
786
748
  'rootElement',
787
749
  'scrollAction',
788
750
  'selectAllItem',
@@ -863,8 +825,6 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
863
825
  ];
864
826
 
865
827
  static propertyNames = [
866
- 'anchorSize',
867
- 'focusVisible',
868
828
  'parent'
869
829
  ];
870
830