@aloudata/aloudata-design 1.0.0 → 1.0.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.
@@ -32,7 +32,7 @@ import { FoldDownFill } from '@aloudata/icons-react';
32
32
  import { Select as AntdSelect } from 'antd';
33
33
  import classNames from 'classnames';
34
34
  import List from 'rc-virtual-list';
35
- import React, { forwardRef, useEffect, useLayoutEffect, useMemo, useRef } from 'react';
35
+ import React, { forwardRef, useEffect, useMemo, useRef } from 'react';
36
36
  import Empty from "../Empty";
37
37
  import MultipleOption from "./components/MultipleOption";
38
38
  import SingleOption from "./components/SingleOption";
@@ -276,7 +276,7 @@ var Select = /*#__PURE__*/forwardRef(function (props, ref) {
276
276
  return (_selectedOptions$ = selectedOptions[0]) === null || _selectedOptions$ === void 0 ? void 0 : _selectedOptions$.value;
277
277
  }
278
278
  }, [selectedOptions]);
279
- useLayoutEffect(function () {
279
+ useEffect(function () {
280
280
  if (prefixRef.current && prefix) {
281
281
  setPrefixWidth(prefixRef.current.offsetWidth);
282
282
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",