@total_onion/onion-library 2.0.30 → 2.0.32

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/README.md CHANGED
@@ -1,33 +1,3 @@
1
- # cbl-component-library
1
+ # Onion Library
2
2
 
3
- Front end components for gcms sites
4
-
5
- ## Installation
6
-
7
- Install with npm or yarn..
8
-
9
- `npm install --save-dev @pernod-ricard-global-cms/cbl-component-library`
10
-
11
- `yarn add -D @pernod-ricard-global-cms/cbl-component-library`
12
-
13
- If you don't have the scripts already in your package.json you can add these and use them to install and update components.
14
-
15
- `"install-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/install-component.js", "upgrade-component": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/upgrade-component.js", "list-components": "node ./node_modules/@pernod-ricard-global-cms/cbl-component-library/list-components.js",`
16
-
17
- eg you can list the available components with
18
-
19
- `yarn list-components`
20
-
21
- and then you can install and component with
22
-
23
- `yarn install-component <name-of-component>`
24
-
25
- ## Run unit tests
26
-
27
- Go to the folder
28
-
29
- `yarn install`
30
-
31
- then, to run unit tests,
32
-
33
- `yarn test`
3
+ Front end component library
@@ -6,7 +6,7 @@ export default function groupcontainerv3Js(options = {}) {
6
6
  import(
7
7
  'Assets/js/blocks/group-container-v3/group-container-v3-extra.js'
8
8
  ).then((result) => {
9
- result.default();
9
+ result.default({block: block});
10
10
  });
11
11
  }
12
12
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {