@asantemedia-org/edwardsvacuum-design-system 1.4.2 → 1.4.3

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 +5 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,6 +1,4 @@
1
- 'use strict';
2
-
3
- var React = require('react');
1
+ import React, { useState, useEffect } from 'react';
4
2
 
5
3
  /******************************************************************************
6
4
  Copyright (c) Microsoft Corporation.
@@ -4803,10 +4801,10 @@ var AlgoliaDynamicSearch = function (_a) {
4803
4801
  isLoading = _f === void 0 ? false : _f,
4804
4802
  placeholder = _a.placeholder,
4805
4803
  analytics = _a.analytics;
4806
- var _g = React.useState(isLoading),
4804
+ var _g = useState(isLoading),
4807
4805
  isLoadingState = _g[0],
4808
4806
  setIsLoadingState = _g[1];
4809
- React.useEffect(function () {
4807
+ useEffect(function () {
4810
4808
  if (isLoading !== isLoadingState) {
4811
4809
  setIsLoadingState(isLoading);
4812
4810
  }
@@ -4914,5 +4912,6 @@ var AlgoliaDynamicSearch = function (_a) {
4914
4912
  }))));
4915
4913
  };
4916
4914
 
4917
- exports.AlgoliaDynamicSearch = AlgoliaDynamicSearch;
4915
+ export { AlgoliaDynamicSearch };
4916
+ = AlgoliaDynamicSearch;
4918
4917
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asantemedia-org/edwardsvacuum-design-system",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Design system for EdwardsVacuum",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",