@viamedici-spc/configurator-framer-bundle 3.0.0 → 3.1.0-alpha13

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.
Files changed (4) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +145 -124
  3. package/dist/index.js +40430 -39986
  4. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  <strong>Viamedici SPC</strong>
3
3
  </div>
4
4
 
5
- # Configurator Components Library for Framer
5
+ # configurator-framer
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@viamedici-spc/configurator-framer-bundle)](https://www.npmjs.com/package/@viamedici-spc/configurator-framer-bundle)
8
8
  [![license](https://img.shields.io/npm/l/@viamedici-spc/configurator-framer-bundle)](https://github.com/viamedici-spc/configurator-framer/blob/main/LICENSE)
@@ -24,21 +24,20 @@ The exported components will then be available in the assets panel as local comp
24
24
 
25
25
  ```typescript
26
26
  import type {ComponentType} from "react";
27
-
28
- import {ConfiguratorFramer} from "https://ga.jspm.io/npm:@viamedici-spc/configurator-framer-bundle@1.1.0/dist/index.js";
27
+ import {ConfiguratorFramer} from "https://cdn.jsdelivr.net/npm/@viamedici-spc/configurator-framer-bundle@3.1.0/dist/index.js"
29
28
 
30
29
  export const Configuration: ComponentType = ConfiguratorFramer.Configuration;
31
30
  export const ChoiceSelect: ComponentType = ConfiguratorFramer.ChoiceSelect;
32
31
  export const SelectionToggle: ComponentType = ConfiguratorFramer.SelectionToggle;
33
32
  ```
34
33
 
35
- ### Why Use JSPM?
34
+ ### Why Use the Bundle?
36
35
 
37
- Framer allows direct importing of npm packages, such as `@viamedici-spc/configurator-framer`, as long as the package and all its dependencies are compliant with the JavaScript Module System.
36
+ Framer allows direct importing of npm packages, such as `@viamedici-spc/configurator-framer`, as long as the package and all its dependencies are compliant with the JavaScript Module System. Framer resolves dependencies for you behind the scenes.
38
37
 
39
- However, there is a limitation: you don't have control over the version of the referenced package. Once imported, updating to a newer version becomes impossible. Hopefully Framer support this in the future.
38
+ However, there is a limitation: you don't have control over the version of the referenced package. Once imported, updating to a newer version becomes impossible. Hopefully Framer supports version selection in the future.
40
39
 
41
- To address this, the library is also provided as a bundled package with all dependencies integrated. This allows you to directly import the hosted `index.js` module, ensuring version control and easier updates.
40
+ To address this, the library is also provided as a bundled package with all dependencies integrated. This allows you to directly import the hosted `index.js` module (for example via jsDelivr), ensuring version control and easier updates. If Framer adds granular version selection later, direct package imports can become the preferred path again.
42
41
 
43
42
  ## Live Demo
44
43
 
@@ -50,4 +49,4 @@ Below are demo configurator applications that showcase the UI components from th
50
49
 
51
50
  ## License
52
51
 
53
- This project is licensed under the MIT License - see the LICENSE file for details.
52
+ This project is licensed under the MIT License - see the LICENSE file for details.