primereact 10.8.0 → 10.8.2

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 (234) hide show
  1. package/autocomplete/autocomplete.cjs.js +16 -6
  2. package/autocomplete/autocomplete.cjs.min.js +1 -1
  3. package/autocomplete/autocomplete.esm.js +16 -6
  4. package/autocomplete/autocomplete.esm.min.js +1 -1
  5. package/autocomplete/autocomplete.js +16 -6
  6. package/autocomplete/autocomplete.min.js +1 -1
  7. package/calendar/calendar.cjs.js +8 -6
  8. package/calendar/calendar.cjs.min.js +1 -1
  9. package/calendar/calendar.esm.js +8 -6
  10. package/calendar/calendar.esm.min.js +1 -1
  11. package/calendar/calendar.js +8 -6
  12. package/calendar/calendar.min.js +1 -1
  13. package/core/core.js +11 -14
  14. package/core/core.min.js +2 -2
  15. package/datatable/datatable.cjs.js +19 -29
  16. package/datatable/datatable.cjs.min.js +1 -1
  17. package/datatable/datatable.d.ts +1 -1
  18. package/datatable/datatable.esm.js +19 -29
  19. package/datatable/datatable.esm.min.js +1 -1
  20. package/datatable/datatable.js +19 -29
  21. package/datatable/datatable.min.js +1 -1
  22. package/editor/editor.cjs.js +4 -2
  23. package/editor/editor.cjs.min.js +1 -1
  24. package/editor/editor.esm.js +5 -2
  25. package/editor/editor.esm.min.js +1 -1
  26. package/editor/editor.js +4 -2
  27. package/editor/editor.min.js +1 -1
  28. package/inplace/inplace.d.ts +1 -1
  29. package/inputnumber/inputnumber.cjs.js +1 -2
  30. package/inputnumber/inputnumber.cjs.min.js +1 -1
  31. package/inputnumber/inputnumber.esm.js +1 -2
  32. package/inputnumber/inputnumber.esm.min.js +1 -1
  33. package/inputnumber/inputnumber.js +1 -2
  34. package/inputnumber/inputnumber.min.js +1 -1
  35. package/inputotp/inputotp.cjs.js +4 -3
  36. package/inputotp/inputotp.cjs.min.js +1 -1
  37. package/inputotp/inputotp.esm.js +4 -3
  38. package/inputotp/inputotp.esm.min.js +1 -1
  39. package/inputotp/inputotp.js +4 -3
  40. package/inputotp/inputotp.min.js +1 -1
  41. package/package.json +1 -1
  42. package/primereact.all.cjs.js +60 -58
  43. package/primereact.all.cjs.min.js +1 -1
  44. package/primereact.all.esm.js +60 -58
  45. package/primereact.all.esm.min.js +1 -1
  46. package/primereact.all.js +60 -58
  47. package/primereact.all.min.js +1 -1
  48. package/resources/themes/lara-dark-amber/fonts/InterVariable-Italic.woff2 +0 -0
  49. package/resources/themes/lara-dark-amber/fonts/InterVariable.woff2 +0 -0
  50. package/resources/themes/lara-dark-amber/theme.css +2 -2
  51. package/resources/themes/lara-dark-blue/fonts/InterVariable-Italic.woff2 +0 -0
  52. package/resources/themes/lara-dark-blue/fonts/InterVariable.woff2 +0 -0
  53. package/resources/themes/lara-dark-blue/theme.css +2 -2
  54. package/resources/themes/lara-dark-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  55. package/resources/themes/lara-dark-cyan/fonts/InterVariable.woff2 +0 -0
  56. package/resources/themes/lara-dark-cyan/theme.css +2 -2
  57. package/resources/themes/lara-dark-green/fonts/InterVariable-Italic.woff2 +0 -0
  58. package/resources/themes/lara-dark-green/fonts/InterVariable.woff2 +0 -0
  59. package/resources/themes/lara-dark-green/theme.css +2 -2
  60. package/resources/themes/lara-dark-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  61. package/resources/themes/lara-dark-indigo/fonts/InterVariable.woff2 +0 -0
  62. package/resources/themes/lara-dark-indigo/theme.css +2 -2
  63. package/resources/themes/lara-dark-pink/fonts/InterVariable-Italic.woff2 +0 -0
  64. package/resources/themes/lara-dark-pink/fonts/InterVariable.woff2 +0 -0
  65. package/resources/themes/lara-dark-pink/theme.css +2 -2
  66. package/resources/themes/lara-dark-purple/fonts/InterVariable-Italic.woff2 +0 -0
  67. package/resources/themes/lara-dark-purple/fonts/InterVariable.woff2 +0 -0
  68. package/resources/themes/lara-dark-purple/theme.css +6 -6
  69. package/resources/themes/lara-dark-teal/fonts/InterVariable-Italic.woff2 +0 -0
  70. package/resources/themes/lara-dark-teal/fonts/InterVariable.woff2 +0 -0
  71. package/resources/themes/lara-dark-teal/theme.css +2 -2
  72. package/resources/themes/lara-light-amber/fonts/InterVariable-Italic.woff2 +0 -0
  73. package/resources/themes/lara-light-amber/fonts/InterVariable.woff2 +0 -0
  74. package/resources/themes/lara-light-amber/theme.css +2 -2
  75. package/resources/themes/lara-light-blue/fonts/InterVariable-Italic.woff2 +0 -0
  76. package/resources/themes/lara-light-blue/fonts/InterVariable.woff2 +0 -0
  77. package/resources/themes/lara-light-blue/theme.css +2 -2
  78. package/resources/themes/lara-light-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  79. package/resources/themes/lara-light-cyan/fonts/InterVariable.woff2 +0 -0
  80. package/resources/themes/lara-light-cyan/theme.css +2 -2
  81. package/resources/themes/lara-light-green/fonts/InterVariable-Italic.woff2 +0 -0
  82. package/resources/themes/lara-light-green/fonts/InterVariable.woff2 +0 -0
  83. package/resources/themes/lara-light-green/theme.css +2 -2
  84. package/resources/themes/lara-light-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  85. package/resources/themes/lara-light-indigo/fonts/InterVariable.woff2 +0 -0
  86. package/resources/themes/lara-light-indigo/theme.css +2 -2
  87. package/resources/themes/lara-light-pink/fonts/InterVariable-Italic.woff2 +0 -0
  88. package/resources/themes/lara-light-pink/fonts/InterVariable.woff2 +0 -0
  89. package/resources/themes/lara-light-pink/theme.css +2 -2
  90. package/resources/themes/lara-light-purple/fonts/InterVariable-Italic.woff2 +0 -0
  91. package/resources/themes/lara-light-purple/fonts/InterVariable.woff2 +0 -0
  92. package/resources/themes/lara-light-purple/theme.css +6 -6
  93. package/resources/themes/lara-light-teal/fonts/InterVariable-Italic.woff2 +0 -0
  94. package/resources/themes/lara-light-teal/fonts/InterVariable.woff2 +0 -0
  95. package/resources/themes/lara-light-teal/theme.css +2 -2
  96. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  97. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  98. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  99. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  100. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  101. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  102. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  103. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  104. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  105. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  106. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  107. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  108. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  109. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  110. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  111. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  112. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  113. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  114. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  115. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  116. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  117. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  118. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  119. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  120. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  121. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  122. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  123. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  124. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  125. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  126. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  127. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  128. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  129. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  130. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  131. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  132. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  133. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  134. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  135. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  136. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  137. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  138. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  139. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  140. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  141. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  142. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  143. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  144. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  145. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  146. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  147. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  148. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  149. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  150. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  151. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  152. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  153. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  154. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  155. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  156. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  157. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  158. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  159. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  160. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  161. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  162. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  163. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  164. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  165. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  166. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  167. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  168. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  169. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  170. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  171. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  172. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  173. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  174. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  175. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  176. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  177. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  178. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  179. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  180. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  181. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  182. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  183. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  184. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  185. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  186. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  187. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  188. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  189. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  190. package/stepper/stepper.cjs.js +2 -1
  191. package/stepper/stepper.cjs.min.js +1 -1
  192. package/stepper/stepper.esm.js +2 -1
  193. package/stepper/stepper.esm.min.js +1 -1
  194. package/stepper/stepper.js +2 -1
  195. package/stepper/stepper.min.js +1 -1
  196. package/tree/tree.cjs.js +10 -12
  197. package/tree/tree.cjs.min.js +1 -1
  198. package/tree/tree.esm.js +10 -12
  199. package/tree/tree.esm.min.js +1 -1
  200. package/tree/tree.js +10 -12
  201. package/tree/tree.min.js +1 -1
  202. package/web-types.json +1 -1
  203. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  204. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  205. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  206. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  207. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  208. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  209. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  210. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  211. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  212. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  213. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  214. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  215. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  216. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  217. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  218. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  219. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  220. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  221. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  222. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  223. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  224. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  225. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  226. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  227. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  228. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  229. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  230. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  231. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  232. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  233. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  234. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
@@ -8154,11 +8154,15 @@ var AutoComplete = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
8154
8154
  };
8155
8155
  var onOverlayEntering = function onOverlayEntering() {
8156
8156
  if (props.autoHighlight && props.suggestions && props.suggestions.length) {
8157
- var element = getScrollableElement().firstChild.firstChild;
8158
- if (element) {
8159
- !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8160
- element.setAttribute('data-p-highlight', true);
8161
- }
8157
+ autoHighlightFirstOption();
8158
+ }
8159
+ };
8160
+ var autoHighlightFirstOption = function autoHighlightFirstOption() {
8161
+ var _getScrollableElement;
8162
+ var element = (_getScrollableElement = getScrollableElement()) === null || _getScrollableElement === void 0 || (_getScrollableElement = _getScrollableElement.firstChild) === null || _getScrollableElement === void 0 ? void 0 : _getScrollableElement.firstChild;
8163
+ if (element) {
8164
+ !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8165
+ element.setAttribute('data-p-highlight', true);
8162
8166
  }
8163
8167
  };
8164
8168
  var onOverlayEntered = function onOverlayEntered() {
@@ -8362,7 +8366,8 @@ var AutoComplete = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
8362
8366
  }) : false;
8363
8367
  };
8364
8368
  var getScrollableElement = function getScrollableElement() {
8365
- return overlayRef.current.firstChild;
8369
+ var _overlayRef$current;
8370
+ return overlayRef === null || overlayRef === void 0 || (_overlayRef$current = overlayRef.current) === null || _overlayRef$current === void 0 ? void 0 : _overlayRef$current.firstChild;
8366
8371
  };
