@designcrowd/fe-shared-lib 1.5.28-ast-jy-7 → 1.5.28
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/dist/css/tailwind-brandCrowd.css +115 -8
- package/dist/css/tailwind-brandPage.css +112 -9
- package/dist/css/tailwind-crazyDomains.css +115 -8
- package/dist/css/tailwind-designCom.css +115 -8
- package/dist/css/tailwind-designCrowd.css +115 -8
- package/index.js +0 -1
- package/package.json +1 -1
- package/src/atoms/components/Icon/Icon.stories.js +0 -1
- package/src/atoms/components/Icon/Icon.vue +0 -2
- package/src/bundles/bundled-translations.de-DE.json +1 -3
- package/src/bundles/bundled-translations.es-ES.json +1 -3
- package/src/bundles/bundled-translations.fr-CA.json +1 -3
- package/src/bundles/bundled-translations.fr-FR.json +1 -3
- package/src/bundles/bundled-translations.json +1 -3
- package/src/bundles/bundled-translations.pt-BR.json +1 -3
- package/src/bundles/bundled-translations.pt-PT.json +1 -3
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +0 -1
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +0 -16
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +1 -0
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +1 -3
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +1 -3
- package/.claude/skills/new-icon/SKILL.md +0 -121
- package/public/css/tailwind-brandCrowd.css +0 -2521
- package/public/css/tailwind-brandPage.css +0 -2201
- package/public/css/tailwind-crazyDomains.css +0 -2521
- package/public/css/tailwind-designCom.css +0 -2521
- package/public/css/tailwind-designCrowd.css +0 -2521
- package/src/atoms/components/Icon/icons/discount-badge.vue +0 -5
- package/src/experiences/components/PaymentConfigList/PaymentConfigUpgradeBanner.vue +0 -76
|
@@ -617,6 +617,9 @@ video {
|
|
|
617
617
|
.tw-m-3 {
|
|
618
618
|
margin: 0.75rem;
|
|
619
619
|
}
|
|
620
|
+
.tw-m-4 {
|
|
621
|
+
margin: 1rem;
|
|
622
|
+
}
|
|
620
623
|
.tw-m-5 {
|
|
621
624
|
margin: 1.25rem;
|
|
622
625
|
}
|
|
@@ -684,6 +687,9 @@ video {
|
|
|
684
687
|
.tw-mb-0 {
|
|
685
688
|
margin-bottom: 0px;
|
|
686
689
|
}
|
|
690
|
+
.tw-mb-0\.5 {
|
|
691
|
+
margin-bottom: 0.125rem;
|
|
692
|
+
}
|
|
687
693
|
.tw-mb-1 {
|
|
688
694
|
margin-bottom: 0.25rem;
|
|
689
695
|
}
|
|
@@ -738,9 +744,6 @@ video {
|
|
|
738
744
|
.tw-mt-0 {
|
|
739
745
|
margin-top: 0px;
|
|
740
746
|
}
|
|
741
|
-
.tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
747
|
.tw-mt-1 {
|
|
745
748
|
margin-top: 0.25rem;
|
|
746
749
|
}
|
|
@@ -753,6 +756,9 @@ video {
|
|
|
753
756
|
.tw-mt-4 {
|
|
754
757
|
margin-top: 1rem;
|
|
755
758
|
}
|
|
759
|
+
.tw-mt-6 {
|
|
760
|
+
margin-top: 1.5rem;
|
|
761
|
+
}
|
|
756
762
|
.tw-mt-8 {
|
|
757
763
|
margin-top: 2rem;
|
|
758
764
|
}
|
|
@@ -762,6 +768,48 @@ video {
|
|
|
762
768
|
.tw-box-content {
|
|
763
769
|
box-sizing: content-box;
|
|
764
770
|
}
|
|
771
|
+
.tw-line-clamp-1 {
|
|
772
|
+
overflow: hidden;
|
|
773
|
+
display: -webkit-box;
|
|
774
|
+
-webkit-box-orient: vertical;
|
|
775
|
+
-webkit-line-clamp: 1;
|
|
776
|
+
}
|
|
777
|
+
.tw-line-clamp-2 {
|
|
778
|
+
overflow: hidden;
|
|
779
|
+
display: -webkit-box;
|
|
780
|
+
-webkit-box-orient: vertical;
|
|
781
|
+
-webkit-line-clamp: 2;
|
|
782
|
+
}
|
|
783
|
+
.tw-line-clamp-3 {
|
|
784
|
+
overflow: hidden;
|
|
785
|
+
display: -webkit-box;
|
|
786
|
+
-webkit-box-orient: vertical;
|
|
787
|
+
-webkit-line-clamp: 3;
|
|
788
|
+
}
|
|
789
|
+
.tw-line-clamp-4 {
|
|
790
|
+
overflow: hidden;
|
|
791
|
+
display: -webkit-box;
|
|
792
|
+
-webkit-box-orient: vertical;
|
|
793
|
+
-webkit-line-clamp: 4;
|
|
794
|
+
}
|
|
795
|
+
.tw-line-clamp-5 {
|
|
796
|
+
overflow: hidden;
|
|
797
|
+
display: -webkit-box;
|
|
798
|
+
-webkit-box-orient: vertical;
|
|
799
|
+
-webkit-line-clamp: 5;
|
|
800
|
+
}
|
|
801
|
+
.tw-line-clamp-6 {
|
|
802
|
+
overflow: hidden;
|
|
803
|
+
display: -webkit-box;
|
|
804
|
+
-webkit-box-orient: vertical;
|
|
805
|
+
-webkit-line-clamp: 6;
|
|
806
|
+
}
|
|
807
|
+
.tw-line-clamp-none {
|
|
808
|
+
overflow: visible;
|
|
809
|
+
display: block;
|
|
810
|
+
-webkit-box-orient: horizontal;
|
|
811
|
+
-webkit-line-clamp: none;
|
|
812
|
+
}
|
|
765
813
|
.tw-block {
|
|
766
814
|
display: block;
|
|
767
815
|
}
|
|
@@ -911,6 +959,9 @@ video {
|
|
|
911
959
|
.tw-max-w-2xl {
|
|
912
960
|
max-width: 42rem;
|
|
913
961
|
}
|
|
962
|
+
.tw-max-w-3xl {
|
|
963
|
+
max-width: 48rem;
|
|
964
|
+
}
|
|
914
965
|
.tw-max-w-full {
|
|
915
966
|
max-width: 100%;
|
|
916
967
|
}
|
|
@@ -926,6 +977,9 @@ video {
|
|
|
926
977
|
.tw-flex-none {
|
|
927
978
|
flex: none;
|
|
928
979
|
}
|
|
980
|
+
.tw-flex-shrink-0 {
|
|
981
|
+
flex-shrink: 0;
|
|
982
|
+
}
|
|
929
983
|
.tw-grow {
|
|
930
984
|
flex-grow: 1;
|
|
931
985
|
}
|
|
@@ -1141,6 +1195,9 @@ video {
|
|
|
1141
1195
|
text-overflow: ellipsis;
|
|
1142
1196
|
white-space: nowrap;
|
|
1143
1197
|
}
|
|
1198
|
+
.tw-text-ellipsis {
|
|
1199
|
+
text-overflow: ellipsis;
|
|
1200
|
+
}
|
|
1144
1201
|
.tw-whitespace-nowrap {
|
|
1145
1202
|
white-space: nowrap;
|
|
1146
1203
|
}
|
|
@@ -1269,6 +1326,10 @@ video {
|
|
|
1269
1326
|
--tw-border-opacity: 1;
|
|
1270
1327
|
border-color: rgb(125 130 132 / var(--tw-border-opacity));
|
|
1271
1328
|
}
|
|
1329
|
+
.tw-border-grayscale-700 {
|
|
1330
|
+
--tw-border-opacity: 1;
|
|
1331
|
+
border-color: rgb(82 93 96 / var(--tw-border-opacity));
|
|
1332
|
+
}
|
|
1272
1333
|
.tw-border-info-300 {
|
|
1273
1334
|
--tw-border-opacity: 1;
|
|
1274
1335
|
border-color: rgb(112 193 243 / var(--tw-border-opacity));
|
|
@@ -1741,9 +1802,6 @@ video {
|
|
|
1741
1802
|
.tw-pt-2 {
|
|
1742
1803
|
padding-top: 0.5rem;
|
|
1743
1804
|
}
|
|
1744
|
-
.tw-pt-4 {
|
|
1745
|
-
padding-top: 1rem;
|
|
1746
|
-
}
|
|
1747
1805
|
.tw-pt-6 {
|
|
1748
1806
|
padding-top: 1.5rem;
|
|
1749
1807
|
}
|
|
@@ -1766,6 +1824,10 @@ video {
|
|
|
1766
1824
|
font-size: 1.5rem;
|
|
1767
1825
|
line-height: 2rem;
|
|
1768
1826
|
}
|
|
1827
|
+
.tw-text-3xl {
|
|
1828
|
+
font-size: 1.875rem;
|
|
1829
|
+
line-height: 2.25rem;
|
|
1830
|
+
}
|
|
1769
1831
|
.tw-text-4xl {
|
|
1770
1832
|
font-size: 2.25rem;
|
|
1771
1833
|
line-height: 2.5rem;
|
|
@@ -2000,6 +2062,10 @@ video {
|
|
|
2000
2062
|
--tw-border-opacity: 1;
|
|
2001
2063
|
border-color: rgb(230 230 230 / var(--tw-border-opacity));
|
|
2002
2064
|
}
|
|
2065
|
+
.hover\:tw-border-grayscale-500:hover {
|
|
2066
|
+
--tw-border-opacity: 1;
|
|
2067
|
+
border-color: rgb(204 204 204 / var(--tw-border-opacity));
|
|
2068
|
+
}
|
|
2003
2069
|
.hover\:tw-border-info-600:hover {
|
|
2004
2070
|
--tw-border-opacity: 1;
|
|
2005
2071
|
border-color: rgb(14 121 188 / var(--tw-border-opacity));
|
|
@@ -2036,6 +2102,10 @@ video {
|
|
|
2036
2102
|
--tw-bg-opacity: 1;
|
|
2037
2103
|
background-color: rgb(230 230 230 / var(--tw-bg-opacity));
|
|
2038
2104
|
}
|
|
2105
|
+
.hover\:tw-bg-grayscale-500:hover {
|
|
2106
|
+
--tw-bg-opacity: 1;
|
|
2107
|
+
background-color: rgb(204 204 204 / var(--tw-bg-opacity));
|
|
2108
|
+
}
|
|
2039
2109
|
.hover\:tw-bg-info-100:hover {
|
|
2040
2110
|
--tw-bg-opacity: 1;
|
|
2041
2111
|
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
@@ -2088,9 +2158,9 @@ video {
|
|
|
2088
2158
|
--tw-bg-opacity: 1;
|
|
2089
2159
|
background-color: rgb(194 140 34 / var(--tw-bg-opacity));
|
|
2090
2160
|
}
|
|
2091
|
-
.hover\:tw-text-
|
|
2161
|
+
.hover\:tw-text-primary-600:hover {
|
|
2092
2162
|
--tw-text-opacity: 1;
|
|
2093
|
-
color: rgb(
|
|
2163
|
+
color: rgb(14 121 188 / var(--tw-text-opacity));
|
|
2094
2164
|
}
|
|
2095
2165
|
.hover\:tw-text-secondary-500:hover {
|
|
2096
2166
|
--tw-text-opacity: 1;
|
|
@@ -2179,6 +2249,10 @@ video {
|
|
|
2179
2249
|
margin-bottom: 1rem;
|
|
2180
2250
|
}
|
|
2181
2251
|
|
|
2252
|
+
.sm\:tw-ml-2 {
|
|
2253
|
+
margin-left: 0.5rem;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2182
2256
|
.sm\:tw-ml-4 {
|
|
2183
2257
|
margin-left: 1rem;
|
|
2184
2258
|
}
|
|
@@ -2227,6 +2301,10 @@ video {
|
|
|
2227
2301
|
flex-direction: row;
|
|
2228
2302
|
}
|
|
2229
2303
|
|
|
2304
|
+
.sm\:tw-items-center {
|
|
2305
|
+
align-items: center;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2230
2308
|
.sm\:tw-rounded-md {
|
|
2231
2309
|
border-radius: 0.375rem;
|
|
2232
2310
|
}
|
|
@@ -2238,10 +2316,18 @@ video {
|
|
|
2238
2316
|
}
|
|
2239
2317
|
@media (min-width: 768px) {
|
|
2240
2318
|
|
|
2319
|
+
.md\:tw-relative {
|
|
2320
|
+
position: relative;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2241
2323
|
.md\:tw-right-6 {
|
|
2242
2324
|
right: 1.5rem;
|
|
2243
2325
|
}
|
|
2244
2326
|
|
|
2327
|
+
.md\:tw-order-first {
|
|
2328
|
+
order: -9999;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2245
2331
|
.md\:tw-mb-0 {
|
|
2246
2332
|
margin-bottom: 0px;
|
|
2247
2333
|
}
|
|
@@ -2306,6 +2392,10 @@ video {
|
|
|
2306
2392
|
width: 6rem;
|
|
2307
2393
|
}
|
|
2308
2394
|
|
|
2395
|
+
.md\:tw-w-3\/4 {
|
|
2396
|
+
width: 75%;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2309
2399
|
.md\:tw-w-auto {
|
|
2310
2400
|
width: auto;
|
|
2311
2401
|
}
|
|
@@ -2318,6 +2408,10 @@ video {
|
|
|
2318
2408
|
max-width: 100%;
|
|
2319
2409
|
}
|
|
2320
2410
|
|
|
2411
|
+
.md\:tw-flex-1 {
|
|
2412
|
+
flex: 1 1 0%;
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2321
2415
|
.md\:tw-grow {
|
|
2322
2416
|
flex-grow: 1;
|
|
2323
2417
|
}
|
|
@@ -2377,6 +2471,10 @@ video {
|
|
|
2377
2471
|
object-fit: contain;
|
|
2378
2472
|
}
|
|
2379
2473
|
|
|
2474
|
+
.md\:tw-p-0 {
|
|
2475
|
+
padding: 0px;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2380
2478
|
.md\:tw-p-2 {
|
|
2381
2479
|
padding: 0.5rem;
|
|
2382
2480
|
}
|
|
@@ -2393,6 +2491,11 @@ video {
|
|
|
2393
2491
|
padding: 2rem;
|
|
2394
2492
|
}
|
|
2395
2493
|
|
|
2494
|
+
.md\:tw-px-12 {
|
|
2495
|
+
padding-left: 3rem;
|
|
2496
|
+
padding-right: 3rem;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2396
2499
|
.md\:tw-px-4 {
|
|
2397
2500
|
padding-left: 1rem;
|
|
2398
2501
|
padding-right: 1rem;
|
|
@@ -2408,6 +2511,10 @@ video {
|
|
|
2408
2511
|
padding-bottom: 0.5rem;
|
|
2409
2512
|
}
|
|
2410
2513
|
|
|
2514
|
+
.md\:tw-pb-0 {
|
|
2515
|
+
padding-bottom: 0px;
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2411
2518
|
.md\:tw-pl-4 {
|
|
2412
2519
|
padding-left: 1rem;
|
|
2413
2520
|
}
|
package/index.js
CHANGED
|
@@ -11,7 +11,6 @@ export { default as ResetPassword } from './src/experiences/components/AuthFlow/
|
|
|
11
11
|
export { default as ResetPasswordSuccessModal } from './src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue';
|
|
12
12
|
export { default as PaymentConfigList } from './src/experiences/components/PaymentConfigList/PaymentConfigList.vue';
|
|
13
13
|
export { default as PaymentConfigDropdown } from './src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue';
|
|
14
|
-
export { default as PaymentConfigUpgradeBanner } from './src/experiences/components/PaymentConfigList/PaymentConfigUpgradeBanner.vue';
|
|
15
14
|
export { default as brandPageApiClient } from './src/experiences/clients/brand-page-api.client';
|
|
16
15
|
export { default as brandCrowdApiClient } from './src/experiences/clients/brand-crowd-api.client';
|
|
17
16
|
export { default as SellDomainNameListModal } from './src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue';
|
package/package.json
CHANGED
|
@@ -428,7 +428,6 @@ import IconFile from './icons/file.vue';
|
|
|
428
428
|
import IconPenTool from './icons/pen-tool.vue';
|
|
429
429
|
import IconClipboardCheck from './icons/clipboard-check.vue';
|
|
430
430
|
import IconBadge from './icons/badge.vue';
|
|
431
|
-
import IconDiscountBadge from './icons/discount-badge.vue';
|
|
432
431
|
import IconCalculator from './icons/calculator.vue';
|
|
433
432
|
import IconWebsitesUpgradeToAddPage from './icons/websites/upgrade-to-add-page.vue';
|
|
434
433
|
import IconWebsitesUpgradeToContactForm from './icons/websites/upgrade-to-contact-form.vue';
|
|
@@ -842,7 +841,6 @@ export default {
|
|
|
842
841
|
IconAspectRatioOriginal,
|
|
843
842
|
IconClipboardCheck,
|
|
844
843
|
IconBadge,
|
|
845
|
-
IconDiscountBadge,
|
|
846
844
|
|
|
847
845
|
IconWebsitesUpgradeToAddPage,
|
|
848
846
|
IconWebsitesUpgradeToContactForm,
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inaktiv",
|
|
11
11
|
"addPaymentProvider": "Zahlungsanbieter hinzufügen",
|
|
12
12
|
"deletePaymentMethod": "Zahlungsmethode löschen",
|
|
13
|
-
"currencyLabel": "Währung"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Währung"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Legen Sie die URL für {{brandPageDisplayName}} fest",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inactivo",
|
|
11
11
|
"addPaymentProvider": "Añadir proveedor de pago",
|
|
12
12
|
"deletePaymentMethod": "Eliminar método de pago",
|
|
13
|
-
"currencyLabel": "Moneda"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Moneda"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Establece la URL para {{brandPageDisplayName}}",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inactif",
|
|
11
11
|
"addPaymentProvider": "Ajouter un fournisseur de paiement",
|
|
12
12
|
"deletePaymentMethod": "Supprimer le mode de paiement",
|
|
13
|
-
"currencyLabel": "Devise"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Devise"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inactif",
|
|
11
11
|
"addPaymentProvider": "Ajouter un fournisseur de paiement",
|
|
12
12
|
"deletePaymentMethod": "Supprimer le mode de paiement",
|
|
13
|
-
"currencyLabel": "Devise"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Devise"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inactive",
|
|
11
11
|
"addPaymentProvider": "Add Payment Provider",
|
|
12
12
|
"deletePaymentMethod": "Delete payment method",
|
|
13
|
-
"currencyLabel": "Currency"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Currency"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Set the URL for {{brandPageDisplayName}}",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inativo",
|
|
11
11
|
"addPaymentProvider": "Adicionar fornecedor de pagamentos",
|
|
12
12
|
"deletePaymentMethod": "Excluir método de pagamento",
|
|
13
|
-
"currencyLabel": "Moeda"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Moeda"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"inactive": "Inativo",
|
|
11
11
|
"addPaymentProvider": "Adicionar fornecedor de pagamentos",
|
|
12
12
|
"deletePaymentMethod": "Eliminar método de pagamento",
|
|
13
|
-
"currencyLabel": "Moeda"
|
|
14
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
15
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
13
|
+
"currencyLabel": "Moeda"
|
|
16
14
|
},
|
|
17
15
|
"publishBrandPageModal": {
|
|
18
16
|
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
@@ -113,7 +113,6 @@ export default {
|
|
|
113
113
|
default: undefined,
|
|
114
114
|
},
|
|
115
115
|
},
|
|
116
|
-
emits: ['on-load', 'on-add-payment-provider-click', 'on-payment-config-selected', 'on-currency-selected'],
|
|
117
116
|
data: () => ({ isAddPaymentProviderButtonVisible: false, selectedPaymentConfig: undefined }),
|
|
118
117
|
watch: {
|
|
119
118
|
paymentConfig(newValue) {
|
|
@@ -3,7 +3,6 @@ import MockAdapter from 'axios-mock-adapter';
|
|
|
3
3
|
|
|
4
4
|
import PaymentConfigList from './PaymentConfigList.vue';
|
|
5
5
|
import PaymentConfigDropdown from './PaymentConfigDropdown.vue';
|
|
6
|
-
import PaymentConfigUpgradeBanner from './PaymentConfigUpgradeBanner.vue';
|
|
7
6
|
|
|
8
7
|
export default {
|
|
9
8
|
title: 'Components/PaymentConfigList',
|
|
@@ -233,18 +232,3 @@ export const SampleDropdownEmpty = () => {
|
|
|
233
232
|
SampleDropdownEmpty.SampleDropdownEmpty = {
|
|
234
233
|
name: 'Dropdown Empty',
|
|
235
234
|
};
|
|
236
|
-
|
|
237
|
-
export const SampleUpgradeBanner = () => {
|
|
238
|
-
return {
|
|
239
|
-
components: { PaymentConfigUpgradeBanner },
|
|
240
|
-
template: `
|
|
241
|
-
<div class="tw-w-full tw-p-4" style="background: #f4f4f4">
|
|
242
|
-
<PaymentConfigUpgradeBanner />
|
|
243
|
-
</div>
|
|
244
|
-
`,
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
SampleUpgradeBanner.story = {
|
|
249
|
-
name: 'Upgrade Banner',
|
|
250
|
-
};
|
|
@@ -69,6 +69,7 @@ import Loader from '../../../atoms/components/Loader/Loader.vue';
|
|
|
69
69
|
import Button from '../../../atoms/components/Button/Button.vue';
|
|
70
70
|
import PaymentConfigDeleteConfigModal from './PaymentConfigDeleteConfigModal.vue';
|
|
71
71
|
import Icon from '../../../atoms/components/Icon/Icon.vue';
|
|
72
|
+
|
|
72
73
|
import PaymentConfigMixin from './PaymentConfig.mixin';
|
|
73
74
|
import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
|
|
74
75
|
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inaktiv",
|
|
7
7
|
"addPaymentProvider" : "Zahlungsanbieter hinzufügen",
|
|
8
8
|
"deletePaymentMethod" : "Zahlungsmethode löschen",
|
|
9
|
-
"currencyLabel" : "Währung"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Währung"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inactivo",
|
|
7
7
|
"addPaymentProvider" : "Añadir proveedor de pago",
|
|
8
8
|
"deletePaymentMethod" : "Eliminar método de pago",
|
|
9
|
-
"currencyLabel" : "Moneda"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Moneda"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inactif",
|
|
7
7
|
"addPaymentProvider" : "Ajouter un fournisseur de paiement",
|
|
8
8
|
"deletePaymentMethod" : "Supprimer le mode de paiement",
|
|
9
|
-
"currencyLabel" : "Devise"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Devise"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inactif",
|
|
7
7
|
"addPaymentProvider" : "Ajouter un fournisseur de paiement",
|
|
8
8
|
"deletePaymentMethod" : "Supprimer le mode de paiement",
|
|
9
|
-
"currencyLabel" : "Devise"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Devise"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive": "Inactive",
|
|
7
7
|
"addPaymentProvider": "Add Payment Provider",
|
|
8
8
|
"deletePaymentMethod": "Delete payment method",
|
|
9
|
-
"currencyLabel": "Currency"
|
|
10
|
-
"upgradeBannerMessage": "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel": "Upgrade Now"
|
|
9
|
+
"currencyLabel": "Currency"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inativo",
|
|
7
7
|
"addPaymentProvider" : "Adicionar fornecedor de pagamentos",
|
|
8
8
|
"deletePaymentMethod" : "Excluir método de pagamento",
|
|
9
|
-
"currencyLabel" : "Moeda"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Moeda"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"inactive" : "Inativo",
|
|
7
7
|
"addPaymentProvider" : "Adicionar fornecedor de pagamentos",
|
|
8
8
|
"deletePaymentMethod" : "Eliminar método de pagamento",
|
|
9
|
-
"currencyLabel" : "Moeda"
|
|
10
|
-
"upgradeBannerMessage" : "Unlock lower commission fees by upgrading to Premium",
|
|
11
|
-
"upgradeBannerButtonLabel" : "Upgrade Now"
|
|
9
|
+
"currencyLabel" : "Moeda"
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: new-icon
|
|
3
|
-
description: Add a new SVG icon to the fe-shared-lib icon library. Use when given SVG code and an icon name to create.
|
|
4
|
-
argument-hint: "[icon-name] [svg-code]"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Add New Icon
|
|
8
|
-
|
|
9
|
-
Add a new icon to the shared component library given an icon name and SVG source.
|
|
10
|
-
|
|
11
|
-
## Steps
|
|
12
|
-
|
|
13
|
-
### 1. Create the icon Vue file
|
|
14
|
-
|
|
15
|
-
Create `src/atoms/components/icon/icons/<icon-name>.vue`.
|
|
16
|
-
|
|
17
|
-
Extract only the inner SVG content — no `fill` attributes (color is controlled by the parent via `tw-fill-current`).
|
|
18
|
-
|
|
19
|
-
**Simple icon** (no clip-path, or clip-path clips to full viewBox — effectively a no-op):
|
|
20
|
-
|
|
21
|
-
```vue
|
|
22
|
-
<template>
|
|
23
|
-
<path d="..." />
|
|
24
|
-
</template>
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Icon with meaningful clip-path** (follow the pattern in `hamburger-4.vue`):
|
|
28
|
-
|
|
29
|
-
```vue
|
|
30
|
-
<template>
|
|
31
|
-
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
32
|
-
<g clip-path="url(#clip0_XXXX)">
|
|
33
|
-
<path d="..." />
|
|
34
|
-
</g>
|
|
35
|
-
<defs>
|
|
36
|
-
<clipPath id="clip0_XXXX">
|
|
37
|
-
<rect width="16" height="16" fill="white" />
|
|
38
|
-
</clipPath>
|
|
39
|
-
</defs>
|
|
40
|
-
</svg>
|
|
41
|
-
</template>
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
> If the `<clipPath>` rect is exactly the same size as the viewBox (`width="16" height="16"`), it clips nothing — use the simple form instead.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
### 2. Register the icon in `Icon.vue`
|
|
49
|
-
|
|
50
|
-
**Add the import** (`src/atoms/components/icon/Icon.vue`):
|
|
51
|
-
|
|
52
|
-
```js
|
|
53
|
-
import IconMyIconName from './icons/my-icon-name.vue';
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Place it near other imports with the same first letter, or alongside related icons.
|
|
57
|
-
|
|
58
|
-
The import name must follow the pattern: `Icon` + PascalCase of the icon name.
|
|
59
|
-
|
|
60
|
-
- `discount-badge` → `IconDiscountBadge`
|
|
61
|
-
- `arrow-up` → `IconArrowUp`
|
|
62
|
-
|
|
63
|
-
**Register in `components`**:
|
|
64
|
-
|
|
65
|
-
```js
|
|
66
|
-
components: {
|
|
67
|
-
// ...
|
|
68
|
-
IconMyIconName,
|
|
69
|
-
// ...
|
|
70
|
-
}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
### 3. Add to Storybook
|
|
76
|
-
|
|
77
|
-
In `src/atoms/components/icon/Icon.stories.js`, add to the `icons` array:
|
|
78
|
-
|
|
79
|
-
```js
|
|
80
|
-
{ name: 'my-icon-name' },
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Place it near related or alphabetically adjacent icons.
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Example
|
|
88
|
-
|
|
89
|
-
Given icon name `discount-badge` and SVG with a full-viewBox clip-path (no-op):
|
|
90
|
-
|
|
91
|
-
**`src/atoms/components/icon/icons/discount-badge.vue`**
|
|
92
|
-
|
|
93
|
-
```vue
|
|
94
|
-
<template>
|
|
95
|
-
<path d="M4.99447 0.743491..." />
|
|
96
|
-
</template>
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
**`Icon.vue` import:**
|
|
100
|
-
|
|
101
|
-
```js
|
|
102
|
-
import IconDiscountBadge from './icons/discount-badge.vue';
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**`Icon.vue` components:**
|
|
106
|
-
|
|
107
|
-
```js
|
|
108
|
-
IconDiscountBadge,
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
**`Icon.stories.js`:**
|
|
112
|
-
|
|
113
|
-
```js
|
|
114
|
-
{ name: 'discount-badge' },
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
The icon is then usable as:
|
|
118
|
-
|
|
119
|
-
```html
|
|
120
|
-
<icon name="discount-badge" size="md" />
|
|
121
|
-
```
|