@websolutespa/bom-mixer-ui 1.8.8 → 1.8.9

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-mixer-ui
2
2
 
3
+ ## 1.8.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 15ad595: Fixing: LazyLoader not-found
8
+
3
9
  ## 1.8.8
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -11385,7 +11385,7 @@ const lazyLoadComponent = function (component, modules, index) {
11385
11385
  index = 0;
11386
11386
  }
11387
11387
  const key = component.schema || component.blockType;
11388
- const Component = modules[key] || modules['not_found'];
11388
+ const Component = modules[key] || modules['not-found'];
11389
11389
  return jsxRuntime.jsx(Component, {
11390
11390
  item: component,
11391
11391
  index: index
@@ -72,7 +72,7 @@ const lazyLoadComponent = function (component, modules, index) {
72
72
  index = 0;
73
73
  }
74
74
  const key = component.schema || component.blockType;
75
- const Component = modules[key] || modules['not_found'];
75
+ const Component = modules[key] || modules['not-found'];
76
76
  return jsx(Component, {
77
77
  item: component,
78
78
  index: index
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-mixer-ui",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "description": "Mixer UI module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",
@@ -25,6 +25,7 @@
25
25
  "postpack": "bom postpack"
26
26
  },
27
27
  "peerDependencies": {
28
+ "@axe-core/react": ">= 4.7.3",
28
29
  "@websolutespa/bom-core": "*",
29
30
  "@websolutespa/bom-mixer-forms": "*",
30
31
  "@websolutespa/bom-mixer-hooks": "*",
@@ -32,7 +33,7 @@
32
33
  "@websolutespa/bom-mixer-models": "*",
33
34
  "@websolutespa/bom-mixer-store": "*",
34
35
  "framer-motion": ">= 7.2.1",
35
- "iron-session": ">= 6.2.1",
36
+ "iron-session": ">= 8.0.3",
36
37
  "next": ">= 14.1.4",
37
38
  "react-dom": ">= 18.2.0",
38
39
  "react-error-boundary": ">= 4.0.11",
@@ -25,7 +25,7 @@ export const Skeleton: React.FC<SkeletonProps> = ({ loading, ...props }) => {
25
25
  const classNames = getClassNames('skeleton');
26
26
  return (
27
27
  <StyledSkeleton ref={ref} className={classNames} {...props}>
28
- {loading && <Loading></Loading>}
28
+ {loading && <Loading />}
29
29
  </StyledSkeleton>
30
30
  );
31
31
  };
@@ -12,7 +12,7 @@ export type LazyLoaderProps = {
12
12
 
13
13
  const lazyLoadComponent = (component: ILazyComponent, modules: ILazyModules, index: number = 0): JSX.Element => {
14
14
  const key = (component.schema || component.blockType) as keyof typeof modules;
15
- const Component = modules[key] || modules['not_found' as keyof typeof modules];
15
+ const Component = modules[key] || modules['not-found' as keyof typeof modules];
16
16
  return (<Component item={component} index={index} />);
17
17
  };
18
18
 
@@ -1,61 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Button should render correctly 1`] = `
4
- .c0 {
5
- color: inherit;
6
- display: -webkit-inline-box;
7
- display: -webkit-inline-flex;
8
- display: -ms-inline-flexbox;
9
- display: inline-flex;
10
- -webkit-align-items: center;
11
- -webkit-box-align: center;
12
- -ms-flex-align: center;
13
- align-items: center;
14
- font-size: 1em;
15
- line-height: normal;
16
- -webkit-transition: ease 150ms;
17
- transition: ease 150ms;
18
- -webkit-transition-property: background-color,color,border-color,outline-color,opacity;
19
- transition-property: background-color,color,border-color,outline-color,opacity;
20
- cursor: pointer;
21
- font-size: var(--button-size-md);
22
- }
23
-
24
- <div>
25
- <button
26
- class="c0 button"
27
- type="button"
28
- >
29
- Button
30
- </button>
31
- </div>
32
- `;
33
-
34
- exports[`Button should render empty button correctly 1`] = `
35
- .c0 {
36
- color: inherit;
37
- display: -webkit-inline-box;
38
- display: -webkit-inline-flex;
39
- display: -ms-inline-flexbox;
40
- display: inline-flex;
41
- -webkit-align-items: center;
42
- -webkit-box-align: center;
43
- -ms-flex-align: center;
44
- align-items: center;
45
- font-size: 1em;
46
- line-height: normal;
47
- -webkit-transition: ease 150ms;
48
- transition: ease 150ms;
49
- -webkit-transition-property: background-color,color,border-color,outline-color,opacity;
50
- transition-property: background-color,color,border-color,outline-color,opacity;
51
- cursor: pointer;
52
- font-size: var(--button-size-md);
53
- }
54
-
55
- <div>
56
- <button
57
- class="c0 button"
58
- type="button"
59
- />
60
- </div>
61
- `;