@wizishop/angular-components 0.0.233 → 0.0.234
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/angular-components.scss +20 -234
- package/bundles/wizishop-angular-components.umd.js +5 -1
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/content-with-buttons/content-with-buttons.component.js +6 -2
- package/fesm2015/wizishop-angular-components.js +5 -1
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/content-with-buttons/content-with-buttons.component.d.ts +2 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.234.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.233.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -4212,11 +4212,6 @@ span.wac-tooltip {
|
|
|
4212
4212
|
color: $wac-white;
|
|
4213
4213
|
}
|
|
4214
4214
|
}
|
|
4215
|
-
|
|
4216
|
-
.wac-button__tooltips {
|
|
4217
|
-
background-color: $wac-wizishop-blue-button!important;
|
|
4218
|
-
color: $white!important;
|
|
4219
|
-
}
|
|
4220
4215
|
}
|
|
4221
4216
|
|
|
4222
4217
|
&.animationText {
|
|
@@ -4419,59 +4414,6 @@ span.wac-tooltip {
|
|
|
4419
4414
|
background-color: $wac-main-text;
|
|
4420
4415
|
}
|
|
4421
4416
|
|
|
4422
|
-
.wac-button__tooltips {
|
|
4423
|
-
background-color: $wac-main-text-lighten!important;
|
|
4424
|
-
color: $wac-white!important;
|
|
4425
|
-
|
|
4426
|
-
&.right {
|
|
4427
|
-
&:before {
|
|
4428
|
-
border-color: transparent $wac-main-text-lighten transparent transparent;
|
|
4429
|
-
}
|
|
4430
|
-
}
|
|
4431
|
-
|
|
4432
|
-
&.left {
|
|
4433
|
-
&:before {
|
|
4434
|
-
border-color: transparent transparent transparent $wac-main-text-lighten;
|
|
4435
|
-
}
|
|
4436
|
-
}
|
|
4437
|
-
|
|
4438
|
-
&.top-center {
|
|
4439
|
-
&:before {
|
|
4440
|
-
border-color: $wac-main-text-lighten transparent transparent transparent;
|
|
4441
|
-
}
|
|
4442
|
-
}
|
|
4443
|
-
|
|
4444
|
-
&.top-right {
|
|
4445
|
-
&:before {
|
|
4446
|
-
border-color: $wac-main-text-lighten transparent transparent transparent;
|
|
4447
|
-
}
|
|
4448
|
-
}
|
|
4449
|
-
|
|
4450
|
-
&.top-left {
|
|
4451
|
-
&:before {
|
|
4452
|
-
border-color: $wac-main-text-lighten transparent transparent transparent;
|
|
4453
|
-
}
|
|
4454
|
-
}
|
|
4455
|
-
|
|
4456
|
-
&.bottom-center {
|
|
4457
|
-
&:before {
|
|
4458
|
-
border-color: transparent transparent $wac-main-text-lighten transparent;
|
|
4459
|
-
}
|
|
4460
|
-
}
|
|
4461
|
-
|
|
4462
|
-
&.bottom-right {
|
|
4463
|
-
&:before {
|
|
4464
|
-
border-color: transparent transparent $wac-main-text-lighten transparent;
|
|
4465
|
-
}
|
|
4466
|
-
}
|
|
4467
|
-
|
|
4468
|
-
&.bottom-left {
|
|
4469
|
-
&:before {
|
|
4470
|
-
border-color: transparent transparent $wac-main-text-lighten transparent;
|
|
4471
|
-
}
|
|
4472
|
-
}
|
|
4473
|
-
}
|
|
4474
|
-
|
|
4475
4417
|
&:hover,
|
|
4476
4418
|
&.hover {
|
|
4477
4419
|
background-color: $wac-main-text-lighten;
|
|
@@ -4755,59 +4697,6 @@ span.wac-tooltip {
|
|
|
4755
4697
|
background-color: $wac-background-color-darken;
|
|
4756
4698
|
}
|
|
4757
4699
|
|
|
4758
|
-
.wac-button__tooltips {
|
|
4759
|
-
background-color: $wac-background-color-darken!important;
|
|
4760
|
-
color: $wac-main-text!important;
|
|
4761
|
-
|
|
4762
|
-
&.right {
|
|
4763
|
-
&:before {
|
|
4764
|
-
border-color: transparent $wac-background-color-darken transparent transparent;
|
|
4765
|
-
}
|
|
4766
|
-
}
|
|
4767
|
-
|
|
4768
|
-
&.left {
|
|
4769
|
-
&:before {
|
|
4770
|
-
border-color: transparent transparent transparent $wac-background-color-darken;
|
|
4771
|
-
}
|
|
4772
|
-
}
|
|
4773
|
-
|
|
4774
|
-
&.top-center {
|
|
4775
|
-
&:before {
|
|
4776
|
-
border-color: $wac-background-color-darken transparent transparent transparent;
|
|
4777
|
-
}
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
&.top-right {
|
|
4781
|
-
&:before {
|
|
4782
|
-
border-color: $wac-background-color-darken transparent transparent transparent;
|
|
4783
|
-
}
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
&.top-left {
|
|
4787
|
-
&:before {
|
|
4788
|
-
border-color: $wac-background-color-darken transparent transparent transparent;
|
|
4789
|
-
}
|
|
4790
|
-
}
|
|
4791
|
-
|
|
4792
|
-
&.bottom-center {
|
|
4793
|
-
&:before {
|
|
4794
|
-
border-color: transparent transparent $wac-background-color-darken transparent;
|
|
4795
|
-
}
|
|
4796
|
-
}
|
|
4797
|
-
|
|
4798
|
-
&.bottom-right {
|
|
4799
|
-
&:before {
|
|
4800
|
-
border-color: transparent transparent $wac-background-color-darken transparent;
|
|
4801
|
-
}
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
|
-
&.bottom-left {
|
|
4805
|
-
&:before {
|
|
4806
|
-
border-color: transparent transparent $wac-background-color-darken transparent;
|
|
4807
|
-
}
|
|
4808
|
-
}
|
|
4809
|
-
}
|
|
4810
|
-
|
|
4811
4700
|
.wac-button__wrapper, .wac-button__animation {
|
|
4812
4701
|
color: $wac-second-color;
|
|
4813
4702
|
transition: color 0.3s ease-in-out;
|
|
@@ -4872,58 +4761,6 @@ span.wac-tooltip {
|
|
|
4872
4761
|
background-color: $wac-primary-button-darken;
|
|
4873
4762
|
}
|
|
4874
4763
|
|
|
4875
|
-
.wac-button__tooltips {
|
|
4876
|
-
background-color: $wac-primary-button-darken!important;
|
|
4877
|
-
color: $wac-white!important;
|
|
4878
|
-
&.right {
|
|
4879
|
-
&:before {
|
|
4880
|
-
border-color: transparent $wac-primary-button-darken transparent transparent;
|
|
4881
|
-
}
|
|
4882
|
-
}
|
|
4883
|
-
|
|
4884
|
-
&.left {
|
|
4885
|
-
&:before {
|
|
4886
|
-
border-color: transparent transparent transparent $wac-primary-button-darken;
|
|
4887
|
-
}
|
|
4888
|
-
}
|
|
4889
|
-
|
|
4890
|
-
&.top-center {
|
|
4891
|
-
&:before {
|
|
4892
|
-
border-color: $wac-primary-button-darken transparent transparent transparent;
|
|
4893
|
-
}
|
|
4894
|
-
}
|
|
4895
|
-
|
|
4896
|
-
&.top-right {
|
|
4897
|
-
&:before {
|
|
4898
|
-
border-color: $wac-primary-button-darken transparent transparent transparent;
|
|
4899
|
-
}
|
|
4900
|
-
}
|
|
4901
|
-
|
|
4902
|
-
&.top-left {
|
|
4903
|
-
&:before {
|
|
4904
|
-
border-color: $wac-primary-button-darken transparent transparent transparent;
|
|
4905
|
-
}
|
|
4906
|
-
}
|
|
4907
|
-
|
|
4908
|
-
&.bottom-center {
|
|
4909
|
-
&:before {
|
|
4910
|
-
border-color: transparent transparent $wac-primary-button-darken transparent;
|
|
4911
|
-
}
|
|
4912
|
-
}
|
|
4913
|
-
|
|
4914
|
-
&.bottom-right {
|
|
4915
|
-
&:before {
|
|
4916
|
-
border-color: transparent transparent $wac-primary-button-darken transparent;
|
|
4917
|
-
}
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
&.bottom-left {
|
|
4921
|
-
&:before {
|
|
4922
|
-
border-color: transparent transparent $wac-primary-button-darken transparent;
|
|
4923
|
-
}
|
|
4924
|
-
}
|
|
4925
|
-
}
|
|
4926
|
-
|
|
4927
4764
|
&:hover,
|
|
4928
4765
|
&.hover {
|
|
4929
4766
|
background-color: $wac-primary-button-darken;
|
|
@@ -4988,58 +4825,6 @@ span.wac-tooltip {
|
|
|
4988
4825
|
background-color: $wac-green-color-darken;
|
|
4989
4826
|
}
|
|
4990
4827
|
|
|
4991
|
-
.wac-button__tooltips {
|
|
4992
|
-
background-color: $wac-green-color-darken!important;
|
|
4993
|
-
color: $wac-white!important;
|
|
4994
|
-
&.right {
|
|
4995
|
-
&:before {
|
|
4996
|
-
border-color: transparent $wac-green-color-darken transparent transparent;
|
|
4997
|
-
}
|
|
4998
|
-
}
|
|
4999
|
-
|
|
5000
|
-
&.left {
|
|
5001
|
-
&:before {
|
|
5002
|
-
border-color: transparent transparent transparent $wac-green-color-darken;
|
|
5003
|
-
}
|
|
5004
|
-
}
|
|
5005
|
-
|
|
5006
|
-
&.top-center {
|
|
5007
|
-
&:before {
|
|
5008
|
-
border-color: $wac-green-color-darken transparent transparent transparent;
|
|
5009
|
-
}
|
|
5010
|
-
}
|
|
5011
|
-
|
|
5012
|
-
&.top-right {
|
|
5013
|
-
&:before {
|
|
5014
|
-
border-color: $wac-green-color-darken transparent transparent transparent;
|
|
5015
|
-
}
|
|
5016
|
-
}
|
|
5017
|
-
|
|
5018
|
-
&.top-left {
|
|
5019
|
-
&:before {
|
|
5020
|
-
border-color: $wac-green-color-darken transparent transparent transparent;
|
|
5021
|
-
}
|
|
5022
|
-
}
|
|
5023
|
-
|
|
5024
|
-
&.bottom-center {
|
|
5025
|
-
&:before {
|
|
5026
|
-
border-color: transparent transparent $wac-green-color-darken transparent;
|
|
5027
|
-
}
|
|
5028
|
-
}
|
|
5029
|
-
|
|
5030
|
-
&.bottom-right {
|
|
5031
|
-
&:before {
|
|
5032
|
-
border-color: transparent transparent $wac-green-color-darken transparent;
|
|
5033
|
-
}
|
|
5034
|
-
}
|
|
5035
|
-
|
|
5036
|
-
&.bottom-left {
|
|
5037
|
-
&:before {
|
|
5038
|
-
border-color: transparent transparent $wac-green-color-darken transparent;
|
|
5039
|
-
}
|
|
5040
|
-
}
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
4828
|
&:hover,
|
|
5044
4829
|
&.hover {
|
|
5045
4830
|
background-color: $wac-green-color-darken;
|
|
@@ -5211,9 +4996,10 @@ span.wac-tooltip {
|
|
|
5211
4996
|
&__tooltips {
|
|
5212
4997
|
position: absolute;
|
|
5213
4998
|
width: auto;
|
|
5214
|
-
padding:
|
|
5215
|
-
|
|
5216
|
-
|
|
4999
|
+
padding: 8px;
|
|
5000
|
+
border-radius: 3px;
|
|
5001
|
+
background: $wac-second-color !important;
|
|
5002
|
+
color: $wac-white;
|
|
5217
5003
|
min-width: 100%;
|
|
5218
5004
|
visibility: hidden;
|
|
5219
5005
|
font-size: 14px;
|
|
@@ -5231,25 +5017,25 @@ span.wac-tooltip {
|
|
|
5231
5017
|
|
|
5232
5018
|
&:before {
|
|
5233
5019
|
content: '';
|
|
5234
|
-
display:
|
|
5020
|
+
display: none!important;
|
|
5235
5021
|
position: absolute;
|
|
5236
5022
|
width: 0;
|
|
5237
5023
|
height: 0;
|
|
5238
5024
|
border-style: solid;
|
|
5239
5025
|
border-width: 10px 10px 0 10px;
|
|
5240
|
-
border-color: $
|
|
5026
|
+
border-color: transparentize($wac-second-color, .1) transparent transparent transparent;
|
|
5241
5027
|
}
|
|
5242
5028
|
|
|
5243
5029
|
&.right {
|
|
5244
5030
|
left: 100%;
|
|
5245
|
-
transform: translate(
|
|
5031
|
+
transform: translate(10px, -50%);
|
|
5246
5032
|
top: 50%;
|
|
5247
5033
|
&:before {
|
|
5248
5034
|
width: 0;
|
|
5249
5035
|
height: 0;
|
|
5250
5036
|
border-style: solid;
|
|
5251
5037
|
border-width: 10px 10px 10px 0;
|
|
5252
|
-
border-color: transparent $
|
|
5038
|
+
border-color: transparent transparentize($wac-second-color, .1) transparent transparent;
|
|
5253
5039
|
right: 100%;
|
|
5254
5040
|
top: 50%;
|
|
5255
5041
|
transform: translateY(-50%);
|
|
@@ -5258,14 +5044,14 @@ span.wac-tooltip {
|
|
|
5258
5044
|
|
|
5259
5045
|
&.left {
|
|
5260
5046
|
right: 100%;
|
|
5261
|
-
transform: translate(-
|
|
5047
|
+
transform: translate(-10px, -50%);
|
|
5262
5048
|
top: 50%;
|
|
5263
5049
|
&:before {
|
|
5264
5050
|
width: 0;
|
|
5265
5051
|
height: 0;
|
|
5266
5052
|
border-style: solid;
|
|
5267
5053
|
border-width: 10px 0 10px 10px;
|
|
5268
|
-
border-color: transparent transparent transparent $
|
|
5054
|
+
border-color: transparent transparent transparent transparentize($wac-second-color, .1);
|
|
5269
5055
|
left: 100%;
|
|
5270
5056
|
top: 50%;
|
|
5271
5057
|
transform: translateY(-50%);
|
|
@@ -5274,7 +5060,7 @@ span.wac-tooltip {
|
|
|
5274
5060
|
|
|
5275
5061
|
&.top-center {
|
|
5276
5062
|
left: 50%;
|
|
5277
|
-
transform: translate(-50%, -
|
|
5063
|
+
transform: translate(-50%, -10px);
|
|
5278
5064
|
bottom: 100%;
|
|
5279
5065
|
&:before {
|
|
5280
5066
|
left: 50%;
|
|
@@ -5285,7 +5071,7 @@ span.wac-tooltip {
|
|
|
5285
5071
|
|
|
5286
5072
|
&.top-right {
|
|
5287
5073
|
right: 0;
|
|
5288
|
-
transform: translate(0, -
|
|
5074
|
+
transform: translate(0, -10px);
|
|
5289
5075
|
bottom: 100%;
|
|
5290
5076
|
&:before {
|
|
5291
5077
|
right: 10px;
|
|
@@ -5295,7 +5081,7 @@ span.wac-tooltip {
|
|
|
5295
5081
|
|
|
5296
5082
|
&.top-left {
|
|
5297
5083
|
left: 0;
|
|
5298
|
-
transform: translate(0, -
|
|
5084
|
+
transform: translate(0, -10px);
|
|
5299
5085
|
bottom: 100%;
|
|
5300
5086
|
&:before {
|
|
5301
5087
|
left: 10px;
|
|
@@ -5305,14 +5091,14 @@ span.wac-tooltip {
|
|
|
5305
5091
|
|
|
5306
5092
|
&.bottom-center {
|
|
5307
5093
|
left: 50%;
|
|
5308
|
-
transform: translate(-50%,
|
|
5094
|
+
transform: translate(-50%, 10px);
|
|
5309
5095
|
top: 100%;
|
|
5310
5096
|
&:before {
|
|
5311
5097
|
width: 0;
|
|
5312
5098
|
height: 0;
|
|
5313
5099
|
border-style: solid;
|
|
5314
5100
|
border-width: 0 10px 10px 10px;
|
|
5315
|
-
border-color: transparent transparent $
|
|
5101
|
+
border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
|
|
5316
5102
|
right: auto;
|
|
5317
5103
|
top: auto;
|
|
5318
5104
|
left: 50%;
|
|
@@ -5323,14 +5109,14 @@ span.wac-tooltip {
|
|
|
5323
5109
|
|
|
5324
5110
|
&.bottom-right {
|
|
5325
5111
|
right: 0;
|
|
5326
|
-
transform: translate(0,
|
|
5112
|
+
transform: translate(0, 10px);
|
|
5327
5113
|
top: 100%;
|
|
5328
5114
|
&:before {
|
|
5329
5115
|
width: 0;
|
|
5330
5116
|
height: 0;
|
|
5331
5117
|
border-style: solid;
|
|
5332
5118
|
border-width: 0 10px 10px 10px;
|
|
5333
|
-
border-color: transparent transparent $
|
|
5119
|
+
border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
|
|
5334
5120
|
top: auto;
|
|
5335
5121
|
right: 10px;
|
|
5336
5122
|
bottom: 100%;
|
|
@@ -5339,14 +5125,14 @@ span.wac-tooltip {
|
|
|
5339
5125
|
|
|
5340
5126
|
&.bottom-left {
|
|
5341
5127
|
left: 0;
|
|
5342
|
-
transform: translate(0,
|
|
5128
|
+
transform: translate(0, 10px);
|
|
5343
5129
|
top: 100%;
|
|
5344
5130
|
&:before {
|
|
5345
5131
|
width: 0;
|
|
5346
5132
|
height: 0;
|
|
5347
5133
|
border-style: solid;
|
|
5348
5134
|
border-width: 0 10px 10px 10px;
|
|
5349
|
-
border-color: transparent transparent $
|
|
5135
|
+
border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
|
|
5350
5136
|
right: auto;
|
|
5351
5137
|
top: auto;
|
|
5352
5138
|
left: 10px;
|
|
@@ -5359,7 +5145,7 @@ span.wac-tooltip {
|
|
|
5359
5145
|
.wac-button {
|
|
5360
5146
|
&__tooltips {
|
|
5361
5147
|
visibility: visible;
|
|
5362
|
-
opacity:
|
|
5148
|
+
opacity: .9;
|
|
5363
5149
|
transition: opacity .3s ease .05s, visibility 0s linear 0s;
|
|
5364
5150
|
}
|
|
5365
5151
|
}
|
|
@@ -4515,6 +4515,8 @@
|
|
|
4515
4515
|
function ContentWithButtonsComponent() {
|
|
4516
4516
|
this.iconCopy = 'fa-duotone fa-copy';
|
|
4517
4517
|
this.iconTranslate = 'fa-regular fa-globe';
|
|
4518
|
+
this.tooltipCopy = '';
|
|
4519
|
+
this.tooltipTranslate = '';
|
|
4518
4520
|
this.count = true;
|
|
4519
4521
|
this.countCharacterLabel = 'caractères';
|
|
4520
4522
|
this.countWordsLabel = 'mots';
|
|
@@ -4549,12 +4551,14 @@
|
|
|
4549
4551
|
ContentWithButtonsComponent.decorators = [
|
|
4550
4552
|
{ type: i0.Component, args: [{
|
|
4551
4553
|
selector: 'wac-content-with-buttons',
|
|
4552
|
-
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\"
|
|
4554
|
+
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipWidth]=\"'150px'\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipWidth]=\"'150px'\" (click)=\"eventTranslate()\"></wac-button></div>\n </div>\n</div>\n"
|
|
4553
4555
|
},] }
|
|
4554
4556
|
];
|
|
4555
4557
|
ContentWithButtonsComponent.propDecorators = {
|
|
4556
4558
|
iconCopy: [{ type: i0.Input }],
|
|
4557
4559
|
iconTranslate: [{ type: i0.Input }],
|
|
4560
|
+
tooltipCopy: [{ type: i0.Input }],
|
|
4561
|
+
tooltipTranslate: [{ type: i0.Input }],
|
|
4558
4562
|
count: [{ type: i0.Input }],
|
|
4559
4563
|
countCharacterLabel: [{ type: i0.Input }],
|
|
4560
4564
|
countWordsLabel: [{ type: i0.Input }],
|