@wizishop/angular-components 15.1.40 → 15.1.41

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.
@@ -649,135 +649,6 @@ wac-block {
649
649
  margin-right: 0;
650
650
  }
651
651
  }
652
- .wac-breadcrumbs {
653
- width: 100%;
654
- display: flex;
655
- align-items: center;
656
- padding: 0;
657
- margin: 0 0 10px;
658
- border-radius: 3px;
659
-
660
- @include media('<tablet') {
661
- &:not(.no-responsive) {
662
- max-width: 100%;
663
- overflow: hidden;
664
- .wac-breadcrumbs {
665
- &__wrapper {
666
- @include media('<tablet') {
667
- width: auto;
668
- overflow-x: scroll;
669
- }
670
- }
671
- &__item {
672
- @include media('<tablet') {
673
- width: auto;
674
- min-width: unset;
675
- max-width: unset;
676
- .name {
677
- white-space: nowrap;
678
- }
679
- }
680
- }
681
- }
682
- }
683
- }
684
-
685
- &__wrapper {
686
- width: 100%;
687
- display: flex;
688
- align-items: center;
689
- }
690
-
691
- &__item {
692
- width: 100%;
693
- max-width: 50%;
694
- display: flex;
695
- align-items: center;
696
- justify-content: center;
697
- position: relative;
698
- padding: 10px;
699
- cursor: pointer;
700
- &:before {
701
- content: '';
702
- display: block;
703
- position: absolute;
704
- bottom: -5px;
705
- left: 50%;
706
- transform: translateX(-50%);
707
- width: calc(100% - 5px);
708
- height: 3px;
709
- background-color: $wac-round-breadcrumbs;
710
- }
711
- &.current, &.valid {
712
- &:before {
713
- background-color: $wac-wizishop-blue;
714
- }
715
- &:hover, &:focus {
716
- .round {
717
- background-color: $wac-wizishop-blue;
718
- border-color: $wac-wizishop-blue;
719
- > span, > i {
720
- color: $wac-white;
721
- }
722
- }
723
- .name {
724
- color: $wac-wizishop-blue;
725
- }
726
- }
727
- }
728
-
729
-
730
- &.current {
731
- &:before {
732
- height: 5px;
733
- }
734
- }
735
- .round {
736
- min-width: 30px;
737
- height: 30px;
738
- border-radius: 30px;
739
- display: flex;
740
- justify-content: center;
741
- align-items: center;
742
- border: 2px solid $wac-round-breadcrumbs;
743
- background-color: $wac-round-breadcrumbs;
744
- transition: .3s ease;
745
- margin: 0 15px 0 0;
746
- > span {
747
- font-size: rem(12);
748
- font-weight: 500;
749
- color: $wac-second-color;
750
- line-height: 1;
751
- }
752
- > i {
753
- font-size: rem(14);
754
- color: $wac-wizishop-blue;
755
- }
756
- &.valid {
757
- background-color: transparent;
758
- border-color: $wac-wizishop-blue;
759
- color: $wac-wizishop-blue;
760
- }
761
- &.current:not(.valid) {
762
- background-color: $wac-wizishop-blue;
763
- border-color: $wac-wizishop-blue;
764
- > span, > i {
765
- color: $wac-white;
766
- }
767
- }
768
- }
769
- .name {
770
- font-size: rem(14);
771
- font-weight: 500;
772
- color: $wac-second-color;
773
- line-height: 1;
774
- transition: .3s ease;
775
- &.valid, &.current {
776
- color: $wac-wizishop-blue;
777
- }
778
- }
779
- }
780
- }
781
652
  .wac-button {
782
653
  @include flexbox();
783
654
  @include justify-content(center);
@@ -2197,72 +2068,201 @@ wac-block {
2197
2068
  }
2198
2069
  }
2199
2070
  }
