@designcrowd/fe-shared-lib 1.5.26 → 1.5.27
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-BEjq1pFf.css +1 -0
- package/.storybook-static/assets/Auth.stories-6JyBk-uq.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-DM4RpsMO.js +73 -0
- package/.storybook-static/assets/Button-BkoQdoaq.css +1 -0
- package/.storybook-static/assets/Button-DUOSTNbh.js +1 -0
- package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-DYoET5Zw.js +504 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-C1HLT2L3.js +1 -0
- package/.storybook-static/assets/Buttons.stories-aTFEest4.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-BDEdg2Ki.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-CA6Ke9oy.js +246 -0
- package/.storybook-static/assets/Checktile.stories-DAvOuYro.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-Dn1XwwpU.js +56 -0
- package/.storybook-static/assets/ColorPicker.stories-DTkwaAKN.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-CYAv-s36.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-hHlWTMpq.js +159 -0
- package/.storybook-static/assets/DropdownItem-BIPkoata.js +1 -0
- package/.storybook-static/assets/DropdownItem-BV-BdThU.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-Z8ORnl4_.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-t0ZML3rG.js +64 -0
- package/.storybook-static/assets/HelloBar-YB27gvZE.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-D4kmUZop.js +342 -0
- package/.storybook-static/assets/Icon-BKxOWZPO.js +145 -0
- package/.storybook-static/assets/Icon.stories-BqE4TmG1.js +151 -0
- package/.storybook-static/assets/Icon.stories-Fv8jSyX3.js +791 -0
- package/.storybook-static/assets/Loader-DLZpiqG9.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CnS5MYDX.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-QdrZqhMQ.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CYO67z8l.js +71 -0
- package/.storybook-static/assets/Modal-CGwEIF5R.css +1 -0
- package/.storybook-static/assets/Modal-DWDuRSAE.js +1 -0
- package/.storybook-static/assets/Modal.stories-uhl_4yGf.js +345 -0
- package/.storybook-static/assets/Notice.stories-BP3l1NFU.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-BeUZfA-C.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-CVHxg1ka.js +130 -0
- package/.storybook-static/assets/Picture-CPyaAiI1.js +1 -0
- package/.storybook-static/assets/Picture.stories-BdQ6Koo2.js +119 -0
- package/.storybook-static/assets/Pill-CpGZCb39.js +1 -0
- package/.storybook-static/assets/Pill.stories-BVDivYOY.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-Dgp2DDmF.js +41 -0
- package/.storybook-static/assets/Price-BBo_v_DU.js +1 -0
- package/.storybook-static/assets/Price.stories-JstP9L09.js +358 -0
- package/.storybook-static/assets/PromoCard.stories-CWKGBEKG.js +299 -0
- package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-CYEZ4ls2.js +324 -0
- package/.storybook-static/assets/SearchBar.stories-CfVmuWji.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-EdNZQHYu.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-C7mOVElo.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DFwSK3G7.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Cx22LEIX.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-DFzBhj00.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DKGuPPpj.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-DNnX4xt_.js +36 -0
- package/.storybook-static/assets/SignIn-CE_SoJx-.css +1 -0
- package/.storybook-static/assets/SignIn-IL0CRcdp.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-CMJ5ugMO.js +141 -0
- package/.storybook-static/assets/SparkleIcon.stories-BZksmQE5.js +547 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-ChJp556v.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-wiuV4LXX.js +47 -0
- package/.storybook-static/assets/TextCopyField-Dzv5HIy6.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-CijK8qce.js +47 -0
- package/.storybook-static/assets/TextInput-BHzkiJOm.js +1 -0
- package/.storybook-static/assets/TextInput.stories-58ZMik7R.js +233 -0
- package/.storybook-static/assets/Textarea.stories-JRiJv3-v.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CTp5mIN9.js +161 -0
- package/.storybook-static/assets/Tooltip-BhRZYr7B.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-DEHShenH.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-nGy7BMKH.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Cdk8mmFd.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-BoFs5oM3.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BVr13-q9.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-BUMq40yJ.js +79 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal-BaDRNoWw.css +1 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-DsIAXVdb.js +211 -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-CVuRbXyi.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-BI9zXww7.js +1 -0
- package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +1 -0
- package/.storybook-static/assets/carousel-BelyIYOK.css +1 -0
- package/.storybook-static/assets/carousel.stories-IeFZNB6E.js +668 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-Dd7cBPzL.js +1126 -0
- package/.storybook-static/assets/index-Bz4la0P9.js +6 -0
- package/.storybook-static/assets/index-_aBqSnL8.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-OIiPHzXs.js +14 -0
- package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +1 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2508 -0
- package/.storybook-static/css/tailwind-brandPage.css +2188 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2508 -0
- package/.storybook-static/css/tailwind-designCom.css +2508 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2508 -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/dist/css/tailwind-brandCrowd.css +113 -7
- package/dist/css/tailwind-brandPage.css +109 -7
- package/dist/css/tailwind-crazyDomains.css +113 -7
- package/dist/css/tailwind-designCom.css +113 -7
- package/dist/css/tailwind-designCrowd.css +113 -7
- package/package.json +1 -1
- package/src/atoms/components/Price/Price.stories.js +42 -21
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +4 -5
- package/tailwind.config.js +1 -1
|
@@ -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
|
}
|
|
@@ -750,6 +756,9 @@ video {
|
|
|
750
756
|
.tw-mt-4 {
|
|
751
757
|
margin-top: 1rem;
|
|
752
758
|
}
|
|
759
|
+
.tw-mt-6 {
|
|
760
|
+
margin-top: 1.5rem;
|
|
761
|
+
}
|
|
753
762
|
.tw-mt-8 {
|
|
754
763
|
margin-top: 2rem;
|
|
755
764
|
}
|
|
@@ -759,6 +768,48 @@ video {
|
|
|
759
768
|
.tw-box-content {
|
|
760
769
|
box-sizing: content-box;
|
|
761
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
|
+
}
|
|
762
813
|
.tw-block {
|
|
763
814
|
display: block;
|
|
764
815
|
}
|
|
@@ -908,6 +959,9 @@ video {
|
|
|
908
959
|
.tw-max-w-2xl {
|
|
909
960
|
max-width: 42rem;
|
|
910
961
|
}
|
|
962
|
+
.tw-max-w-3xl {
|
|
963
|
+
max-width: 48rem;
|
|
964
|
+
}
|
|
911
965
|
.tw-max-w-full {
|
|
912
966
|
max-width: 100%;
|
|
913
967
|
}
|
|
@@ -923,6 +977,9 @@ video {
|
|
|
923
977
|
.tw-flex-none {
|
|
924
978
|
flex: none;
|
|
925
979
|
}
|
|
980
|
+
.tw-flex-shrink-0 {
|
|
981
|
+
flex-shrink: 0;
|
|
982
|
+
}
|
|
926
983
|
.tw-grow {
|
|
927
984
|
flex-grow: 1;
|
|
928
985
|
}
|
|
@@ -1138,6 +1195,9 @@ video {
|
|
|
1138
1195
|
text-overflow: ellipsis;
|
|
1139
1196
|
white-space: nowrap;
|
|
1140
1197
|
}
|
|
1198
|
+
.tw-text-ellipsis {
|
|
1199
|
+
text-overflow: ellipsis;
|
|
1200
|
+
}
|
|
1141
1201
|
.tw-whitespace-nowrap {
|
|
1142
1202
|
white-space: nowrap;
|
|
1143
1203
|
}
|
|
@@ -1246,10 +1306,6 @@ video {
|
|
|
1246
1306
|
--tw-border-opacity: 1;
|
|
1247
1307
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
1248
1308
|
}
|
|
1249
|
-
.tw-border-grayscale-100 {
|
|
1250
|
-
--tw-border-opacity: 1;
|
|
1251
|
-
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1252
|
-
}
|
|
1253
1309
|
.tw-border-grayscale-300 {
|
|
1254
1310
|
--tw-border-opacity: 1;
|
|
1255
1311
|
border-color: rgb(239 239 239 / var(--tw-border-opacity));
|
|
@@ -1266,6 +1322,10 @@ video {
|
|
|
1266
1322
|
--tw-border-opacity: 1;
|
|
1267
1323
|
border-color: rgb(125 130 132 / var(--tw-border-opacity));
|
|
1268
1324
|
}
|
|
1325
|
+
.tw-border-grayscale-700 {
|
|
1326
|
+
--tw-border-opacity: 1;
|
|
1327
|
+
border-color: rgb(82 93 96 / var(--tw-border-opacity));
|
|
1328
|
+
}
|
|
1269
1329
|
.tw-border-info-300 {
|
|
1270
1330
|
--tw-border-opacity: 1;
|
|
1271
1331
|
border-color: rgb(112 193 243 / var(--tw-border-opacity));
|
|
@@ -1738,9 +1798,6 @@ video {
|
|
|
1738
1798
|
.tw-pt-2 {
|
|
1739
1799
|
padding-top: 0.5rem;
|
|
1740
1800
|
}
|
|
1741
|
-
.tw-pt-4 {
|
|
1742
|
-
padding-top: 1rem;
|
|
1743
|
-
}
|
|
1744
1801
|
.tw-pt-6 {
|
|
1745
1802
|
padding-top: 1.5rem;
|
|
1746
1803
|
}
|
|
@@ -1763,6 +1820,10 @@ video {
|
|
|
1763
1820
|
font-size: 1.5rem;
|
|
1764
1821
|
line-height: 2rem;
|
|
1765
1822
|
}
|
|
1823
|
+
.tw-text-3xl {
|
|
1824
|
+
font-size: 1.875rem;
|
|
1825
|
+
line-height: 2.25rem;
|
|
1826
|
+
}
|
|
1766
1827
|
.tw-text-4xl {
|
|
1767
1828
|
font-size: 2.25rem;
|
|
1768
1829
|
line-height: 2.5rem;
|
|
@@ -2033,6 +2094,10 @@ video {
|
|
|
2033
2094
|
--tw-bg-opacity: 1;
|
|
2034
2095
|
background-color: rgb(230 230 230 / var(--tw-bg-opacity));
|
|
2035
2096
|
}
|
|
2097
|
+
.hover\:tw-bg-grayscale-500:hover {
|
|
2098
|
+
--tw-bg-opacity: 1;
|
|
2099
|
+
background-color: rgb(204 204 204 / var(--tw-bg-opacity));
|
|
2100
|
+
}
|
|
2036
2101
|
.hover\:tw-bg-info-100:hover {
|
|
2037
2102
|
--tw-bg-opacity: 1;
|
|
2038
2103
|
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
@@ -2089,6 +2154,10 @@ video {
|
|
|
2089
2154
|
--tw-text-opacity: 1;
|
|
2090
2155
|
color: rgb(39 52 56 / var(--tw-text-opacity));
|
|
2091
2156
|
}
|
|
2157
|
+
.hover\:tw-text-primary-600:hover {
|
|
2158
|
+
--tw-text-opacity: 1;
|
|
2159
|
+
color: rgb(14 121 188 / var(--tw-text-opacity));
|
|
2160
|
+
}
|
|
2092
2161
|
.hover\:tw-text-secondary-500:hover {
|
|
2093
2162
|
--tw-text-opacity: 1;
|
|
2094
2163
|
color: rgb(93 109 129 / var(--tw-text-opacity));
|
|
@@ -2176,6 +2245,10 @@ video {
|
|
|
2176
2245
|
margin-bottom: 1rem;
|
|
2177
2246
|
}
|
|
2178
2247
|
|
|
2248
|
+
.sm\:tw-ml-2 {
|
|
2249
|
+
margin-left: 0.5rem;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2179
2252
|
.sm\:tw-ml-4 {
|
|
2180
2253
|
margin-left: 1rem;
|
|
2181
2254
|
}
|
|
@@ -2224,6 +2297,10 @@ video {
|
|
|
2224
2297
|
flex-direction: row;
|
|
2225
2298
|
}
|
|
2226
2299
|
|
|
2300
|
+
.sm\:tw-items-center {
|
|
2301
|
+
align-items: center;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2227
2304
|
.sm\:tw-rounded-md {
|
|
2228
2305
|
border-radius: 0.375rem;
|
|
2229
2306
|
}
|
|
@@ -2235,10 +2312,18 @@ video {
|
|
|
2235
2312
|
}
|
|
2236
2313
|
@media (min-width: 768px) {
|
|
2237
2314
|
|
|
2315
|
+
.md\:tw-relative {
|
|
2316
|
+
position: relative;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2238
2319
|
.md\:tw-right-6 {
|
|
2239
2320
|
right: 1.5rem;
|
|
2240
2321
|
}
|
|
2241
2322
|
|
|
2323
|
+
.md\:tw-order-first {
|
|
2324
|
+
order: -9999;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2242
2327
|
.md\:tw-mb-0 {
|
|
2243
2328
|
margin-bottom: 0px;
|
|
2244
2329
|
}
|
|
@@ -2303,6 +2388,10 @@ video {
|
|
|
2303
2388
|
width: 6rem;
|
|
2304
2389
|
}
|
|
2305
2390
|
|
|
2391
|
+
.md\:tw-w-3\/4 {
|
|
2392
|
+
width: 75%;
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2306
2395
|
.md\:tw-w-auto {
|
|
2307
2396
|
width: auto;
|
|
2308
2397
|
}
|
|
@@ -2315,6 +2404,10 @@ video {
|
|
|
2315
2404
|
max-width: 100%;
|
|
2316
2405
|
}
|
|
2317
2406
|
|
|
2407
|
+
.md\:tw-flex-1 {
|
|
2408
|
+
flex: 1 1 0%;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2318
2411
|
.md\:tw-grow {
|
|
2319
2412
|
flex-grow: 1;
|
|
2320
2413
|
}
|
|
@@ -2374,6 +2467,10 @@ video {
|
|
|
2374
2467
|
object-fit: contain;
|
|
2375
2468
|
}
|
|
2376
2469
|
|
|
2470
|
+
.md\:tw-p-0 {
|
|
2471
|
+
padding: 0px;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2377
2474
|
.md\:tw-p-2 {
|
|
2378
2475
|
padding: 0.5rem;
|
|
2379
2476
|
}
|
|
@@ -2390,6 +2487,11 @@ video {
|
|
|
2390
2487
|
padding: 2rem;
|
|
2391
2488
|
}
|
|
2392
2489
|
|
|
2490
|
+
.md\:tw-px-12 {
|
|
2491
|
+
padding-left: 3rem;
|
|
2492
|
+
padding-right: 3rem;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2393
2495
|
.md\:tw-px-4 {
|
|
2394
2496
|
padding-left: 1rem;
|
|
2395
2497
|
padding-right: 1rem;
|
|
@@ -2405,6 +2507,10 @@ video {
|
|
|
2405
2507
|
padding-bottom: 0.5rem;
|
|
2406
2508
|
}
|
|
2407
2509
|
|
|
2510
|
+
.md\:tw-pb-0 {
|
|
2511
|
+
padding-bottom: 0px;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2408
2514
|
.md\:tw-pl-4 {
|
|
2409
2515
|
padding-left: 1rem;
|
|
2410
2516
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
|
|
2
3
|
import { currencies, locales } from './Price.fixtures';
|
|
3
|
-
import
|
|
4
|
-
import { defineComponent } from "vue";
|
|
5
|
-
|
|
6
|
-
await setSharedLibLocaleAsync();
|
|
4
|
+
import Price from './Price.vue';
|
|
7
5
|
|
|
8
6
|
// noinspection JSUnusedGlobalSymbols
|
|
9
7
|
export default {
|
|
@@ -11,7 +9,7 @@ export default {
|
|
|
11
9
|
component: Price,
|
|
12
10
|
args: {
|
|
13
11
|
currencyName: currencies[0].name,
|
|
14
|
-
locale: locales[0]
|
|
12
|
+
locale: locales[0],
|
|
15
13
|
},
|
|
16
14
|
argTypes: {
|
|
17
15
|
amount: {
|
|
@@ -44,6 +42,9 @@ export const Sample = {
|
|
|
44
42
|
return locales.find((x) => x === this.args.locale);
|
|
45
43
|
},
|
|
46
44
|
},
|
|
45
|
+
async mounted() {
|
|
46
|
+
await setSharedLibLocaleAsync();
|
|
47
|
+
},
|
|
47
48
|
template: `
|
|
48
49
|
<span>
|
|
49
50
|
<price
|
|
@@ -76,6 +77,9 @@ export const WithFraction = {
|
|
|
76
77
|
return locales.find((x) => x === this.args.locale);
|
|
77
78
|
},
|
|
78
79
|
},
|
|
80
|
+
async mounted() {
|
|
81
|
+
await setSharedLibLocaleAsync();
|
|
82
|
+
},
|
|
79
83
|
template: `
|
|
80
84
|
<span>
|
|
81
85
|
<price
|
|
@@ -109,6 +113,9 @@ export const AlwaysShowFractionOn = {
|
|
|
109
113
|
return locales.find((x) => x === this.args.locale);
|
|
110
114
|
},
|
|
111
115
|
},
|
|
116
|
+
async mounted() {
|
|
117
|
+
await setSharedLibLocaleAsync();
|
|
118
|
+
},
|
|
112
119
|
template: `
|
|
113
120
|
<span>
|
|
114
121
|
<price
|
|
@@ -140,6 +147,9 @@ export const AlwaysShowFractionOff = {
|
|
|
140
147
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
141
148
|
},
|
|
142
149
|
},
|
|
150
|
+
async mounted() {
|
|
151
|
+
await setSharedLibLocaleAsync();
|
|
152
|
+
},
|
|
143
153
|
template: `
|
|
144
154
|
<span>
|
|
145
155
|
<price
|
|
@@ -174,6 +184,9 @@ export const WithSuffix = {
|
|
|
174
184
|
return locales.find((x) => x === this.args.locale);
|
|
175
185
|
},
|
|
176
186
|
},
|
|
187
|
+
async mounted() {
|
|
188
|
+
await setSharedLibLocaleAsync();
|
|
189
|
+
},
|
|
177
190
|
template: `
|
|
178
191
|
<span>
|
|
179
192
|
<price
|
|
@@ -210,6 +223,9 @@ export const WithLocale = {
|
|
|
210
223
|
return locales.find((x) => x === this.args.locale);
|
|
211
224
|
},
|
|
212
225
|
},
|
|
226
|
+
async mounted() {
|
|
227
|
+
await setSharedLibLocaleAsync();
|
|
228
|
+
},
|
|
213
229
|
template: `
|
|
214
230
|
<span>
|
|
215
231
|
<price
|
|
@@ -235,12 +251,17 @@ export const AllLocalesAndCurrencies = (args, { argTypes }) => {
|
|
|
235
251
|
data() {
|
|
236
252
|
const combos = new Array(locales.length).fill(0);
|
|
237
253
|
combos.forEach((item, index) => {
|
|
238
|
-
combos[index] = new Array(currencies.length)
|
|
239
|
-
|
|
254
|
+
combos[index] = new Array(currencies.length)
|
|
255
|
+
.fill(0)
|
|
256
|
+
.map((item2, index2) => ({ locale: locales[index], currency: currencies[index2] }));
|
|
257
|
+
});
|
|
240
258
|
return {
|
|
241
259
|
variants: combos,
|
|
242
260
|
};
|
|
243
261
|
},
|
|
262
|
+
async mounted() {
|
|
263
|
+
await setSharedLibLocaleAsync();
|
|
264
|
+
},
|
|
244
265
|
template: `
|
|
245
266
|
<StorybookPriceComponent
|
|
246
267
|
:variants="variants"/>
|
|
@@ -253,20 +274,20 @@ export const AllLocalesAndCurrencies = (args, { argTypes }) => {
|
|
|
253
274
|
};
|
|
254
275
|
|
|
255
276
|
const StorybookPriceComponent = defineComponent({
|
|
256
|
-
|
|
257
|
-
|
|
277
|
+
components: {
|
|
278
|
+
Price,
|
|
279
|
+
},
|
|
280
|
+
props: {
|
|
281
|
+
variants: {
|
|
282
|
+
type: Array,
|
|
283
|
+
required: true,
|
|
258
284
|
},
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
required: true,
|
|
263
|
-
},
|
|
264
|
-
showAbbreviation: {
|
|
265
|
-
type: Boolean,
|
|
266
|
-
default: false,
|
|
267
|
-
},
|
|
285
|
+
showAbbreviation: {
|
|
286
|
+
type: Boolean,
|
|
287
|
+
default: false,
|
|
268
288
|
},
|
|
269
|
-
|
|
289
|
+
},
|
|
290
|
+
template: `
|
|
270
291
|
<table class="tw-w-full">
|
|
271
292
|
<thead>
|
|
272
293
|
<tr>
|
|
@@ -289,4 +310,4 @@ const StorybookPriceComponent = defineComponent({
|
|
|
289
310
|
</tbody>
|
|
290
311
|
</table>
|
|
291
312
|
`,
|
|
292
|
-
});
|
|
313
|
+
});
|
package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue
CHANGED
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
|
-
<div class="bottom-bar tw-mt-2
|
|
39
|
+
<div class="bottom-bar tw-mt-2">
|
|
40
40
|
<div
|
|
41
|
-
class="bottom-bar tw-mt-6 tw-
|
|
41
|
+
class="bottom-bar tw-mt-6 tw-bg-grayscale-200 tw-flex tw-flex-col md:tw-flex-row md:tw-items-center md:tw-gap-2"
|
|
42
42
|
>
|
|
43
43
|
<div class="button-size md:tw-flex-1">
|
|
44
44
|
<Button
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
</template>
|
|
70
70
|
<script setup lang="ts">
|
|
71
71
|
import { Ref, ref } from 'vue';
|
|
72
|
+
import Modal from '../../../atoms/components/Modal/Modal.vue';
|
|
72
73
|
import Button from '../../../atoms/components/Button/Button.vue';
|
|
73
74
|
import Icon from '../../../atoms/components/Icon/Icon.vue';
|
|
74
|
-
import Modal from '../../../atoms/components/Modal/Modal.vue';
|
|
75
75
|
import { websiteContextualUpgradeModalTr } from '../../../useSharedLibTranslate';
|
|
76
76
|
import { WEBSITE_UPGRADE_CONTEXT_TYPES, type WebsiteContextUpgradeType } from '../../models/websiteContextualModel';
|
|
77
77
|
|
|
@@ -190,8 +190,7 @@ const onUpgradeClick = () => {
|
|
|
190
190
|
</script>
|
|
191
191
|
<style scoped>
|
|
192
192
|
.bottom-bar {
|
|
193
|
-
@apply tw-absolute tw-p-4 tw-bottom-0 tw-left-0 tw-w-full tw-border-t md:tw-p-0 md:tw-relative md:tw-border-none;
|
|
194
|
-
@apply tw-absolute tw-p-4 tw-bottom-0 tw-left-0 tw-w-full tw-border-t tw-border-gray-300 md:tw-p-0 md:tw-relative md:tw-border-none;
|
|
193
|
+
@apply tw-absolute tw-p-4 tw-bottom-0 tw-left-0 tw-w-full tw-border-t tw-border-grayscale-300 md:tw-p-0 md:tw-relative md:tw-border-none;
|
|
195
194
|
}
|
|
196
195
|
.button-size {
|
|
197
196
|
@apply tw-w-full md:tw-max-w-40;
|
package/tailwind.config.js
CHANGED
|
@@ -16,7 +16,7 @@ const designSystemConfig = {
|
|
|
16
16
|
viewports,
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const theme = designSystemConfig.themes[process.env.tailwindTheme]; // use the environment theme from functions/tailwind.js
|
|
19
|
+
const theme = designSystemConfig.themes[process.env.tailwindTheme] || dcomTheme; // use the environment theme from functions/tailwind.js, default to designCom
|
|
20
20
|
module.exports = {
|
|
21
21
|
prefix: 'tw-',
|
|
22
22
|
content: ['./src/**/components/**/*.vue'],
|