8367
8372
  var getOptionGroupLabel = function getOptionGroupLabel(optionGroup) {
8368
8373
  return props.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, props.optionGroupLabel) : optionGroup;
@@ -8385,6 +8390,11 @@ var AutoComplete = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
8385
8390
  }
8386
8391
  alignOverlay();
8387
8392
  });
8393
+ useUpdateEffect(function () {
8394
+ if (searchingState && props.autoHighlight && props.suggestions && props.suggestions.length) {
8395
+ autoHighlightFirstOption();
8396
+ }
8397
+ }, [searchingState]);
8388
8398
  useUpdateEffect(function () {
8389
8399
  if (searchingState) {
8390
8400
  ObjectUtils.isNotEmpty(props.suggestions) || props.showEmptyMessage ? show() : hide();
@@ -9517,7 +9527,6 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
9517
9527
  _React$useState8 = _slicedToArray(_React$useState7, 2),
9518
9528
  idState = _React$useState8[0],
9519
9529
  setIdState = _React$useState8[1];
9520
- var isTypingRef = React.useRef(false);
9521
9530
  var metaData = {
9522
9531
  props: props,
9523
9532
  state: {
@@ -9645,7 +9654,6 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
9645
9654
  try {
9646
9655
  var value = parseValueFromString(props.timeOnly ? rawValue.replace('_', '') : rawValue);
9647
9656
  if (isValidSelection(value)) {
9648
- isTypingRef.current = true;
9649
9657
  updateModel(event, value);
9650
9658
  updateViewDate(event, value.length ? value[0] : value);
9651
9659
  }
@@ -12124,8 +12132,10 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
12124
12132
  viewChangedWithKeyDown.current = false;
12125
12133
  }, [props.view]);
12126
12134
  useUpdateEffect(function () {
12127
- focusToFirstCell();
12128
- }, [currentView]);
12135
+ if (visible && !props.inline) {
12136
+ focusToFirstCell();
12137
+ }
12138
+ }, [visible, currentView, props.inline]);
12129
12139
  useUpdateEffect(function () {
12130
12140
  if (!props.onViewDateChange && !viewStateChanged.current) {
12131
12141
  setValue(props.value);
@@ -12145,10 +12155,12 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
12145
12155
  useUpdateEffect(function () {
12146
12156
  var newDate = props.value;
12147
12157
  if (previousValue !== newDate) {
12148
- if (!isTypingRef.current) {
12158
+ var isInputFocused = document.activeElement === inputRef.current;
12159
+
12160
+ // Do not update value in input if user types something in it:
12161
+ if (!isInputFocused) {
12149
12162
  updateInputfield(newDate);
12150
12163
  }
12151
- isTypingRef.current = false;
12152
12164
 
12153
12165
  // #3516 view date not updated when value set programatically
12154
12166
  if (!newDate) return;
@@ -19929,8 +19941,7 @@ var InputNumber = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
19929
19941
  cx = _InputNumberBase$setM.cx,
19930
19942
  isUnstyled = _InputNumberBase$setM.isUnstyled;
19931
19943
  useHandleStyle(InputNumberBase.css.styles, isUnstyled, {
19932
- name: 'inputnumber',
19933
- styled: true
19944
+ name: 'inputnumber'
19934
19945
  });
19935
19946
  var elementRef = React.useRef(null);
19936
19947
  var inputRef = React.useRef(null);
@@ -23690,7 +23701,7 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
23690
23701
  props: props
23691
23702
  });
23692
23703
  var tabIndex = props.disabled ? null : '0';
23693
- var checkboxProps = mergeProps({
23704
+ var checkboxProps = {
23694
23705
  role: 'checkbox',
23695
23706
  'aria-checked': props.checked,
23696
23707
  tabIndex: tabIndex,
@@ -23699,8 +23710,9 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
23699
23710
  checked: props.checked,
23700
23711
  icon: checkIcon,
23701
23712
  disabled: props.disabled,
23713
+ unstyled: props.unstyled,
23702
23714
  pt: getColumnPTOptions('rowCheckbox')
23703
- });
23715
+ };
23704
23716
  return /*#__PURE__*/React.createElement(Checkbox, checkboxProps);
23705
23717
  });
23706
23718
  RowCheckbox.displayName = 'RowCheckbox';
@@ -23929,7 +23941,7 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
23929
23941
  props.onChange(event);
23930
23942
  }
23931
23943
  };
23932
- var radioButtonProps = mergeProps({
23944
+ var radioButtonProps = {
23933
23945
  role: 'radio',
23934
23946
  'aria-checked': props.checked,
23935
23947
  checked: props.checked,
@@ -23938,7 +23950,7 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
23938
23950
  onChange: onChange,
23939
23951
  unstyled: props.unstyled,
23940
23952
  pt: getColumnPTOptions('rowRadioButton')
23941
- });
23953
+ };
23942
23954
  return /*#__PURE__*/React.createElement(RadioButton, radioButtonProps);
23943
23955
  });
23944
23956
  RowRadioButton.displayName = 'RowRadioButton';
@@ -25229,8 +25241,8 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
25229
25241
  var _props$ptCallbacks = props.ptCallbacks,
25230
25242
  ptm = _props$ptCallbacks.ptm,
25231
25243
  ptmo = _props$ptCallbacks.ptmo,
25232
- cx = _props$ptCallbacks.cx,
25233
- isUnstyled = _props$ptCallbacks.isUnstyled;
25244
+ cx = _props$ptCallbacks.cx;
25245
+ _props$ptCallbacks.isUnstyled;
25234
25246
  var _onClick = function onClick(event) {
25235
25247
  props.onClick({
25236
25248
  originalEvent: event,
@@ -25253,8 +25265,7 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
25253
25265
  };
25254
25266
  var rowGroupTogglerIconProps = mergeProps({
25255
25267
  className: cx('rowGroupTogglerIcon'),
25256
- 'aria-hidden': true,
25257
- unstyled: isUnstyled()
25268
+ 'aria-hidden': true
25258
25269
  }, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
25259
25270
  var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
25260
25271
  var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$1e({}, rowGroupTogglerIconProps), {
@@ -25268,8 +25279,7 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
25268
25279
  },
25269
25280
  className: cx('rowGroupToggler'),
25270
25281
  tabIndex: props.tabIndex,
25271
- 'aria-label': label,
25272
- unstyled: isUnstyled()
25282
+ 'aria-label': label
25273
25283
  }, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
25274
25284
  return /*#__PURE__*/React.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
25275
25285
  });
@@ -25603,32 +25613,20 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
25603
25613
  var selectRange = function selectRange(event) {
25604
25614
  var rangeStart;
25605
25615
  var rangeEnd;
25606
- var selectedSize;
25607
25616
  var isAllowCellSelection = allowCellSelection();
25608
- var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
25609
25617
  if (rangeRowIndex.current > anchorRowIndex.current) {
25610
25618
  rangeStart = anchorRowIndex.current;
25611
25619
  rangeEnd = rangeRowIndex.current;
25612
- if (!isAllowCellSelection) {
25613
- selectedSize = rangeEnd - rangeStart;
25614
- rangeEnd = index;
25615
- rangeStart = index - selectedSize;
25616
- }
25617
25620
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
25618
25621
  rangeStart = rangeRowIndex.current;
25619
25622
  rangeEnd = anchorRowIndex.current;
25620
- if (!isAllowCellSelection) {
25621
- selectedSize = rangeEnd - rangeStart;
25622
- rangeStart = index;
25623
- rangeEnd = index + selectedSize;
25624
- }
25625
25623
  } else {
25626
25624
  rangeStart = rangeEnd = rangeRowIndex.current;
25627
25625
  }
25628
25626
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
25629
25627
  };
25630
25628
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
25631
- var value = props.value;
25629
+ var value = props.tableProps.value;
25632
25630
  var selection = [];
25633
25631
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
25634
25632
  var rangeRowData = value[i];
@@ -27545,7 +27543,7 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
27545
27543
  props: props
27546
27544
  });
