@hellobetterdigitalnz/selwynui 0.0.1-180 → 0.0.1-182

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellobetterdigitalnz/selwynui",
3
- "version": "0.0.1-180",
3
+ "version": "0.0.1-182",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -90,6 +90,7 @@ const ImageContentMaskedTemplate: Story = {
90
90
  level={'primary'}
91
91
  >
92
92
  <ImageContent
93
+ alignment={"left"}
93
94
  rendition={'masked'}
94
95
  pillar={'live'}
95
96
  images={{
@@ -450,6 +450,39 @@
450
450
  }
451
451
 
452
452
  @media screen and (min-width: 724px){
453
+
454
+ &Wrapper{
455
+ margin: 0 -48px;
456
+ }
457
+
458
+ .imageWrapper{
459
+ width: 50%;
460
+ padding: 0 48px;
461
+ margin-top: 0px;
462
+ }
463
+
464
+
465
+ .content{
466
+ width: 50%;
467
+ padding: 0 48px;
468
+
469
+ .desc{
470
+ margin-top: 72px;
471
+ }
472
+ }
473
+
474
+ &.left{
475
+ .imageContentWrapper {
476
+ flex-direction: row;
477
+ }
478
+ }
479
+
480
+ &.right{
481
+ .imageContentWrapper {
482
+ flex-direction: row-reverse;
483
+ }
484
+ }
485
+
453
486
  // full image
454
487
  &.imageContentFull{
455
488
 
@@ -498,15 +531,15 @@
498
531
 
499
532
  }
500
533
 
501
- // full image
534
+ // fluid image
502
535
  &.imageContentFluid{
503
-
504
536
  .imageContentWrapper{
505
537
  flex-direction: row-reverse;
506
538
  }
507
539
 
508
540
  .imageWrapper{
509
541
  width: 60%;
542
+ margin-top: 0;
510
543
 
511
544
  .imageHolder {
512
545
  min-width: 60vw;
@@ -520,6 +553,33 @@
520
553
  }
521
554
  }
522
555
 
556
+ &.maskedImageContent{
557
+
558
+ .imageContentWrapper{
559
+ margin: 0 -44px;
560
+ }
561
+
562
+ .imageWrapper, .content{
563
+ padding: 0 44px;
564
+ }
565
+
566
+ .imageWrapper{
567
+ width: 60%;
568
+ }
569
+
570
+ .content{
571
+ width: 40%;
572
+ margin-top: 72px;
573
+
574
+ .title h4{
575
+ font-size: 48px;
576
+ letter-spacing: -1.92px;
577
+ }
578
+
579
+ }
580
+
581
+ }
582
+
523
583
  }
524
584
 
525
585
 
@@ -559,17 +619,6 @@
559
619
  }
560
620
  }
561
621
 
562
- &.left{
563
- .imageContentWrapper {
564
- flex-direction: row;
565
- }
566
- }
567
-
568
- &.right{
569
- .imageContentWrapper {
570
- flex-direction: row-reverse;
571
- }
572
- }
573
622
 
574
623
  //masked
575
624
  &.maskedImageContent{
@@ -682,9 +731,6 @@
682
731
 
683
732
  //fluild
684
733
  &.imageContentFluid {
685
- .imageContentWrapper{
686
- flex-direction: row-reverse;
687
- }
688
734
 
689
735
  .content{
690
736