primereact 10.8.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 (228) 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 +1 -2
  14. package/core/core.min.js +1 -1
  15. package/datatable/datatable.cjs.js +11 -20
  16. package/datatable/datatable.cjs.min.js +1 -1
  17. package/datatable/datatable.d.ts +1 -1
  18. package/datatable/datatable.esm.js +11 -20
  19. package/datatable/datatable.esm.min.js +1 -1
  20. package/datatable/datatable.js +11 -20
  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 +42 -37
  43. package/primereact.all.cjs.min.js +1 -1
  44. package/primereact.all.esm.js +42 -37
  45. package/primereact.all.esm.min.js +1 -1
  46. package/primereact.all.js +42 -37
  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/web-types.json +1 -1
  197. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  198. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  199. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  200. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  201. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  202. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  203. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  204. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  205. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  206. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  207. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  208. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  209. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  210. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  211. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  212. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  213. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  214. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  215. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  216. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  217. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  218. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  219. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  220. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  221. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  222. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  223. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  224. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  225. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  226. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  227. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  228. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
@@ -905,7 +905,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
905
905
  props: props
906
906
  });
907
907
  var tabIndex = props.disabled ? null : '0';
908
- var checkboxProps = mergeProps({
908
+ var checkboxProps = {
909
909
  role: 'checkbox',
910
910
  'aria-checked': props.checked,
911
911
  tabIndex: tabIndex,
@@ -914,8 +914,9 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
914
914
  checked: props.checked,
915
915
  icon: checkIcon,
916
916
  disabled: props.disabled,
917
+ unstyled: props.unstyled,
917
918
  pt: getColumnPTOptions('rowCheckbox')
918
- });
919
+ };
919
920
  return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
920
921
  });
921
922
  RowCheckbox.displayName = 'RowCheckbox';
@@ -1144,7 +1145,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
1144
1145
  props.onChange(event);
1145
1146
  }
1146
1147
  };
1147
- var radioButtonProps = mergeProps({
1148
+ var radioButtonProps = {
1148
1149
  role: 'radio',
1149
1150
  'aria-checked': props.checked,
1150
1151
  checked: props.checked,
@@ -1153,7 +1154,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
1153
1154
  onChange: onChange,
1154
1155
  unstyled: props.unstyled,
1155
1156
  pt: getColumnPTOptions('rowRadioButton')
1156
- });
1157
+ };
1157
1158
  return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
1158
1159
  });
1159
1160
  RowRadioButton.displayName = 'RowRadioButton';
@@ -2818,32 +2819,20 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
2818
2819
  var selectRange = function selectRange(event) {
2819
2820
  var rangeStart;
2820
2821
  var rangeEnd;
2821
- var selectedSize;
2822
2822
  var isAllowCellSelection = allowCellSelection();
2823
- var index = utils.ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
2824
2823
  if (rangeRowIndex.current > anchorRowIndex.current) {
2825
2824
  rangeStart = anchorRowIndex.current;
2826
2825
  rangeEnd = rangeRowIndex.current;
2827
- if (!isAllowCellSelection) {
2828
- selectedSize = rangeEnd - rangeStart;
2829
- rangeEnd = index;
2830
- rangeStart = index - selectedSize;
2831
- }
2832
2826
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
2833
2827
  rangeStart = rangeRowIndex.current;
2834
2828
  rangeEnd = anchorRowIndex.current;
2835
- if (!isAllowCellSelection) {
2836
- selectedSize = rangeEnd - rangeStart;
2837
- rangeStart = index;
2838
- rangeEnd = index + selectedSize;
2839
- }
2840
2829
  } else {
2841
2830
  rangeStart = rangeEnd = rangeRowIndex.current;
2842
2831
  }
2843
2832
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
2844
2833
  };
2845
2834
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
2846
- var value = props.value;
2835
+ var value = props.tableProps.value;
2847
2836
  var selection = [];
2848
2837
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
2849
2838
  var rangeRowData = value[i];
@@ -5014,7 +5003,7 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
5014
5003
  props: props
5015
5004
  });
5016
5005
  var tabIndex = props.disabled ? null : 0;
5017
- var headerCheckboxProps = mergeProps({
5006
+ var headerCheckboxProps = {
5018
5007
  role: 'checkbox',
5019
5008
  'aria-checked': props.checked,
5020
5009
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -5022,8 +5011,10 @@ this.primereact.datatable = (function (exports, React, PrimeReact$1, componentba
5022
5011
  onChange: onChange,
5023
5012
  icon: checkIcon,
5024
5013
  checked: props.checked,
5025
- disabled: props.disabled
5026
- }, getColumnPTOptions('headerCheckbox'));
5014
+ disabled: props.disabled,
5015
+ unstyled: props.unstyled,
5016
+ pt: getColumnPTOptions('headerCheckbox')
5017
+ };
5027
5018
  return /*#__PURE__*/React__namespace.createElement(Checkbox, headerCheckboxProps);
5028
5019
  });
5029
5020
  HeaderCheckbox.displayName = 'HeaderCheckbox';