primereact 10.7.0 → 10.8.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.
Files changed (356) hide show
  1. package/README.md +1 -0
  2. package/api/api.cjs.js +18 -14
  3. package/api/api.cjs.min.js +1 -1
  4. package/api/api.d.ts +3 -3
  5. package/api/api.esm.js +18 -14
  6. package/api/api.esm.min.js +1 -1
  7. package/api/api.js +18 -14
  8. package/api/api.min.js +1 -1
  9. package/autocomplete/autocomplete.cjs.js +18 -7
  10. package/autocomplete/autocomplete.cjs.min.js +1 -1
  11. package/autocomplete/autocomplete.d.ts +4 -3
  12. package/autocomplete/autocomplete.esm.js +18 -7
  13. package/autocomplete/autocomplete.esm.min.js +1 -1
  14. package/autocomplete/autocomplete.js +18 -7
  15. package/autocomplete/autocomplete.min.js +1 -1
  16. package/button/button.d.ts +2 -2
  17. package/calendar/calendar.cjs.js +14 -10
  18. package/calendar/calendar.cjs.min.js +1 -1
  19. package/calendar/calendar.d.ts +4 -3
  20. package/calendar/calendar.esm.js +14 -10
  21. package/calendar/calendar.esm.min.js +1 -1
  22. package/calendar/calendar.js +14 -10
  23. package/calendar/calendar.min.js +1 -1
  24. package/cascadeselect/cascadeselect.d.ts +4 -3
  25. package/column/column.d.ts +8 -14
  26. package/core/core.js +54 -62
  27. package/core/core.min.js +9 -9
  28. package/datatable/datatable.cjs.js +59 -62
  29. package/datatable/datatable.cjs.min.js +1 -1
  30. package/datatable/datatable.d.ts +38 -2
  31. package/datatable/datatable.esm.js +59 -62
  32. package/datatable/datatable.esm.min.js +1 -1
  33. package/datatable/datatable.js +59 -62
  34. package/datatable/datatable.min.js +1 -1
  35. package/dialog/dialog.cjs.js +1 -1
  36. package/dialog/dialog.cjs.min.js +1 -1
  37. package/dialog/dialog.esm.js +1 -1
  38. package/dialog/dialog.esm.min.js +1 -1
  39. package/dialog/dialog.js +1 -1
  40. package/dialog/dialog.min.js +1 -1
  41. package/dropdown/dropdown.cjs.js +13 -7
  42. package/dropdown/dropdown.cjs.min.js +1 -1
  43. package/dropdown/dropdown.esm.js +13 -7
  44. package/dropdown/dropdown.esm.min.js +1 -1
  45. package/dropdown/dropdown.js +13 -7
  46. package/dropdown/dropdown.min.js +1 -1
  47. package/editor/editor.cjs.js +15 -3
  48. package/editor/editor.cjs.min.js +1 -1
  49. package/editor/editor.esm.js +16 -3
  50. package/editor/editor.esm.min.js +1 -1
  51. package/editor/editor.js +15 -3
  52. package/editor/editor.min.js +1 -1
  53. package/icons/sortamountdown/index.cjs.js +1 -16
  54. package/icons/sortamountdown/index.cjs.min.js +1 -1
  55. package/icons/sortamountdown/index.esm.js +1 -16
  56. package/icons/sortamountdown/index.esm.min.js +1 -1
  57. package/icons/sortamountdown/index.js +1 -16
  58. package/icons/sortamountdown/index.min.js +1 -1
  59. package/icons/sortamountupalt/index.cjs.js +1 -16
  60. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  61. package/icons/sortamountupalt/index.esm.js +1 -16
  62. package/icons/sortamountupalt/index.esm.min.js +1 -1
  63. package/icons/sortamountupalt/index.js +1 -16
  64. package/icons/sortamountupalt/index.min.js +1 -1
  65. package/inplace/inplace.d.ts +1 -1
  66. package/inputnumber/inputnumber.cjs.js +1 -0
  67. package/inputnumber/inputnumber.cjs.min.js +1 -1
  68. package/inputnumber/inputnumber.esm.js +1 -0
  69. package/inputnumber/inputnumber.esm.min.js +1 -1
  70. package/inputnumber/inputnumber.js +1 -0
  71. package/inputnumber/inputnumber.min.js +1 -1
  72. package/inputotp/inputotp.cjs.js +4 -3
  73. package/inputotp/inputotp.cjs.min.js +1 -1
  74. package/inputotp/inputotp.d.ts +2 -3
  75. package/inputotp/inputotp.esm.js +4 -3
  76. package/inputotp/inputotp.esm.min.js +1 -1
  77. package/inputotp/inputotp.js +4 -3
  78. package/inputotp/inputotp.min.js +1 -1
  79. package/listbox/listbox.cjs.js +4 -0
  80. package/listbox/listbox.cjs.min.js +1 -1
  81. package/listbox/listbox.esm.js +4 -0
  82. package/listbox/listbox.esm.min.js +1 -1
  83. package/listbox/listbox.js +4 -0
  84. package/listbox/listbox.min.js +1 -1
  85. package/mention/mention.cjs.js +1 -0
  86. package/mention/mention.cjs.min.js +1 -1
  87. package/mention/mention.esm.js +1 -0
  88. package/mention/mention.esm.min.js +1 -1
  89. package/mention/mention.js +1 -0
  90. package/mention/mention.min.js +1 -1
  91. package/menu/menu.cjs.js +3 -3
  92. package/menu/menu.cjs.min.js +1 -1
  93. package/menu/menu.esm.js +3 -3
  94. package/menu/menu.esm.min.js +1 -1
  95. package/menu/menu.js +3 -3
  96. package/menu/menu.min.js +1 -1
  97. package/menubar/menubar.cjs.js +1 -1
  98. package/menubar/menubar.cjs.min.js +1 -1
  99. package/menubar/menubar.esm.js +1 -1
  100. package/menubar/menubar.esm.min.js +1 -1
  101. package/menubar/menubar.js +1 -1
  102. package/menubar/menubar.min.js +1 -1
  103. package/messages/messages.d.ts +21 -0
  104. package/multiselect/multiselect.cjs.js +8 -5
  105. package/multiselect/multiselect.cjs.min.js +1 -1
  106. package/multiselect/multiselect.d.ts +1 -9
  107. package/multiselect/multiselect.esm.js +8 -5
  108. package/multiselect/multiselect.esm.min.js +1 -1
  109. package/multiselect/multiselect.js +8 -5
  110. package/multiselect/multiselect.min.js +1 -1
  111. package/orderlist/orderlist.cjs.js +3 -2
  112. package/orderlist/orderlist.cjs.min.js +1 -1
  113. package/orderlist/orderlist.esm.js +3 -2
  114. package/orderlist/orderlist.esm.min.js +1 -1
  115. package/orderlist/orderlist.js +3 -2
  116. package/orderlist/orderlist.min.js +1 -1
  117. package/package.json +1 -1
  118. package/paginator/paginator.cjs.js +9 -7
  119. package/paginator/paginator.cjs.min.js +1 -1
  120. package/paginator/paginator.esm.js +9 -7
  121. package/paginator/paginator.esm.min.js +1 -1
  122. package/paginator/paginator.js +9 -7
  123. package/paginator/paginator.min.js +1 -1
  124. package/panelmenu/panelmenu.d.ts +2 -2
  125. package/password/password.cjs.js +1 -0
  126. package/password/password.cjs.min.js +1 -1
  127. package/password/password.esm.js +1 -0
  128. package/password/password.esm.min.js +1 -1
  129. package/password/password.js +1 -0
  130. package/password/password.min.js +1 -1
  131. package/picklist/picklist.cjs.js +9 -7
  132. package/picklist/picklist.cjs.min.js +1 -1
  133. package/picklist/picklist.esm.js +9 -7
  134. package/picklist/picklist.esm.min.js +1 -1
  135. package/picklist/picklist.js +9 -7
  136. package/picklist/picklist.min.js +1 -1
  137. package/primereact.all.cjs.js +342 -314
  138. package/primereact.all.cjs.min.js +1 -1
  139. package/primereact.all.esm.js +342 -314
  140. package/primereact.all.esm.min.js +1 -1
  141. package/primereact.all.js +342 -314
  142. package/primereact.all.min.js +1 -1
  143. package/radiobutton/radiobutton.cjs.js +9 -9
  144. package/radiobutton/radiobutton.cjs.min.js +1 -1
  145. package/radiobutton/radiobutton.esm.js +9 -9
  146. package/radiobutton/radiobutton.esm.min.js +1 -1
  147. package/radiobutton/radiobutton.js +9 -9
  148. package/radiobutton/radiobutton.min.js +1 -1
  149. package/resources/themes/lara-dark-amber/fonts/InterVariable-Italic.woff2 +0 -0
  150. package/resources/themes/lara-dark-amber/fonts/InterVariable.woff2 +0 -0
  151. package/resources/themes/lara-dark-amber/theme.css +2 -2
  152. package/resources/themes/lara-dark-blue/fonts/InterVariable-Italic.woff2 +0 -0
  153. package/resources/themes/lara-dark-blue/fonts/InterVariable.woff2 +0 -0
  154. package/resources/themes/lara-dark-blue/theme.css +2 -2
  155. package/resources/themes/lara-dark-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  156. package/resources/themes/lara-dark-cyan/fonts/InterVariable.woff2 +0 -0
  157. package/resources/themes/lara-dark-cyan/theme.css +2 -2
  158. package/resources/themes/lara-dark-green/fonts/InterVariable-Italic.woff2 +0 -0
  159. package/resources/themes/lara-dark-green/fonts/InterVariable.woff2 +0 -0
  160. package/resources/themes/lara-dark-green/theme.css +2 -2
  161. package/resources/themes/lara-dark-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  162. package/resources/themes/lara-dark-indigo/fonts/InterVariable.woff2 +0 -0
  163. package/resources/themes/lara-dark-indigo/theme.css +2 -2
  164. package/resources/themes/lara-dark-pink/fonts/InterVariable-Italic.woff2 +0 -0
  165. package/resources/themes/lara-dark-pink/fonts/InterVariable.woff2 +0 -0
  166. package/resources/themes/lara-dark-pink/theme.css +2 -2
  167. package/resources/themes/lara-dark-purple/fonts/InterVariable-Italic.woff2 +0 -0
  168. package/resources/themes/lara-dark-purple/fonts/InterVariable.woff2 +0 -0
  169. package/resources/themes/lara-dark-purple/theme.css +6 -6
  170. package/resources/themes/lara-dark-teal/fonts/InterVariable-Italic.woff2 +0 -0
  171. package/resources/themes/lara-dark-teal/fonts/InterVariable.woff2 +0 -0
  172. package/resources/themes/lara-dark-teal/theme.css +2 -2
  173. package/resources/themes/lara-light-amber/fonts/InterVariable-Italic.woff2 +0 -0
  174. package/resources/themes/lara-light-amber/fonts/InterVariable.woff2 +0 -0
  175. package/resources/themes/lara-light-amber/theme.css +2 -2
  176. package/resources/themes/lara-light-blue/fonts/InterVariable-Italic.woff2 +0 -0
  177. package/resources/themes/lara-light-blue/fonts/InterVariable.woff2 +0 -0
  178. package/resources/themes/lara-light-blue/theme.css +2 -2
  179. package/resources/themes/lara-light-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  180. package/resources/themes/lara-light-cyan/fonts/InterVariable.woff2 +0 -0
  181. package/resources/themes/lara-light-cyan/theme.css +2 -2
  182. package/resources/themes/lara-light-green/fonts/InterVariable-Italic.woff2 +0 -0
  183. package/resources/themes/lara-light-green/fonts/InterVariable.woff2 +0 -0
  184. package/resources/themes/lara-light-green/theme.css +2 -2
  185. package/resources/themes/lara-light-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  186. package/resources/themes/lara-light-indigo/fonts/InterVariable.woff2 +0 -0
  187. package/resources/themes/lara-light-indigo/theme.css +2 -2
  188. package/resources/themes/lara-light-pink/fonts/InterVariable-Italic.woff2 +0 -0
  189. package/resources/themes/lara-light-pink/fonts/InterVariable.woff2 +0 -0
  190. package/resources/themes/lara-light-pink/theme.css +2 -2
  191. package/resources/themes/lara-light-purple/fonts/InterVariable-Italic.woff2 +0 -0
  192. package/resources/themes/lara-light-purple/fonts/InterVariable.woff2 +0 -0
  193. package/resources/themes/lara-light-purple/theme.css +6 -6
  194. package/resources/themes/lara-light-teal/fonts/InterVariable-Italic.woff2 +0 -0
  195. package/resources/themes/lara-light-teal/fonts/InterVariable.woff2 +0 -0
  196. package/resources/themes/lara-light-teal/theme.css +2 -2
  197. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  198. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  199. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  200. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  201. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  202. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  203. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  204. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  205. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  206. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  207. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  208. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  209. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  210. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  211. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  212. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  213. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  214. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  215. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  216. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  217. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  218. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  219. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  220. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  221. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  222. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  223. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  224. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  225. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  226. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  227. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  228. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  229. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  230. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  231. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  232. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  233. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  234. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  235. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  236. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  237. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  238. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  239. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  240. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  241. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  242. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  243. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  244. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  245. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  246. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  247. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  248. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  249. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  250. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  251. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  252. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  253. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  254. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  255. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  256. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  257. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  258. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  259. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  260. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  261. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  262. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  263. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  264. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  265. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  266. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  267. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  268. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  269. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  270. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  271. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  272. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  273. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  274. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  275. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  276. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  277. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  278. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  279. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  280. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  281. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  282. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  283. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  284. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  285. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  286. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  287. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  288. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  289. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  290. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  291. package/sidebar/sidebar.cjs.js +1 -1
  292. package/sidebar/sidebar.cjs.min.js +1 -1
  293. package/sidebar/sidebar.esm.js +1 -1
  294. package/sidebar/sidebar.esm.min.js +1 -1
  295. package/sidebar/sidebar.js +1 -1
  296. package/sidebar/sidebar.min.js +1 -1
  297. package/stepper/stepper.cjs.js +7 -1
  298. package/stepper/stepper.cjs.min.js +1 -1
  299. package/stepper/stepper.esm.js +8 -2
  300. package/stepper/stepper.esm.min.js +1 -1
  301. package/stepper/stepper.js +7 -1
  302. package/stepper/stepper.min.js +1 -1
  303. package/toast/toast.cjs.js +9 -7
  304. package/toast/toast.cjs.min.js +1 -1
  305. package/toast/toast.d.ts +1 -1
  306. package/toast/toast.esm.js +9 -7
  307. package/toast/toast.esm.min.js +1 -1
  308. package/toast/toast.js +9 -7
  309. package/toast/toast.min.js +1 -1
  310. package/tree/tree.cjs.js +5 -1
  311. package/tree/tree.cjs.min.js +1 -1
  312. package/tree/tree.esm.js +5 -1
  313. package/tree/tree.esm.min.js +1 -1
  314. package/tree/tree.js +5 -1
  315. package/tree/tree.min.js +1 -1
  316. package/treetable/treetable.d.ts +6 -6
  317. package/utils/utils.cjs.js +5 -0
  318. package/utils/utils.cjs.min.js +1 -1
  319. package/utils/utils.d.ts +1 -0
  320. package/utils/utils.esm.js +5 -0
  321. package/utils/utils.esm.min.js +1 -1
  322. package/utils/utils.js +5 -0
  323. package/utils/utils.min.js +1 -1
  324. package/web-types.json +16 -7
  325. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  326. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  327. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  328. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  329. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  330. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  331. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  332. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  333. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  334. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  335. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  336. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  337. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  338. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  339. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  340. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  341. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  342. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  343. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  344. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  345. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  346. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  347. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  348. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  349. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  350. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  351. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  352. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  353. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  354. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  355. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  356. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
@@ -943,7 +943,15 @@ export interface DataTablePassThroughOptions {
943
943
  /**
944
944
  * Uses to pass attributes to the rowgroup footer's DOM element.
945
945
  */
946
- rowgroupFooter?: DataTablePassThroughType<React.HTMLAttributes<HTMLTableRowElement>>;
946
+ rowGroupFooter?: DataTablePassThroughType<React.HTMLAttributes<HTMLTableRowElement>>;
947
+ /**
948
+ * Uses to pass attributes to the rowgroup toggler's DOM element.
949
+ */
950
+ rowGroupToggler?: DataTablePassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
951
+ /**
952
+ * Uses to pass attributes to the rowgroup toggler icon's DOM element.
953
+ */
954
+ rowGroupTogglerIcon?: DataTablePassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
947
955
  /**
948
956
  * Uses to pass attributes to the empty message's DOM element.
949
957
  */
@@ -1004,6 +1012,34 @@ export interface DataTablePassThroughOptions {
1004
1012
  hooks?: ComponentHooks;
1005
1013
  }
1006
1014
 
1015
+ /**
1016
+ * Defines current options in DataTable bodyRow.
1017
+ */
1018
+ export interface DataTableBodyRowContext {
1019
+ selected: boolean;
1020
+ selectable: boolean;
1021
+ stripedRows: boolean;
1022
+ index: number;
1023
+ }
1024
+
1025
+ /**
1026
+ * Defines current inline state in DataTable bodyRow.
1027
+ */
1028
+ export interface DataTableBodyRowState {
1029
+ editing: boolean;
1030
+ }
1031
+
1032
+ /**
1033
+ * Custom passthrough(pt) option method for bodyRow.
1034
+ */
1035
+ export interface DataTableBodyRowPassThroughMethodOptions<TValue extends DataTableValueArray> {
1036
+ hostName: string;
1037
+ context: DataTableBodyRowContext;
1038
+ parent: DataTablePassThroughMethodOptions<TValue>;
1039
+ props: DataTableBaseProps<TValue>;
1040
+ state: DataTableBodyRowState;
1041
+ }
1042
+
1007
1043
  type SortOrder = 1 | 0 | -1 | null | undefined;
1008
1044
 
1009
1045
  /**
@@ -1068,7 +1104,7 @@ interface DataTableBaseProps<TValue extends DataTableValueArray> extends Omit<Re
1068
1104
  * Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering.
1069
1105
  * @defaultValue (&#123;currentPage&#125; of &#123;totalPages&#125;)
1070
1106
  */
1071
- dataKey?: string | undefined;
1107
+ dataKey?: string | undefined | ((data: any) => string);
1072
1108
  /**
1073
1109
  * Default sort order of an unsorted column.
1074
1110
  * @defaultValue (&#123;currentPage&#125; of &#123;totalPages&#125;)
@@ -911,7 +911,7 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
911
911
  props: props
912
912
  });
913
913
  var tabIndex = props.disabled ? null : '0';
914
- var checkboxProps = mergeProps({
914
+ var checkboxProps = {
915
915
  role: 'checkbox',
916
916
  'aria-checked': props.checked,
917
917
  tabIndex: tabIndex,
@@ -919,8 +919,10 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
919
919
  'aria-label': props.ariaLabel,
920
920
  checked: props.checked,
921
921
  icon: checkIcon,
922
- disabled: props.disabled
923
- }, getColumnPTOptions('rowCheckbox'));
922
+ disabled: props.disabled,
923
+ unstyled: props.unstyled,
924
+ pt: getColumnPTOptions('rowCheckbox')
925
+ };
924
926
  return /*#__PURE__*/React.createElement(Checkbox, checkboxProps);
925
927
  });
926
928
  RowCheckbox.displayName = 'RowCheckbox';
@@ -936,9 +938,9 @@ var classes = {
936
938
  'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
937
939
  });
938
940
  },
939
- radiobuttonbox: 'p-radiobutton-box',
940
- radiobuttoninput: 'p-radiobutton-input',
941
- radiobuttonicon: 'p-radiobutton-icon'
941
+ box: 'p-radiobutton-box',
942
+ input: 'p-radiobutton-input',
943
+ icon: 'p-radiobutton-icon'
942
944
  };
943
945
  var RadioButtonBase = ComponentBase.extend({
944
946
  defaultProps: {
@@ -1095,19 +1097,19 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
1095
1097
  readOnly: props.readonly,
1096
1098
  required: props.required,
1097
1099
  tabIndex: props.tabIndex,
1098
- className: cx('radiobuttoninput')
1099
- }, ariaProps), inProps.input, ptm('radiobuttoninput'));
1100
+ className: cx('input')
1101
+ }, ariaProps), inProps.input, ptm('input'));
1100
1102
  return /*#__PURE__*/React.createElement("input", _extends({
1101
1103
  ref: inputRef
1102
1104
  }, inputProps));
1103
1105
  };
1104
1106
  var createBoxElement = function createBoxElement() {
1105
1107
  var boxProps = mergeProps({
1106
- className: cx('radiobuttonbox')
1107
- }, inProps.box, ptm('radiobuttonbox'));
1108
+ className: cx('box')
1109
+ }, inProps.box, ptm('box'));
1108
1110
  var iconProps = mergeProps({
1109
- className: cx('radiobuttonicon')
1110
- }, inProps.icon, ptm('radiobuttonicon'));
1111
+ className: cx('icon')
1112
+ }, inProps.icon, ptm('icon'));
1111
1113
  return /*#__PURE__*/React.createElement("div", boxProps, /*#__PURE__*/React.createElement("div", iconProps));