27547
27545
  var tabIndex = props.disabled ? null : 0;
27548
- var headerCheckboxProps = mergeProps({
27546
+ var headerCheckboxProps = {
27549
27547
  role: 'checkbox',
27550
27548
  'aria-checked': props.checked,
27551
27549
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -27553,8 +27551,10 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
27553
27551
  onChange: onChange,
27554
27552
  icon: checkIcon,
27555
27553
  checked: props.checked,
27556
- disabled: props.disabled
27557
- }, getColumnPTOptions('headerCheckbox'));
27554
+ disabled: props.disabled,
27555
+ unstyled: props.unstyled,
27556
+ pt: getColumnPTOptions('headerCheckbox')
27557
+ };
27558
27558
  return /*#__PURE__*/React.createElement(Checkbox, headerCheckboxProps);
27559
27559
  });
27560
27560
  HeaderCheckbox.displayName = 'HeaderCheckbox';
@@ -28158,10 +28158,11 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
28158
28158
  className: classNames(filterHeaderClassName, className, cx('headerCell', {
28159
28159
  frozen: frozen,
28160
28160
  column: col
28161
- })),
28162
- key: colKey
28161
+ }))
28163
28162
  }, getColumnPTOptions(col, 'root'), getColumnPTOptions(col, 'headerCell'));
