@wizishop/img-manager 0.2.97 → 0.2.100

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.
Files changed (31) hide show
  1. package/assets/i18n/fr.json +1 -1
  2. package/bundles/wizishop-img-manager.umd.js +226 -198
  3. package/bundles/wizishop-img-manager.umd.js.map +1 -1
  4. package/bundles/wizishop-img-manager.umd.min.js +2 -2
  5. package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
  6. package/esm2015/lib/components/canva-btn/canva-btn.component.js +6 -81
  7. package/esm2015/lib/components/images-view/images-view.component.js +18 -11
  8. package/esm2015/lib/components/img-tabs/img-tabs.component.js +2 -2
  9. package/esm2015/lib/services/canva.service.js +88 -5
  10. package/esm2015/lib/wz-img-manager.component.js +15 -1
  11. package/esm2015/wizishop-img-manager.js +4 -4
  12. package/esm5/lib/components/canva-btn/canva-btn.component.js +6 -87
  13. package/esm5/lib/components/images-view/images-view.component.js +18 -11
  14. package/esm5/lib/components/img-tabs/img-tabs.component.js +2 -2
  15. package/esm5/lib/services/canva.service.js +94 -5
  16. package/esm5/lib/wz-img-manager.component.js +19 -1
  17. package/esm5/wizishop-img-manager.js +4 -4
  18. package/fesm2015/wizishop-img-manager.js +209 -185
  19. package/fesm2015/wizishop-img-manager.js.map +1 -1
  20. package/fesm5/wizishop-img-manager.js +224 -196
  21. package/fesm5/wizishop-img-manager.js.map +1 -1
  22. package/lib/components/canva-btn/canva-btn.component.d.ts +2 -19
  23. package/lib/components/images-view/images-view.component.d.ts +1 -1
  24. package/lib/services/canva.service.d.ts +20 -1
  25. package/lib/wz-img-manager.component.d.ts +2 -0
  26. package/package.json +1 -1
  27. package/wizishop-img-manager-0.2.100.tgz +0 -0
  28. package/wizishop-img-manager.d.ts +3 -3
  29. package/wizishop-img-manager.metadata.json +1 -1
  30. package/wz-img-manager.scss +153 -148
  31. package/wizishop-img-manager-0.2.97.tgz +0 -0
@@ -2433,7 +2433,7 @@ $green-color: #2ecc71;
2433
2433
  display: block;
2434
2434
  margin: 0 0 20px;
2435
2435
  padding: 0;
2436
- width: 100%;
2436
+ width: 97%;
2437
2437
  wz-input-search {
2438
2438
  display: block;
2439
2439
  width: 100%;
@@ -2479,6 +2479,9 @@ $green-color: #2ecc71;
2479
2479
  }
2480
2480
  &__pagination {
2481
2481
  width: 100%;
2482
+ @include media('<tablet') {
2483
+ width: 97%;
2484
+ }
2482
2485
  }
2483
2486
  &__container {
2484
2487
  &__loader {
@@ -2844,6 +2847,10 @@ $card-img-size-small: 140px;
2844
2847
  width: 100%;
2845
2848
  overflow: hidden;
2846
2849
 
2850
+ @include media('<720px') {
2851
+ width: 97%;
2852
+ }
2853
+
2847
2854
  &__container {
2848
2855
  width: 100%!important;
2849
2856
  height: auto!important;
@@ -3261,6 +3268,151 @@ $card-img-size-small: 140px;
3261
3268
  .wz-img-manager .addCssPriority .smallNameDisplay .img-card__nameContainer__name {
3262
3269
  width: $card-img-size-small;
3263
3270
  }
3271
+ .wz-img-manager .wz-table {
3272
+ width: 100%;
3273
+
3274
+ &__head {
3275
+ @include flexbox();
3276
+ @include flex-flow(row nowrap);
3277
+ width: 100%;
3278
+ border-top: 1px solid $textarea-border-color;
3279
+ border-bottom: 1px solid $textarea-border-color;
3280
+ background-color: $gray-background;
3281
+
3282
+ &__cell {
3283
+ @include flexbox();
3284
+ @include flex(1);
3285
+ padding: 15px 20px;
3286
+ font-size: 14px;
3287
+ line-height: 20px;
3288
+ color: $main-text;
3289
+ font-weight: 600;
3290
+
3291
+ &--checkbox {
3292
+ @include flex(none);
3293
+ width: 80px;
3294
+ padding: 10px 20px 6px 20px;
3295
+ > * {
3296
+ transform: translateX(15px);
3297
+ }
3298
+ }
3299
+
3300
+ &__search {
3301
+ color: $main-text;
3302
+ padding-right: 23px;
3303
+ transition: background-image 0.3s ease-in-out;
3304
+ cursor: text;
3305
+
3306
+ &:hover {
3307
+ color: $main-text;
3308
+ }
3309
+
3310
+ &--idle {
3311
+ background: transparent
3312
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3313
+ center right / 14px 14px no-repeat;
3314
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3315
+ cursor: pointer;
3316
+
3317
+ &:hover {
3318
+ transition: color 0.3s ease-in-out;
3319
+ }
3320
+ }
3321
+
3322
+ &--up {
3323
+ background: transparent
3324
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3325
+ center right / 14px 14px no-repeat;
3326
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3327
+ cursor: pointer;
3328
+
3329
+ &:hover {
3330
+ transition: color 0.3s ease-in-out;
3331
+ }
3332
+ }
3333
+
3334
+ &--down {
3335
+ background: transparent
3336
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3337
+ center right / 14px 14px no-repeat;
3338
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3339
+ cursor: pointer;
3340
+
3341
+ &:hover {
3342
+ transition: color 0.3s ease-in-out;
3343
+ }
3344
+ }
3345
+ }
3346
+
3347
+ &--center--left {
3348
+ @include align-items(center);
3349
+ @include justify-content(left);
3350
+ }
3351
+ &--center--center {
3352
+ @include align-items(center);
3353
+ @include justify-content(center);
3354
+ }
3355
+ &--center--right {
3356
+ @include align-items(center);
3357
+ @include justify-content(right);
3358
+ }
3359
+ }
3360
+ }
3361
+
3362
+ // TODO delete __search
3363
+ &__search {
3364
+ height: 100px;
3365
+ margin-top: 10px;
3366
+ }
3367
+
3368
+ &__body {
3369
+ width: 100%;
3370
+ margin-top: -10px;
3371
+
3372
+ &__loader {
3373
+ position: relative;
3374
+ min-height: 200px;
3375
+ }
3376
+
3377
+ &__line {
3378
+ @include flexbox();
3379
+ @include flex-flow(row nowrap);
3380
+ width: 100%;
3381
+ border-bottom: 1px solid $textarea-border-color;
3382
+
3383
+ &__cell {
3384
+ @include flexbox();
3385
+ @include flex(1);
3386
+ padding: 20px 20px 20px 20px;
3387
+ font-size: 14px;
3388
+ line-height: 25px;
3389
+ color: $secondary-color;
3390
+
3391
+ &--checkbox {
3392
+ @include flexbox();
3393
+ @include flex(none);
3394
+ @include justify-content(center);
3395
+ @include align-items(center);
3396
+ width: 80px;
3397
+ padding: 8px 20px;
3398
+ }
3399
+
3400
+ &--center--left {
3401
+ @include align-items(center);
3402
+ @include justify-content(left);
3403
+ }
3404
+ &--center--center {
3405
+ @include align-items(center);
3406
+ @include justify-content(center);
3407
+ }
3408
+ &--center--right {
3409
+ @include align-items(center);
3410
+ @include justify-content(right);
3411
+ }
3412
+ }
3413
+ }
3414
+ }
3415
+ }
3264
3416
 
3265
3417
 
3266
3418
  .wac {
@@ -3554,151 +3706,6 @@ $card-img-size-small: 140px;
3554
3706
  }
3555
3707
  }
3556
3708
  }
3557
- .wz-img-manager .wz-table {
3558
- width: 100%;
3559
-
3560
- &__head {
3561
- @include flexbox();
3562
- @include flex-flow(row nowrap);
3563
- width: 100%;
3564
- border-top: 1px solid $textarea-border-color;
3565
- border-bottom: 1px solid $textarea-border-color;
3566
- background-color: $gray-background;
3567
-
3568
- &__cell {
3569
- @include flexbox();
3570
- @include flex(1);
3571
- padding: 15px 20px;
3572
- font-size: 14px;
3573
- line-height: 20px;
3574
- color: $main-text;
3575
- font-weight: 600;
3576
-
3577
- &--checkbox {
3578
- @include flex(none);
3579
- width: 80px;
3580
- padding: 10px 20px 6px 20px;
3581
- > * {
3582
- transform: translateX(15px);
3583
- }
3584
- }
3585
-
3586
- &__search {
3587
- color: $main-text;
3588
- padding-right: 23px;
3589
- transition: background-image 0.3s ease-in-out;
3590
- cursor: text;
3591
-
3592
- &:hover {
3593
- color: $main-text;
3594
- }
3595
-
3596
- &--idle {
3597
- background: transparent
3598
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3599
- center right / 14px 14px no-repeat;
3600
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3601
- cursor: pointer;
3602
-
3603
- &:hover {
3604
- transition: color 0.3s ease-in-out;
3605
- }
3606
- }
3607
-
3608
- &--up {
3609
- background: transparent
3610
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-up' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-up fa-w-10 fa-5x'%3E%3Cpath fill='currentColor' d='M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z'/%3E%3C/svg%3E")
3611
- center right / 14px 14px no-repeat;
3612
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3613
- cursor: pointer;
3614
-
3615
- &:hover {
3616
- transition: color 0.3s ease-in-out;
3617
- }
3618
- }
3619
-
3620
- &--down {
3621
- background: transparent
3622
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort-down' viewBox='0 0 320 512' class='svg-inline--fa fa-sort-down fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z'/%3E%3C/svg%3E")
3623
- center right / 14px 14px no-repeat;
3624
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3625
- cursor: pointer;
3626
-
3627
- &:hover {
3628
- transition: color 0.3s ease-in-out;
3629
- }
3630
- }
3631
- }
3632
-
3633
- &--center--left {
3634
- @include align-items(center);
3635
- @include justify-content(left);
3636
- }
3637
- &--center--center {
3638
- @include align-items(center);
3639
- @include justify-content(center);
3640
- }
3641
- &--center--right {
3642
- @include align-items(center);
3643
- @include justify-content(right);
3644
- }
3645
- }
3646
- }
3647
-
3648
- // TODO delete __search
3649
- &__search {
3650
- height: 100px;
3651
- margin-top: 10px;
3652
- }
3653
-
3654
- &__body {
3655
- width: 100%;
3656
- margin-top: -10px;
3657
-
3658
- &__loader {
3659
- position: relative;
3660
- min-height: 200px;
3661
- }
3662
-
3663
- &__line {
3664
- @include flexbox();
3665
- @include flex-flow(row nowrap);
3666
- width: 100%;
3667
- border-bottom: 1px solid $textarea-border-color;
3668
-
3669
- &__cell {
3670
- @include flexbox();
3671
- @include flex(1);
3672
- padding: 20px 20px 20px 20px;
3673
- font-size: 14px;
3674
- line-height: 25px;
3675
- color: $secondary-color;
3676
-
3677
- &--checkbox {
3678
- @include flexbox();
3679
- @include flex(none);
3680
- @include justify-content(center);
3681
- @include align-items(center);
3682
- width: 80px;
3683
- padding: 8px 20px;
3684
- }
3685
-
3686
- &--center--left {
3687
- @include align-items(center);
3688
- @include justify-content(left);
3689
- }
3690
- &--center--center {
3691
- @include align-items(center);
3692
- @include justify-content(center);
3693
- }
3694
- &--center--right {
3695
- @include align-items(center);
3696
- @include justify-content(right);
3697
- }
3698
- }
3699
- }
3700
- }
3701
- }
3702
3709
  .wz-img-manager .wz-pagination {
3703
3710
  width: 100%;
3704
3711
  padding: 0;
@@ -4427,5 +4434,3 @@ $card-img-size-small: 140px;
4427
4434
  .nwb-snack-bar .column {
4428
4435
  box-sizing: border-box;
4429
4436
  }
4430
-
4431
-
Binary file