@wizishop/img-manager 0.2.100 → 0.2.103
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/assets/i18n/fr.json +1 -1
- package/bundles/wizishop-img-manager.umd.js +27 -8
- package/bundles/wizishop-img-manager.umd.js.map +1 -1
- package/bundles/wizishop-img-manager.umd.min.js +1 -1
- package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
- package/esm2015/lib/components/canva-btn/canva-btn.component.js +2 -2
- package/esm2015/lib/components/images-view/images-view.component.js +2 -2
- package/esm2015/lib/components/img-editor/img-editor.component.js +2 -2
- package/esm2015/lib/components/img-upload/img-upload.component.js +23 -4
- package/esm2015/lib/components/pexels-lib/pexels-lib.component.js +2 -2
- package/esm2015/lib/components/upload-list/upload-list.component.js +2 -2
- package/esm5/lib/components/canva-btn/canva-btn.component.js +2 -2
- package/esm5/lib/components/images-view/images-view.component.js +2 -2
- package/esm5/lib/components/img-editor/img-editor.component.js +2 -2
- package/esm5/lib/components/img-upload/img-upload.component.js +23 -4
- package/esm5/lib/components/pexels-lib/pexels-lib.component.js +2 -2
- package/esm5/lib/components/upload-list/upload-list.component.js +2 -2
- package/fesm2015/wizishop-img-manager.js +27 -8
- package/fesm2015/wizishop-img-manager.js.map +1 -1
- package/fesm5/wizishop-img-manager.js +27 -8
- package/fesm5/wizishop-img-manager.js.map +1 -1
- package/lib/components/img-upload/img-upload.component.d.ts +3 -0
- package/package.json +1 -1
- package/wizishop-img-manager-0.2.103.tgz +0 -0
- package/wizishop-img-manager.metadata.json +1 -1
- package/wz-img-manager.scss +193 -189
- package/wizishop-img-manager-0.2.100.tgz +0 -0
package/wz-img-manager.scss
CHANGED
|
@@ -840,6 +840,7 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
|
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
.wz-img-manager__module__content.wz-block:not(.wz-block--window) {
|
|
843
|
+
max-height: 100%;
|
|
843
844
|
.images-view__container__buttonBox {
|
|
844
845
|
transform: translateY(-2px) translateX(-60px);
|
|
845
846
|
}
|
|
@@ -1270,29 +1271,178 @@ $base-font: 'Work Sans', helvetica !default;@mixin simple_transition($type: null
|
|
|
1270
1271
|
}
|
|
1271
1272
|
image-cropper {
|
|
1272
1273
|
max-height: 60vh;
|
|
1273
|
-
}
|
|
1274
|
-
$primary: $primary-button !default;
|
|
1275
|
-
$light: $img-placeholder !default;
|
|
1276
|
-
$info: $wizishop-blue !default;
|
|
1277
|
-
$danger: $img-red-color !default;
|
|
1278
|
-
$dark: $img-dark !default;
|
|
1274
|
+
}.wz-img-manager {
|
|
1279
1275
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1276
|
+
&__selectionHandler {
|
|
1277
|
+
margin-top: -50px;
|
|
1278
|
+
}
|
|
1282
1279
|
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
$button-focus-border-color: $primary-button-hover !default;
|
|
1293
|
-
$button-disabled-border-color: $primary-button-hover !default;
|
|
1280
|
+
&__module {
|
|
1281
|
+
position: fixed;
|
|
1282
|
+
bottom: 0;
|
|
1283
|
+
left: 0;
|
|
1284
|
+
width: 100%;
|
|
1285
|
+
height: 0;
|
|
1286
|
+
transition: height .3s ease;
|
|
1287
|
+
z-index: 2147483647; // snackbar 10
|
|
1288
|
+
transform: translateZ(0);
|
|
1294
1289
|
|
|
1295
|
-
|
|
1290
|
+
&:before {
|
|
1291
|
+
content: '';
|
|
1292
|
+
display: block;
|
|
1293
|
+
position: absolute;
|
|
1294
|
+
top: 0;
|
|
1295
|
+
left: 0;
|
|
1296
|
+
width: 100%;
|
|
1297
|
+
height: 3px;
|
|
1298
|
+
background-color: $img-main-color;
|
|
1299
|
+
z-index: 999;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
&--closed {
|
|
1303
|
+
height: 0;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
// .wz-img-manager__module--small
|
|
1307
|
+
&--small {
|
|
1308
|
+
height: 320px;
|
|
1309
|
+
@include media('<tablet') {
|
|
1310
|
+
height: 100%!important;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
// .wz-img-manager__module--full
|
|
1315
|
+
&--full {
|
|
1316
|
+
height: calc(100vh - 50px);
|
|
1317
|
+
@include media('<tablet') {
|
|
1318
|
+
height: 100%!important;
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
// .wz-img-manager__module--window
|
|
1323
|
+
&--window {
|
|
1324
|
+
position: relative;
|
|
1325
|
+
width: auto;
|
|
1326
|
+
bottom: unset;
|
|
1327
|
+
left: unset;
|
|
1328
|
+
z-index: 29!important;
|
|
1329
|
+
height: auto!important;
|
|
1330
|
+
padding-bottom: 6.25rem;
|
|
1331
|
+
|
|
1332
|
+
&:before {
|
|
1333
|
+
content: none;
|
|
1334
|
+
height: 0px;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
// .wz-img-manager__module--edit
|
|
1338
|
+
&--edit {
|
|
1339
|
+
.wrapper-tabs {
|
|
1340
|
+
display: none;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
// .wz-img-manager__module__header
|
|
1346
|
+
&__header {
|
|
1347
|
+
position: absolute;
|
|
1348
|
+
bottom: 100%;
|
|
1349
|
+
right: 30px;
|
|
1350
|
+
width: 101px;
|
|
1351
|
+
|
|
1352
|
+
@include media('<tablet') {
|
|
1353
|
+
width: 45px;
|
|
1354
|
+
bottom: auto;
|
|
1355
|
+
top: 10px;
|
|
1356
|
+
right: 0;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
// .wz-img-manager__module__header button
|
|
1360
|
+
button {
|
|
1361
|
+
width: 45px;
|
|
1362
|
+
height: 35px;
|
|
1363
|
+
background-color: $img-main-color;
|
|
1364
|
+
transition: background-color .3s ease;
|
|
1365
|
+
border: none;
|
|
1366
|
+
box-shadow: none;
|
|
1367
|
+
cursor: pointer;
|
|
1368
|
+
outline: none!important;
|
|
1369
|
+
|
|
1370
|
+
@include media('<tablet') {
|
|
1371
|
+
background-color: transparent!important;
|
|
1372
|
+
i {
|
|
1373
|
+
color: $img-main-color!important;
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
&:first-child {
|
|
1378
|
+
@include media('<tablet') {
|
|
1379
|
+
display: none;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
span {
|
|
1384
|
+
display: none;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
i {
|
|
1388
|
+
color: #fff;
|
|
1389
|
+
font-size: 20px;
|
|
1390
|
+
&:before {
|
|
1391
|
+
font-size: rem(20) !important;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
&:hover, &:focus {
|
|
1396
|
+
background-color: darken($img-main-color, 15%);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
// .wz-img-manager__module__header button:first-child
|
|
1400
|
+
&:first-child {
|
|
1401
|
+
border-radius: 3px 0 0 0;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
// .wz-img-manager__module__header button:last-child
|
|
1405
|
+
&:last-child {
|
|
1406
|
+
margin: 0 0 0 1px;
|
|
1407
|
+
border-radius: 0 3px 0 0;
|
|
1408
|
+
@include media('<tablet') {
|
|
1409
|
+
margin: 0;
|
|
1410
|
+
border-radius: 0;
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
.wz-img-manager__module .wz-block {
|
|
1419
|
+
background-color: #fff;
|
|
1420
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
|
|
1421
|
+
padding: 0 0.575rem 0 1.075rem;
|
|
1422
|
+
|
|
1423
|
+
@include media('<tablet') {
|
|
1424
|
+
padding: 40px 20px 0;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
&--window {
|
|
1428
|
+
padding: rem(30);
|
|
1429
|
+
overflow: hidden;
|
|
1430
|
+
max-width: 1450px;
|
|
1431
|
+
margin: 0 auto;
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
.wz-img-manager__module .wz-block:hover {
|
|
1436
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
.nwb-snack-bar .notification {
|
|
1440
|
+
z-index: 10002!important;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.nwb-snack-bar .column {
|
|
1444
|
+
box-sizing: border-box;
|
|
1445
|
+
}
|
|
1296
1446
|
.img-editor__infoSection__propertySEO__tooltips {
|
|
1297
1447
|
i {
|
|
1298
1448
|
font-size: rem(16);
|
|
@@ -2068,6 +2218,9 @@ $green-color: #2ecc71;
|
|
|
2068
2218
|
//.wz-img-manager useful to keep the css priority
|
|
2069
2219
|
.wz-img-manager .pexels-lib {
|
|
2070
2220
|
width: 100%;
|
|
2221
|
+
height: 100%;
|
|
2222
|
+
max-height: 100%;
|
|
2223
|
+
position: relative;
|
|
2071
2224
|
|
|
2072
2225
|
&__scroll {
|
|
2073
2226
|
position: relative;
|
|
@@ -4262,175 +4415,26 @@ $card-img-size-small: 140px;
|
|
|
4262
4415
|
}
|
|
4263
4416
|
}
|
|
4264
4417
|
}
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
&__module {
|
|
4272
|
-
position: fixed;
|
|
4273
|
-
bottom: 0;
|
|
4274
|
-
left: 0;
|
|
4275
|
-
width: 100%;
|
|
4276
|
-
height: 0;
|
|
4277
|
-
transition: height .3s ease;
|
|
4278
|
-
z-index: 2147483647; // snackbar 10
|
|
4279
|
-
transform: translateZ(0);
|
|
4280
|
-
|
|
4281
|
-
&:before {
|
|
4282
|
-
content: '';
|
|
4283
|
-
display: block;
|
|
4284
|
-
position: absolute;
|
|
4285
|
-
top: 0;
|
|
4286
|
-
left: 0;
|
|
4287
|
-
width: 100%;
|
|
4288
|
-
height: 3px;
|
|
4289
|
-
background-color: $img-main-color;
|
|
4290
|
-
z-index: 999;
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
|
-
&--closed {
|
|
4294
|
-
height: 0;
|
|
4295
|
-
}
|
|
4296
|
-
|
|
4297
|
-
// .wz-img-manager__module--small
|
|
4298
|
-
&--small {
|
|
4299
|
-
height: 320px;
|
|
4300
|
-
@include media('<tablet') {
|
|
4301
|
-
height: 100%!important;
|
|
4302
|
-
}
|
|
4303
|
-
}
|
|
4304
|
-
|
|
4305
|
-
// .wz-img-manager__module--full
|
|
4306
|
-
&--full {
|
|
4307
|
-
height: calc(100vh - 50px);
|
|
4308
|
-
@include media('<tablet') {
|
|
4309
|
-
height: 100%!important;
|
|
4310
|
-
}
|
|
4311
|
-
}
|
|
4312
|
-
|
|
4313
|
-
// .wz-img-manager__module--window
|
|
4314
|
-
&--window {
|
|
4315
|
-
position: relative;
|
|
4316
|
-
width: auto;
|
|
4317
|
-
bottom: unset;
|
|
4318
|
-
left: unset;
|
|
4319
|
-
z-index: 29!important;
|
|
4320
|
-
height: auto!important;
|
|
4321
|
-
padding-bottom: 6.25rem;
|
|
4322
|
-
|
|
4323
|
-
&:before {
|
|
4324
|
-
content: none;
|
|
4325
|
-
height: 0px;
|
|
4326
|
-
}
|
|
4327
|
-
|
|
4328
|
-
// .wz-img-manager__module--edit
|
|
4329
|
-
&--edit {
|
|
4330
|
-
.wrapper-tabs {
|
|
4331
|
-
display: none;
|
|
4332
|
-
}
|
|
4333
|
-
}
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4336
|
-
// .wz-img-manager__module__header
|
|
4337
|
-
&__header {
|
|
4338
|
-
position: absolute;
|
|
4339
|
-
bottom: 100%;
|
|
4340
|
-
right: 30px;
|
|
4341
|
-
width: 101px;
|
|
4342
|
-
|
|
4343
|
-
@include media('<tablet') {
|
|
4344
|
-
width: 45px;
|
|
4345
|
-
bottom: auto;
|
|
4346
|
-
top: 10px;
|
|
4347
|
-
right: 0;
|
|
4348
|
-
}
|
|
4349
|
-
|
|
4350
|
-
// .wz-img-manager__module__header button
|
|
4351
|
-
button {
|
|
4352
|
-
width: 45px;
|
|
4353
|
-
height: 35px;
|
|
4354
|
-
background-color: $img-main-color;
|
|
4355
|
-
transition: background-color .3s ease;
|
|
4356
|
-
border: none;
|
|
4357
|
-
box-shadow: none;
|
|
4358
|
-
cursor: pointer;
|
|
4359
|
-
outline: none!important;
|
|
4360
|
-
|
|
4361
|
-
@include media('<tablet') {
|
|
4362
|
-
background-color: transparent!important;
|
|
4363
|
-
i {
|
|
4364
|
-
color: $img-main-color!important;
|
|
4365
|
-
}
|
|
4366
|
-
}
|
|
4367
|
-
|
|
4368
|
-
&:first-child {
|
|
4369
|
-
@include media('<tablet') {
|
|
4370
|
-
display: none;
|
|
4371
|
-
}
|
|
4372
|
-
}
|
|
4373
|
-
|
|
4374
|
-
span {
|
|
4375
|
-
display: none;
|
|
4376
|
-
}
|
|
4377
|
-
|
|
4378
|
-
i {
|
|
4379
|
-
color: #fff;
|
|
4380
|
-
font-size: 20px;
|
|
4381
|
-
&:before {
|
|
4382
|
-
font-size: rem(20) !important;
|
|
4383
|
-
}
|
|
4384
|
-
}
|
|
4385
|
-
|
|
4386
|
-
&:hover, &:focus {
|
|
4387
|
-
background-color: darken($img-main-color, 15%);
|
|
4388
|
-
}
|
|
4389
|
-
|
|
4390
|
-
// .wz-img-manager__module__header button:first-child
|
|
4391
|
-
&:first-child {
|
|
4392
|
-
border-radius: 3px 0 0 0;
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
|
-
// .wz-img-manager__module__header button:last-child
|
|
4396
|
-
&:last-child {
|
|
4397
|
-
margin: 0 0 0 1px;
|
|
4398
|
-
border-radius: 0 3px 0 0;
|
|
4399
|
-
@include media('<tablet') {
|
|
4400
|
-
margin: 0;
|
|
4401
|
-
border-radius: 0;
|
|
4402
|
-
}
|
|
4403
|
-
}
|
|
4404
|
-
}
|
|
4405
|
-
}
|
|
4406
|
-
}
|
|
4407
|
-
}
|
|
4408
|
-
|
|
4409
|
-
.wz-img-manager__module .wz-block {
|
|
4410
|
-
background-color: #fff;
|
|
4411
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
|
|
4412
|
-
padding: 0 0.575rem 0 1.075rem;
|
|
4413
|
-
|
|
4414
|
-
@include media('<tablet') {
|
|
4415
|
-
padding: 40px 20px 0;
|
|
4416
|
-
}
|
|
4417
|
-
|
|
4418
|
-
&--window {
|
|
4419
|
-
padding: rem(30);
|
|
4420
|
-
overflow: hidden;
|
|
4421
|
-
max-width: 1450px;
|
|
4422
|
-
margin: 0 auto;
|
|
4423
|
-
}
|
|
4424
|
-
}
|
|
4418
|
+
$green: $really-bad-bad-bad-green !default;
|
|
4419
|
+
$primary: $primary-button !default;
|
|
4420
|
+
$light: $img-placeholder !default;
|
|
4421
|
+
$info: $wizishop-blue !default;
|
|
4422
|
+
$danger: $img-red-color !default;
|
|
4423
|
+
$dark: $img-dark !default;
|
|
4425
4424
|
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
}
|
|
4425
|
+
$button-padding-vertical: rem(7) !default;
|
|
4426
|
+
$radius: rem(3) !default;
|
|
4429
4427
|
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4428
|
+
$button-color: white!default;
|
|
4429
|
+
$button-hover-color: white !default;
|
|
4430
|
+
$button-focus-color: white !default;
|
|
4431
|
+
$button-active-color: white !default;
|
|
4432
|
+
$button-background-color: $primary !default;
|
|
4433
|
+
$button-disabled-background-color: $primary !default;
|
|
4434
|
+
$button-border-color: $primary-button-hover !default;
|
|
4435
|
+
$button-hover-border-color: $primary-button-hover !default;
|
|
4436
|
+
$button-active-border-color: $primary-button-hover !default;
|
|
4437
|
+
$button-focus-border-color: $primary-button-hover !default;
|
|
4438
|
+
$button-disabled-border-color: $primary-button-hover !default;
|
|
4433
4439
|
|
|
4434
|
-
|
|
4435
|
-
box-sizing: border-box;
|
|
4436
|
-
}
|
|
4440
|
+
$tag-radius: rem(20px)!default;
|
|
Binary file
|