@woosmap/ui 4.236.14 → 4.239.0

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 (58) hide show
  1. package/package.json +15 -15
  2. package/src/components/Button/Button.test.js +1 -1
  3. package/src/components/Button/ButtonWithDropdown.test.js +1 -1
  4. package/src/components/Card/Card.test.js +1 -1
  5. package/src/components/Card/SimpleCard.test.js +1 -1
  6. package/src/components/CodeSnippet/CodeSnippet.test.js +1 -1
  7. package/src/components/CopyClipboardButton/CopyToClipboard.test.js +1 -1
  8. package/src/components/DateTime/DateTime.test.js +1 -1
  9. package/src/components/Demo/DistanceDemo.test.js +3 -3
  10. package/src/components/Demo/GeolocationDemo.test.js +1 -1
  11. package/src/components/Demo/SearchDemo.test.js +1 -1
  12. package/src/components/Demo/SkeletonDemo.test.js +1 -1
  13. package/src/components/Dropdown/Dropdown.js +3 -1
  14. package/src/components/Dropdown/Dropdown.test.js +3 -3
  15. package/src/components/DynamicTag/DynamicTag.test.js +3 -3
  16. package/src/components/Flash/Flash.test.js +1 -1
  17. package/src/components/Icon/Icon.test.js +1 -1
  18. package/src/components/InfoMessage/InfoMessage.test.js +1 -1
  19. package/src/components/Input/Input.password.test.js +1 -1
  20. package/src/components/Input/Input.test.js +1 -1
  21. package/src/components/Label/Label.test.js +1 -1
  22. package/src/components/Map/InfoWindow.test.js +1 -1
  23. package/src/components/Map/Marker.test.js +1 -1
  24. package/src/components/Modal/ConfirmationModal.test.js +1 -1
  25. package/src/components/Modal/Modal.test.js +3 -3
  26. package/src/components/Panel/Panel.test.js +3 -3
  27. package/src/components/PasswordStrengthBar/PasswordStrengthBar.test.js +18 -13
  28. package/src/components/Popover/ConfirmationPopover.test.js +32 -21
  29. package/src/components/Popover/Popover.test.js +3 -3
  30. package/src/components/PricingSlider/PricingSlider.js +2 -9
  31. package/src/components/ProgressBar/ProgressBar.test.js +1 -1
  32. package/src/components/ScrollBar/ScrollBar.test.js +1 -1
  33. package/src/components/Select/TagSelect.test.js +1 -1
  34. package/src/components/ServiceMessage/ServiceMessage.test.js +3 -3
  35. package/src/components/SnackBar/SnackBar.test.js +1 -1
  36. package/src/components/Stepper/Stepper.test.js +1 -1
  37. package/src/components/Switch/Switch.test.js +1 -1
  38. package/src/components/Tab/Tab.test.js +1 -1
  39. package/src/components/Tooltip/Tooltip.test.js +1 -1
  40. package/src/components/withClickOutside/withClickOutside.test.js +1 -1
  41. package/src/components/withFormValidation/withFormValidation.test.js +1 -1
  42. package/src/locales/en/translation.json +2 -0
  43. package/src/locales/fr/translation.json +2 -0
  44. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  45. package/.idea/encodings.xml +0 -6
  46. package/.idea/inspectionProfiles/Project_Default.xml +0 -30
  47. package/.idea/inspectionProfiles/profiles_settings.xml +0 -6
  48. package/.idea/misc.xml +0 -4
  49. package/.idea/modules.xml +0 -8
  50. package/.idea/prettier.xml +0 -6
  51. package/.idea/ui.iml +0 -8
  52. package/.idea/vcs.xml +0 -6
  53. package/data/hl-pricings.json +0 -20265
  54. package/src/components/Icon/Icons.js +0 -7
  55. package/src/components/Map/Map.stories.js +0 -84
  56. package/src/components/PricingSlider/PricingData-Pro_Plan2025.js +0 -573
  57. package/src/components/PricingSlider/PricingData_competitors.js +0 -674
  58. package/storybook.log +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.236.14",
3
+ "version": "4.239.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -74,12 +74,12 @@
74
74
  ]
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/cli": "^7.24.8",
78
- "@babel/core": "^7.25.2",
77
+ "@babel/cli": "^7.28.3",
78
+ "@babel/core": "^7.28.5",
79
79
  "@babel/plugin-proposal-class-properties": "^7.18.6",
80
- "@babel/preset-env": "^7.25.4",
81
- "@babel/preset-react": "^7.24.7",
82
- "@emotion/is-prop-valid": "^1.3.0",
80
+ "@babel/preset-env": "^7.28.5",
81
+ "@babel/preset-react": "^7.28.5",
82
+ "@emotion/is-prop-valid": "^1.4.0",
83
83
  "@storybook/addon-actions": "^8.3.1",
84
84
  "@storybook/addon-essentials": "^8.3.1",
85
85
  "@storybook/addon-jest": "^8.3.1",
@@ -90,23 +90,23 @@
90
90
  "@storybook/react": "^8.3.1",
91
91
  "@storybook/react-webpack5": "^8.3.1",
92
92
  "@storybook/storybook-deployer": "^2.8.16",
93
- "@testing-library/jest-dom": "^5.17.0",
94
- "@testing-library/react": "^13.4.0",
93
+ "@testing-library/jest-dom": "^6.0.0",
94
+ "@testing-library/react": "^14.0.0",
95
95
  "@testing-library/user-event": "^14.5.2",
96
96
  "babel-plugin-i18next-extract": "^0.10.0",
97
97
  "babel-plugin-transform-dynamic-import": "^2.1.0",
98
- "concurrently": "^8.2.2",
98
+ "concurrently": "^9.2.1",
99
99
  "eslint-config-airbnb": "^19.0.4",
100
- "eslint-config-prettier": "^9.1.0",
100
+ "eslint-config-prettier": "^10.1.8",
101
101
  "eslint-plugin-prettier": "^5.2.1",
102
- "eslint-plugin-sonarjs": "^1.0.4",
102
+ "eslint-plugin-sonarjs": "^3.0.5",
103
103
  "jest-google-maps-mock": "^1.0.7",
104
- "prettier": "^3.3.3",
104
+ "prettier": "^3.7.4",
105
105
  "react-scripts": "5.0.1",
106
- "rimraf": "^6.0.1",
106
+ "rimraf": "^6.1.2",
107
107
  "storybook": "^8.3.1",
108
- "stylus": "^0.63.0",
109
- "stylus-loader": "^8.1.0",
108
+ "stylus": "^0.64.0",
109
+ "stylus-loader": "^8.1.2",
110
110
  "svgo": "^3.3.2"
111
111
  },
112
112
  "resolutions": {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Button from './Button';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
  import 'resize-observer-polyfill/dist/ResizeObserver.global';
5
5
 
6
6
  import ButtonWithDropdown from './ButtonWithDropdown';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Card from './Card';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import SimpleCard from './SimpleCard';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import CodeSnippet from './CodeSnippet';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { fireEvent, render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import CopyClipboardButton from './CopyClipboardButton';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import DateTime from './DateTime';
6
6
 
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { fireEvent, render, screen, waitFor } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, fireEvent, render, screen, waitFor } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import DistanceDemo from './DistanceDemo';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import GeolocationDemo from './GeolocationDemo';
6
6
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable prefer-destructuring */
2
2
  import React from 'react';
3
3
  import { fireEvent, render, screen } from '@testing-library/react';
4
- import '@testing-library/jest-dom/extend-expect';
4
+ import '@testing-library/jest-dom';
5
5
 
6
6
  import SearchDemo from './SearchDemo';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import SkeletonDemo from './SkeletonDemo';
6
6
  import Constants from '../../Constants';
@@ -390,6 +390,8 @@ class Dropdown extends Component {
390
390
  onMouseLeave: this.onMouseLeave,
391
391
  });
392
392
 
393
+ // Toujours rendre le contenu dans le HTML (comme kanbox.io)
394
+ // Le CSS gère l'affichage/masquage via .dropdown.open .dropdown__menu
393
395
  return (
394
396
  <div
395
397
  ref={openOnMouseEnter ? null : this.clickOutsideRef}
@@ -412,7 +414,7 @@ class Dropdown extends Component {
412
414
  onMouseLeave={this.onMouseLeave}
413
415
  />,
414
416
  )}
415
- {open && childrenWithProps}
417
+ {childrenWithProps}
416
418
  </div>
417
419
  );
418
420
  }
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { fireEvent, render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, fireEvent, render, screen } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
  import 'resize-observer-polyfill/dist/ResizeObserver.global';
5
5
 
6
6
  import Dropdown from './Dropdown';
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render, screen, getByRole, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, render, screen, getByRole, fireEvent } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import DynamicTag from './DynamicTag';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Flash from './Flash';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Icon from './Icon';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import InfoMessage from './InfoMessage';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Input from './Input';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Input from './Input';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Label from './Label';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import InfoWindow from './InfoWindow';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Marker from './Marker';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, act } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
  import 'resize-observer-polyfill/dist/ResizeObserver.global';
5
5
 
6
6
  import ConfirmationModal from './ConfirmationModal';
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, render, screen, fireEvent } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Modal from './Modal';
6
6
 
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, render, screen } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
  import userEvent from '@testing-library/user-event';
5
5
 
6
6
  import Panel from './Panel';
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { render, waitFor } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import PasswordStrengthBar from './PasswordStrengthBar';
6
6
 
@@ -23,32 +23,37 @@ const barColors = [grey, red, orange, blue, green];
23
23
  describe('PasswordStrengthBar', () => {
24
24
  describe('Color changing / complexity', () => {
25
25
  it('renders all bars in grey when password is too short', async () => {
26
- act(() => {
27
- render(<PasswordStrengthBar password={password.tooShort} barColors={barColors} />);
26
+ const { container } = render(<PasswordStrengthBar password={password.tooShort} barColors={barColors} />);
27
+ await waitFor(() => {
28
+ expect(container.querySelector('.password-strength')).toBeInTheDocument();
28
29
  });
29
30
  });
30
31
 
31
32
  it('renders the first bar in red and the others in grey when password is weak', async () => {
32
- act(() => {
33
- render(<PasswordStrengthBar password={password.weak} barColors={barColors} />);
33
+ const { container } = render(<PasswordStrengthBar password={password.weak} barColors={barColors} />);
34
+ await waitFor(() => {
35
+ expect(container.querySelector('.password-strength')).toBeInTheDocument();
34
36
  });
35
37
  });
36
38
 
37
39
  it('renders the two first bars in orange and others in grey when password is okay', async () => {
38
- act(() => {
39
- render(<PasswordStrengthBar password={password.okay} barColors={barColors} />);
40
+ const { container } = render(<PasswordStrengthBar password={password.okay} barColors={barColors} />);
41
+ await waitFor(() => {
42
+ expect(container.querySelector('.password-strength')).toBeInTheDocument();
40
43
  });
41
44
  });
42
45
 
43
46
  it('renders the three first bars in blue and the last in grey when password is good', async () => {
44
- act(() => {
45
- render(<PasswordStrengthBar password={password.good} barColors={barColors} />);
47
+ const { container } = render(<PasswordStrengthBar password={password.good} barColors={barColors} />);
48
+ await waitFor(() => {
49
+ expect(container.querySelector('.password-strength')).toBeInTheDocument();
46
50
  });
47
51
  });
48
52
 
49
53
  it('renders all bars in green when password is strong', async () => {
50
- act(() => {
51
- render(<PasswordStrengthBar password={password.strong} barColors={barColors} />);
54
+ const { container } = render(<PasswordStrengthBar password={password.strong} barColors={barColors} />);
55
+ await waitFor(() => {
56
+ expect(container.querySelector('.password-strength')).toBeInTheDocument();
52
57
  });
53
58
  });
54
59
  });
@@ -1,33 +1,44 @@
1
1
  import React from 'react';
2
- import { act, render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
2
+ import { act, render, screen, waitFor } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
  import 'resize-observer-polyfill/dist/ResizeObserver.global';
5
5
 
6
6
  import ConfirmationPopover from './ConfirmationPopover';
7
7
 
8
- it('renders a ConfirmationPopover', () => {
9
- const { container } = render(
10
- <ConfirmationPopover text="Do you confirm?" confirmCb={() => {}}>
11
- <span>Child 1</span>
12
- </ConfirmationPopover>,
13
- );
14
- expect(container.firstChild).toHaveClass('popover__child');
8
+ it('renders a ConfirmationPopover', async () => {
9
+ let container;
10
+ await act(async () => {
11
+ const result = render(
12
+ <ConfirmationPopover text="Do you confirm?" confirmCb={() => {}}>
13
+ <span>Child 1</span>
14
+ </ConfirmationPopover>,
15
+ );
16
+ container = result.container;
17
+ });
18
+ await waitFor(() => {
19
+ expect(container.firstChild).toHaveClass('popover__child');
20
+ });
15
21
  });
16
22
 
17
- it('renders a confirm', () => {
23
+ it('renders a confirm', async () => {
18
24
  const ref = React.createRef();
19
25
  let confirmed = false;
20
- render(
21
- <ConfirmationPopover
22
- ref={ref}
23
- text="Do you confirm?"
24
- confirmCb={() => {
25
- confirmed = true;
26
- }}
27
- >
28
- <span>Child 1</span>
29
- </ConfirmationPopover>,
30
- );
26
+ await act(async () => {
27
+ render(
28
+ <ConfirmationPopover
29
+ ref={ref}
30
+ text="Do you confirm?"
31
+ confirmCb={() => {
32
+ confirmed = true;
33
+ }}
34
+ >
35
+ <span>Child 1</span>
36
+ </ConfirmationPopover>,
37
+ );
38
+ });
39
+ await waitFor(() => {
40
+ expect(ref.current).toBeTruthy();
41
+ });
31
42
  act(() => {
32
43
  ref.current.toggle();
33
44
  });
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, render, screen } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Button from '../Button/Button';
6
6
  import Popover from './Popover';
@@ -259,15 +259,8 @@ export default class PricingSlider extends Component {
259
259
  const { name, productPricing, values, id, displayCompetitors, displayCompetitorsCallback } = this.props;
260
260
  const { displayDetailed } = this.state;
261
261
  const { queries } = values;
262
- const {
263
- displayedPricing,
264
- amount,
265
- formatedQueries,
266
- marks,
267
- computedQueries,
268
- aboveLastTier,
269
- amountGmp,
270
- } = this.getDisplayedData(queries);
262
+ const { displayedPricing, amount, formatedQueries, marks, computedQueries, aboveLastTier, amountGmp } =
263
+ this.getDisplayedData(queries);
271
264
 
272
265
  let displayedAmount = <span className="amount">{this.displayAmount(0)}</span>;
273
266
  if (amount === '∞') {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
  import ProgressBar from './ProgressBar';
5
5
 
6
6
  describe('<ProgressBar />', () => {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import ScrollBar from './ScrollBar';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import TagSelect from './TagSelect';
6
6
 
@@ -1,6 +1,6 @@
1
- import React, { act } from 'react';
2
- import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
1
+ import React from 'react';
2
+ import { act, render } from '@testing-library/react';
3
+ import '@testing-library/jest-dom';
4
4
  import ServiceMessage from './ServiceMessage';
5
5
 
6
6
  describe('<ServiceMessage />', () => {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, waitFor } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
  import fireEvent from '@testing-library/user-event';
5
5
  import SnackBar from './SnackBar';
6
6
  import withSnackBar from './withSnackBar';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Stepper from './Stepper';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { fireEvent, render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Switch from './Switch';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Tab from './Tab';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import Tooltip from './Tooltip';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { fireEvent, render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import withClickOutside from './withClickOutside';
6
6
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable react/prop-types */
2
2
  import React from 'react';
3
3
  import { render, screen, fireEvent } from '@testing-library/react';
4
- import '@testing-library/jest-dom/extend-expect';
4
+ import '@testing-library/jest-dom';
5
5
  import Input from '../Input/Input';
6
6
  import Button from '../Button/Button';
7
7
  import withFormValidation, { validationStrategy } from './withFormValidation';
@@ -53,6 +53,7 @@
53
53
  "Distance API": "Distance API",
54
54
  "Documentation": "Documentation",
55
55
  "Enter an address": "Enter an address",
56
+ "Estimated cost": "Estimated cost",
56
57
  "Estimated usage:": "Estimated usage:",
57
58
  "FREE": "FREE",
58
59
  "Favorite Project": "Favorite Project",
@@ -106,6 +107,7 @@
106
107
  "Results": "Results",
107
108
  "Schedule a Demo": "Schedule a Demo",
108
109
  "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.",
110
+ "See how we compare": "See how we compare",
109
111
  "Shopping centers": "Shopping centers",
110
112
  "Should be at least {{count}} char long": "Should be at least {{count}} char long",
111
113
  "Should be at least {{count}} char long__plural": "Should be at least {{count}} char long__plural",
@@ -53,6 +53,7 @@
53
53
  "Distance API": "",
54
54
  "Documentation": "",
55
55
  "Enter an address": "",
56
+ "Estimated cost": "",
56
57
  "Estimated usage:": "",
57
58
  "FREE": "",
58
59
  "Favorite Project": "Projet favori",
@@ -106,6 +107,7 @@
106
107
  "Results": "",
107
108
  "Schedule a Demo": "",
108
109
  "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "",
110
+ "See how we compare": "",
109
111
  "Shopping centers": "",
110
112
  "Should be at least {{count}} char long": "",
111
113
  "Should be at least {{count}} char long__plural": "",
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding">
4
- <file url="PROJECT" charset="UTF-8" />
5
- </component>
6
- </project>