@simpleview/cms-foundation 0.0.7 → 0.0.8
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/components/Preview/index.js +0 -4
- package/dist/components/Preview/index.js.map +3 -3
- package/dist/contexts/ComponentMapContext.js +1 -1
- package/dist/contexts/ComponentMapContext.js.map +2 -2
- package/dist/routes/index.js +2 -0
- package/dist/routes/index.js.map +2 -2
- package/dist/types/components/Preview/index.d.ts +0 -1
- package/dist/types/routes/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Preview/index.ts"],
|
|
4
|
-
"sourcesContent": ["export
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
4
|
+
"sourcesContent": ["export * from \"./PreviewCivWrapper\";\r\nexport * from \"./PreviewPageWrapper\";\r\nexport * from \"./PreviewContent\";\r\n"],
|
|
5
|
+
"mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -3,7 +3,7 @@ import { createContext, useContext } from "react";
|
|
|
3
3
|
const ComponentMapContext = createContext({
|
|
4
4
|
civs: {},
|
|
5
5
|
Error,
|
|
6
|
-
Unknown
|
|
6
|
+
Unknown
|
|
7
7
|
});
|
|
8
8
|
const ComponentMapProvider = ComponentMapContext.Provider;
|
|
9
9
|
const useComponentMap = () => useContext(ComponentMapContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/contexts/ComponentMapContext.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Unknown, Error, type ErrorProps } from \"../components\";\r\nimport type { CivProps, ComponentMap } from \"../types\";\r\nimport { createContext, useContext, type FC } from \"react\";\r\n\r\nconst ComponentMapContext = createContext<{\r\n\tcivs: ComponentMap;\r\n\tError: FC<ErrorProps>;\r\n\tUnknown: FC<CivProps>;\r\n}>({\r\n\tcivs: {},\r\n\tError,\r\n\tUnknown
|
|
5
|
-
"mappings": "AAAA,SAAS,SAAS,aAA8B;AAEhD,SAAS,eAAe,kBAA2B;AAEnD,MAAM,sBAAsB,cAIzB;AAAA,EACF,MAAM,CAAC;AAAA,EACP;AAAA,EACA
|
|
4
|
+
"sourcesContent": ["import { Unknown, Error, type ErrorProps } from \"../components\";\r\nimport type { CivProps, ComponentMap } from \"../types\";\r\nimport { createContext, useContext, type FC } from \"react\";\r\n\r\nconst ComponentMapContext = createContext<{\r\n\tcivs: ComponentMap;\r\n\tError: FC<ErrorProps>;\r\n\tUnknown: FC<CivProps>;\r\n}>({\r\n\tcivs: {},\r\n\tError,\r\n\tUnknown,\r\n});\r\n\r\nexport const ComponentMapProvider = ComponentMapContext.Provider;\r\n\r\nexport const useComponentMap = () => useContext(ComponentMapContext);\r\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,SAAS,aAA8B;AAEhD,SAAS,eAAe,kBAA2B;AAEnD,MAAM,sBAAsB,cAIzB;AAAA,EACF,MAAM,CAAC;AAAA,EACP;AAAA,EACA;AACD,CAAC;AAEM,MAAM,uBAAuB,oBAAoB;AAEjD,MAAM,kBAAkB,MAAM,WAAW,mBAAmB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/routes/index.js
CHANGED
package/dist/routes/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/routes/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { type RouteConfigEntry, relative } from \"@react-router/dev/routes\";\r\n\r\nconst { index, layout, prefix, route } = relative(\"app/client/app\");\r\n\r\nexport type { RouteConfigEntry };\r\n\r\nexport { index, layout, prefix, route };\r\n"],
|
|
5
|
-
"mappings": "AAAA,SAAgC,gBAAgB;
|
|
4
|
+
"sourcesContent": ["import { type RouteConfigEntry, relative } from \"@react-router/dev/routes\";\r\nimport { Link } from \"react-router\";\r\n\r\nconst { index, layout, prefix, route } = relative(\"app/client/app\");\r\n\r\nexport type { RouteConfigEntry };\r\n\r\nexport { index, layout, prefix, route, Link };\r\n"],
|
|
5
|
+
"mappings": "AAAA,SAAgC,gBAAgB;AAChD,SAAS,YAAY;AAErB,MAAM,EAAE,OAAO,QAAQ,QAAQ,MAAM,IAAI,SAAS,gBAAgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type RouteConfigEntry } from "@react-router/dev/routes";
|
|
2
|
+
import { Link } from "react-router";
|
|
2
3
|
declare const index: typeof import("@react-router/dev/routes").index, layout: typeof import("@react-router/dev/routes").layout, prefix: typeof import("@react-router/dev/routes").prefix, route: typeof import("@react-router/dev/routes").route;
|
|
3
4
|
export type { RouteConfigEntry };
|
|
4
|
-
export { index, layout, prefix, route };
|
|
5
|
+
export { index, layout, prefix, route, Link };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleview/cms-foundation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Provides helper types and components to assist when working with Granicus CMS Reactor.",
|
|
5
5
|
"packageManager": "yarn@4.6.0+sha224.acd0786f07ffc6c933940eb65fc1d627131ddf5455bddcc295dc90fd",
|
|
6
6
|
"scripts": {
|