arengibook 2.0.10-table → 2.0.12-table

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 (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13975,7 +13975,7 @@ var DatePicker = function DatePicker(_ref) {
13975
13975
  }, 0);
13976
13976
  };
13977
13977
  var handleHide = function handleHide() {
13978
- var _calendarRef$current3;
13978
+ var _calendarRef$current3, _inputRef$current;
13979
13979
  panelVisibleRef.current = false;
13980
13980
  cleanupScrollListeners();
13981
13981
  var overlay = (_calendarRef$current3 = calendarRef.current) === null || _calendarRef$current3 === void 0 ? void 0 : _calendarRef$current3.getOverlay();
@@ -13983,6 +13983,7 @@ var DatePicker = function DatePicker(_ref) {
13983
13983
  overlay.style.minHeight = '';
13984
13984
  }
13985
13985
  setPanelReady(false);
13986
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.blur();
13986
13987
  };
13987
13988
  useEffect(function () {
13988
13989
  return function () {
@@ -37968,7 +37969,11 @@ var Dropdown = function Dropdown(props) {
37968
37969
  }, 0);
37969
37970
  }
37970
37971
  },
37971
- onHide: isGroupedOption && showTooltipGroup ? handleHide : undefined,
37972
+ onHide: function onHide() {
37973
+ var _dropdownComposantRef4;
37974
+ if (isGroupedOption && showTooltipGroup) handleHide();
37975
+ (_dropdownComposantRef4 = dropdownComposantRef.current) === null || _dropdownComposantRef4 === void 0 || (_dropdownComposantRef4 = _dropdownComposantRef4.getElement()) === null || _dropdownComposantRef4 === void 0 || (_dropdownComposantRef4 = _dropdownComposantRef4.querySelector('.p-dropdown-label')) === null || _dropdownComposantRef4 === void 0 || _dropdownComposantRef4.blur();
37976
+ },
37972
37977
  loading: loading,
37973
37978
  emptyMessage: loading ? 'Chargement…' : emptyMessage,
37974
37979
  virtualScrollerOptions: virtualScroll ? _objectSpread2({
@@ -48162,7 +48167,7 @@ var Table = function Table(_ref7) {
48162
48167
  return c.editable === true;
48163
48168
  }) ? 'cell' : undefined,
48164
48169
  dataKey: "id",
48165
- tableClassName: 'arengi-table',
48170
+ tableClassName: '',
48166
48171
  resizableColumns: true,
48167
48172
  columnResizeMode: "expand",
48168
48173
  removableSort: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.0.10-table",
4
+ "version": "2.0.12-table",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {