primereact 10.8.1 → 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 (36) hide show
  1. package/core/core.js +10 -12
  2. package/core/core.min.js +1 -1
  3. package/datatable/datatable.cjs.js +8 -9
  4. package/datatable/datatable.cjs.min.js +1 -1
  5. package/datatable/datatable.esm.js +8 -9
  6. package/datatable/datatable.esm.min.js +1 -1
  7. package/datatable/datatable.js +8 -9
  8. package/datatable/datatable.min.js +1 -1
  9. package/package.json +1 -1
  10. package/primereact.all.cjs.js +18 -21
  11. package/primereact.all.cjs.min.js +1 -1
  12. package/primereact.all.esm.js +18 -21
  13. package/primereact.all.esm.min.js +1 -1
  14. package/primereact.all.js +18 -21
  15. package/primereact.all.min.js +1 -1
  16. package/resources/themes/lara-dark-amber/theme.css +2 -2
  17. package/resources/themes/lara-dark-blue/theme.css +2 -2
  18. package/resources/themes/lara-dark-cyan/theme.css +2 -2
  19. package/resources/themes/lara-dark-green/theme.css +2 -2
  20. package/resources/themes/lara-dark-indigo/theme.css +2 -2
  21. package/resources/themes/lara-dark-pink/theme.css +2 -2
  22. package/resources/themes/lara-dark-teal/theme.css +2 -2
  23. package/resources/themes/lara-light-amber/theme.css +2 -2
  24. package/resources/themes/lara-light-blue/theme.css +2 -2
  25. package/resources/themes/lara-light-cyan/theme.css +2 -2
  26. package/resources/themes/lara-light-green/theme.css +2 -2
  27. package/resources/themes/lara-light-indigo/theme.css +2 -2
  28. package/resources/themes/lara-light-pink/theme.css +2 -2
  29. package/resources/themes/lara-light-teal/theme.css +2 -2
  30. package/tree/tree.cjs.js +10 -12
  31. package/tree/tree.cjs.min.js +1 -1
  32. package/tree/tree.esm.js +10 -12
  33. package/tree/tree.esm.min.js +1 -1
  34. package/tree/tree.js +10 -12
  35. package/tree/tree.min.js +1 -1
  36. package/web-types.json +1 -1
@@ -2451,8 +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,
2455
- isUnstyled = _props$ptCallbacks.isUnstyled;
2454
+ cx = _props$ptCallbacks.cx;
2455
+ _props$ptCallbacks.isUnstyled;
2456
2456
  var _onClick = function onClick(event) {
2457
2457
  props.onClick({
2458
2458
  originalEvent: event,
@@ -2475,8 +2475,7 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
2475
2475
  };
2476
2476
  var rowGroupTogglerIconProps = mergeProps({
2477
2477
  className: cx('rowGroupTogglerIcon'),
2478
- 'aria-hidden': true,
2479
- unstyled: isUnstyled()
2478
+ 'aria-hidden': true
2480
2479
  }, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
2481
2480
  var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
2482
2481
  var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$8({}, rowGroupTogglerIconProps), {
@@ -2490,8 +2489,7 @@ var RowTogglerButton = /*#__PURE__*/React.memo(function (props) {
2490
2489
  },
2491
2490
  className: cx('rowGroupToggler'),
2492
2491
  tabIndex: props.tabIndex,
2493
- 'aria-label': label,
2494
- unstyled: isUnstyled()
2492
+ 'aria-label': label
2495
2493
  }, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
2496
2494
  return /*#__PURE__*/React.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React.createElement(Ripple, null));
2497
2495
  });
@@ -5624,10 +5622,11 @@ var TableHeader = /*#__PURE__*/React.memo(function (props) {
5624
5622
  className: classNames(filterHeaderClassName, className, cx('headerCell', {
5625
5623
  frozen: frozen,
5626
5624
  column: col
5627
- })),
5628
- key: colKey
5625
+ }))
5629
5626
  }, getColumnPTOptions(col, 'root'), getColumnPTOptions(col, 'headerCell'));
5630
- return /*#__PURE__*/React.createElement("th", headerCellProps, checkbox, filterRow);
5627
+ return /*#__PURE__*/React.createElement("th", _extends({
5628
+ key: colKey
5629
+ }, headerCellProps), checkbox, filterRow);
5631
5630
  }
5632
5631
  return null;
5633
5632
  });