28164
- return /*#__PURE__*/React.createElement("th", headerCellProps, checkbox, filterRow);
28163
+ return /*#__PURE__*/React.createElement("th", _extends({
28164
+ key: colKey
28165
+ }, headerCellProps), checkbox, filterRow);
28165
28166
  }
28166
28167
  return null;
28167
28168
  });
@@ -31084,11 +31085,13 @@ var Editor = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (in
31084
31085
  });
31085
31086
  }
31086
31087
  };
31088
+ var initValue = useRef(props.value);
31089
+ initValue.current = props.value;
31087
31090
  var initQuill = function initQuill(quillInstance) {
31088
31091
  quill.current = quillInstance;
31089
- if (props.value) {
31092
+ if (initValue.current) {
31090
31093
  quillInstance.setContents(quillInstance.clipboard.convert({
31091
- html: props.value,
31094
+ html: initValue.current,
31092
31095
  text: ''
31093
31096
  }));
31094
31097
  }
@@ -52355,7 +52358,8 @@ var StepperBase = ComponentBase.extend({
52355
52358
  __TYPE: 'Stepper',
52356
52359
  activeStep: 0,
52357
52360
  orientation: 'horizontal',
52358
- linear: false
52361
+ linear: false,
52362
+ onChangeStep: null
52359
52363
  },
52360
52364
  css: {
52361
52365
  classes: classes$b,
@@ -55876,17 +55880,15 @@ var UITreeNode = /*#__PURE__*/React.memo(function (props) {
55876
55880
  };
55877
55881
  var onDropPoint = function onDropPoint(event, position) {
55878
55882
  event.preventDefault();
55879
- if (props.node.droppable !== false) {
55880
- DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55881
- if (props.onDropPoint) {
55882
- var dropIndex = position === -1 ? props.index : props.index + 1;
55883
- props.onDropPoint({
55884
- originalEvent: event,
55885
- path: props.path,
55886
- index: dropIndex,
55887
- position: position
55888
- });
55889
- }
55883
+ DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55884
+ if (props.onDropPoint) {
55885
+ var dropIndex = position === -1 ? props.index : props.index + 1;
55886
+ props.onDropPoint({
55887
+ originalEvent: event,
55888
+ path: props.path,
55889
+ index: dropIndex,
55890
+ position: position
55891
+ });
55890
55892
  }
55891
55893
  };
55892
55894
  var onDropPointDragOver = function onDropPointDragOver(event) {
@@ -56167,7 +56169,7 @@ var UITreeNode = /*#__PURE__*/React.memo(function (props) {
56167
56169
  return /*#__PURE__*/React.createElement("li", nodeProps, content, children);
56168
56170
  };
56169
56171
  var node = createNode();
56170
- if (props.dragdropScope && !props.disabled) {
56172
+ if (props.dragdropScope && !props.disabled && props.node.droppable) {
56171
56173
  var beforeDropPoint = createDropPoint(-1);
56172
56174
  var afterDropPoint = props.last ? createDropPoint(1) : null;
56173
56175
  return /*#__PURE__*/React.createElement(React.Fragment, null, beforeDropPoint, node, afterDropPoint);