@total_onion/onion-library 2.0.102 → 2.0.105

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.
@@ -1,9 +1,9 @@
1
- @use 'NodeModules/@total_onion/onion-library/components/fields-core-mixins-v3/core-mixins-v3';
2
- @use 'NodeModules/@total_onion/onion-library/components/fields-core-functions-v3/core-functions-v3';
3
- @use 'NodeModules/@total_onion/onion-library/breakpoints';
1
+ @use '../fields-core-mixins-v3/core-mixins-v3';
2
+ @use '../fields-core-functions-v3/core-functions-v3';
3
+ @use '../../breakpoints';
4
4
  // @use 'Assets/scss/modules/library-modules/core-gradient-designer/core-gradient-designer';
5
- @use 'NodeModules/@total_onion/onion-library/components/component-grid-layout-element-v3/grid-layout-element-v3';
6
- @use 'NodeModules/@total_onion/onion-library/components/component-element-positioning-v3/element-positioning-v3';
5
+ @use '../component-grid-layout-element-v3/grid-layout-element-v3';
6
+ @use '../component-element-positioning-v3/element-positioning-v3';
7
7
 
8
8
  .post-type-filter-grid-v3 {
9
9
  z-index: 10;
@@ -768,13 +768,7 @@
768
768
  @include grid-layout-element-v3.gridLayoutElement();
769
769
  z-index: 2;
770
770
 
771
- &:not(
772
- .post-type-filter-grid-v3__post-link,
773
- .post-type-filter-grid-v3__product-buy-now,
774
- .post-type-filter-grid-v3__post-image-container-link,
775
- .post-type-filter-grid-v3__post-tags,
776
- .post-type-filter-grid-v3__shopify
777
- ) {
771
+ &:not(.post-type-filter-grid-v3__post-link, .post-type-filter-grid-v3__product-buy-now, .post-type-filter-grid-v3__post-image-container-link, .post-type-filter-grid-v3__post-tags, .post-type-filter-grid-v3__shopify) {
778
772
  * {
779
773
  width: 100%;
780
774
  // @include core-mixins-v3.textStyle();
@@ -0,0 +1,7 @@
1
+ export default function responsivetableJs(options = {}) {
2
+ try {
3
+ const {block} = options;
4
+ } catch (error) {
5
+ console.error(error);
6
+ }
7
+ }
@@ -0,0 +1,48 @@
1
+ @use '../fields-core-functions-v3/core-functions-v3';
2
+ @use '../fields-core-mixins-v3/core-mixins-v3';
3
+ @use '../../breakpoints';
4
+
5
+ .responsive-table-v3 {
6
+ &__wrapper {
7
+ display: grid;
8
+ grid-auto-flow: column;
9
+ gap: calc(
10
+ var(--global-inline-spacing) * var(--table-spacing-gap-desktop)
11
+ );
12
+ overflow: auto;
13
+ }
14
+ &__headings {
15
+ display: grid;
16
+ grid-auto-flow: column;
17
+ grid-column: 1/ (var(--headings));
18
+ grid-template-columns: subgrid;
19
+ }
20
+
21
+ &__heading {
22
+ grid-row: 1;
23
+ background-color: var(--background-column-headers);
24
+ padding: core-functions-v3.fluidSize(5, 'mobile');
25
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
26
+ padding: core-functions-v3.fluidSize(5, 'portrait');
27
+ }
28
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
29
+ padding: core-functions-v3.fluidSize(5, 'desktop');
30
+ }
31
+ }
32
+ &__item {
33
+ display: grid;
34
+ grid-auto-flow: column;
35
+ grid-column: 1/ (var(--headings));
36
+ grid-template-columns: subgrid;
37
+ }
38
+ &__item-value {
39
+ background-color: var(--background-colour-items);
40
+ padding: core-functions-v3.fluidSize(5, 'mobile');
41
+ @include core-mixins-v3.device(breakpoints.$tabPortrait) {
42
+ padding: core-functions-v3.fluidSize(5, 'portrait');
43
+ }
44
+ @include core-mixins-v3.device(breakpoints.$tabLandscape) {
45
+ padding: core-functions-v3.fluidSize(5, 'desktop');
46
+ }
47
+ }
48
+ }
@@ -1,5 +1,7 @@
1
1
  @use '../component-responsive-image-v3/responsive-image-v3';
2
2
 
3
3
  .single-responsive-image-v3 {
4
+ display: flex;
5
+ align-items: stretch;
4
6
  @include responsive-image-v3.responsiveImage();
5
7
  }
@@ -182,6 +182,29 @@
182
182
  "append": "",
183
183
  "parent_repeater": "field_686cd5548bfb0"
184
184
  },
185
+ {
186
+ "key": "field_6901d9ccea356",
187
+ "label": "Inline raw SVG",
188
+ "name": "inline_raw_svg",
189
+ "aria-label": "",
190
+ "type": "true_false",
191
+ "instructions": "",
192
+ "required": 0,
193
+ "conditional_logic": 0,
194
+ "wrapper": {
195
+ "width": "",
196
+ "class": "",
197
+ "id": ""
198
+ },
199
+ "message": "",
200
+ "default_value": 0,
201
+ "style": "",
202
+ "allow_in_bindings": 0,
203
+ "ui_on_text": "",
204
+ "ui_off_text": "",
205
+ "ui": 1,
206
+ "parent_repeater": "field_686cd5548bfb0"
207
+ },
185
208
  {
186
209
  "key": "field_686cd554909ea",
187
210
  "label": "Border radius",
@@ -284,7 +307,9 @@
284
307
  "search_placeholder": "",
285
308
  "min": "",
286
309
  "parent_repeater": "field_686cd5548bfb0",
287
- "wpml_cf_preferences": 3
310
+ "wpml_cf_preferences": 3,
311
+ "create_options": 0,
312
+ "save_options": 0
288
313
  },
289
314
  {
290
315
  "key": "field_686cd55491988",
@@ -861,7 +886,9 @@
861
886
  "append": "",
862
887
  "min": "",
863
888
  "max": "",
864
- "parent_repeater": "field_686cd5548bfb0"
889
+ "parent_repeater": "field_686cd5548bfb0",
890
+ "create_options": 0,
891
+ "save_options": 0
865
892
  },
866
893
  {
867
894
  "key": "field_686cd5549447f",
@@ -936,13 +963,13 @@
936
963
  "active": false,
937
964
  "description": "Library version - Do not modify in this project as any changes will be overwritten by future updates.",
938
965
  "show_in_rest": 0,
966
+ "display_title": "",
939
967
  "acfe_autosync": [
940
968
  "json"
941
969
  ],
942
- "acfml_field_group_mode": "localization",
943
970
  "acfe_form": 0,
944
971
  "acfe_display_title": "",
945
972
  "acfe_meta": "",
946
973
  "acfe_note": "",
947
- "modified": 1760102177
974
+ "modified": 1761729001
948
975
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.102",
3
+ "version": "2.0.105",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,21 +1,22 @@
1
1
  const dynamicAssets = [
2
- "./components/block-accent-image-v3/accent-image-v3.scss",
3
- "./components/block-accordion-v3/accordion-v3.scss",
4
- "./components/block-betterreviews-display-v3/betterreviews-display-v3.scss",
5
- "./components/block-block-interactions-v3/block-interactions-v3.scss",
6
2
  "./components/block-video-content-v3/video-content-v3.scss",
7
3
  "./components/block-sub-group-container-v3/sub-group-container-v3.scss",
8
4
  "./components/block-sticky-buy-cta-v3/sticky-buy-cta-v3.scss",
9
5
  "./components/block-standard-content-v3/standard-content-v3.scss",
6
+ "./components/block-spotify-embed-v3/spotify-embed-v3.scss",
10
7
  "./components/block-spacer-v3/spacer-v3.scss",
11
8
  "./components/block-social-networks-v3/social-networks-v3.scss",
12
9
  "./components/block-smash-balloon-social-media-v3/smash-balloon-social-media-v3.scss",
13
10
  "./components/block-site-title-and-tagline-v3/site-title-and-tagline-v3.scss",
14
11
  "./components/block-site-logo-container-v3/site-logo-container-v3.scss",
12
+ "./components/block-site-copyright-notice-v3/site-copyright-notice-v3.scss",
15
13
  "./components/block-single-responsive-image-v3/single-responsive-image-v3.scss",
16
14
  "./components/block-single-column-container-v3/single-column-container-v3.scss",
17
15
  "./components/block-section-separator-v3/section-separator-v3.scss",
16
+ "./components/block-scrolling-banner-v3/scrolling-banner-v3.scss",
17
+ "./components/block-responsive-table-v3/responsive-table-v3.scss",
18
18
  "./components/block-product-info-v3/product-info-v3.scss",
19
+ "./components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.scss",
19
20
  "./components/block-post-info-v3/post-info-v3.scss",
20
21
  "./components/block-nav-menu-container-v3/nav-menu-container-v3.scss",
21
22
  "./components/block-modal-form-v3/modal-form-v3.scss",
@@ -24,10 +25,13 @@ const dynamicAssets = [
24
25
  "./components/block-group-container-v3/group-container-v3.scss",
25
26
  "./components/block-gradient-layer-v3/gradient-layer-v3.scss",
26
27
  "./components/block-form-selection-v3/form-selection-v3.scss",
28
+ "./components/block-featured-image-gallery-v3/featured-image-gallery-v3.scss",
27
29
  "./components/block-divider-v3/divider-v3.scss",
28
30
  "./components/block-cover-link-v3/cover-link-v3.scss",
29
31
  "./components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.scss",
30
- "./components/block-featured-image-gallery-v3/featured-image-gallery-v3.scss",
31
- "./components/block-responsive-table-v3/responsive-table-v3.scss",
32
+ "./components/block-block-interactions-v3/block-interactions-v3.scss",
33
+ "./components/block-betterreviews-display-v3/betterreviews-display-v3.scss",
34
+ "./components/block-accordion-v3/accordion-v3.scss",
35
+ "./components/block-accent-image-v3/accent-image-v3.scss",
32
36
  ];
33
37
  export default dynamicAssets;