@total_onion/onion-library 1.1.32 → 1.1.33

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.
@@ -0,0 +1 @@
1
+ export default function (block) {}
@@ -0,0 +1,41 @@
1
+ import extraJs from 'Assets/js/blocks/standard-content-v3/standard-content-v3-extra.js';
2
+ export default function standardcontentv3Js(options = {}) {
3
+ try {
4
+ const {block} = options;
5
+ // const formContainerElement = block.querySelector('.form-container');
6
+ // const modalFormContainerElement = block.querySelector(
7
+ // '.form-container__modal'
8
+ // );
9
+ // const countdownElement = block.querySelector('.countdowndate');
10
+ // const socialMediaElement = block.querySelector(
11
+ // '.social-media-share-popup'
12
+ // );
13
+
14
+ // if (formContainerElement || modalFormContainerElement) {
15
+ // import(
16
+ // 'Assets/js/modules/library-modules/form-selection/form-selection.js'
17
+ // ).then((module) => {
18
+ // module.default(block);
19
+ // });
20
+ // }
21
+
22
+ // if (countdownElement) {
23
+ // import(
24
+ // 'Assets/js/modules/library-modules/countdown/countdown.js'
25
+ // ).then((module) => {
26
+ // module.default(block);
27
+ // });
28
+ // }
29
+
30
+ // if (socialMediaElement) {
31
+ // import(
32
+ // 'Assets/js/modules/library-modules/social-media-share/social-media-share.js'
33
+ // ).then((module) => {
34
+ // module.default(block);
35
+ // });
36
+ // }
37
+ extraJs(block);
38
+ } catch (error) {
39
+ console.error(error);
40
+ }
41
+ }
@@ -0,0 +1,11 @@
1
+ @use '../fields-core-mixins-v3/core-mixins-v3';
2
+ @use '../component-content-container-v3/content-container-v3';
3
+ // @use 'Assets/scss/blocks/standard-content-v3/standard-content-v3-extra';
4
+
5
+ .standard-content-v3 {
6
+ display: grid;
7
+ grid-template: 'main' / 1fr;
8
+ @include core-mixins-v3.responsiveShowHide(grid);
9
+ @include content-container-v3.contentContainerV3();
10
+ }
11
+ // @include standard-content-v3-extra.additionalStyles();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.1.32",
3
+ "version": "1.1.33",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {