@designcrowd/fe-shared-lib 1.2.5-pl-3 → 1.2.6-debug-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/index.js +1 -1
- package/package.json +2 -2
- package/public/css/tailwind-brandCrowd.css +0 -26
- package/public/css/tailwind-brandPage.css +0 -22
- package/public/css/tailwind-crazyDomains.css +0 -26
- package/public/css/tailwind-designCom.css +0 -26
- package/public/css/tailwind-designCrowd.css +0 -26
- package/src/atoms/components/Icon/Icon.vue +4 -3
- package/src/experiences/components/AuthFlow/ForgotPassword.vue +0 -5
- package/src/experiences/components/AuthFlow/ResetPassword.vue +8 -38
- package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +3 -2
- package/src/useSharedLibTranslate.js +3 -3
- package/CLAUDE.md +0 -71
- package/dist/css/tailwind-brandCrowd.css +0 -2485
- package/dist/css/tailwind-brandPage.css +0 -2169
- package/dist/css/tailwind-crazyDomains.css +0 -2485
- package/dist/css/tailwind-designCom.css +0 -2485
- package/dist/css/tailwind-designCrowd.css +0 -2485
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
|
|
33
33
|
RUN cp package.json artifacts/
|
|
34
34
|
|
|
35
35
|
ENTRYPOINT ["/bin/echo", "Nothing to do."]
|
package/index.js
CHANGED
|
@@ -19,7 +19,7 @@ export { default as SellDomainNameWidget } from './src/experiences/components/Se
|
|
|
19
19
|
export { default as PublishBrandPageModal } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue';
|
|
20
20
|
export { default as PublishBrandPageCard } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue';
|
|
21
21
|
|
|
22
|
-
export {
|
|
22
|
+
export { setSharedLibLocaleAsync, tr } from './src/useSharedLibTranslate';
|
|
23
23
|
|
|
24
24
|
export { default as Button } from './src/atoms/components/Button/Button.vue';
|
|
25
25
|
export { default as ButtonGroup } from './src/atoms/components/ButtonGroup/ButtonGroup.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6-debug-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
|
+
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-brandCrowd .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-brandCrowd .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-brandCrowd .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -1453,17 +1446,6 @@ video {
|
|
|
1453
1446
|
.theme-brandCrowd .tw-bg-opacity-80 {
|
|
1454
1447
|
--tw-bg-opacity: 0.8;
|
|
1455
1448
|
}
|
|
1456
|
-
.theme-brandCrowd .tw-bg-gradient-to-t {
|
|
1457
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
-
}
|
|
1459
|
-
.theme-brandCrowd .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
|
-
.theme-brandCrowd .tw-to-\[\#8b5cf6\] {
|
|
1465
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
-
}
|
|
1467
1449
|
.theme-brandCrowd .tw-bg-no-repeat {
|
|
1468
1450
|
background-repeat: no-repeat;
|
|
1469
1451
|
}
|
|
@@ -2041,10 +2023,6 @@ video {
|
|
|
2041
2023
|
--tw-bg-opacity: 1;
|
|
2042
2024
|
background-color: rgb(0 121 172 / var(--tw-bg-opacity));
|
|
2043
2025
|
}
|
|
2044
|
-
.theme-brandCrowd .hover\:tw-bg-primary-100:hover {
|
|
2045
|
-
--tw-bg-opacity: 1;
|
|
2046
|
-
background-color: rgb(252 209 217 / var(--tw-bg-opacity));
|
|
2047
|
-
}
|
|
2048
2026
|
.theme-brandCrowd .hover\:tw-bg-primary-400:hover {
|
|
2049
2027
|
--tw-bg-opacity: 1;
|
|
2050
2028
|
background-color: rgb(245 73 101 / var(--tw-bg-opacity));
|
|
@@ -2109,10 +2087,6 @@ video {
|
|
|
2109
2087
|
--tw-shadow-color: #0097D7 !important;
|
|
2110
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2111
2089
|
}
|
|
2112
|
-
.theme-brandCrowd .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
|
-
}
|
|
2116
2090
|
.theme-brandCrowd .focus\:tw-border-error-600:focus {
|
|
2117
2091
|
--tw-border-opacity: 1;
|
|
2118
2092
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandPage .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandPage .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandPage .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-brandPage .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-brandPage .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-brandPage .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -1301,17 +1294,6 @@ video {
|
|
|
1301
1294
|
.theme-brandPage .tw-bg-opacity-80 {
|
|
1302
1295
|
--tw-bg-opacity: 0.8;
|
|
1303
1296
|
}
|
|
1304
|
-
.theme-brandPage .tw-bg-gradient-to-t {
|
|
1305
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1306
|
-
}
|
|
1307
|
-
.theme-brandPage .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
|
-
.theme-brandPage .tw-to-\[\#8b5cf6\] {
|
|
1313
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1314
|
-
}
|
|
1315
1297
|
.theme-brandPage .tw-bg-no-repeat {
|
|
1316
1298
|
background-repeat: no-repeat;
|
|
1317
1299
|
}
|
|
@@ -1809,10 +1791,6 @@ video {
|
|
|
1809
1791
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1810
1792
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1811
1793
|
}
|
|
1812
|
-
.theme-brandPage .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
|
-
}
|
|
1816
1794
|
.theme-brandPage .focus\:tw-border-grayscale-600:focus {
|
|
1817
1795
|
--tw-border-opacity: 1;
|
|
1818
1796
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-crazyDomains .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-crazyDomains .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-crazyDomains .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-crazyDomains .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-crazyDomains .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-crazyDomains .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -1453,17 +1446,6 @@ video {
|
|
|
1453
1446
|
.theme-crazyDomains .tw-bg-opacity-80 {
|
|
1454
1447
|
--tw-bg-opacity: 0.8;
|
|
1455
1448
|
}
|
|
1456
|
-
.theme-crazyDomains .tw-bg-gradient-to-t {
|
|
1457
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
-
}
|
|
1459
|
-
.theme-crazyDomains .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
|
-
.theme-crazyDomains .tw-to-\[\#8b5cf6\] {
|
|
1465
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
-
}
|
|
1467
1449
|
.theme-crazyDomains .tw-bg-no-repeat {
|
|
1468
1450
|
background-repeat: no-repeat;
|
|
1469
1451
|
}
|
|
@@ -2041,10 +2023,6 @@ video {
|
|
|
2041
2023
|
--tw-bg-opacity: 1;
|
|
2042
2024
|
background-color: rgb(0 129 191 / var(--tw-bg-opacity));
|
|
2043
2025
|
}
|
|
2044
|
-
.theme-crazyDomains .hover\:tw-bg-primary-100:hover {
|
|
2045
|
-
--tw-bg-opacity: 1;
|
|
2046
|
-
background-color: rgb(226 238 213 / var(--tw-bg-opacity));
|
|
2047
|
-
}
|
|
2048
2026
|
.theme-crazyDomains .hover\:tw-bg-primary-400:hover {
|
|
2049
2027
|
--tw-bg-opacity: 1;
|
|
2050
2028
|
background-color: rgb(140 189 89 / var(--tw-bg-opacity));
|
|
@@ -2109,10 +2087,6 @@ video {
|
|
|
2109
2087
|
--tw-shadow-color: #00A1EF !important;
|
|
2110
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2111
2089
|
}
|
|
2112
|
-
.theme-crazyDomains .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
|
-
}
|
|
2116
2090
|
.theme-crazyDomains .focus\:tw-border-error-600:focus {
|
|
2117
2091
|
--tw-border-opacity: 1;
|
|
2118
2092
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCom .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCom .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCom .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-designCom .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-designCom .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-designCom .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -1453,17 +1446,6 @@ video {
|
|
|
1453
1446
|
.theme-designCom .tw-bg-opacity-80 {
|
|
1454
1447
|
--tw-bg-opacity: 0.8;
|
|
1455
1448
|
}
|
|
1456
|
-
.theme-designCom .tw-bg-gradient-to-t {
|
|
1457
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
-
}
|
|
1459
|
-
.theme-designCom .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
|
-
.theme-designCom .tw-to-\[\#8b5cf6\] {
|
|
1465
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
-
}
|
|
1467
1449
|
.theme-designCom .tw-bg-no-repeat {
|
|
1468
1450
|
background-repeat: no-repeat;
|
|
1469
1451
|
}
|
|
@@ -2041,10 +2023,6 @@ video {
|
|
|
2041
2023
|
--tw-bg-opacity: 1;
|
|
2042
2024
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2043
2025
|
}
|
|
2044
|
-
.theme-designCom .hover\:tw-bg-primary-100:hover {
|
|
2045
|
-
--tw-bg-opacity: 1;
|
|
2046
|
-
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
2047
|
-
}
|
|
2048
2026
|
.theme-designCom .hover\:tw-bg-primary-400:hover {
|
|
2049
2027
|
--tw-bg-opacity: 1;
|
|
2050
2028
|
background-color: rgb(121 139 249 / var(--tw-bg-opacity));
|
|
@@ -2109,10 +2087,6 @@ video {
|
|
|
2109
2087
|
--tw-shadow-color: #3f59f6 !important;
|
|
2110
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2111
2089
|
}
|
|
2112
|
-
.theme-designCom .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
|
-
}
|
|
2116
2090
|
.theme-designCom .focus\:tw-border-error-600:focus {
|
|
2117
2091
|
--tw-border-opacity: 1;
|
|
2118
2092
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-designCrowd .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-designCrowd .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-designCrowd .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -1453,17 +1446,6 @@ video {
|
|
|
1453
1446
|
.theme-designCrowd .tw-bg-opacity-80 {
|
|
1454
1447
|
--tw-bg-opacity: 0.8;
|
|
1455
1448
|
}
|
|
1456
|
-
.theme-designCrowd .tw-bg-gradient-to-t {
|
|
1457
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1458
|
-
}
|
|
1459
|
-
.theme-designCrowd .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
|
-
.theme-designCrowd .tw-to-\[\#8b5cf6\] {
|
|
1465
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1466
|
-
}
|
|
1467
1449
|
.theme-designCrowd .tw-bg-no-repeat {
|
|
1468
1450
|
background-repeat: no-repeat;
|
|
1469
1451
|
}
|
|
@@ -2041,10 +2023,6 @@ video {
|
|
|
2041
2023
|
--tw-bg-opacity: 1;
|
|
2042
2024
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2043
2025
|
}
|
|
2044
|
-
.theme-designCrowd .hover\:tw-bg-primary-100:hover {
|
|
2045
|
-
--tw-bg-opacity: 1;
|
|
2046
|
-
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
2047
|
-
}
|
|
2048
2026
|
.theme-designCrowd .hover\:tw-bg-primary-400:hover {
|
|
2049
2027
|
--tw-bg-opacity: 1;
|
|
2050
2028
|
background-color: rgb(65 172 239 / var(--tw-bg-opacity));
|
|
@@ -2109,10 +2087,6 @@ video {
|
|
|
2109
2087
|
--tw-shadow-color: #1197EB !important;
|
|
2110
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2111
2089
|
}
|
|
2112
|
-
.theme-designCrowd .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
|
-
}
|
|
2116
2090
|
.theme-designCrowd .focus\:tw-border-error-600:focus {
|
|
2117
2091
|
--tw-border-opacity: 1;
|
|
2118
2092
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
role="graphics-symbol"
|
|
20
20
|
aria-labelledby="title"
|
|
21
21
|
aria-describedby="desc"
|
|
22
|
+
:data-id="`${name}-${id}-title`"
|
|
22
23
|
>
|
|
23
|
-
<title :id="`${name}-${id}-title`" lang="en">{{ title }}</title>
|
|
24
|
-
<desc :id="`${name}-${id}-desc`" lang="en">{{ description }}</desc>
|
|
24
|
+
<title v-if="title" :id="`${name}-${id}-title`" lang="en">{{ title }}</title>
|
|
25
|
+
<desc v-if="description" :id="`${name}-${id}-desc`" lang="en">{{ description }}</desc>
|
|
25
26
|
<component :is="`icon-${iconName}`"></component>
|
|
26
27
|
</svg>
|
|
27
28
|
</div>
|
|
@@ -799,7 +800,7 @@ export default {
|
|
|
799
800
|
return css || null;
|
|
800
801
|
},
|
|
801
802
|
title() {
|
|
802
|
-
return this.altText
|
|
803
|
+
return this.altText;
|
|
803
804
|
},
|
|
804
805
|
description() {
|
|
805
806
|
return `${this.title} Icon`;
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
<p class="tw-mb-8 tw-text-grayscale-600">{{ modalDescription }}</p>
|
|
39
39
|
<form id="forgotPassword" ref="forgotPasswordForm" method="post" @submit="validate">
|
|
40
40
|
<input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
|
|
41
|
-
<input type="hidden" name="locale" :value="currentLocale" />
|
|
42
41
|
<label for="email" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
43
42
|
<input
|
|
44
43
|
v-model="aEmail"
|
|
@@ -73,7 +72,6 @@
|
|
|
73
72
|
</div>
|
|
74
73
|
</template>
|
|
75
74
|
<script>
|
|
76
|
-
import i18next from 'i18next';
|
|
77
75
|
import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
|
|
78
76
|
import SubmissionButton from './SubmissionButton.vue';
|
|
79
77
|
|
|
@@ -143,9 +141,6 @@ export default {
|
|
|
143
141
|
};
|
|
144
142
|
},
|
|
145
143
|
computed: {
|
|
146
|
-
currentLocale() {
|
|
147
|
-
return i18next.language || 'en-US';
|
|
148
|
-
},
|
|
149
144
|
getRedirectToSignInUrl() {
|
|
150
145
|
const url = new URL(`https://${window.location.host}${this.signInUrl}`);
|
|
151
146
|
if (this.aEmail) {
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
{{ title }}
|
|
14
14
|
</h2>
|
|
15
15
|
<p class="tw-mb-8 tw-text-grayscale-600">{{ description }}</p>
|
|
16
|
-
<form id="resetPassword"
|
|
16
|
+
<form id="resetPassword" method="post" @submit="validate">
|
|
17
17
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
18
18
|
<input name="userName" type="hidden" :value="userName" />
|
|
19
19
|
<input name="resetPasswordToken" type="hidden" :value="resetPasswordToken" />
|
|
20
|
-
<input name="locale" type="hidden" :value="currentLocale" />
|
|
21
20
|
<label for="password" class="tw-sr-only">New Password</label>
|
|
22
21
|
<input
|
|
23
22
|
v-model="password"
|
|
@@ -26,14 +25,14 @@
|
|
|
26
25
|
aria-required="true"
|
|
27
26
|
:aria-invalid="!!passwordError"
|
|
28
27
|
autocomplete="new-password"
|
|
29
|
-
|
|
28
|
+
placeholder="New password"
|
|
30
29
|
class="password-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
31
30
|
:class="{ 'tw-border-error-500': !!passwordError }"
|
|
32
31
|
/>
|
|
33
32
|
<p v-if="!!passwordError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
|
|
34
33
|
{{ passwordError }}
|
|
35
34
|
</p>
|
|
36
|
-
<label for="confirmPassword" class="tw-sr-only">
|
|
35
|
+
<label for="confirmPassword" class="tw-sr-only"> Confirm Password </label>
|
|
37
36
|
<input
|
|
38
37
|
v-model="confirmPassword"
|
|
39
38
|
name="confirmPassword"
|
|
@@ -41,7 +40,7 @@
|
|
|
41
40
|
aria-required="true"
|
|
42
41
|
:aria-invalid="!!confirmPasswordError"
|
|
43
42
|
autocomplete="off"
|
|
44
|
-
|
|
43
|
+
placeholder="Confirm new password"
|
|
45
44
|
class="password-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
46
45
|
:class="{ 'tw-border-error-500': !!confirmPasswordError }"
|
|
47
46
|
/>
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
<SubmissionButton
|
|
52
51
|
variant="primary"
|
|
53
52
|
size="medium"
|
|
54
|
-
|
|
53
|
+
label="UPDATE PASSWORD"
|
|
55
54
|
label-size="larger"
|
|
56
55
|
:is-loading="isLoading"
|
|
57
56
|
:disabled="isLoading"
|
|
@@ -64,7 +63,6 @@
|
|
|
64
63
|
</div>
|
|
65
64
|
</template>
|
|
66
65
|
<script>
|
|
67
|
-
import i18next from 'i18next';
|
|
68
66
|
import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
|
|
69
67
|
import SubmissionButton from './SubmissionButton.vue';
|
|
70
68
|
|
|
@@ -82,7 +80,7 @@ export default {
|
|
|
82
80
|
description: {
|
|
83
81
|
type: String,
|
|
84
82
|
required: false,
|
|
85
|
-
default:
|
|
83
|
+
default: 'Enter and confirm your new password',
|
|
86
84
|
},
|
|
87
85
|
userName: {
|
|
88
86
|
type: String,
|
|
@@ -106,16 +104,6 @@ export default {
|
|
|
106
104
|
required: false,
|
|
107
105
|
default: undefined,
|
|
108
106
|
},
|
|
109
|
-
submitAction: {
|
|
110
|
-
type: String,
|
|
111
|
-
required: false,
|
|
112
|
-
default: undefined,
|
|
113
|
-
},
|
|
114
|
-
resetPasswordContent: {
|
|
115
|
-
type: Object,
|
|
116
|
-
required: false,
|
|
117
|
-
default: () => {},
|
|
118
|
-
},
|
|
119
107
|
},
|
|
120
108
|
data() {
|
|
121
109
|
return {
|
|
@@ -124,28 +112,10 @@ export default {
|
|
|
124
112
|
confirmPassword: undefined,
|
|
125
113
|
passwordError: undefined,
|
|
126
114
|
confirmPasswordError: undefined,
|
|
127
|
-
|
|
128
|
-
title: this.resetPasswordContent?.title,
|
|
129
|
-
newPasswordLabel: this.resetPasswordContent?.newPasswordLabel ?? 'New Password',
|
|
130
|
-
newPasswordPlaceholder: this.resetPasswordContent?.newPasswordPlaceholder ?? 'New password',
|
|
131
|
-
confirmPasswordLabel: this.resetPasswordContent?.confirmPasswordLabel ?? 'Confirm Password',
|
|
132
|
-
confirmPasswordPlaceholder: this.resetPasswordContent?.confirmPasswordPlaceholder ?? 'Confirm new password',
|
|
133
|
-
updatePasswordLabel: this.resetPasswordContent?.updatePasswordLabel ?? 'UPDATE PASSWORD',
|
|
134
|
-
passwordRequiredError: this.resetPasswordContent?.passwordRequiredError ?? 'Please enter a password',
|
|
135
|
-
passwordsDoNotMatchError: this.resetPasswordContent?.passwordsDoNotMatchError ?? 'Passwords do not match',
|
|
136
|
-
description: this.resetPasswordContent?.description ?? 'Enter and confirm your new password',
|
|
137
115
|
};
|
|
138
116
|
},
|
|
139
|
-
computed: {
|
|
140
|
-
currentLocale() {
|
|
141
|
-
return i18next.language || 'en-US';
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
117
|
methods: {
|
|
145
118
|
validate(e) {
|
|
146
|
-
if (this.submitAction) {
|
|
147
|
-
this.$refs.resetPasswordForm.action = this.submitAction;
|
|
148
|
-
}
|
|
149
119
|
if (this.password && this.password === this.confirmPassword) {
|
|
150
120
|
this.isLoading = true;
|
|
151
121
|
return true;
|
|
@@ -157,9 +127,9 @@ export default {
|
|
|
157
127
|
this.confirmPasswordError = undefined;
|
|
158
128
|
|
|
159
129
|
if (!this.password) {
|
|
160
|
-
this.passwordError =
|
|
130
|
+
this.passwordError = 'Please enter a password';
|
|
161
131
|
} else if (!this.confirmPassword || this.password !== this.confirmPassword) {
|
|
162
|
-
this.confirmPasswordError =
|
|
132
|
+
this.confirmPasswordError = 'Passwords do not match';
|
|
163
133
|
}
|
|
164
134
|
|
|
165
135
|
e.preventDefault();
|
|
@@ -267,12 +267,13 @@ export default {
|
|
|
267
267
|
const result = await brandCrowdClient.createUserLogo(payload);
|
|
268
268
|
|
|
269
269
|
this.isCurrentlySaving = false;
|
|
270
|
-
|
|
270
|
+
console.log('got result', result);
|
|
271
271
|
if (result.error) {
|
|
272
272
|
this.onUploadError(result.error);
|
|
273
273
|
return;
|
|
274
274
|
}
|
|
275
|
-
|
|
275
|
+
debugger;
|
|
276
|
+
console.log('emitting response on finish');
|
|
276
277
|
this.$emit('on-finish', result.response);
|
|
277
278
|
},
|
|
278
279
|
reset() {
|
|
@@ -11,8 +11,8 @@ const relativePathsToTranslationFiles = {
|
|
|
11
11
|
'pt-PT': () => import('./bundles/bundled-translations.pt-PT.json'),
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
const
|
|
15
|
-
const localeToUse = locale;
|
|
14
|
+
const setSharedLibLocaleAsync = async (locale = 'en-US') => {
|
|
15
|
+
const localeToUse = locale || 'en-US';
|
|
16
16
|
|
|
17
17
|
if (!i18next.isInitialized) {
|
|
18
18
|
await i18next.init({
|
|
@@ -35,4 +35,4 @@ const tr = (key, valuesToInterpolate = {}) => {
|
|
|
35
35
|
return translated;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { setSharedLibLocaleAsync, tr };
|
package/CLAUDE.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
-
|
|
5
|
-
## Development Commands
|
|
6
|
-
|
|
7
|
-
### Starting Development
|
|
8
|
-
- `npm start` - Builds Tailwind CSS files for all themes and launches Storybook development server on port 6006
|
|
9
|
-
- `npm run storybook` - Same as `npm start` (alias)
|
|
10
|
-
|
|
11
|
-
### Building
|
|
12
|
-
- `npm run build` - Builds production CSS using Tailwind
|
|
13
|
-
- `npm run build:css` - Builds CSS files using tailwind.build.js
|
|
14
|
-
- `npm run build:storybook` - Builds static Storybook for deployment
|
|
15
|
-
|
|
16
|
-
### Code Quality
|
|
17
|
-
- `npm run lint` - Runs ESLint on TypeScript, JavaScript, and Vue files in src/
|
|
18
|
-
- `npm run lint:fix` - Automatically fixes linting issues where possible
|
|
19
|
-
|
|
20
|
-
### Testing in UAT Environment
|
|
21
|
-
To test experimental versions without publishing to production:
|
|
22
|
-
1. Update package.json version to `[current]-[description]`
|
|
23
|
-
2. Run `docker build . --build-arg NPM_TOKEN=$NPM_TOKEN`
|
|
24
|
-
3. Update consumer package reference to the new version
|
|
25
|
-
|
|
26
|
-
## Architecture Overview
|
|
27
|
-
|
|
28
|
-
This is a shared component library and design system for DesignCrowd's frontend applications, published as `@designcrowd/fe-shared-lib`.
|
|
29
|
-
|
|
30
|
-
### Project Structure
|
|
31
|
-
- **`src/atoms/`** - Reusable UI components (Button, Modal, Icon, etc.)
|
|
32
|
-
- **`src/experiences/`** - Complex, business-specific components (AuthFlow, PaymentConfig, etc.)
|
|
33
|
-
- **`src/themes/`** - Tailwind CSS theme configurations for different brands
|
|
34
|
-
- **`src/css/`** - Global CSS and Tailwind configuration
|
|
35
|
-
- **`public/css/`** - Generated CSS output files
|
|
36
|
-
|
|
37
|
-
### Theme System
|
|
38
|
-
The library supports multiple brand themes through Tailwind CSS:
|
|
39
|
-
- **BrandCrowd** (`bc.js`)
|
|
40
|
-
- **BrandPage** (`bp.js`)
|
|
41
|
-
- **CrazyDomains** (`cd.js`)
|
|
42
|
-
- **DesignCrowd** (`dc.js`)
|
|
43
|
-
- **Design.com** (`dcom.js`)
|
|
44
|
-
|
|
45
|
-
Themes are built using `tailwind.themes.js` and exported via `src/themes/themes.js`.
|
|
46
|
-
|
|
47
|
-
### Component Organization
|
|
48
|
-
- **Atoms**: Basic UI components with stories in Storybook
|
|
49
|
-
- **Experiences**: Complex components combining multiple atoms for specific workflows
|
|
50
|
-
- **Icons**: Extensive icon library with brand-specific variants
|
|
51
|
-
- **Mixins**: Reusable Vue.js mixins for common functionality
|
|
52
|
-
|
|
53
|
-
### Key Files
|
|
54
|
-
- `index.js` - Main export file exposing all components
|
|
55
|
-
- `tailwind.config.js` - Tailwind CSS configuration
|
|
56
|
-
- `vite.config.ts` - Vite build configuration for development
|
|
57
|
-
|
|
58
|
-
### Local Development Workflow
|
|
59
|
-
Use `npm link` in this directory and `npm link @designcrowd/fe-shared-lib` in consumer projects for local development.
|
|
60
|
-
|
|
61
|
-
### Storybook
|
|
62
|
-
- Development server runs on port 6006
|
|
63
|
-
- Live Storybook: https://brandcrowd-storybook.s3.amazonaws.com/fe-shared-lib/live/index.html
|
|
64
|
-
- Stories are co-located with components (`.stories.js` files)
|
|
65
|
-
|
|
66
|
-
### Brand Page Integration
|
|
67
|
-
For changes affecting BrandPage Tab in BC.NET:
|
|
68
|
-
1. Update app.maker's reference to this library
|
|
69
|
-
2. Bump app.maker version
|
|
70
|
-
3. Run `npm run docker:publish:bp`
|
|
71
|
-
4. Update BC.NET's reference to the new app.maker version
|