@designcrowd/fe-shared-lib 1.5.1-icontranslation → 1.5.2
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/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
- package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
- package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
- package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
- package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
- package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
- package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
- package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
- package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
- package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
- package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
- package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
- package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
- package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
- package/.storybook-static/css/tailwind-brandPage.css +2088 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
- package/.storybook-static/css/tailwind-designCom.css +2404 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +694 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/CLAUDE.md +65 -227
- package/dist/css/tailwind-brandCrowd.css +2419 -0
- package/dist/css/tailwind-brandPage.css +2107 -0
- package/dist/css/tailwind-crazyDomains.css +2419 -0
- package/dist/css/tailwind-designCom.css +2419 -0
- package/dist/css/tailwind-designCrowd.css +2419 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +6 -3
- package/public/css/tailwind-brandPage.css +6 -3
- package/public/css/tailwind-crazyDomains.css +6 -3
- package/public/css/tailwind-designCom.css +6 -3
- package/public/css/tailwind-designCrowd.css +6 -3
- package/src/atoms/components/design-com/Icon/Icon.stories.js +0 -62
- package/src/atoms/components/design-com/Icon/Icon.vue +2 -7
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +36 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +100 -297
- package/src/experiences/components/PublishBrandPageModal/views/PublishWhenHasDomainsView.vue +271 -0
- package/src/experiences/components/PublishBrandPageModal/views/PublishWhenNoDomainsView.vue +168 -0
- package/src/experiences/components/PublishBrandPageModal/views/PublishedView.vue +149 -0
- package/src/experiences/components/PublishBrandPageModal/views/SetUrlView.vue +155 -0
- package/.claude/settings.local.json +0 -17
- package/.claude/skills/publishing-test-versions.md +0 -285
- package/.storybook/image-1.png +0 -0
- package/.storybook/image-2.png +0 -0
- package/.storybook/image.png +0 -0
- package/.storybook/test.md +0 -3
- package/APasking.md +0 -9
- package/GT-8753.md +0 -127
- package/docs/plans/2025-11-03-typescript-declarations-design.md +0 -222
package/package.json
CHANGED
|
@@ -738,9 +738,6 @@ video {
|
|
|
738
738
|
.theme-brandCrowd .tw-mt-0 {
|
|
739
739
|
margin-top: 0px;
|
|
740
740
|
}
|
|
741
|
-
.theme-brandCrowd .tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
741
|
.theme-brandCrowd .tw-mt-1 {
|
|
745
742
|
margin-top: 0.25rem;
|
|
746
743
|
}
|
|
@@ -753,6 +750,9 @@ video {
|
|
|
753
750
|
.theme-brandCrowd .tw-mt-4 {
|
|
754
751
|
margin-top: 1rem;
|
|
755
752
|
}
|
|
753
|
+
.theme-brandCrowd .tw-mt-6 {
|
|
754
|
+
margin-top: 1.5rem;
|
|
755
|
+
}
|
|
756
756
|
.theme-brandCrowd .tw-mt-8 {
|
|
757
757
|
margin-top: 2rem;
|
|
758
758
|
}
|
|
@@ -926,6 +926,9 @@ video {
|
|
|
926
926
|
.theme-brandCrowd .tw-flex-none {
|
|
927
927
|
flex: none;
|
|
928
928
|
}
|
|
929
|
+
.theme-brandCrowd .tw-flex-shrink-0 {
|
|
930
|
+
flex-shrink: 0;
|
|
931
|
+
}
|
|
929
932
|
.theme-brandCrowd .tw-grow {
|
|
930
933
|
flex-grow: 1;
|
|
931
934
|
}
|
|
@@ -738,9 +738,6 @@ video {
|
|
|
738
738
|
.theme-brandPage .tw-mt-0 {
|
|
739
739
|
margin-top: 0px;
|
|
740
740
|
}
|
|
741
|
-
.theme-brandPage .tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
741
|
.theme-brandPage .tw-mt-1 {
|
|
745
742
|
margin-top: 0.25rem;
|
|
746
743
|
}
|
|
@@ -753,6 +750,9 @@ video {
|
|
|
753
750
|
.theme-brandPage .tw-mt-4 {
|
|
754
751
|
margin-top: 1rem;
|
|
755
752
|
}
|
|
753
|
+
.theme-brandPage .tw-mt-6 {
|
|
754
|
+
margin-top: 1.5rem;
|
|
755
|
+
}
|
|
756
756
|
.theme-brandPage .tw-mt-8 {
|
|
757
757
|
margin-top: 2rem;
|
|
758
758
|
}
|
|
@@ -926,6 +926,9 @@ video {
|
|
|
926
926
|
.theme-brandPage .tw-flex-none {
|
|
927
927
|
flex: none;
|
|
928
928
|
}
|
|
929
|
+
.theme-brandPage .tw-flex-shrink-0 {
|
|
930
|
+
flex-shrink: 0;
|
|
931
|
+
}
|
|
929
932
|
.theme-brandPage .tw-grow {
|
|
930
933
|
flex-grow: 1;
|
|
931
934
|
}
|
|
@@ -738,9 +738,6 @@ video {
|
|
|
738
738
|
.theme-crazyDomains .tw-mt-0 {
|
|
739
739
|
margin-top: 0px;
|
|
740
740
|
}
|
|
741
|
-
.theme-crazyDomains .tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
741
|
.theme-crazyDomains .tw-mt-1 {
|
|
745
742
|
margin-top: 0.25rem;
|
|
746
743
|
}
|
|
@@ -753,6 +750,9 @@ video {
|
|
|
753
750
|
.theme-crazyDomains .tw-mt-4 {
|
|
754
751
|
margin-top: 1rem;
|
|
755
752
|
}
|
|
753
|
+
.theme-crazyDomains .tw-mt-6 {
|
|
754
|
+
margin-top: 1.5rem;
|
|
755
|
+
}
|
|
756
756
|
.theme-crazyDomains .tw-mt-8 {
|
|
757
757
|
margin-top: 2rem;
|
|
758
758
|
}
|
|
@@ -926,6 +926,9 @@ video {
|
|
|
926
926
|
.theme-crazyDomains .tw-flex-none {
|
|
927
927
|
flex: none;
|
|
928
928
|
}
|
|
929
|
+
.theme-crazyDomains .tw-flex-shrink-0 {
|
|
930
|
+
flex-shrink: 0;
|
|
931
|
+
}
|
|
929
932
|
.theme-crazyDomains .tw-grow {
|
|
930
933
|
flex-grow: 1;
|
|
931
934
|
}
|
|
@@ -738,9 +738,6 @@ video {
|
|
|
738
738
|
.theme-designCom .tw-mt-0 {
|
|
739
739
|
margin-top: 0px;
|
|
740
740
|
}
|
|
741
|
-
.theme-designCom .tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
741
|
.theme-designCom .tw-mt-1 {
|
|
745
742
|
margin-top: 0.25rem;
|
|
746
743
|
}
|
|
@@ -753,6 +750,9 @@ video {
|
|
|
753
750
|
.theme-designCom .tw-mt-4 {
|
|
754
751
|
margin-top: 1rem;
|
|
755
752
|
}
|
|
753
|
+
.theme-designCom .tw-mt-6 {
|
|
754
|
+
margin-top: 1.5rem;
|
|
755
|
+
}
|
|
756
756
|
.theme-designCom .tw-mt-8 {
|
|
757
757
|
margin-top: 2rem;
|
|
758
758
|
}
|
|
@@ -926,6 +926,9 @@ video {
|
|
|
926
926
|
.theme-designCom .tw-flex-none {
|
|
927
927
|
flex: none;
|
|
928
928
|
}
|
|
929
|
+
.theme-designCom .tw-flex-shrink-0 {
|
|
930
|
+
flex-shrink: 0;
|
|
931
|
+
}
|
|
929
932
|
.theme-designCom .tw-grow {
|
|
930
933
|
flex-grow: 1;
|
|
931
934
|
}
|
|
@@ -738,9 +738,6 @@ video {
|
|
|
738
738
|
.theme-designCrowd .tw-mt-0 {
|
|
739
739
|
margin-top: 0px;
|
|
740
740
|
}
|
|
741
|
-
.theme-designCrowd .tw-mt-0\.5 {
|
|
742
|
-
margin-top: 0.125rem;
|
|
743
|
-
}
|
|
744
741
|
.theme-designCrowd .tw-mt-1 {
|
|
745
742
|
margin-top: 0.25rem;
|
|
746
743
|
}
|
|
@@ -753,6 +750,9 @@ video {
|
|
|
753
750
|
.theme-designCrowd .tw-mt-4 {
|
|
754
751
|
margin-top: 1rem;
|
|
755
752
|
}
|
|
753
|
+
.theme-designCrowd .tw-mt-6 {
|
|
754
|
+
margin-top: 1.5rem;
|
|
755
|
+
}
|
|
756
756
|
.theme-designCrowd .tw-mt-8 {
|
|
757
757
|
margin-top: 2rem;
|
|
758
758
|
}
|
|
@@ -926,6 +926,9 @@ video {
|
|
|
926
926
|
.theme-designCrowd .tw-flex-none {
|
|
927
927
|
flex: none;
|
|
928
928
|
}
|
|
929
|
+
.theme-designCrowd .tw-flex-shrink-0 {
|
|
930
|
+
flex-shrink: 0;
|
|
931
|
+
}
|
|
929
932
|
.theme-designCrowd .tw-grow {
|
|
930
933
|
flex-grow: 1;
|
|
931
934
|
}
|
|
@@ -80,65 +80,3 @@ export const IconSample = () => {
|
|
|
80
80
|
IconSample.story = {
|
|
81
81
|
name: 'Dcom Icon Library',
|
|
82
82
|
};
|
|
83
|
-
|
|
84
|
-
export const IconInternationalization = () => {
|
|
85
|
-
return {
|
|
86
|
-
components: {
|
|
87
|
-
Icon,
|
|
88
|
-
},
|
|
89
|
-
data() {
|
|
90
|
-
return {
|
|
91
|
-
languages: [
|
|
92
|
-
{ code: 'en', name: 'English' },
|
|
93
|
-
{ code: 'fr', name: 'French' },
|
|
94
|
-
{ code: 'es', name: 'Spanish' },
|
|
95
|
-
{ code: 'pt', name: 'Portuguese' },
|
|
96
|
-
{ code: 'de', name: 'German' },
|
|
97
|
-
],
|
|
98
|
-
};
|
|
99
|
-
},
|
|
100
|
-
template: `
|
|
101
|
-
<div>
|
|
102
|
-
<h3 class="tw-font-sans tw-mb-4 tw-text-lg tw-font-bold">Internationalization (i18n) Support</h3>
|
|
103
|
-
<p class="tw-font-sans tw-mb-4">The <code>lang</code> prop allows you to specify the language code for screen readers. This is crucial for proper accessibility in internationalized applications.</p>
|
|
104
|
-
|
|
105
|
-
<table class="tw-w-full tw-mb-6">
|
|
106
|
-
<thead>
|
|
107
|
-
<tr>
|
|
108
|
-
<th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Language</th>
|
|
109
|
-
<th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Icon</th>
|
|
110
|
-
<th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Code</th>
|
|
111
|
-
</tr>
|
|
112
|
-
</thead>
|
|
113
|
-
<tr v-for="(language, i) in languages" :key="i" :class="{'tw-bg-grayscale-200': i % 2 !== 0}">
|
|
114
|
-
<td class="tw-p-4 tw-font-sans">{{ language.name }} ({{ language.code }})</td>
|
|
115
|
-
<td class="tw-p-4">
|
|
116
|
-
<Icon name="heart" size="md" :lang="language.code" />
|
|
117
|
-
</td>
|
|
118
|
-
<td class="tw-p-4">
|
|
119
|
-
<code class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
|
|
120
|
-
<Icon name="heart" size="md" lang="{{ language.code }}" />
|
|
121
|
-
</code>
|
|
122
|
-
</td>
|
|
123
|
-
</tr>
|
|
124
|
-
</table>
|
|
125
|
-
|
|
126
|
-
<div class="tw-font-sans tw-bg-blue-50 tw-p-4 tw-rounded tw-border tw-border-blue-200">
|
|
127
|
-
<h4 class="tw-font-bold tw-mb-2">Usage in i18n Applications:</h4>
|
|
128
|
-
<p class="tw-mb-2">In Vue applications with i18n, you can dynamically pass the current locale:</p>
|
|
129
|
-
<pre class="tw-bg-gray-100 tw-p-3 tw-rounded tw-text-sm tw-overflow-x-auto"><code><Icon
|
|
130
|
-
name="feature.iconName"
|
|
131
|
-
size="md"
|
|
132
|
-
:lang="$i18n.locale.split('-')[0]"
|
|
133
|
-
:alt-text="$t('icons.heart.title')"
|
|
134
|
-
/></code></pre>
|
|
135
|
-
<p class="tw-mt-2 tw-text-sm tw-text-gray-600">Note: The lang prop defaults to 'en' for backward compatibility.</p>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
`,
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
IconInternationalization.story = {
|
|
143
|
-
name: 'Internationalization (lang prop)',
|
|
144
|
-
};
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
aria-labelledby="title"
|
|
19
19
|
aria-describedby="desc"
|
|
20
20
|
>
|
|
21
|
-
<title :id="`${name}-${id}-title`"
|
|
22
|
-
<desc :id="`${name}-${id}-desc`"
|
|
21
|
+
<title :id="`${name}-${id}-title`" lang="en">{{ title }}</title>
|
|
22
|
+
<desc :id="`${name}-${id}-desc`" lang="en">{{ description }}</desc>
|
|
23
23
|
<component :is="`icon-${iconName}`"></component>
|
|
24
24
|
</svg>
|
|
25
25
|
</div>
|
|
@@ -118,11 +118,6 @@ export default {
|
|
|
118
118
|
required: false,
|
|
119
119
|
default: '',
|
|
120
120
|
},
|
|
121
|
-
lang: {
|
|
122
|
-
type: String,
|
|
123
|
-
required: false,
|
|
124
|
-
default: 'en',
|
|
125
|
-
},
|
|
126
121
|
},
|
|
127
122
|
data() {
|
|
128
123
|
return {
|
|
@@ -174,6 +174,42 @@ export const PublishedNoDomains = () => {
|
|
|
174
174
|
|
|
175
175
|
PublishedNoDomains.loaders = [loadTranslationAsync];
|
|
176
176
|
|
|
177
|
+
export const PublishedWithContent = () => {
|
|
178
|
+
return {
|
|
179
|
+
components: {
|
|
180
|
+
PublishBrandPageModal,
|
|
181
|
+
},
|
|
182
|
+
data() {
|
|
183
|
+
return {
|
|
184
|
+
domains,
|
|
185
|
+
};
|
|
186
|
+
},
|
|
187
|
+
methods: {},
|
|
188
|
+
template: `
|
|
189
|
+
<PublishBrandPageModal
|
|
190
|
+
visible
|
|
191
|
+
is-design-com
|
|
192
|
+
is-published
|
|
193
|
+
should-publish
|
|
194
|
+
:domains="domains"
|
|
195
|
+
isSubsequentPublish="true"
|
|
196
|
+
showUpsellRotation="true"
|
|
197
|
+
brand-page-display-name='Website'
|
|
198
|
+
brand-page-slug='test-slug'
|
|
199
|
+
brand-page-base-url="https://brand.site"
|
|
200
|
+
radio-value="slug"
|
|
201
|
+
brand-page-url="https://brand.site/test-slug"
|
|
202
|
+
>
|
|
203
|
+
<template #upsell>
|
|
204
|
+
<div>Upsell container goes here 111111</div>
|
|
205
|
+
</template>
|
|
206
|
+
</PublishBrandPageModal>
|
|
207
|
+
`,
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
PublishedWithContent.loaders = [loadTranslationAsync];
|
|
212
|
+
|
|
177
213
|
export const Free = () => {
|
|
178
214
|
return {
|
|
179
215
|
components: {
|