react-layout-sdk 1.1.19 → 1.1.20

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/dist/index.js CHANGED
@@ -89,7 +89,7 @@ var Placeholder = ({ name, rendering, customProps, componentMap }) => {
89
89
  )));
90
90
  };
91
91
 
92
- // src/Layout.tsx
92
+ // src/layout.tsx
93
93
  var import_react2 = __toESM(require("react"));
94
94
  var JDLayout = ({ layoutData, placeholderComponent: Placeholder2 }) => {
95
95
  const { route } = layoutData.strapi;
package/dist/index.mjs CHANGED
@@ -48,7 +48,7 @@ var Placeholder = ({ name, rendering, customProps, componentMap }) => {
48
48
  )));
49
49
  };
50
50
 
51
- // src/Layout.tsx
51
+ // src/layout.tsx
52
52
  import React2 from "react";
53
53
  var JDLayout = ({ layoutData, placeholderComponent: Placeholder2 }) => {
54
54
  const { route } = layoutData.strapi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-layout-sdk",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "React components for JD SDK (Sitecore-like routing)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/Page.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { fetchJDLayout } from './index';
3
- import { JDLayout } from './Layout';
3
+ import { JDLayout } from './layout';
4
4
  import { Placeholder } from './Placeholder';
5
5
 
6
6
  export interface JDPageProps {
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Placeholder, ComponentFactory } from './Placeholder';
2
2
  export type { PlaceholderProps, ComponentFactoryProps } from './Placeholder';
3
- export { JDLayout } from './Layout';
4
- export type { JDLayoutProps } from './Layout';
3
+ export { JDLayout } from './layout';
4
+ export type { JDLayoutProps } from './layout';
5
5
  export { JDPage, generateJDMetadata } from './Page';
6
6
  export type { JDPageProps } from './Page';
7
7
 
package/tsconfig.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "strict": true,
9
9
  "esModuleInterop": true,
10
10
  "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
11
+ "forceConsistentCasingInFileNames": false,
12
12
  "moduleResolution": "node",
13
13
  "jsx": "react"
14
14
  },
File without changes