1112
1114
  };
1113
1115
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", _extends({
@@ -1149,18 +1151,16 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
1149
1151
  props.onChange(event);
1150
1152
  }
1151
1153
  };
1152
- var radioButtonProps = mergeProps({
1154
+ var radioButtonProps = {
1153
1155
  role: 'radio',
1154
1156
  'aria-checked': props.checked,
1155
1157
  checked: props.checked,
1156
1158
  disabled: props.disabled,
1157
1159
  name: "".concat(props.tableSelector, "_dt_radio"),
1158
1160
  onChange: onChange,
1159
- input: getColumnPTOptions('radiobuttoninput'),
1160
- box: getColumnPTOptions('radiobuttonbox'),
1161
- icon: getColumnPTOptions('radiobuttonicon'),
1162
- unstyled: props.unstyled
1163
- }, getColumnPTOptions('radiobutton'));
1161
+ unstyled: props.unstyled,
1162
+ pt: getColumnPTOptions('rowRadioButton')
1163
+ };
1164
1164
  return /*#__PURE__*/React.createElement(RadioButton, radioButtonProps);
1165
1165
  });
1166
1166
  RowRadioButton.displayName = 'RowRadioButton';
@@ -2451,7 +2451,8 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
2451
2451
  var _props$ptCallbacks = props.ptCallbacks,
