@pexip-engage-public/plugin-react
Advanced tools
Comparing version 0.0.7 to 1.0.3
# @pexip-engage-public/plugin-react | ||
## 1.0.3 | ||
### Patch Changes | ||
- 5074ca228: chore: fix npm deploy | ||
- Updated dependencies [5074ca228] | ||
- @pexip-engage-public/plugin-configuration-parser@1.0.3 | ||
- @pexip-engage-public/plugin-instance@1.0.3 | ||
## 1.0.2 | ||
### Patch Changes | ||
- f60e86f22: chore: fix npm deploy | ||
- Updated dependencies [f60e86f22] | ||
- @pexip-engage-public/plugin-configuration-parser@1.0.2 | ||
- @pexip-engage-public/plugin-instance@1.0.2 | ||
## 1.0.1 | ||
### Patch Changes | ||
- Updated dependencies [f8a00497c] | ||
- @pexip-engage-public/plugin-configuration-parser@1.0.1 | ||
- @pexip-engage-public/plugin-instance@1.0.1 | ||
## 1.0.0 | ||
### Major Changes | ||
- 17f29c6e4: **BREAKING**: setup `@pexip-engage-public/plugin-react` package for v2 compatibility of the actual plugin only. | ||
- Dropped V1 (Skedify) plugin support | ||
Users are advised to stay on 0.x version of this package until they fully migrate to the new version of the plugin, which will be backwards compatible. Only use this package if you're only using V2 version of the (Pexip Engage) plugin. | ||
- Dropped CRA4 hacks | ||
- Renamed exports, see updated README.md | ||
### Patch Changes | ||
- bdd45aa1a: [Hackathon] Plugin CSS editor in Web-Admin | ||
- Updated dependencies [17f29c6e4] | ||
- Updated dependencies [85be36ba9] | ||
- Updated dependencies [bdd45aa1a] | ||
- Updated dependencies [f67ee95f5] | ||
- @pexip-engage-public/plugin-configuration-parser@1.0.0 | ||
- @pexip-engage-public/plugin-instance@1.0.0 | ||
## 0.0.7 | ||
@@ -4,0 +51,0 @@ |
{ | ||
"name": "@pexip-engage-public/plugin-react", | ||
"version": "0.0.7", | ||
"description": "React wrapper component for the Skedify Plugin", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/packages/plugin-react#readme", | ||
"version": "1.0.3", | ||
"description": "React wrapper component for the Pexip Engage Plugin", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-react#readme", | ||
"bugs": { | ||
@@ -12,3 +12,3 @@ "url": "https://github.com/skedify/frontend-mono/issues" | ||
"url": "git+https://github.com/skedify/frontend-mono.git", | ||
"directory": "packages/plugin-react" | ||
"directory": "apps/plugin-remix/packages/plugin-react" | ||
}, | ||
@@ -24,4 +24,4 @@ "license": "UNLICENSED", | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
"types": "./typings/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
}, | ||
@@ -32,3 +32,2 @@ "./src/index.tsx": { | ||
}, | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
@@ -42,11 +41,10 @@ "types": "./typings/index.d.ts", | ||
], | ||
"jest": { | ||
"preset": "@pexip-engage/scripts/jest/node" | ||
}, | ||
"dependencies": { | ||
"deepmerge": "4.2.2" | ||
"deepmerge": "4.2.2", | ||
"@pexip-engage-public/plugin-configuration-parser": "1.0.3", | ||
"@pexip-engage-public/plugin-instance": "1.0.3" | ||
}, | ||
"devDependencies": { | ||
"@pexip-engage/scripts": "0.0.17", | ||
"@pexip-engage/tsconfig": "0.0.5" | ||
"@pexip-engage/tsconfig": "0.0.7", | ||
"eslint-config-pexip-engage": "0.0.9" | ||
}, | ||
@@ -57,3 +55,3 @@ "peerDependencies": { | ||
"volta": { | ||
"extends": "../../package.json" | ||
"extends": "../../../../package.json" | ||
}, | ||
@@ -70,5 +68,4 @@ "publishConfig": { | ||
"lint:fix": "pnpm lint --fix", | ||
"test": "jest --passWithNoTests", | ||
"typecheck": "tsc" | ||
} | ||
} |
@@ -7,6 +7,6 @@ # @pexip-engage-public/plugin-react | ||
- `<SkedifyPlugin configuration={configuration} />`: | ||
- `<PexipEngagePlugin configuration={configuration} />`: | ||
React Component that renders the plugin inside a `div`. You can pass plugin options to it using the `configuration` prop. All other props are passed through to the underlying `div` element. | ||
- `<SkedifyPluginProvider value={configuration}>`: | ||
- `<PexipEngagePluginProvider value={configuration}>`: | ||
This is a React Context Provider, that allows you to set certain default values. The interface is the same as the `configuration` prop. | ||
@@ -33,6 +33,6 @@ | ||
return ( | ||
<SkedifyPluginProvider value={defaultConfig}> | ||
{/* All <SkedifyPlugin /> components will now merge their own passed configuration with the defaultConfig value */} | ||
<SkedifyPlugin configuration={{ appointment: { subject_id: "1" } }}> | ||
</SkedifyPluginProvider> | ||
<PexipEngagePluginProvider value={defaultConfig}> | ||
{/* All <PexipEngagePlugin /> components will now merge their own passed configuration with the defaultConfig value */} | ||
<PexipEngagePlugin configuration={{ config: { subjects: { ids: "1" } }}}> | ||
</PexipEngagePluginProvider> | ||
); | ||
@@ -42,6 +42,6 @@ } | ||
The `SkedifyPlugin` reads the current context value, and merges it with its own passed props. | ||
The `PexipEngagePlugin` reads the current context value, and merges it with its own passed props. | ||
Required props: | ||
- `scriptSrc`: The plugin entry point URL. eg: `https://plugin.skedify.io/{ENTERPRISE_NAME}/skedify-plugin.js` | ||
- `scriptSrc`: The plugin entry point URL. eg: `https://{ENTERPRISE_NAME}.plugin.skedify.io/{ENTERPRISE_NAME}/skedify-plugin.js` |
@@ -1,4 +0,5 @@ | ||
export { SkedifyPlugin } from "./SkedifyPlugin"; | ||
export type { SkedifyPluginContextProps } from "./SkedifyPluginContext"; | ||
export { SkedifyPluginProvider } from "./SkedifyPluginContext"; | ||
export type { PexipEngagePluginContextProps } from "./PexipEngageContext"; | ||
export { PexipEngagePluginProvider } from "./PexipEngageContext"; | ||
export { PexipEngagePlugin } from "./PexipEngagePlugin"; | ||
export { usePexipEngagePlugin } from "./usePexipEngagePlugin"; | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
125903
1
4
20
371
1
+ Added@pexip-engage-public/plugin-configuration-parser@1.0.3
+ Added@pexip-engage-public/plugin-configuration@1.0.2(transitive)
+ Added@pexip-engage-public/plugin-configuration-parser@1.0.3(transitive)
+ Added@pexip-engage-public/plugin-events@1.0.2(transitive)
+ Added@pexip-engage-public/plugin-instance@1.0.3(transitive)
+ Added@pexip-engage-public/plugin-state@1.0.2(transitive)
+ Added@pexip-engage-public/plugin-utils@1.0.2(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addediframe-resizer@4.4.5(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.2.1(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedskedify-types@0.4.5(transitive)
+ Addedskedify-uri-encoding@2.1.2(transitive)
+ Addedzod@3.24.1(transitive)