2200
- wac-calendar {
2201
- &.ng-touched.ng-invalid {
2202
- .wac-calendar__wrapper__select, .wac-calendar__wrapper__editInPlace, .wac-calendar__wrapper__select {
2203
- border-color: $wac-form-control-touched-and-invalid-border;
2204
- }
2205
- }
2206
- }
2071
+ .wac-breadcrumbs {
2072
+ width: 100%;
2073
+ display: flex;
2074
+ align-items: center;
2075
+ padding: 0;
2076
+ margin: 0 0 10px;
2077
+ border-radius: 3px;
2207
2078
 
2208
- .wac-calendar {
2209
- position: relative;
2210
- margin: 0 0 20px;
2211
- width: 268px;
2212
- &--open {
2213
- z-index: 9;
2214
- .wac-calendar {
2215
- &__absolute {
2216
- visibility: visible;
2217
- opacity: 1;
2218
- transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
2079
+ @include media('<tablet') {
2080
+ &:not(.no-responsive) {
2081
+ max-width: 100%;
2082
+ overflow: hidden;
2083
+ .wac-breadcrumbs {
2084
+ &__wrapper {
2085
+ @include media('<tablet') {
2086
+ width: auto;
2087
+ overflow-x: scroll;
2088
+ }
2089
+ }
2090
+ &__item {
2091
+ @include media('<tablet') {
2092
+ width: auto;
2093
+ min-width: unset;
2094
+ max-width: unset;
2095
+ .name {
2096
+ white-space: nowrap;
2097
+ }
2098
+ }
2099
+ }
2219
2100
  }
2220
2101
  }
2221
2102
  }
2222
- &--edit {
2103
+
2104
+ &__wrapper {
2105
+ width: 100%;
2223
2106
  display: flex;
2224
- justify-content: flex-start;
2225
2107
  align-items: center;
2226
- align-content: center;
2227
- & > * {
2228
- display: inline-block;
2229
- &:nth-child(2) {
2230
- margin: 0 10px;
2231
- }
2232
- }
2233
- }
2234
- &--no-margin {
2235
- margin: 0;
2236
- .wac-calendar__autoHide {
2237
- margin: 0;
2238
- }
2239
2108
  }
2240
- &--onlyDate {
2241
- .wac-calendar__wrapper__input__time, .wac-calendar__wrapper__input__date:after {
2242
- display: none;
2109
+
2110
+ &__item {
2111
+ width: 100%;
2112
+ max-width: 50%;
2113
+ display: flex;
2114
+ align-items: center;
2115
+ justify-content: center;
2116
+ position: relative;
2117
+ padding: 10px;
2118
+ cursor: pointer;
2119
+ &:before {
2120
+ content: '';
2121
+ display: block;
2122
+ position: absolute;
2123
+ bottom: -5px;
2124
+ left: 50%;
2125
+ transform: translateX(-50%);
2126
+ width: calc(100% - 5px);
2127
+ height: 3px;
2128
+ background-color: $wac-round-breadcrumbs;
2243
2129
  }
2244
- .wac-calendar__wrapper__input {
2245
- max-width: 160px;
2246
- min-width: 160px;
2130
+ &.current, &.valid {
2131
+ &:before {
2132
+ background-color: $wac-wizishop-blue;
2133
+ }
2134
+ &:hover, &:focus {
2135
+ .round {
2136
+ background-color: $wac-wizishop-blue;
2137
+ border-color: $wac-wizishop-blue;
2138
+ > span, > i {
2139
+ color: $wac-white;
2140
+ }
2141
+ }
2142
+ .name {
2143
+ color: $wac-wizishop-blue;
2144
+ }
2145
+ }
2247
2146
  }
2248
- }
2249
- &__label {
2250
- font-size: rem(14) !important;
2251
- line-height: rem(16) !important;
2252
- margin: 0 0 10px !important;
2253
- color: $wac-color-text-grey !important;
2254
- cursor: pointer;
2255
2147
 
2256
- &.bold {
2257
- font-weight: 500;
2148
+
2149
+ &.current {
2150
+ &:before {
2151
+ height: 5px;
2152
+ }
2258
2153
  }
2259
- }
2260
- &__autoHide {
2261
- max-width: 300px;
2262
- position: relative;
2263
- }
2264
- &__wrapper {
2265
- &__input {
2154
+ .round {
2155
+ min-width: 30px;
2156
+ height: 30px;
2157
+ border-radius: 30px;
2158
+ display: flex;
2159
+ justify-content: center;
2160
+ align-items: center;
2161
+ border: 2px solid $wac-round-breadcrumbs;
2162
+ background-color: $wac-round-breadcrumbs;
2163
+ transition: .3s ease;
2164
+ margin: 0 15px 0 0;
2165
+ > span {
2166
+ font-size: rem(12);
2167
+ font-weight: 500;
2168
+ color: $wac-second-color;
2169
+ line-height: 1;
2170
+ }
2171
+ > i {
2172
+ font-size: rem(14);
2173
+ color: $wac-wizishop-blue;
2174
+ }
2175
+ &.valid {
2176
+ background-color: transparent;
2177
+ border-color: $wac-wizishop-blue;
2178
+ color: $wac-wizishop-blue;
2179
+ }
2180
+ &.current:not(.valid) {
2181
+ background-color: $wac-wizishop-blue;
2182
+ border-color: $wac-wizishop-blue;
2183
+ > span, > i {
2184
+ color: $wac-white;
2185
+ }
2186
+ }
2187
+ }
2188
+ .name {
2189
+ font-size: rem(14);
2190
+ font-weight: 500;
2191
+ color: $wac-second-color;
2192
+ line-height: 1;
2193
+ transition: .3s ease;
2194
+ &.valid, &.current {
2195
+ color: $wac-wizishop-blue;
2196
+ }
2197
+ }
2198
+ }
2199
+ }
2200
+ wac-calendar {
2201
+ &.ng-touched.ng-invalid {
2202
+ .wac-calendar__wrapper__select, .wac-calendar__wrapper__editInPlace, .wac-calendar__wrapper__select {
2203
+ border-color: $wac-form-control-touched-and-invalid-border;
2204
+ }
2205
+ }
2206
+ }
2207
+
2208
+ .wac-calendar {
2209
+ position: relative;
2210
+ margin: 0 0 20px;
2211
+ width: 268px;
2212
+ &--open {
2213
+ z-index: 9;
2214
+ .wac-calendar {
2215
+ &__absolute {
2216
+ visibility: visible;
2217
+ opacity: 1;
2218
+ transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
2219
+ }
2220
+ }
2221
+ }
2222
+ &--edit {
2223
+ display: flex;
2224
+ justify-content: flex-start;
2225
+ align-items: center;
2226
+ align-content: center;
2227
+ & > * {
2228
+ display: inline-block;
2229
+ &:nth-child(2) {
2230
+ margin: 0 10px;
2231
+ }
2232
+ }
2233
+ }
2234
+ &--no-margin {
2235
+ margin: 0;
2236
+ .wac-calendar__autoHide {
2237
+ margin: 0;
2238
+ }
2239
+ }
2240
+ &--onlyDate {
2241
+ .wac-calendar__wrapper__input__time, .wac-calendar__wrapper__input__date:after {
2242
+ display: none;
2243
+ }
2244
+ .wac-calendar__wrapper__input {
2245
+ max-width: 160px;
2246
+ min-width: 160px;
2247
+ }
2248
+ }
2249
+ &__label {
2250
+ font-size: rem(14) !important;
2251
+ line-height: rem(16) !important;
2252
+ margin: 0 0 10px !important;
2253
+ color: $wac-color-text-grey !important;
2254
+ cursor: pointer;
2255
+
2256
+ &.bold {
2257
+ font-weight: 500;
2258
+ }
2259
+ }
2260
+ &__autoHide {
2261
+ max-width: 300px;
2262
+ position: relative;
2263
+ }
2264
+ &__wrapper {
2265
+ &__input {
2266
2266
  border-radius: 3px;
2267
2267
  display: flex;
2268
2268
  justify-content: flex-start;
@@ -3387,90 +3387,6 @@ wac-calendar {
3387
3387
  }
3388
3388
  }
3389
3389
  }
3390
- .wac-dropdown {
3391
- display: inline-block;
3392
- width: 40px;
3393
- height: 40px;
3394
-
3395
- &__wrapper {
3396
- @include flexbox();
3397
- @include justify-content(center);
3398
- @include align-items(center);
3399
- width: 100%;
3400
- height: 100%;
3401
- position: relative;
3402
-
3403
- &__icon {
3404
- font-size: 30px;
3405
- line-height: 18px;
3406
- color: $wac-second-color;
3407
- transition: color 0.3s ease, transform 0.3s ease;
3408
- }
3409
-
3410
- &__sublevel {
3411
- position: absolute;
3412
- min-width: 160px;
3413
- top: 100%;
3414
- right: 0;
3415
- z-index: -1;
3416
- opacity: 0;
3417
- background-color: $wac-white;
3418
- border-radius: rem(3);
3419
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
3420
- visibility: hidden;
3421
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
3422
-
3423
- &__container {
3424
- padding: 10px 10px;
3425
- border: 1px solid $wac-border-color;
3426
- border-radius: 3px;
3427
-
3428
- &__item {
3429
- padding: 5.7px 10px;
3430
- font-size: 14px;
3431
- line-height: 24px;
3432
- color: $wac-second-color;
3433
- cursor: pointer;
3434
- transition: background-color 0.3s ease, color 0.3s ease;
3435
- display: flex;
3436
- justify-content: flex-start;
3437
- align-items: center;
3438
- align-content: center;
3439
-
3440
- i {
3441
- min-width: 15px;
3442
- margin-right: 5px;
3443
- text-align: center;
3444
- }
3445
- span {
3446
- white-space: nowrap;
3447
- }
3448
-
3449
- &:hover {
3450
- background-color: $wac-gray-background;
3451
- transition: background-color 0.3s ease, color 0.3s ease;
3452
- color: $wac-input-active-color;
3453
- }
3454
- }
3455
- }
3456
- }
3457
-
3458
- &:hover {
3459
- .wac-dropdown__wrapper__icon {
3460
- color: $wac-wizishop-blue;
3461
- transform: rotate(90deg);
3462
- transition: color 0.3s ease, transform 0.3s ease;
3463
- }
3464
-
3465
- .wac-dropdown__wrapper__sublevel {
3466
- visibility: visible;
3467
- opacity: 1;
3468
- z-index: 2;
3469
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
3470
- }
3471
- }
3472
- }
3473
- }
3474
3390
  .wac-draganddrop-list {
3475
3391
  width: 100%;
3476
3392
  background-color: $wac-white;
@@ -3608,63 +3524,89 @@ wac-calendar {
3608
3524
  .wac-draganddrop-list__wrapper.cdk-drop-list-dragging .wac-draganddrop-list__wrapper__item:not(.cdk-drag-placeholder) {
3609
3525
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
3610
3526
  }
3611
- .wac-expanded-panel {
3612
- width: 100%;
3613
- display: flex;
3614
- flex-direction: column;
3615
- align-items: flex-start;
3616
- justify-content: flex-start;
3617
- margin: 0 0 rem(30);
3618
- &__top {
3527
+ .wac-dropdown {
3528
+ display: inline-block;
3529
+ width: 40px;
3530
+ height: 40px;
3531
+
3532
+ &__wrapper {
3533
+ @include flexbox();
3534
+ @include justify-content(center);
3535
+ @include align-items(center);
3619
3536
  width: 100%;
3620
- display: flex;
3621
- cursor: pointer;
3622
- &__label {
3623
- width: 100%;
3624
- font-size: rem(14);
3625
- line-height: rem(22);
3626
- font-weight: 500;
3627
- &.big {
3628
- font-size: rem(20);
3629
- line-height: rem(26);
3630
- font-weight: 600;
3631
- }
3632
- }
3537
+ height: 100%;
3538
+ position: relative;
3539
+
3633
3540
  &__icon {
3634
- width: auto;
3635
- white-space: nowrap;
3636
- margin: 0 0 0 rem(20);
3637
- display: flex;
3638
- justify-content: center;
3639
- align-items: center;
3640
- align-content: center;
3641
- &.big {
3642
- i {
3643
- font-size: rem(20);
3541
+ font-size: 30px;
3542
+ line-height: 18px;
3543
+ color: $wac-second-color;
3544
+ transition: color 0.3s ease, transform 0.3s ease;
3545
+ }
3546
+
3547
+ &__sublevel {
3548
+ position: absolute;
3549
+ min-width: 160px;
3550
+ top: 100%;
3551
+ right: 0;
3552
+ z-index: -1;
3553
+ opacity: 0;
3554
+ background-color: $wac-white;
3555
+ border-radius: rem(3);
3556
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
3557
+ visibility: hidden;
3558
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
3559
+
3560
+ &__container {
3561
+ padding: 10px 10px;
3562
+ border: 1px solid $wac-border-color;
3563
+ border-radius: 3px;
3564
+
3565
+ &__item {
3566
+ padding: 5.7px 10px;
3567
+ font-size: 14px;
3568
+ line-height: 24px;
3569
+ color: $wac-second-color;
3570
+ cursor: pointer;
3571
+ transition: background-color 0.3s ease, color 0.3s ease;
3572
+ display: flex;
3573
+ justify-content: flex-start;
3574
+ align-items: center;
3575
+ align-content: center;
3576
+
3577
+ i {
3578
+ min-width: 15px;
3579
+ margin-right: 5px;
3580
+ text-align: center;
3581
+ }
3582
+ span {
3583
+ white-space: nowrap;
3584
+ }
3585
+
3586
+ &:hover {
3587
+ background-color: $wac-gray-background;
3588
+ transition: background-color 0.3s ease, color 0.3s ease;
3589
+ color: $wac-input-active-color;
3590
+ }
3644
3591
  }
3645
3592
  }
3646
- &.is-open {
3647
- i {
3648
- transform: scale(-1, -1);
3649
- }
3593
+ }
3594
+
3595
+ &:hover {
3596
+ .wac-dropdown__wrapper__icon {
3597
+ color: $wac-wizishop-blue;
3598
+ transform: rotate(90deg);
3599
+ transition: color 0.3s ease, transform 0.3s ease;
3650
3600
  }
3651
- i {
3652
- font-size: rem(16);
3653
- transform: scale(1, 1);
3654
- transition: .3s ease;
3601
+
3602
+ .wac-dropdown__wrapper__sublevel {
3603
+ visibility: visible;
3604
+ opacity: 1;
3605
+ z-index: 2;
3606
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
3655
3607
  }
3656
3608
  }
3657
3609
  }
3658
- &__bottom {
3659
- width: 100%;
3660
- margin: rem(15) 0 0;
3661
- max-height: 0;
3662
- overflow: hidden;
3663
- transition: .6s ease;
3664
- &.is-open {
3665
- max-height: 50em;
3666
- }
3667
- }
3668
3610
  }
3669
3611
  .wac-edit-in-place.nwb-wrapper {
3670
3612
  display: inline-block;
@@ -3891,7 +3833,65 @@ wac-calendar {
3891
3833
  }
3892
3834
  }
3893
3835
  }
3894
- }.wac-filters {
3836
+ }.wac-expanded-panel {
3837
+ width: 100%;
3838
+ display: flex;
3839
+ flex-direction: column;
3840
+ align-items: flex-start;
3841
+ justify-content: flex-start;
3842
+ margin: 0 0 rem(30);
3843
+ &__top {
3844
+ width: 100%;
3845
+ display: flex;
3846
+ cursor: pointer;
3847
+ &__label {
3848
+ width: 100%;
3849
+ font-size: rem(14);
3850
+ line-height: rem(22);
3851
+ font-weight: 500;
3852
+ &.big {
3853
+ font-size: rem(20);
3854
+ line-height: rem(26);
3855
+ font-weight: 600;
3856
+ }
3857
+ }
3858
+ &__icon {
3859
+ width: auto;
3860
+ white-space: nowrap;
3861
+ margin: 0 0 0 rem(20);
3862
+ display: flex;
3863
+ justify-content: center;
3864
+ align-items: center;
3865
+ align-content: center;
3866
+ &.big {
3867
+ i {
3868
+ font-size: rem(20);
3869
+ }
3870
+ }
3871
+ &.is-open {
3872
+ i {
3873
+ transform: scale(-1, -1);
3874
+ }
3875
+ }
3876
+ i {
3877
+ font-size: rem(16);
3878
+ transform: scale(1, 1);
3879
+ transition: .3s ease;
3880
+ }
3881
+ }
3882
+ }
3883
+ &__bottom {
3884
+ width: 100%;
3885
+ margin: rem(15) 0 0;
3886
+ max-height: 0;
3887
+ overflow: hidden;
3888
+ transition: .6s ease;
3889
+ &.is-open {
3890
+ max-height: 50em;
3891
+ }
3892
+ }
3893
+ }
3894
+ .wac-filters {
3895
3895
  width: 100%;
3896
3896
  &__wrapper {
3897
3897
  width: 100%;