@woosmap/ui 4.249.0 → 4.250.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.
@@ -109,10 +109,12 @@
109
109
  "Search among your own Points of Interest. Find stores by geography, by attributes or by autocomplete on store names.": "",
110
110
  "See how we compare": "",
111
111
  "Shopping centers": "",
112
- "Should be at least {{count}} char long": "",
113
- "Should be at least {{count}} char long__plural": "",
114
- "Should be at most {{count}} char long": "",
115
- "Should be at most {{count}} char long__plural": "",
112
+ "Should be at least {{count}} char long__many": "",
113
+ "Should be at least {{count}} char long__one": "",
114
+ "Should be at least {{count}} char long__other": "",
115
+ "Should be at most {{count}} char long__many": "",
116
+ "Should be at most {{count}} char long__one": "",
117
+ "Should be at most {{count}} char long__other": "",
116
118
  "Split per product": "",
117
119
  "Store Locator": "",
118
120
  "Store Locator integration: autocomplete on city names, suburb names, postcodes...": "",
@@ -0,0 +1,27 @@
1
+ // jest-dom adds custom jest matchers for asserting on DOM nodes.
2
+ // allows you to do things like:
3
+ // expect(element).toHaveTextContent(/react/i)
4
+ // learn more: https://github.com/testing-library/jest-dom
5
+ import '@testing-library/jest-dom';
6
+
7
+ // Suppress known warnings from third-party libraries
8
+ const originalError = console.error;
9
+ beforeAll(() => {
10
+ console.error = (...args) => {
11
+ // Suppress react-laag act warning - this is a known issue with the library
12
+ // The warning comes from useLayer hook's async state updates during mount
13
+ const errorString = String(args[0] || '');
14
+
15
+ if (
16
+ errorString.includes('An update to %s inside a test was not wrapped in act') ||
17
+ (errorString.includes('An update to') && errorString.includes('WrappedComponent'))
18
+ ) {
19
+ return;
20
+ }
21
+ originalError.call(console, ...args);
22
+ };
23
+ });
24
+
25
+ afterAll(() => {
26
+ console.error = originalError;
27
+ });
package/storybook.log ADDED
@@ -0,0 +1,3 @@
1
+ Usage Error: Package "@storybook/addon-styling-webpack" is already listed as a regular dependency - remove the -D,-P flags or remove it from your dependencies first
2
+
3
+ $ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...