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
@@ -1104,7 +1104,7 @@ interface DataTableBaseProps<TValue extends DataTableValueArray> extends Omit<Re
1104
1104
  * Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering.
1105
1105
  * @defaultValue (&#123;currentPage&#125; of &#123;totalPages&#125;)
1106
1106
  */
1107
- dataKey?: string | undefined;
1107
+ dataKey?: string | undefined | ((data: any) => string);
1108
1108
  /**
1109
1109
  * Default sort order of an unsorted column.
1110
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,
@@ -920,8 +920,9 @@ var RowCheckbox = /*#__PURE__*/React.memo(function (props) {
920
920
  checked: props.checked,
921
921
  icon: checkIcon,
922
922
  disabled: props.disabled,
923
+ unstyled: props.unstyled,
923
924
  pt: getColumnPTOptions('rowCheckbox')
924
- });
925
+ };
925
926
  return /*#__PURE__*/React.createElement(Checkbox, checkboxProps);
926
927
  });
927
928
  RowCheckbox.displayName = 'RowCheckbox';
@@ -1150,7 +1151,7 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
1150
1151
  props.onChange(event);
1151
1152
  }
1152
1153
  };
1153
- var radioButtonProps = mergeProps({
1154
+ var radioButtonProps = {
1154
1155
  role: 'radio',
1155
1156
  'aria-checked': props.checked,
1156
1157
  checked: props.checked,
@@ -1159,7 +1160,7 @@ var RowRadioButton = /*#__PURE__*/React.memo(function (props) {
1159
1160
  onChange: onChange,
1160
1161
  unstyled: props.unstyled,
1161
1162
  pt: getColumnPTOptions('rowRadioButton')
1162
- });
1163
+ };
1163
1164
  return /*#__PURE__*/React.createElement(RadioButton, radioButtonProps);
1164
1165
  });
1165
1166
  RowRadioButton.displayName = 'RowRadioButton';
@@ -2824,32 +2825,20 @@ var TableBody = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
2824
2825
  var selectRange = function selectRange(event) {
2825
2826
  var rangeStart;
2826
2827
  var rangeEnd;
2827
- var selectedSize;
2828
2828
  var isAllowCellSelection = allowCellSelection();
2829
- var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
2830
2829
  if (rangeRowIndex.current > anchorRowIndex.current) {
2831
2830
  rangeStart = anchorRowIndex.current;
2832
2831
  rangeEnd = rangeRowIndex.current;
2833
- if (!isAllowCellSelection) {
2834
- selectedSize = rangeEnd - rangeStart;
2835
- rangeEnd = index;
2836
- rangeStart = index - selectedSize;
2837
- }
2838
2832
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
2839
2833
  rangeStart = rangeRowIndex.current;
2840
2834
  rangeEnd = anchorRowIndex.current;
2841
- if (!isAllowCellSelection) {
2842
- selectedSize = rangeEnd - rangeStart;
2843
- rangeStart = index;
2844
- rangeEnd = index + selectedSize;
2845
- }
2846
2835
  } else {
2847
2836
  rangeStart = rangeEnd = rangeRowIndex.current;
2848
2837
  }
2849
2838
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
2850
2839
  };
2851
2840
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
2852
- var value = props.value;
2841
+ var value = props.tableProps.value;
2853
2842
  var selection = [];
2854
2843
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
2855
2844
  var rangeRowData = value[i];
@@ -5020,7 +5009,7 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
5020
5009
  props: props
5021
5010
  });
5022
5011
  var tabIndex = props.disabled ? null : 0;
5023
- var headerCheckboxProps = mergeProps({
5012
+ var headerCheckboxProps = {
5024
5013
  role: 'checkbox',
5025
5014
  'aria-checked': props.checked,
5026
5015
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -5028,8 +5017,10 @@ var HeaderCheckbox = /*#__PURE__*/React.memo(function (props) {
5028
5017
  onChange: onChange,
5029
5018
  icon: checkIcon,
5030
5019
  checked: props.checked,
5031
- disabled: props.disabled
5032
- }, getColumnPTOptions('headerCheckbox'));
5020
+ disabled: props.disabled,
5021
+ unstyled: props.unstyled,
5022
+ pt: getColumnPTOptions('headerCheckbox')
5023
+ };
5033
5024
  return /*#__PURE__*/React.createElement(Checkbox, headerCheckboxProps);
5034
5025
  });
5035
5026
  HeaderCheckbox.displayName = 'HeaderCheckbox';