2452
2452
  ptm = _props$ptCallbacks.ptm,
2453
2453
  ptmo = _props$ptCallbacks.ptmo,
2454
- cx = _props$ptCallbacks.cx;
2454
+ cx = _props$ptCallbacks.cx,
2455
+ isUnstyled = _props$ptCallbacks.isUnstyled;
2455
2456
  var _onClick = function onClick(event) {
2456
2457
  props.onClick({
2457
2458
  originalEvent: event,
@@ -2474,8 +2475,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
2474
2475
  };
2475
2476
  var rowGroupTogglerIconProps = mergeProps({
2476
2477
  className: cx('rowGroupTogglerIcon'),
2477
- 'aria-hidden': true
2478
- }, getColumnPTOptions('rowGroupTogglerIcon'));
2478
+ 'aria-hidden': true,
2479
+ unstyled: isUnstyled()
2480
+ }, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
2479
2481
  var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
2480
2482
  var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
2481
2483
  props: props
@@ -2488,8 +2490,9 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
2488
2490
  },
2489
2491
  className: cx('rowGroupToggler'),
2490
2492
  tabIndex: props.tabIndex,
2491
- 'aria-label': label
2492
- }, getColumnPTOptions('rowGroupToggler'));
2493
+ 'aria-label': label,
2494
+ unstyled: isUnstyled()
2495
+ }, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
2493
2496
  return /*#__PURE__*/React.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
2494
2497
  });
2495
2498
  RowTogglerButton.displayName = 'RowTogglerButton';
@@ -2503,7 +2506,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
2503
2506
  ptm = _props$ptCallbacks.ptm,
2504
2507
  ptmo = _props$ptCallbacks.ptmo,
2505
2508
  cx = _props$ptCallbacks.cx,
2506
- isUnsyled = _props$ptCallbacks.isUnsyled;
2509
+ isUnstyled = _props$ptCallbacks.isUnstyled;
2507
2510
  var _React$useState = React.useState({}),
2508
2511
  _React$useState2 = _slicedToArray(_React$useState, 2),
2509
2512
  rowGroupHeaderStyleObjectState = _React$useState2[0],
@@ -2822,32 +2825,20 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
2822
2825
  var selectRange = function selectRange(event) {
2823
2826
  var rangeStart;
2824
2827
  var rangeEnd;
2825
- var selectedSize;
2826
2828
  var isAllowCellSelection = allowCellSelection();
2827
- var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
2828
2829
  if (rangeRowIndex.current > anchorRowIndex.current) {
2829
2830
  rangeStart = anchorRowIndex.current;
2830
2831
  rangeEnd = rangeRowIndex.current;
2831
- if (!isAllowCellSelection) {
2832
- selectedSize = rangeEnd - rangeStart;
2833
- rangeEnd = index;
2834
- rangeStart = index - selectedSize;
2835
- }
2836
2832
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
2837
2833
  rangeStart = rangeRowIndex.current;
2838
2834
  rangeEnd = anchorRowIndex.current;
2839
- if (!isAllowCellSelection) {
2840
- selectedSize = rangeEnd - rangeStart;
2841
- rangeStart = index;
2842
- rangeEnd = index + selectedSize;
2843
- }
2844
2835
  } else {
2845
2836
  rangeStart = rangeEnd = rangeRowIndex.current;
2846
2837
  }
2847
2838
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
2848
2839
  };
2849
2840
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
2850
- var value = props.value;
2841
+ var value = props.tableProps.value;
2851
2842
  var selection = [];
2852
2843
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
2853
2844
  var rangeRowData = value[i];
@@ -2938,7 +2929,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
2938
2929
  if (props.dragSelection && !dragSelectionHelper.current) {
2939
2930
  dragSelectionHelper.current = document.createElement('div');
2940
2931
  dragSelectionHelper.current.setAttribute('p-datatable-drag-selection-helper', 'true');
2941
- !isUnsyled && DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
2932
+ !isUnstyled() && DomHandler.addClass(dragSelectionHelper.current, 'p-datatable-drag-selection-helper');
2942
2933
  initialDragPosition.current = {
2943
2934
  x: event.clientX,
2944
2935
  y: event.clientY
@@ -3066,7 +3057,10 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
3066
3057
  };
3067
3058
  var onRowMouseDown = function onRowMouseDown(e) {
3068
3059
  var event = e.originalEvent;
3069
- if (!isUnsyled && DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
3060
+ if (!isUnstyled() && DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
3061
+ event.currentTarget.draggable = true;
3062
+ event.target.draggable = false;
3063
+ } else if (isUnstyled() && DomHandler.getAttribute(event.target, 'data-pc-section') === 'rowreordericon') {
3070
3064
  event.currentTarget.draggable = true;
3071
3065
  event.target.draggable = false;
3072
3066
  } else {
@@ -3158,26 +3152,26 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
3158
3152
  var prevRowElement = rowElement.previousElementSibling;
3159
3153
  if (pageY < rowMidY) {
3160
3154
  rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
3161
- !isUnsyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
3155
+ !isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
3162
3156
  droppedRowIndex.current = index;
3163
3157
  if (prevRowElement) {
3164
3158
  prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
3165
- !isUnsyled && DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3159
+ !isUnstyled() && DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3166
3160
  } else {
3167
3161
  rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
3168
- !isUnsyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
3162
+ !isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
3169
3163
  }
3170
3164
  } else {
3171
3165
  if (prevRowElement) {
3172
3166
  prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
3173
- !isUnsyled && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3167
+ !isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3174
3168
  } else {
3175
3169
  rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
3176
- !isUnsyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
3170
+ !isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
3177
3171
  }
3178
3172
  droppedRowIndex.current = index + 1;
3179
3173
  rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
3180
- !isUnsyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
3174
+ !isUnstyled() && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
3181
3175
  }
3182
3176
  }
3183
3177
  event.preventDefault();
@@ -3188,12 +3182,12 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
3188
3182
  var prevRowElement = rowElement.previousElementSibling;
3189
3183
  if (prevRowElement) {
3190
3184
  prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
3191
- !isUnsyled && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3185
+ !isUnstyled() && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
3192
3186
  }
3193
3187
  rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
3194
- !isUnsyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
3188
+ !isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
3195
3189
  rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
3196
- !isUnsyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
3190
+ !isUnstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
3197
3191
  };
3198
3192
  var onRowDragEnd = function onRowDragEnd(e) {
3199
3193
  var event = e.originalEvent;
@@ -3369,7 +3363,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
3369
3363
  collapsedRowIcon: props.collapsedRowIcon,
3370
3364
  ptCallbacks: props.ptCallbacks,
3371
3365
  metaData: props.metaData,
3372
- unstyled: props.unstyled
3366
+ unstyled: isUnstyled()
3373
3367
  });
3374
3368
  var options = {
3375
3369
  index: rowIndex,
@@ -3475,7 +3469,7 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
3475
3469
  virtualScrollerOptions: props.virtualScrollerOptions,
3476
3470
  ptCallbacks: props.ptCallbacks,
3477
3471
  metaData: props.metaData,
3478
- unstyled: props.unstyled
3472
+ unstyled: isUnstyled()
3479
3473
  });
3480
3474
  }
3481
3475
  };
@@ -3839,18 +3833,20 @@ _defineProperty(PrimeReact, "filterMatchModeOptions", {
3839
3833
  _defineProperty(PrimeReact, "changeTheme", function (currentTheme, newTheme, linkElementId, callback) {
3840
3834
  var _linkElement$parentNo;
3841
3835
  var linkElement = document.getElementById(linkElementId);
3842
- var cloneLinkElement = linkElement.cloneNode(true);
3836
+ if (!linkElement) {
3837
+ throw Error("Element with id ".concat(linkElementId, " not found."));
3838
+ }
3843
3839
  var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
3844
- cloneLinkElement.setAttribute('id', linkElementId + '-clone');
3845
- cloneLinkElement.setAttribute('href', newThemeUrl);
3846
- cloneLinkElement.addEventListener('load', function () {
3847
- linkElement.remove();
3848
- cloneLinkElement.setAttribute('id', linkElementId);
3840
+ var newLinkElement = document.createElement('link');
3841
+ newLinkElement.setAttribute('rel', 'stylesheet');
3842
+ newLinkElement.setAttribute('id', linkElementId);
3843
+ newLinkElement.setAttribute('href', newThemeUrl);
3844
+ newLinkElement.addEventListener('load', function () {
3849
3845
  if (callback) {
3850
3846
  callback();
3851
3847
  }
3852
3848
  });
3853
- (_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.insertBefore(cloneLinkElement, linkElement.nextSibling);
3849
+ (_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
3854
3850
  });
3855
3851
 
3856
3852
  var locales = {
@@ -5013,7 +5009,7 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
5013
5009
  props: props
5014
5010
  });
5015
5011
  var tabIndex = props.disabled ? null : 0;
5016
- var headerCheckboxProps = mergeProps({
5012
+ var headerCheckboxProps = {
5017
5013
  role: 'checkbox',
5018
5014
  'aria-checked': props.checked,
5019
5015
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -5021,8 +5017,10 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
5021
5017
  onChange: onChange,
5022
5018
  icon: checkIcon,
5023
5019
  checked: props.checked,
5024
- disabled: props.disabled
5025
- }, getColumnPTOptions('headerCheckbox'));
5020
+ disabled: props.disabled,
5021
+ unstyled: props.unstyled,
5022
+ pt: getColumnPTOptions('headerCheckbox')
5023
+ };
5026
5024
  return /*#__PURE__*/React.createElement(Checkbox, headerCheckboxProps);
5027
5025
  });
5028
5026
  HeaderCheckbox.displayName = 'HeaderCheckbox';
@@ -7059,8 +7057,7 @@ var DataTable = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
7059
7057
  className: ptCallbacks.cx('loadingIcon')
7060
7058
  }, ptCallbacks.ptm('loadingIcon'));
7061
7059
  var icon = props.loadingIcon || /*#__PURE__*/React.createElement(SpinnerIcon, _extends({}, loadingIconProps, {
7062
- spin: true,
7063
- unstyled: props.unstyled
7060
+ spin: true
7064
7061
  }));
7065
7062
  var loadingIcon = IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
7066
7063
  props: props