@wizishop/angular-components 0.0.200 → 0.0.201

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.
@@ -2170,48 +2170,35 @@ $wac-subtitle-color: #7A87A1!default;
2170
2170
  }
2171
2171
  }
2172
2172
  }
2173
- .wac-content-with-buttons {
2174
- display: flex;
2175
- align-items: center;
2176
- width: 100%;
2177
- @include media('<tablet') {
2178
- flex-direction: column;
2179
- justify-content: flex-start;
2180
- align-items: flex-start;
2181
- }
2182
- &__text {
2173
+ .wac-delete {
2174
+ width: 40px;
2175
+ height: 40px;
2176
+
2177
+ &__wrapper {
2178
+ @include flexbox();
2179
+ @include justify-content(center);
2180
+ @include align-items(center);
2183
2181
  width: 100%;
2184
- &__count {
2185
- margin: 10px 0 0;
2186
- width: 100%;
2187
- display: flex;
2188
- align-items: flex-end;
2189
- justify-content: flex-start;
2190
- > span {
2191
- &:first-child {
2192
- font-size: rem(12);
2193
- font-style: italic;
2194
- color: $wac-color-text-grey;
2195
- line-height: rem(16);
2196
- display: inline-block;
2197
- transform: translateY(-3px);
2198
- }
2199
- &:last-child {
2200
- display: inline-block;
2201
- margin: 0 0 0 20px;
2202
- }
2203
- }
2182
+ height: 100%;
2183
+ border-radius: 3px;
2184
+ background-color: transparent;
2185
+ transition: background-color 0.3s ease-in-out;
2186
+
2187
+ i {
2188
+ color: $wac-border-form;
2189
+ font-size: 14px;
2190
+ line-height: 23px;
2191
+ transition: color 0.3s ease-in-out;
2204
2192
  }
2205
- }
2206
- &__cta {
2207
- display: flex;
2208
- align-items: center;
2209
- width: auto;
2210
- > div {
2211
- margin: 0 0 0 20px;
2212
- }
2213
- @include media('<tablet') {
2214
- margin: 15px 0 0;
2193
+
2194
+ &:hover {
2195
+ background-color: $wac-primary-button;
2196
+ transition: background-color 0.3s ease-in-out;
2197
+
2198
+ i {
2199
+ color: $wac-white;
2200
+ transition: color 0.3s ease-in-out;
2201
+ }
2215
2202
  }
2216
2203
  }
2217
2204
  }
@@ -2373,90 +2360,108 @@ $wac-subtitle-color: #7A87A1!default;
2373
2360
  }
2374
2361
  }
2375
2362
  }
2376
- .wac-dropdown {
2377
- display: inline-block;
2378
- width: 40px;
2379
- height: 40px;
2380
-
2381
- &__wrapper {
2382
- @include flexbox();
2383
- @include justify-content(center);
2384
- @include align-items(center);
2385
- width: 100%;
2386
- height: 100%;
2387
- position: relative;
2388
-
2389
- &__icon {
2390
- font-size: 30px;
2391
- line-height: 18px;
2392
- color: $wac-second-color;
2393
- transition: color 0.3s ease, transform 0.3s ease;
2394
- }
2395
-
2396
- &__sublevel {
2397
- position: absolute;
2398
- min-width: 160px;
2399
- top: 100%;
2400
- right: 0;
2401
- z-index: -1;
2402
- opacity: 0;
2403
- background-color: $wac-white;
2404
- border-radius: rem(3);
2405
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
2406
- visibility: hidden;
2407
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
2408
-
2409
- &__container {
2410
- padding: 10px 10px;
2411
- border: 1px solid $wac-border-color;
2412
- border-radius: 3px;
2413
-
2363
+ .wac-draganddrop-list {
2364
+ width: 100%;
2365
+ &--disabled {
2366
+ .wac-draganddrop-list {
2367
+ &__wrapper {
2414
2368
  &__item {
2415
- padding: 5.7px 10px;
2416
- font-size: 14px;
2417
- line-height: 24px;
2418
- color: $wac-second-color;
2419
- cursor: pointer;
2420
- transition: background-color 0.3s ease, color 0.3s ease;
2421
- display: flex;
2422
- justify-content: flex-start;
2423
- align-items: center;
2424
- align-content: center;
2425
-
2426
- i {
2427
- min-width: 15px;
2428
- margin-right: 5px;
2429
- text-align: center;
2430
- }
2431
- span {
2432
- white-space: nowrap;
2369
+ &__label {
2370
+ margin: 0;
2433
2371
  }
2434
-
2435
- &:hover {
2436
- background-color: $wac-gray-background;
2437
- transition: background-color 0.3s ease, color 0.3s ease;
2438
- color: $wac-input-active-color;
2372
+ > div {
2373
+ &:last-child {
2374
+ width: 100%;
2375
+ margin: 0;
2376
+ }
2439
2377
  }
2440
2378
  }
2441
2379
  }
2442
2380
  }
2443
-
2444
- &:hover {
2445
- .wac-dropdown__wrapper__icon {
2446
- color: $wac-wizishop-blue;
2447
- transform: rotate(90deg);
2448
- transition: color 0.3s ease, transform 0.3s ease;
2381
+ }
2382
+ &__wrapper {
2383
+ width: 100%;
2384
+ display: flex;
2385
+ flex-direction: column;
2386
+ align-items: flex-start;
2387
+ justify-content: flex-start;
2388
+ &__item {
2389
+ width: 100%;
2390
+ margin: 0 0 10px;
2391
+ display: flex;
2392
+ &__icon {
2393
+ display: flex;
2394
+ align-items: center;
2395
+ span {
2396
+ display: block;
2397
+ width: 2px;
2398
+ height: 40px;
2399
+ margin: 0 2px 0 0;
2400
+ background-color: $wac-border-form;
2401
+ border-radius: 2px;
2402
+ }
2403
+ &:before, &:after {
2404
+ content: '';
2405
+ display: block;
2406
+ width: 2px;
2407
+ height: 40px;
2408
+ margin: 0 2px 0 0;
2409
+ background-color: $wac-border-form;
2410
+ border-radius: 2px;
2411
+ }
2449
2412
  }
2450
-
2451
- .wac-dropdown__wrapper__sublevel {
2452
- visibility: visible;
2453
- opacity: 1;
2454
- z-index: 2;
2455
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
2413
+ &__label {
2414
+ width: 100%;
2415
+ margin: 0 0 0 8px;
2416
+ min-height: 40px;
2417
+ display: flex;
2418
+ justify-content: flex-start;
2419
+ align-items: center;
2420
+ font-size: rem(14);
2421
+ line-height: 1.4;
2422
+ font-weight: 400;
2423
+ padding: 10px 20px;
2424
+ border-radius: 3px;
2425
+ overflow: hidden;
2426
+ white-space: nowrap;
2427
+ text-overflow: ellipsis;
2428
+ border: 1px solid $wac-border-form;
2429
+ }
2430
+ > div {
2431
+ &:first-child {
2432
+ width: 100%;
2433
+ display: flex;
2434
+ align-items: center;
2435
+ }
2436
+ &:last-child {
2437
+ width: auto;
2438
+ margin: 0 0 0 10px;
2439
+ }
2456
2440
  }
2457
2441
  }
2458
2442
  }
2459
2443
  }
2444
+
2445
+
2446
+ .cdk-drag-preview {
2447
+ box-sizing: border-box;
2448
+ border-radius: 4px;
2449
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
2450
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
2451
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
2452
+ }
2453
+
2454
+ .cdk-drag-placeholder {
2455
+ opacity: 0;
2456
+ }
2457
+
2458
+ .cdk-drag-animating {
2459
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2460
+ }
2461
+
2462
+ .wac-draganddrop-list__wrapper.cdk-drop-list-dragging .wac-draganddrop-list__wrapper__item:not(.cdk-drag-placeholder) {
2463
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2464
+ }
2460
2465
  .wac-tab {
2461
2466
  &__wrapper {
2462
2467
  position: relative;
@@ -3153,31 +3158,35 @@ $wac-subtitle-color: #7A87A1!default;
3153
3158
  margin: inherit;
3154
3159
  }
3155
3160
  }
3156
- a.wac-link {
3157
- position: relative;
3158
- color: $wac-link-color;
3159
- display: inline-block;
3160
- transition: 0.3s ease;
3161
- font-size: rem(14);
3162
- line-height: rem(16);
3163
- &:before {
3164
- content: '';
3165
- display: block;
3166
- position: absolute;
3167
- width: 100%;
3168
- max-width: 0;
3169
- height: 1px;
3170
- border-radius: 3px;
3171
- background-color: darken($wac-link-color, 15%);
3172
- left: 0;
3173
- bottom: -2px;
3174
- transition: 0.3s ease;
3161
+ .wac-label {
3162
+ @include flexbox();
3163
+ background-color: $wac-gray-background;
3164
+ border-radius: 3px;
3165
+ border: 1px solid $wac-gray-background;
3166
+ transition: border-color 0.3s ease-in-out;
3167
+
3168
+ &__wrapper {
3169
+ padding: 7.5px 13px;
3170
+ font-size: 14px;
3171
+ line-height: 16px;
3172
+ color: $wac-second-color;
3173
+
3174
+ i {
3175
+ margin-left: 10px;
3176
+ font-size: 12px;
3177
+ line-height: 23px;
3178
+ color: $wac-border-form;
3179
+ transition: color 0.3s ease-in-out;
3180
+ }
3175
3181
  }
3176
- &:hover,
3177
- &:focus {
3178
- color: darken($wac-link-color, 15%);
3179
- &:before {
3180
- max-width: 100%;
3182
+
3183
+ &:hover {
3184
+ border-color: $wac-input-border;
3185
+ transition: border-color 0.3s ease-in-out;
3186
+
3187
+ .wac-label__wrapper i {
3188
+ color: $wac-second-color;
3189
+ transition: color 0.3s ease-in-out;
3181
3190
  }
3182
3191
  }
3183
3192
  }
@@ -5330,139 +5339,138 @@ span.wac-tooltip {
5330
5339
  }
5331
5340
  }
5332
5341
  }
5333
- .wac-wrapper-multiple-block {
5334
- width: 100%;
5335
- display: flex;
5336
- flex-direction: row-reverse;
5337
- justify-content: center;
5338
- align-items: flex-start;
5339
- padding: 30px 0;
5340
- @include media('<desktop') {
5341
- flex-direction: column-reverse;
5342
- justify-content: flex-start;
5343
- }
5344
- &__sidebar {
5345
- width: 100%;
5346
- @include media('<desktop') {
5347
- margin: 0 0 20px;
5348
- }
5349
- @include media('>=desktop') {
5350
- margin: 0 0 0 30px;
5351
- }
5352
- @include media('>=1920px') {
5353
- width: calc(43% - 30px);
5354
- }
5355
- &:empty {
5356
- display: none;
5357
- & + .wac-wrapper-multiple-block {
5358
- @include media('>=desktop') {
5359
- width: 57%;
5360
- min-width: 57%;
5361
- max-width: 57%;
5362
- }
5363
- }
5364
- }
5365
- }
5366
- &__content {
5367
- width: 100%;
5368
- @include media('>=desktop') {
5369
- min-width: 680px;
5370
- }
5371
- @include media('>=1400px') {
5372
- min-width: 880px;
5373
- }
5374
- @include media('>=1600px') {
5375
- min-width: 1080px;
5376
- }
5377
- @include media('>=1920px') {
5378
- width: 57%;
5379
- }
5380
- }
5381
- }
5382
- .wac-draganddrop-list {
5383
- width: 100%;
5384
- &__wrapper {
5385
- width: 100%;
5386
- display: flex;
5387
- flex-direction: column;
5388
- align-items: flex-start;
5389
- justify-content: flex-start;
5390
- &__item {
5391
- width: 100%;
5392
- margin: 0 0 10px;
5393
- display: flex;
5394
- &__icon {
5395
- display: flex;
5396
- align-items: center;
5397
- span {
5398
- display: block;
5399
- width: 2px;
5400
- height: 40px;
5401
- margin: 0 2px 0 0;
5402
- background-color: $wac-border-form;
5403
- border-radius: 2px;
5404
- }
5405
- &:before, &:after {
5406
- content: '';
5407
- display: block;
5408
- width: 2px;
5409
- height: 40px;
5410
- margin: 0 2px 0 0;
5411
- background-color: $wac-border-form;
5412
- border-radius: 2px;
5413
- }
5414
- }
5415
- &__label {
5416
- width: 100%;
5417
- margin: 0 0 0 8px;
5418
- min-height: 40px;
5419
- display: flex;
5420
- justify-content: flex-start;
5421
- align-items: center;
5422
- font-size: rem(14);
5423
- line-height: 1.4;
5424
- font-weight: 400;
5425
- padding: 10px 20px;
5426
- border-radius: 3px;
5427
- overflow: hidden;
5428
- white-space: nowrap;
5429
- text-overflow: ellipsis;
5430
- border: 1px solid $wac-border-form;
5431
- }
5432
- > div {
5433
- &:first-child {
5434
- width: 100%;
5435
- display: flex;
5436
- align-items: center;
5437
- }
5438
- &:last-child {
5439
- width: auto;
5440
- margin: 0 0 0 10px;
5342
+ .wac-wrapper-multiple-block {
5343
+ width: 100%;
5344
+ display: flex;
5345
+ flex-direction: row-reverse;
5346
+ justify-content: center;
5347
+ align-items: flex-start;
5348
+ padding: 30px 0;
5349
+ @include media('<desktop') {
5350
+ flex-direction: column-reverse;
5351
+ justify-content: flex-start;
5352
+ }
5353
+ &__sidebar {
5354
+ width: 100%;
5355
+ @include media('<desktop') {
5356
+ margin: 0 0 20px;
5357
+ }
5358
+ @include media('>=desktop') {
5359
+ margin: 0 0 0 30px;
5360
+ }
5361
+ @include media('>=1920px') {
5362
+ width: calc(43% - 30px);
5363
+ }
5364
+ &:empty {
5365
+ display: none;
5366
+ & + .wac-wrapper-multiple-block {
5367
+ @include media('>=desktop') {
5368
+ width: 57%;
5369
+ min-width: 57%;
5370
+ max-width: 57%;
5441
5371
  }
5442
5372
  }
5443
5373
  }
5444
5374
  }
5375
+ &__content {
5376
+ width: 100%;
5377
+ @include media('>=desktop') {
5378
+ min-width: 680px;
5379
+ }
5380
+ @include media('>=1400px') {
5381
+ min-width: 880px;
5382
+ }
5383
+ @include media('>=1600px') {
5384
+ min-width: 1080px;
5385
+ }
5386
+ @include media('>=1920px') {
5387
+ width: 57%;
5388
+ }
5389
+ }
5445
5390
  }
5391
+ .wac-dropdown {
5392
+ display: inline-block;
5393
+ width: 40px;
5394
+ height: 40px;
5446
5395
 
5396
+ &__wrapper {
5397
+ @include flexbox();
5398
+ @include justify-content(center);
5399
+ @include align-items(center);
5400
+ width: 100%;
5401
+ height: 100%;
5402
+ position: relative;
5447
5403
 
5448
- .cdk-drag-preview {
5449
- box-sizing: border-box;
5450
- border-radius: 4px;
5451
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
5452
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
5453
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
5454
- }
5404
+ &__icon {
5405
+ font-size: 30px;
5406
+ line-height: 18px;
5407
+ color: $wac-second-color;
5408
+ transition: color 0.3s ease, transform 0.3s ease;
5409
+ }
5455
5410
 
5456
- .cdk-drag-placeholder {
5457
- opacity: 0;
5458
- }
5411
+ &__sublevel {
5412
+ position: absolute;
5413
+ min-width: 160px;
5414
+ top: 100%;
5415
+ right: 0;
5416
+ z-index: -1;
5417
+ opacity: 0;
5418
+ background-color: $wac-white;
5419
+ border-radius: rem(3);
5420
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
5421
+ visibility: hidden;
5422
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
5459
5423
 
5460
- .cdk-drag-animating {
5461
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
5462
- }
5424
+ &__container {
5425
+ padding: 10px 10px;
5426
+ border: 1px solid $wac-border-color;
5427
+ border-radius: 3px;
5463
5428
 
5464
- .wac-draganddrop-list__wrapper.cdk-drop-list-dragging .wac-draganddrop-list__wrapper__item:not(.cdk-drag-placeholder) {
5465
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
5429
+ &__item {
5430
+ padding: 5.7px 10px;
5431
+ font-size: 14px;
5432
+ line-height: 24px;
5433
+ color: $wac-second-color;
5434
+ cursor: pointer;
5435
+ transition: background-color 0.3s ease, color 0.3s ease;
5436
+ display: flex;
5437
+ justify-content: flex-start;
5438
+ align-items: center;
5439
+ align-content: center;
5440
+
5441
+ i {
5442
+ min-width: 15px;
5443
+ margin-right: 5px;
5444
+ text-align: center;
5445
+ }
5446
+ span {
5447
+ white-space: nowrap;
5448
+ }
5449
+
5450
+ &:hover {
5451
+ background-color: $wac-gray-background;
5452
+ transition: background-color 0.3s ease, color 0.3s ease;
5453
+ color: $wac-input-active-color;
5454
+ }
5455
+ }
5456
+ }
5457
+ }
5458
+
5459
+ &:hover {
5460
+ .wac-dropdown__wrapper__icon {
5461
+ color: $wac-wizishop-blue;
5462
+ transform: rotate(90deg);
5463
+ transition: color 0.3s ease, transform 0.3s ease;
5464
+ }
5465
+
5466
+ .wac-dropdown__wrapper__sublevel {
5467
+ visibility: visible;
5468
+ opacity: 1;
5469
+ z-index: 2;
5470
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
5471
+ }
5472
+ }
5473
+ }
5466
5474
  }
5467
5475
  .wac-wrapper-sidebar {
5468
5476
  width: 100%;
@@ -5663,35 +5671,31 @@ h1.wac-h1 {
5663
5671
  font-weight: normal;
5664
5672
  }
5665
5673
  }
5666
- .wac-label {
5667
- @include flexbox();
5668
- background-color: $wac-gray-background;
5669
- border-radius: 3px;
5670
- border: 1px solid $wac-gray-background;
5671
- transition: border-color 0.3s ease-in-out;
5672
-
5673
- &__wrapper {
5674
- padding: 7.5px 13px;
5675
- font-size: 14px;
5676
- line-height: 16px;
5677
- color: $wac-second-color;
5678
-
5679
- i {
5680
- margin-left: 10px;
5681
- font-size: 12px;
5682
- line-height: 23px;
5683
- color: $wac-border-form;
5684
- transition: color 0.3s ease-in-out;
5685
- }
5674
+ a.wac-link {
5675
+ position: relative;
5676
+ color: $wac-link-color;
5677
+ display: inline-block;
5678
+ transition: 0.3s ease;
5679
+ font-size: rem(14);
5680
+ line-height: rem(16);
5681
+ &:before {
5682
+ content: '';
5683
+ display: block;
5684
+ position: absolute;
5685
+ width: 100%;
5686
+ max-width: 0;
5687
+ height: 1px;
5688
+ border-radius: 3px;
5689
+ background-color: darken($wac-link-color, 15%);
5690
+ left: 0;
5691
+ bottom: -2px;
5692
+ transition: 0.3s ease;
5686
5693
  }
5687
-
5688
- &:hover {
5689
- border-color: $wac-input-border;
5690
- transition: border-color 0.3s ease-in-out;
5691
-
5692
- .wac-label__wrapper i {
5693
- color: $wac-second-color;
5694
- transition: color 0.3s ease-in-out;
5694
+ &:hover,
5695
+ &:focus {
5696
+ color: darken($wac-link-color, 15%);
5697
+ &:before {
5698
+ max-width: 100%;
5695
5699
  }
5696
5700
  }
5697
5701
  }
@@ -7256,37 +7260,50 @@ div.wac-field-input-search {
7256
7260
  }
7257
7261
  }
7258
7262
  }
7259
- .wac-delete {
7260
- width: 40px;
7261
- height: 40px;
7262
-
7263
- &__wrapper {
7264
- @include flexbox();
7265
- @include justify-content(center);
7266
- @include align-items(center);
7263
+ .wac-content-with-buttons {
7264
+ display: flex;
7265
+ align-items: center;
7266
+ width: 100%;
7267
+ @include media('<tablet') {
7268
+ flex-direction: column;
7269
+ justify-content: flex-start;
7270
+ align-items: flex-start;
7271
+ }
7272
+ &__text {
7267
7273
  width: 100%;
7268
- height: 100%;
7269
- border-radius: 3px;
7270
- background-color: transparent;
7271
- transition: background-color 0.3s ease-in-out;
7272
-
7273
- i {
7274
- color: $wac-border-form;
7275
- font-size: 14px;
7276
- line-height: 23px;
7277
- transition: color 0.3s ease-in-out;
7278
- }
7279
-
7280
- &:hover {
7281
- background-color: $wac-primary-button;
7282
- transition: background-color 0.3s ease-in-out;
7283
-
7284
- i {
7285
- color: $wac-white;
7286
- transition: color 0.3s ease-in-out;
7274
+ &__count {
7275
+ margin: 10px 0 0;
7276
+ width: 100%;
7277
+ display: flex;
7278
+ align-items: flex-end;
7279
+ justify-content: flex-start;
7280
+ > span {
7281
+ &:first-child {
7282
+ font-size: rem(12);
7283
+ font-style: italic;
7284
+ color: $wac-color-text-grey;
7285
+ line-height: rem(16);
7286
+ display: inline-block;
7287
+ transform: translateY(-3px);
7288
+ }
7289
+ &:last-child {
7290
+ display: inline-block;
7291
+ margin: 0 0 0 20px;
7292
+ }
7287
7293
  }
7288
7294
  }
7289
7295
  }
7296
+ &__cta {
7297
+ display: flex;
7298
+ align-items: center;
7299
+ width: auto;
7300
+ > div {
7301
+ margin: 0 0 0 20px;
7302
+ }
7303
+ @include media('<tablet') {
7304
+ margin: 15px 0 0;
7305
+ }
7306
+ }
7290
7307
  }
7291
7308
  .block-with-checkbox {
7292
7309
  width: 100%;