@sc-360-v2/storefront-cms-library 0.4.37 → 0.4.39

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.
@@ -353,8 +353,11 @@
353
353
 
354
354
  position: relative;
355
355
 
356
- padding: var(--_ctm-mob-lt-im-pg, var(--_ctm-tab-lt-im-pg, var(--_ctm-lt-im-pg)));
356
+ // padding: var(--_ctm-mob-lt-im-pg, var(--_ctm-tab-lt-im-pg, var(--_ctm-lt-im-pg)));
357
357
  gap: var(--_ctm-mob-lt-im-sg, var(--_ctm-tab-lt-im-sg, var(--_ctm-lt-im-sg)));
358
+ .language__name {
359
+ color: prepareMediaVariable(--_ctm-dn-wt-se-cr);
360
+ }
358
361
  }
359
362
  .language__flag {
360
363
  width: var(--_ctm-mob-lt-fg-se, var(--_ctm-tab-lt-fg-se, var(--_ctm-lt-fg-se)));
@@ -427,7 +430,13 @@
427
430
  width: 100%;
428
431
  padding: var(--_ctm-mob-lt-im-pg, var(--_ctm-tab-lt-im-pg, var(--_ctm-lt-im-pg)));
429
432
  .option_select {
430
- padding: unset;
433
+ // padding-block: unset;
434
+ // display: -webkit-box;
435
+ -webkit-line-clamp: 1;
436
+ -webkit-box-orient: vertical;
437
+ overflow: hidden;
438
+ text-overflow: ellipsis;
439
+ white-space: nowrap;
431
440
  }
432
441
  }
433
442
 
@@ -440,8 +449,9 @@
440
449
 
441
450
  .est__dropdown__icon {
442
451
  position: absolute;
443
- right: 5px;
452
+ right: 0;
444
453
  transition: transform 0.4s ease-in-out;
454
+ display: flex;
445
455
  &.open {
446
456
  transform: rotate(180deg);
447
457
  }
@@ -487,6 +497,9 @@
487
497
  var(--_ctm-tab-lt-gp-bn-is, var(--_ctm-lt-gp-bn-is))
488
498
  );
489
499
  gap: var(--_ctm-mob-lt-gp-bn-is, var(--_ctm-tab-lt-gp-bn-is, var(--_ctm-lt-gp-bn-is)));
500
+ // padding: 2px;
501
+ // border-radius: 4px;
502
+ // border: 1px solid var(--_gray-300);
490
503
 
491
504
  &.top {
492
505
  bottom: 100%;
@@ -495,6 +508,11 @@
495
508
 
496
509
  .option {
497
510
  cursor: pointer;
511
+ // padding: 4px;
512
+ // &:hover {
513
+ // background: var(--_gray-100);
514
+ // border-radius: 4px;
515
+ // }
498
516
  }
499
517
  }
500
518
  }
@@ -211,6 +211,15 @@ $msd-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
211
211
  max-width: 100%;
212
212
  }
213
213
  }
214
+ .msd__option__text {
215
+ display: flex;
216
+ flex-direction: column;
217
+ gap: 4px;
218
+ .msd__option__subtitle {
219
+ font-size: 12px;
220
+ color: var(--_gray-500);
221
+ }
222
+ }
214
223
  .is__selected {
215
224
  margin-left: auto;
216
225
  }
@@ -38,7 +38,8 @@ $data: (
38
38
  );
39
39
  .thm__btn {
40
40
  border-radius: var(--_thm-py-bs-dt-se-br-rs);
41
-
41
+ display: flex;
42
+ align-items: center;
42
43
  @each $k1, $k2 in $data {
43
44
  @if ($k1 == "size") {
44
45
  @each $sizeKey, $sizeValue in $k2 {
@@ -75,12 +75,7 @@ export declare const menuConrolsInterface: {
75
75
  property: string;
76
76
  propertyType: CMSElementEditTypes;
77
77
  };
78
- itemPadding: {
79
- value: string;
80
- unit: number;
81
- property: string;
82
- propertyType: CMSElementEditTypes;
83
- };
78
+ itemPadding: any;
84
79
  itemSpacing: {
85
80
  value: string;
86
81
  unit: number;
@@ -801,12 +801,7 @@ export declare const getDefaultData: () => {
801
801
  value: boolean;
802
802
  propertyType: CMSElementEditTypes;
803
803
  };
804
- itemPadding: {
805
- value: string;
806
- unit: number;
807
- property: string;
808
- propertyType: CMSElementEditTypes;
809
- };
804
+ itemPadding: any;
810
805
  itemSpacing: {
811
806
  value: string;
812
807
  unit: number;
@@ -30,13 +30,13 @@
30
30
  );
31
31
  margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
32
32
 
33
- --_aspect-ratio: calc(
34
- 1 *
35
- (
36
- var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) /
37
- var(--_ctm-mob-lt-wh, var(--_ctm-tab-lt-wh, var(--_ctm-lt-wh)))
38
- )
39
- );
33
+ // --_aspect-ratio: calc(
34
+ // 1 *
35
+ // (
36
+ // var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) /
37
+ // var(--_ctm-mob-lt-wh, var(--_ctm-tab-lt-wh, var(--_ctm-lt-wh)))
38
+ // )
39
+ // );
40
40
  & > .wrapper {
41
41
  width: 100%;
42
42
  // height: 100%;
@@ -682,6 +682,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
682
682
  flex-direction: column;
683
683
  justify-content: flex-start;
684
684
  width: 100%;
685
+ height: 44px;
685
686
  }
686
687
  }
687
688
  }
@@ -485,8 +485,8 @@ $minWidth: 70px;
485
485
  border-radius: 5px;
486
486
  }
487
487
  &[data-background-shape-selected="capsule"] {
488
- --toggle-height: var(--_ctm-lt-sh-im-se);
489
- --toggle-width: calc(var(--_ctm-lt-sh-im-se) * 1.5);
488
+ --toggle-height: var(--_ctm-lt-sh-te-dy-se-im-se);
489
+ --toggle-width: calc(var(--_ctm-lt-sh-te-dy-se-im-se) * 1.5);
490
490
 
491
491
  width: var(--toggle-width);
492
492
  height: var(--toggle-height);
@@ -777,7 +777,7 @@ $minWidth: 70px;
777
777
  );
778
778
  line-height: var(
779
779
  --_sf-hr-le-ht,
780
- prepareMediaVariable(--_ctm-dn-se-on-ve-se-dt-se-le-ht-dc)
780
+ prepareMediaVariable(--_ctm-dn-se-on-ve-se-dt-se-le-ht)
781
781
  );
782
782
  text-decoration: var(
783
783
  --_sf-hr-ue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.4.37",
3
+ "version": "0.4.39",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {