@designcrowd/fe-shared-lib 1.2.11-ml-currency-2 → 1.2.11-ml-407-1
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/Dockerfile +1 -1
- package/dist/css/tailwind-brandCrowd.css +26 -0
- package/dist/css/tailwind-brandPage.css +22 -0
- package/dist/css/tailwind-crazyDomains.css +26 -0
- package/dist/css/tailwind-designCom.css +26 -0
- package/dist/css/tailwind-designCrowd.css +26 -0
- package/package.json +2 -2
- package/public/css/tailwind-brandCrowd.css +3 -10
- package/public/css/tailwind-brandPage.css +3 -10
- package/public/css/tailwind-crazyDomains.css +3 -10
- package/public/css/tailwind-designCom.css +3 -10
- package/public/css/tailwind-designCrowd.css +3 -10
- package/src/atoms/components/Price/Price.fixtures.js +2 -62
- package/src/atoms/components/Price/Price.stories.js +5 -55
- package/src/atoms/components/Price/Price.vue +2 -56
- package/src/experiences/components/AuthFlow/SignIn.vue +10 -1
package/Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ COPY .npmignore ./
|
|
|
29
29
|
RUN npm run bundle-translation
|
|
30
30
|
|
|
31
31
|
RUN mkdir artifacts
|
|
32
|
-
RUN npm publish
|
|
32
|
+
RUN npm publish || (touch artifacts/npm_publish_failed && exit 1)
|
|
33
33
|
RUN cp package.json artifacts/
|
|
34
34
|
|
|
35
35
|
ENTRYPOINT ["/bin/echo", "Nothing to do."]
|
|
@@ -719,6 +719,9 @@ video {
|
|
|
719
719
|
.tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
+
.tw-mr-1 {
|
|
723
|
+
margin-right: 0.25rem;
|
|
724
|
+
}
|
|
722
725
|
.tw-mr-2 {
|
|
723
726
|
margin-right: 0.5rem;
|
|
724
727
|
}
|
|
@@ -827,6 +830,10 @@ video {
|
|
|
827
830
|
.tw-h-auto {
|
|
828
831
|
height: auto;
|
|
829
832
|
}
|
|
833
|
+
.tw-h-fit {
|
|
834
|
+
height: -moz-fit-content;
|
|
835
|
+
height: fit-content;
|
|
836
|
+
}
|
|
830
837
|
.tw-h-full {
|
|
831
838
|
height: 100%;
|
|
832
839
|
}
|
|
@@ -1446,6 +1453,17 @@ video {
|
|
|
1446
1453
|
.tw-bg-opacity-80 {
|
|
1447
1454
|
--tw-bg-opacity: 0.8;
|
|
1448
1455
|
}
|
|
1456
|
+
.tw-bg-gradient-to-t {
|
|
1457
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
+
}
|
|
1459
|
+
.tw-from-\[\#d946ef\] {
|
|
1460
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1461
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1462
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1463
|
+
}
|
|
1464
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1465
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
+
}
|
|
1449
1467
|
.tw-bg-no-repeat {
|
|
1450
1468
|
background-repeat: no-repeat;
|
|
1451
1469
|
}
|
|
@@ -2023,6 +2041,10 @@ video {
|
|
|
2023
2041
|
--tw-bg-opacity: 1;
|
|
2024
2042
|
background-color: rgb(0 121 172 / var(--tw-bg-opacity));
|
|
2025
2043
|
}
|
|
2044
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2045
|
+
--tw-bg-opacity: 1;
|
|
2046
|
+
background-color: rgb(252 209 217 / var(--tw-bg-opacity));
|
|
2047
|
+
}
|
|
2026
2048
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2049
|
--tw-bg-opacity: 1;
|
|
2028
2050
|
background-color: rgb(245 73 101 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2109,10 @@ video {
|
|
|
2087
2109
|
--tw-shadow-color: #0097D7 !important;
|
|
2088
2110
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2111
|
}
|
|
2112
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2113
|
+
--tw-brightness: brightness(0.85);
|
|
2114
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2115
|
+
}
|
|
2090
2116
|
.focus\:tw-border-error-600:focus {
|
|
2091
2117
|
--tw-border-opacity: 1;
|
|
2092
2118
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
@@ -719,6 +719,9 @@ video {
|
|
|
719
719
|
.tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
+
.tw-mr-1 {
|
|
723
|
+
margin-right: 0.25rem;
|
|
724
|
+
}
|
|
722
725
|
.tw-mr-2 {
|
|
723
726
|
margin-right: 0.5rem;
|
|
724
727
|
}
|
|
@@ -827,6 +830,10 @@ video {
|
|
|
827
830
|
.tw-h-auto {
|
|
828
831
|
height: auto;
|
|
829
832
|
}
|
|
833
|
+
.tw-h-fit {
|
|
834
|
+
height: -moz-fit-content;
|
|
835
|
+
height: fit-content;
|
|
836
|
+
}
|
|
830
837
|
.tw-h-full {
|
|
831
838
|
height: 100%;
|
|
832
839
|
}
|
|
@@ -1294,6 +1301,17 @@ video {
|
|
|
1294
1301
|
.tw-bg-opacity-80 {
|
|
1295
1302
|
--tw-bg-opacity: 0.8;
|
|
1296
1303
|
}
|
|
1304
|
+
.tw-bg-gradient-to-t {
|
|
1305
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1306
|
+
}
|
|
1307
|
+
.tw-from-\[\#d946ef\] {
|
|
1308
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1309
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1310
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1311
|
+
}
|
|
1312
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1313
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1314
|
+
}
|
|
1297
1315
|
.tw-bg-no-repeat {
|
|
1298
1316
|
background-repeat: no-repeat;
|
|
1299
1317
|
}
|
|
@@ -1791,6 +1809,10 @@ video {
|
|
|
1791
1809
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1792
1810
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1793
1811
|
}
|
|
1812
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
1813
|
+
--tw-brightness: brightness(0.85);
|
|
1814
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1815
|
+
}
|
|
1794
1816
|
.focus\:tw-border-grayscale-600:focus {
|
|
1795
1817
|
--tw-border-opacity: 1;
|
|
1796
1818
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
@@ -719,6 +719,9 @@ video {
|
|
|
719
719
|
.tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
+
.tw-mr-1 {
|
|
723
|
+
margin-right: 0.25rem;
|
|
724
|
+
}
|
|
722
725
|
.tw-mr-2 {
|
|
723
726
|
margin-right: 0.5rem;
|
|
724
727
|
}
|
|
@@ -827,6 +830,10 @@ video {
|
|
|
827
830
|
.tw-h-auto {
|
|
828
831
|
height: auto;
|
|
829
832
|
}
|
|
833
|
+
.tw-h-fit {
|
|
834
|
+
height: -moz-fit-content;
|
|
835
|
+
height: fit-content;
|
|
836
|
+
}
|
|
830
837
|
.tw-h-full {
|
|
831
838
|
height: 100%;
|
|
832
839
|
}
|
|
@@ -1446,6 +1453,17 @@ video {
|
|
|
1446
1453
|
.tw-bg-opacity-80 {
|
|
1447
1454
|
--tw-bg-opacity: 0.8;
|
|
1448
1455
|
}
|
|
1456
|
+
.tw-bg-gradient-to-t {
|
|
1457
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
+
}
|
|
1459
|
+
.tw-from-\[\#d946ef\] {
|
|
1460
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1461
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1462
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1463
|
+
}
|
|
1464
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1465
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
+
}
|
|
1449
1467
|
.tw-bg-no-repeat {
|
|
1450
1468
|
background-repeat: no-repeat;
|
|
1451
1469
|
}
|
|
@@ -2023,6 +2041,10 @@ video {
|
|
|
2023
2041
|
--tw-bg-opacity: 1;
|
|
2024
2042
|
background-color: rgb(0 129 191 / var(--tw-bg-opacity));
|
|
2025
2043
|
}
|
|
2044
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2045
|
+
--tw-bg-opacity: 1;
|
|
2046
|
+
background-color: rgb(226 238 213 / var(--tw-bg-opacity));
|
|
2047
|
+
}
|
|
2026
2048
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2049
|
--tw-bg-opacity: 1;
|
|
2028
2050
|
background-color: rgb(140 189 89 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2109,10 @@ video {
|
|
|
2087
2109
|
--tw-shadow-color: #00A1EF !important;
|
|
2088
2110
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2111
|
}
|
|
2112
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2113
|
+
--tw-brightness: brightness(0.85);
|
|
2114
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2115
|
+
}
|
|
2090
2116
|
.focus\:tw-border-error-600:focus {
|
|
2091
2117
|
--tw-border-opacity: 1;
|
|
2092
2118
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
@@ -719,6 +719,9 @@ video {
|
|
|
719
719
|
.tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
+
.tw-mr-1 {
|
|
723
|
+
margin-right: 0.25rem;
|
|
724
|
+
}
|
|
722
725
|
.tw-mr-2 {
|
|
723
726
|
margin-right: 0.5rem;
|
|
724
727
|
}
|
|
@@ -827,6 +830,10 @@ video {
|
|
|
827
830
|
.tw-h-auto {
|
|
828
831
|
height: auto;
|
|
829
832
|
}
|
|
833
|
+
.tw-h-fit {
|
|
834
|
+
height: -moz-fit-content;
|
|
835
|
+
height: fit-content;
|
|
836
|
+
}
|
|
830
837
|
.tw-h-full {
|
|
831
838
|
height: 100%;
|
|
832
839
|
}
|
|
@@ -1446,6 +1453,17 @@ video {
|
|
|
1446
1453
|
.tw-bg-opacity-80 {
|
|
1447
1454
|
--tw-bg-opacity: 0.8;
|
|
1448
1455
|
}
|
|
1456
|
+
.tw-bg-gradient-to-t {
|
|
1457
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
+
}
|
|
1459
|
+
.tw-from-\[\#d946ef\] {
|
|
1460
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1461
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1462
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1463
|
+
}
|
|
1464
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1465
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
+
}
|
|
1449
1467
|
.tw-bg-no-repeat {
|
|
1450
1468
|
background-repeat: no-repeat;
|
|
1451
1469
|
}
|
|
@@ -2023,6 +2041,10 @@ video {
|
|
|
2023
2041
|
--tw-bg-opacity: 1;
|
|
2024
2042
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2025
2043
|
}
|
|
2044
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2045
|
+
--tw-bg-opacity: 1;
|
|
2046
|
+
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
2047
|
+
}
|
|
2026
2048
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2049
|
--tw-bg-opacity: 1;
|
|
2028
2050
|
background-color: rgb(121 139 249 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2109,10 @@ video {
|
|
|
2087
2109
|
--tw-shadow-color: #3f59f6 !important;
|
|
2088
2110
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2111
|
}
|
|
2112
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2113
|
+
--tw-brightness: brightness(0.85);
|
|
2114
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2115
|
+
}
|
|
2090
2116
|
.focus\:tw-border-error-600:focus {
|
|
2091
2117
|
--tw-border-opacity: 1;
|
|
2092
2118
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -719,6 +719,9 @@ video {
|
|
|
719
719
|
.tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
+
.tw-mr-1 {
|
|
723
|
+
margin-right: 0.25rem;
|
|
724
|
+
}
|
|
722
725
|
.tw-mr-2 {
|
|
723
726
|
margin-right: 0.5rem;
|
|
724
727
|
}
|
|
@@ -827,6 +830,10 @@ video {
|
|
|
827
830
|
.tw-h-auto {
|
|
828
831
|
height: auto;
|
|
829
832
|
}
|
|
833
|
+
.tw-h-fit {
|
|
834
|
+
height: -moz-fit-content;
|
|
835
|
+
height: fit-content;
|
|
836
|
+
}
|
|
830
837
|
.tw-h-full {
|
|
831
838
|
height: 100%;
|
|
832
839
|
}
|
|
@@ -1446,6 +1453,17 @@ video {
|
|
|
1446
1453
|
.tw-bg-opacity-80 {
|
|
1447
1454
|
--tw-bg-opacity: 0.8;
|
|
1448
1455
|
}
|
|
1456
|
+
.tw-bg-gradient-to-t {
|
|
1457
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
+
}
|
|
1459
|
+
.tw-from-\[\#d946ef\] {
|
|
1460
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1461
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1462
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1463
|
+
}
|
|
1464
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1465
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
+
}
|
|
1449
1467
|
.tw-bg-no-repeat {
|
|
1450
1468
|
background-repeat: no-repeat;
|
|
1451
1469
|
}
|
|
@@ -2023,6 +2041,10 @@ video {
|
|
|
2023
2041
|
--tw-bg-opacity: 1;
|
|
2024
2042
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2025
2043
|
}
|
|
2044
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2045
|
+
--tw-bg-opacity: 1;
|
|
2046
|
+
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
2047
|
+
}
|
|
2026
2048
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2049
|
--tw-bg-opacity: 1;
|
|
2028
2050
|
background-color: rgb(65 172 239 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2109,10 @@ video {
|
|
|
2087
2109
|
--tw-shadow-color: #1197EB !important;
|
|
2088
2110
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2111
|
}
|
|
2112
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2113
|
+
--tw-brightness: brightness(0.85);
|
|
2114
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2115
|
+
}
|
|
2090
2116
|
.focus\:tw-border-error-600:focus {
|
|
2091
2117
|
--tw-border-opacity: 1;
|
|
2092
2118
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.2.11-ml-
|
|
3
|
+
"version": "1.2.11-ml-407-1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "run-p storybook watch:translation",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -113,4 +113,4 @@
|
|
|
113
113
|
"overrides": {
|
|
114
114
|
"storybook": "$storybook"
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-brandCrowd .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-brandCrowd .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-brandCrowd .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-brandCrowd .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-brandCrowd .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-brandCrowd .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-brandCrowd .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-brandCrowd .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-brandCrowd .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-brandCrowd .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-brandPage .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-brandPage .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-brandPage .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-brandPage .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-brandPage .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-brandPage .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-brandPage .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -1915,9 +1911,6 @@ video {
|
|
|
1915
1911
|
.theme-brandPage .md\:tw-ml-4 {
|
|
1916
1912
|
margin-left: 1rem;
|
|
1917
1913
|
}
|
|
1918
|
-
.theme-brandPage .md\:tw-mr-2 {
|
|
1919
|
-
margin-right: 0.5rem;
|
|
1920
|
-
}
|
|
1921
1914
|
.theme-brandPage .md\:tw-mt-0 {
|
|
1922
1915
|
margin-top: 0px;
|
|
1923
1916
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-crazyDomains .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-crazyDomains .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-crazyDomains .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-crazyDomains .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-crazyDomains .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-crazyDomains .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-crazyDomains .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-crazyDomains .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-crazyDomains .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-crazyDomains .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-designCom .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-designCom .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-designCom .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-designCom .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-designCom .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-designCom .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-designCom .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-designCom .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-designCom .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-designCom .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-designCrowd .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-designCrowd .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-designCrowd .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-designCrowd .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-designCrowd .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-designCrowd .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-designCrowd .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-designCrowd .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-designCrowd .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-designCrowd .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -14,72 +14,12 @@ export const audCurrency = {
|
|
|
14
14
|
abbreviation: 'AU',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export const gbpCurrency = {
|
|
18
|
-
id: 3,
|
|
19
|
-
name: 'British Pound',
|
|
20
|
-
iso4127Code: 'GBP',
|
|
21
|
-
symbol: '£',
|
|
22
|
-
abbreviation: 'UK',
|
|
23
|
-
};
|
|
24
|
-
|
|
25
17
|
export const euroCurrency = {
|
|
26
|
-
id:
|
|
18
|
+
id: 999,
|
|
27
19
|
name: 'Euro',
|
|
28
20
|
iso4127Code: 'EUR',
|
|
29
21
|
symbol: '€',
|
|
30
22
|
abbreviation: 'EU',
|
|
31
23
|
};
|
|
32
24
|
|
|
33
|
-
export const
|
|
34
|
-
id: 5,
|
|
35
|
-
name: 'Indian Rupee',
|
|
36
|
-
iso4127Code: 'INR',
|
|
37
|
-
symbol: '₹',
|
|
38
|
-
abbreviation: 'IN',
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export const phpCurrency = {
|
|
42
|
-
id: 6,
|
|
43
|
-
name: 'Philippine Peso',
|
|
44
|
-
iso4127Code: 'PHP',
|
|
45
|
-
symbol: '₱',
|
|
46
|
-
abbreviation: 'PH',
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const brlCurrency = {
|
|
50
|
-
id: 7,
|
|
51
|
-
name: 'Brazilian Real',
|
|
52
|
-
iso4127Code: 'BRL',
|
|
53
|
-
symbol: 'R$',
|
|
54
|
-
abbreviation: 'R',
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export const mxnCurrency = {
|
|
58
|
-
id: 8,
|
|
59
|
-
name: 'Mexican Peso',
|
|
60
|
-
iso4127Code: 'MXN',
|
|
61
|
-
symbol: 'MX$',
|
|
62
|
-
abbreviation: 'MX',
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const zarCurrency = {
|
|
66
|
-
id: 9,
|
|
67
|
-
name: 'South African Rand',
|
|
68
|
-
iso4127Code: 'ZAR',
|
|
69
|
-
symbol: 'R',
|
|
70
|
-
abbreviation: 'R',
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export const currencies = [
|
|
74
|
-
usdCurrency,
|
|
75
|
-
audCurrency,
|
|
76
|
-
gbpCurrency,
|
|
77
|
-
euroCurrency,
|
|
78
|
-
inrCurrency,
|
|
79
|
-
phpCurrency,
|
|
80
|
-
brlCurrency,
|
|
81
|
-
mxnCurrency,
|
|
82
|
-
zarCurrency,
|
|
83
|
-
];
|
|
84
|
-
|
|
85
|
-
export const locales = [ 'en_US', 'fr_FR', 'es_ES', 'pt_PT', 'de-DE']
|
|
25
|
+
export const currencies = [usdCurrency, audCurrency, euroCurrency];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Price from './Price.vue';
|
|
2
|
-
import { currencies
|
|
2
|
+
import { currencies } from './Price.fixtures';
|
|
3
3
|
|
|
4
4
|
// noinspection JSUnusedGlobalSymbols
|
|
5
5
|
export default {
|
|
@@ -7,7 +7,6 @@ export default {
|
|
|
7
7
|
component: Price,
|
|
8
8
|
args: {
|
|
9
9
|
currencyName: currencies[0].name,
|
|
10
|
-
locale: locales[0]
|
|
11
10
|
},
|
|
12
11
|
argTypes: {
|
|
13
12
|
amount: {
|
|
@@ -17,10 +16,6 @@ export default {
|
|
|
17
16
|
control: { type: 'select' },
|
|
18
17
|
options: currencies.map((x) => x.name),
|
|
19
18
|
},
|
|
20
|
-
locale: {
|
|
21
|
-
control: { type: 'select' },
|
|
22
|
-
options: locales,
|
|
23
|
-
},
|
|
24
19
|
},
|
|
25
20
|
};
|
|
26
21
|
|
|
@@ -36,16 +31,12 @@ export const Sample = {
|
|
|
36
31
|
selectedCurrency() {
|
|
37
32
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
38
33
|
},
|
|
39
|
-
selectedLocale() {
|
|
40
|
-
return locales.find((x) => x === this.args.locale);
|
|
41
|
-
},
|
|
42
34
|
},
|
|
43
35
|
template: `
|
|
44
36
|
<span>
|
|
45
37
|
<price
|
|
46
38
|
v-bind="args"
|
|
47
39
|
:currency="selectedCurrency"
|
|
48
|
-
:locale="selectedLocale"
|
|
49
40
|
/>
|
|
50
41
|
</span>
|
|
51
42
|
`,
|
|
@@ -68,9 +59,6 @@ export const WithFraction = {
|
|
|
68
59
|
selectedCurrency() {
|
|
69
60
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
70
61
|
},
|
|
71
|
-
selectedLocale() {
|
|
72
|
-
return locales.find((x) => x === this.args.locale);
|
|
73
|
-
},
|
|
74
62
|
},
|
|
75
63
|
template: `
|
|
76
64
|
<span>
|
|
@@ -78,7 +66,7 @@ export const WithFraction = {
|
|
|
78
66
|
v-bind="args"
|
|
79
67
|
:currency="selectedCurrency"
|
|
80
68
|
fraction="2"
|
|
81
|
-
:
|
|
69
|
+
:show-abbreviation="true"
|
|
82
70
|
/>
|
|
83
71
|
</span>
|
|
84
72
|
`,
|
|
@@ -101,9 +89,6 @@ export const AlwaysShowFractionOn = {
|
|
|
101
89
|
selectedCurrency() {
|
|
102
90
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
103
91
|
},
|
|
104
|
-
selectedLocale() {
|
|
105
|
-
return locales.find((x) => x === this.args.locale);
|
|
106
|
-
},
|
|
107
92
|
},
|
|
108
93
|
template: `
|
|
109
94
|
<span>
|
|
@@ -112,7 +97,7 @@ export const AlwaysShowFractionOn = {
|
|
|
112
97
|
:always-show-fraction="true"
|
|
113
98
|
:currency="selectedCurrency"
|
|
114
99
|
fraction="2"
|
|
115
|
-
:
|
|
100
|
+
:show-abbreviation="true"
|
|
116
101
|
/>
|
|
117
102
|
</span>
|
|
118
103
|
`,
|
|
@@ -143,7 +128,7 @@ export const AlwaysShowFractionOff = {
|
|
|
143
128
|
:always-show-fraction="false"
|
|
144
129
|
:currency="selectedCurrency"
|
|
145
130
|
fraction="2"
|
|
146
|
-
:
|
|
131
|
+
:show-abbreviation="true"
|
|
147
132
|
/>
|
|
148
133
|
</span>
|
|
149
134
|
`,
|
|
@@ -166,9 +151,6 @@ export const WithSuffix = {
|
|
|
166
151
|
selectedCurrency() {
|
|
167
152
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
168
153
|
},
|
|
169
|
-
selectedLocale() {
|
|
170
|
-
return locales.find((x) => x === this.args.locale);
|
|
171
|
-
},
|
|
172
154
|
},
|
|
173
155
|
template: `
|
|
174
156
|
<span>
|
|
@@ -177,8 +159,8 @@ export const WithSuffix = {
|
|
|
177
159
|
:always-show-fraction="true"
|
|
178
160
|
:currency="selectedCurrency"
|
|
179
161
|
fraction="2"
|
|
162
|
+
:show-abbreviation="true"
|
|
180
163
|
:suffix="suffix"
|
|
181
|
-
:locale="selectedLocale"
|
|
182
164
|
/>
|
|
183
165
|
</span>
|
|
184
166
|
`,
|
|
@@ -189,35 +171,3 @@ export const WithSuffix = {
|
|
|
189
171
|
suffix: '/yr',
|
|
190
172
|
},
|
|
191
173
|
};
|
|
192
|
-
|
|
193
|
-
export const WithLocale = {
|
|
194
|
-
render: (args, { argTypes }) => {
|
|
195
|
-
return {
|
|
196
|
-
components: { Price },
|
|
197
|
-
props: Object.keys(argTypes),
|
|
198
|
-
setup() {
|
|
199
|
-
return { args };
|
|
200
|
-
},
|
|
201
|
-
computed: {
|
|
202
|
-
selectedCurrency() {
|
|
203
|
-
return currencies.find((x) => x.name === this.args.currencyName);
|
|
204
|
-
},
|
|
205
|
-
selectedLocale() {
|
|
206
|
-
return locales.find((x) => x === this.args.locale);
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
template: `
|
|
210
|
-
<span>
|
|
211
|
-
<price
|
|
212
|
-
v-bind="args"
|
|
213
|
-
:currency="selectedCurrency"
|
|
214
|
-
:locale="selectedLocale"
|
|
215
|
-
/>
|
|
216
|
-
</span>
|
|
217
|
-
`,
|
|
218
|
-
};
|
|
219
|
-
},
|
|
220
|
-
args: {
|
|
221
|
-
amount: 22.0,
|
|
222
|
-
},
|
|
223
|
-
};
|
|
@@ -5,10 +5,6 @@
|
|
|
5
5
|
</span>
|
|
6
6
|
</template>
|
|
7
7
|
<script>
|
|
8
|
-
|
|
9
|
-
import i18next from "i18next";
|
|
10
|
-
import {setSharedLibLocaleAsync} from "../../../useSharedLibTranslate";
|
|
11
|
-
|
|
12
8
|
export default {
|
|
13
9
|
props: {
|
|
14
10
|
amount: {
|
|
@@ -26,11 +22,6 @@ export default {
|
|
|
26
22
|
required: false,
|
|
27
23
|
default: null,
|
|
28
24
|
},
|
|
29
|
-
locale: {
|
|
30
|
-
type: String,
|
|
31
|
-
required: false,
|
|
32
|
-
default: null,
|
|
33
|
-
},
|
|
34
25
|
fraction: {
|
|
35
26
|
type: [Number, String],
|
|
36
27
|
required: false,
|
|
@@ -57,9 +48,6 @@ export default {
|
|
|
57
48
|
default: false,
|
|
58
49
|
},
|
|
59
50
|
},
|
|
60
|
-
setup() {
|
|
61
|
-
setSharedLibLocaleAsync();
|
|
62
|
-
},
|
|
63
51
|
computed: {
|
|
64
52
|
amountFormatted() {
|
|
65
53
|
if (this.isDomainCredit) {
|
|
@@ -70,20 +58,6 @@ export default {
|
|
|
70
58
|
return 'Free';
|
|
71
59
|
}
|
|
72
60
|
|
|
73
|
-
if (this.locale != null)
|
|
74
|
-
{
|
|
75
|
-
let amount = i18next.t('{{val, currency}}', {
|
|
76
|
-
ns: 'fe-shared-lib',
|
|
77
|
-
val: this.amount,
|
|
78
|
-
currency: this.currency.iso4127Code,
|
|
79
|
-
locale: this.locale,
|
|
80
|
-
maximumFractionDigits: this.fraction,
|
|
81
|
-
useGrouping: false,
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
return this.standardiseAmount(amount);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
61
|
const parsedAmount = Number.parseFloat(this.amount);
|
|
88
62
|
|
|
89
63
|
if (Number.isNaN(parsedAmount)) {
|
|
@@ -99,10 +73,10 @@ export default {
|
|
|
99
73
|
return parsedAmount.toFixed(this.fraction);
|
|
100
74
|
},
|
|
101
75
|
currencyAbbreviation() {
|
|
102
|
-
return this.showAbbreviation && this.amount
|
|
76
|
+
return this.showAbbreviation && this.amount > 0 ? this.currency?.abbreviation?.trim() : '';
|
|
103
77
|
},
|
|
104
78
|
currencySymbol() {
|
|
105
|
-
if (!this.amount || this.amount === 0
|
|
79
|
+
if (!this.amount || this.amount === 0) {
|
|
106
80
|
return '';
|
|
107
81
|
}
|
|
108
82
|
|
|
@@ -128,33 +102,5 @@ export default {
|
|
|
128
102
|
return this.wrapInParentheses ? ')' : '';
|
|
129
103
|
},
|
|
130
104
|
},
|
|
131
|
-
methods: {
|
|
132
|
-
standardiseAmount(amount) {
|
|
133
|
-
// i18next always uses iso code for ZAR, prefer symbol over iso code
|
|
134
|
-
if (amount.includes(this.currency.iso4127Code)) {
|
|
135
|
-
return amount.replace(this.currency.iso4127Code, this.currency.symbol);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// show abbreviation locale logic
|
|
139
|
-
// note: showAbbreviaton is only passed as true for symbol = "$"
|
|
140
|
-
if (this.currency.symbol != '$') {
|
|
141
|
-
return amount
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// AUD edge case for en_US
|
|
145
|
-
if (this.currency.iso4127Code == 'AUD') {
|
|
146
|
-
amount = amount.replace('A$', this.currency.symbol);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
if (this.showAbbreviation && !amount.includes(this.currency.abbreviation)) {
|
|
150
|
-
return `${this.currency?.abbreviation}${amount}`
|
|
151
|
-
|
|
152
|
-
} else if (!this.showAbbreviation && amount.includes(this.currency.abbreviation)) {
|
|
153
|
-
return amount.replace(this.currency.abbreviation, '');
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
return amount;
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
105
|
};
|
|
160
106
|
</script>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</p>
|
|
58
58
|
<div class="tw-flex tw-flex-col">
|
|
59
59
|
<div>
|
|
60
|
-
<form id="signin" action="
|
|
60
|
+
<form id="signin" :action="getSignInAction" method="post" @submit="validate">
|
|
61
61
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
62
62
|
<label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
63
63
|
<input
|
|
@@ -170,6 +170,7 @@ import themeMixin from '../../mixins/themeMixin';
|
|
|
170
170
|
import { SIGN_IN } from '../../constants/partner-dictionary-constants';
|
|
171
171
|
import isValidEmail from '../../helpers/email-validator';
|
|
172
172
|
import SocialSignIn from './SocialSignIn.vue';
|
|
173
|
+
import { getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
173
174
|
|
|
174
175
|
export default {
|
|
175
176
|
components: {
|
|
@@ -334,6 +335,9 @@ export default {
|
|
|
334
335
|
isLoading() {
|
|
335
336
|
return this.emailLoading || this.facebookLoading || this.googleLoading;
|
|
336
337
|
},
|
|
338
|
+
currentLocale() {
|
|
339
|
+
return getCurrentLocale();
|
|
340
|
+
},
|
|
337
341
|
submissionButtonLabelLowercase() {
|
|
338
342
|
return this.submissionButtonLabel.toLowerCase();
|
|
339
343
|
},
|
|
@@ -369,6 +373,11 @@ export default {
|
|
|
369
373
|
}
|
|
370
374
|
return this.signUpText;
|
|
371
375
|
},
|
|
376
|
+
getSignInAction() {
|
|
377
|
+
const params = new URLSearchParams();
|
|
378
|
+
params.set('locale', this.currentLocale);
|
|
379
|
+
return `/identity/account/signin?${params.toString()}`;
|
|
380
|
+
},
|
|
372
381
|
},
|
|
373
382
|
watch: {
|
|
374
383
|
capturePassword() {
|