@designcrowd/fe-shared-lib 1.0.12 → 1.0.13-ast-modal
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/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +0 -24
- package/public/css/tailwind-brandPage.css +0 -24
- package/public/css/tailwind-crazyDomains.css +0 -24
- package/public/css/tailwind-designCom.css +0 -24
- package/public/css/tailwind-designCrowd.css +0 -24
- package/src/atoms/components/Modal/Modal.vue +13 -1
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js +18 -0
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +5 -0
package/package.json
CHANGED
|
@@ -679,9 +679,6 @@ video {
|
|
|
679
679
|
.theme-brandCrowd .tw-mb-1 {
|
|
680
680
|
margin-bottom: 0.25rem;
|
|
681
681
|
}
|
|
682
|
-
.theme-brandCrowd .tw-mb-10 {
|
|
683
|
-
margin-bottom: 2.5rem;
|
|
684
|
-
}
|
|
685
682
|
.theme-brandCrowd .tw-mb-2 {
|
|
686
683
|
margin-bottom: 0.5rem;
|
|
687
684
|
}
|
|
@@ -838,9 +835,6 @@ video {
|
|
|
838
835
|
.theme-brandCrowd .tw-max-h-screen {
|
|
839
836
|
max-height: 100vh;
|
|
840
837
|
}
|
|
841
|
-
.theme-brandCrowd .tw-w-1\/3 {
|
|
842
|
-
width: 33.333333%;
|
|
843
|
-
}
|
|
844
838
|
.theme-brandCrowd .tw-w-10 {
|
|
845
839
|
width: 2.5rem;
|
|
846
840
|
}
|
|
@@ -1721,9 +1715,6 @@ video {
|
|
|
1721
1715
|
.theme-brandCrowd .tw-text-center {
|
|
1722
1716
|
text-align: center;
|
|
1723
1717
|
}
|
|
1724
|
-
.theme-brandCrowd .tw-align-top {
|
|
1725
|
-
vertical-align: top;
|
|
1726
|
-
}
|
|
1727
1718
|
.theme-brandCrowd .tw-align-middle {
|
|
1728
1719
|
vertical-align: middle;
|
|
1729
1720
|
}
|
|
@@ -2218,21 +2209,12 @@ video {
|
|
|
2218
2209
|
.theme-brandCrowd .md\:tw-w-10 {
|
|
2219
2210
|
width: 2.5rem;
|
|
2220
2211
|
}
|
|
2221
|
-
.theme-brandCrowd .md\:tw-w-24 {
|
|
2222
|
-
width: 6rem;
|
|
2223
|
-
}
|
|
2224
2212
|
.theme-brandCrowd .md\:tw-w-auto {
|
|
2225
2213
|
width: auto;
|
|
2226
2214
|
}
|
|
2227
2215
|
.theme-brandCrowd .md\:tw-w-full {
|
|
2228
2216
|
width: 100%;
|
|
2229
2217
|
}
|
|
2230
|
-
.theme-brandCrowd .md\:tw-max-w-full {
|
|
2231
|
-
max-width: 100%;
|
|
2232
|
-
}
|
|
2233
|
-
.theme-brandCrowd .md\:tw-grow {
|
|
2234
|
-
flex-grow: 1;
|
|
2235
|
-
}
|
|
2236
2218
|
.theme-brandCrowd .md\:tw-grid-cols-2 {
|
|
2237
2219
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2238
2220
|
}
|
|
@@ -2254,9 +2236,6 @@ video {
|
|
|
2254
2236
|
.theme-brandCrowd .md\:tw-justify-start {
|
|
2255
2237
|
justify-content: flex-start;
|
|
2256
2238
|
}
|
|
2257
|
-
.theme-brandCrowd .md\:tw-justify-end {
|
|
2258
|
-
justify-content: flex-end;
|
|
2259
|
-
}
|
|
2260
2239
|
.theme-brandCrowd .md\:tw-justify-center {
|
|
2261
2240
|
justify-content: center;
|
|
2262
2241
|
}
|
|
@@ -2299,9 +2278,6 @@ video {
|
|
|
2299
2278
|
padding-top: 0.5rem;
|
|
2300
2279
|
padding-bottom: 0.5rem;
|
|
2301
2280
|
}
|
|
2302
|
-
.theme-brandCrowd .md\:tw-pl-4 {
|
|
2303
|
-
padding-left: 1rem;
|
|
2304
|
-
}
|
|
2305
2281
|
.theme-brandCrowd .md\:tw-pr-2 {
|
|
2306
2282
|
padding-right: 0.5rem;
|
|
2307
2283
|
}
|
|
@@ -679,9 +679,6 @@ video {
|
|
|
679
679
|
.theme-brandPage .tw-mb-1 {
|
|
680
680
|
margin-bottom: 0.25rem;
|
|
681
681
|
}
|
|
682
|
-
.theme-brandPage .tw-mb-10 {
|
|
683
|
-
margin-bottom: 2.5rem;
|
|
684
|
-
}
|
|
685
682
|
.theme-brandPage .tw-mb-2 {
|
|
686
683
|
margin-bottom: 0.5rem;
|
|
687
684
|
}
|
|
@@ -838,9 +835,6 @@ video {
|
|
|
838
835
|
.theme-brandPage .tw-max-h-screen {
|
|
839
836
|
max-height: 100vh;
|
|
840
837
|
}
|
|
841
|
-
.theme-brandPage .tw-w-1\/3 {
|
|
842
|
-
width: 33.333333%;
|
|
843
|
-
}
|
|
844
838
|
.theme-brandPage .tw-w-10 {
|
|
845
839
|
width: 2.5rem;
|
|
846
840
|
}
|
|
@@ -1569,9 +1563,6 @@ video {
|
|
|
1569
1563
|
.theme-brandPage .tw-text-center {
|
|
1570
1564
|
text-align: center;
|
|
1571
1565
|
}
|
|
1572
|
-
.theme-brandPage .tw-align-top {
|
|
1573
|
-
vertical-align: top;
|
|
1574
|
-
}
|
|
1575
1566
|
.theme-brandPage .tw-align-middle {
|
|
1576
1567
|
vertical-align: middle;
|
|
1577
1568
|
}
|
|
@@ -1906,21 +1897,12 @@ video {
|
|
|
1906
1897
|
.theme-brandPage .md\:tw-w-10 {
|
|
1907
1898
|
width: 2.5rem;
|
|
1908
1899
|
}
|
|
1909
|
-
.theme-brandPage .md\:tw-w-24 {
|
|
1910
|
-
width: 6rem;
|
|
1911
|
-
}
|
|
1912
1900
|
.theme-brandPage .md\:tw-w-auto {
|
|
1913
1901
|
width: auto;
|
|
1914
1902
|
}
|
|
1915
1903
|
.theme-brandPage .md\:tw-w-full {
|
|
1916
1904
|
width: 100%;
|
|
1917
1905
|
}
|
|
1918
|
-
.theme-brandPage .md\:tw-max-w-full {
|
|
1919
|
-
max-width: 100%;
|
|
1920
|
-
}
|
|
1921
|
-
.theme-brandPage .md\:tw-grow {
|
|
1922
|
-
flex-grow: 1;
|
|
1923
|
-
}
|
|
1924
1906
|
.theme-brandPage .md\:tw-grid-cols-2 {
|
|
1925
1907
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1926
1908
|
}
|
|
@@ -1942,9 +1924,6 @@ video {
|
|
|
1942
1924
|
.theme-brandPage .md\:tw-justify-start {
|
|
1943
1925
|
justify-content: flex-start;
|
|
1944
1926
|
}
|
|
1945
|
-
.theme-brandPage .md\:tw-justify-end {
|
|
1946
|
-
justify-content: flex-end;
|
|
1947
|
-
}
|
|
1948
1927
|
.theme-brandPage .md\:tw-justify-center {
|
|
1949
1928
|
justify-content: center;
|
|
1950
1929
|
}
|
|
@@ -1987,9 +1966,6 @@ video {
|
|
|
1987
1966
|
padding-top: 0.5rem;
|
|
1988
1967
|
padding-bottom: 0.5rem;
|
|
1989
1968
|
}
|
|
1990
|
-
.theme-brandPage .md\:tw-pl-4 {
|
|
1991
|
-
padding-left: 1rem;
|
|
1992
|
-
}
|
|
1993
1969
|
.theme-brandPage .md\:tw-pr-2 {
|
|
1994
1970
|
padding-right: 0.5rem;
|
|
1995
1971
|
}
|
|
@@ -679,9 +679,6 @@ video {
|
|
|
679
679
|
.theme-crazyDomains .tw-mb-1 {
|
|
680
680
|
margin-bottom: 0.25rem;
|
|
681
681
|
}
|
|
682
|
-
.theme-crazyDomains .tw-mb-10 {
|
|
683
|
-
margin-bottom: 2.5rem;
|
|
684
|
-
}
|
|
685
682
|
.theme-crazyDomains .tw-mb-2 {
|
|
686
683
|
margin-bottom: 0.5rem;
|
|
687
684
|
}
|
|
@@ -838,9 +835,6 @@ video {
|
|
|
838
835
|
.theme-crazyDomains .tw-max-h-screen {
|
|
839
836
|
max-height: 100vh;
|
|
840
837
|
}
|
|
841
|
-
.theme-crazyDomains .tw-w-1\/3 {
|
|
842
|
-
width: 33.333333%;
|
|
843
|
-
}
|
|
844
838
|
.theme-crazyDomains .tw-w-10 {
|
|
845
839
|
width: 2.5rem;
|
|
846
840
|
}
|
|
@@ -1721,9 +1715,6 @@ video {
|
|
|
1721
1715
|
.theme-crazyDomains .tw-text-center {
|
|
1722
1716
|
text-align: center;
|
|
1723
1717
|
}
|
|
1724
|
-
.theme-crazyDomains .tw-align-top {
|
|
1725
|
-
vertical-align: top;
|
|
1726
|
-
}
|
|
1727
1718
|
.theme-crazyDomains .tw-align-middle {
|
|
1728
1719
|
vertical-align: middle;
|
|
1729
1720
|
}
|
|
@@ -2218,21 +2209,12 @@ video {
|
|
|
2218
2209
|
.theme-crazyDomains .md\:tw-w-10 {
|
|
2219
2210
|
width: 2.5rem;
|
|
2220
2211
|
}
|
|
2221
|
-
.theme-crazyDomains .md\:tw-w-24 {
|
|
2222
|
-
width: 6rem;
|
|
2223
|
-
}
|
|
2224
2212
|
.theme-crazyDomains .md\:tw-w-auto {
|
|
2225
2213
|
width: auto;
|
|
2226
2214
|
}
|
|
2227
2215
|
.theme-crazyDomains .md\:tw-w-full {
|
|
2228
2216
|
width: 100%;
|
|
2229
2217
|
}
|
|
2230
|
-
.theme-crazyDomains .md\:tw-max-w-full {
|
|
2231
|
-
max-width: 100%;
|
|
2232
|
-
}
|
|
2233
|
-
.theme-crazyDomains .md\:tw-grow {
|
|
2234
|
-
flex-grow: 1;
|
|
2235
|
-
}
|
|
2236
2218
|
.theme-crazyDomains .md\:tw-grid-cols-2 {
|
|
2237
2219
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2238
2220
|
}
|
|
@@ -2254,9 +2236,6 @@ video {
|
|
|
2254
2236
|
.theme-crazyDomains .md\:tw-justify-start {
|
|
2255
2237
|
justify-content: flex-start;
|
|
2256
2238
|
}
|
|
2257
|
-
.theme-crazyDomains .md\:tw-justify-end {
|
|
2258
|
-
justify-content: flex-end;
|
|
2259
|
-
}
|
|
2260
2239
|
.theme-crazyDomains .md\:tw-justify-center {
|
|
2261
2240
|
justify-content: center;
|
|
2262
2241
|
}
|
|
@@ -2299,9 +2278,6 @@ video {
|
|
|
2299
2278
|
padding-top: 0.5rem;
|
|
2300
2279
|
padding-bottom: 0.5rem;
|
|
2301
2280
|
}
|
|
2302
|
-
.theme-crazyDomains .md\:tw-pl-4 {
|
|
2303
|
-
padding-left: 1rem;
|
|
2304
|
-
}
|
|
2305
2281
|
.theme-crazyDomains .md\:tw-pr-2 {
|
|
2306
2282
|
padding-right: 0.5rem;
|
|
2307
2283
|
}
|
|
@@ -679,9 +679,6 @@ video {
|
|
|
679
679
|
.theme-designCom .tw-mb-1 {
|
|
680
680
|
margin-bottom: 0.25rem;
|
|
681
681
|
}
|
|
682
|
-
.theme-designCom .tw-mb-10 {
|
|
683
|
-
margin-bottom: 2.5rem;
|
|
684
|
-
}
|
|
685
682
|
.theme-designCom .tw-mb-2 {
|
|
686
683
|
margin-bottom: 0.5rem;
|
|
687
684
|
}
|
|
@@ -838,9 +835,6 @@ video {
|
|
|
838
835
|
.theme-designCom .tw-max-h-screen {
|
|
839
836
|
max-height: 100vh;
|
|
840
837
|
}
|
|
841
|
-
.theme-designCom .tw-w-1\/3 {
|
|
842
|
-
width: 33.333333%;
|
|
843
|
-
}
|
|
844
838
|
.theme-designCom .tw-w-10 {
|
|
845
839
|
width: 2.5rem;
|
|
846
840
|
}
|
|
@@ -1721,9 +1715,6 @@ video {
|
|
|
1721
1715
|
.theme-designCom .tw-text-center {
|
|
1722
1716
|
text-align: center;
|
|
1723
1717
|
}
|
|
1724
|
-
.theme-designCom .tw-align-top {
|
|
1725
|
-
vertical-align: top;
|
|
1726
|
-
}
|
|
1727
1718
|
.theme-designCom .tw-align-middle {
|
|
1728
1719
|
vertical-align: middle;
|
|
1729
1720
|
}
|
|
@@ -2218,21 +2209,12 @@ video {
|
|
|
2218
2209
|
.theme-designCom .md\:tw-w-10 {
|
|
2219
2210
|
width: 2.5rem;
|
|
2220
2211
|
}
|
|
2221
|
-
.theme-designCom .md\:tw-w-24 {
|
|
2222
|
-
width: 6rem;
|
|
2223
|
-
}
|
|
2224
2212
|
.theme-designCom .md\:tw-w-auto {
|
|
2225
2213
|
width: auto;
|
|
2226
2214
|
}
|
|
2227
2215
|
.theme-designCom .md\:tw-w-full {
|
|
2228
2216
|
width: 100%;
|
|
2229
2217
|
}
|
|
2230
|
-
.theme-designCom .md\:tw-max-w-full {
|
|
2231
|
-
max-width: 100%;
|
|
2232
|
-
}
|
|
2233
|
-
.theme-designCom .md\:tw-grow {
|
|
2234
|
-
flex-grow: 1;
|
|
2235
|
-
}
|
|
2236
2218
|
.theme-designCom .md\:tw-grid-cols-2 {
|
|
2237
2219
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2238
2220
|
}
|
|
@@ -2254,9 +2236,6 @@ video {
|
|
|
2254
2236
|
.theme-designCom .md\:tw-justify-start {
|
|
2255
2237
|
justify-content: flex-start;
|
|
2256
2238
|
}
|
|
2257
|
-
.theme-designCom .md\:tw-justify-end {
|
|
2258
|
-
justify-content: flex-end;
|
|
2259
|
-
}
|
|
2260
2239
|
.theme-designCom .md\:tw-justify-center {
|
|
2261
2240
|
justify-content: center;
|
|
2262
2241
|
}
|
|
@@ -2299,9 +2278,6 @@ video {
|
|
|
2299
2278
|
padding-top: 0.5rem;
|
|
2300
2279
|
padding-bottom: 0.5rem;
|
|
2301
2280
|
}
|
|
2302
|
-
.theme-designCom .md\:tw-pl-4 {
|
|
2303
|
-
padding-left: 1rem;
|
|
2304
|
-
}
|
|
2305
2281
|
.theme-designCom .md\:tw-pr-2 {
|
|
2306
2282
|
padding-right: 0.5rem;
|
|
2307
2283
|
}
|
|
@@ -679,9 +679,6 @@ video {
|
|
|
679
679
|
.theme-designCrowd .tw-mb-1 {
|
|
680
680
|
margin-bottom: 0.25rem;
|
|
681
681
|
}
|
|
682
|
-
.theme-designCrowd .tw-mb-10 {
|
|
683
|
-
margin-bottom: 2.5rem;
|
|
684
|
-
}
|
|
685
682
|
.theme-designCrowd .tw-mb-2 {
|
|
686
683
|
margin-bottom: 0.5rem;
|
|
687
684
|
}
|
|
@@ -838,9 +835,6 @@ video {
|
|
|
838
835
|
.theme-designCrowd .tw-max-h-screen {
|
|
839
836
|
max-height: 100vh;
|
|
840
837
|
}
|
|
841
|
-
.theme-designCrowd .tw-w-1\/3 {
|
|
842
|
-
width: 33.333333%;
|
|
843
|
-
}
|
|
844
838
|
.theme-designCrowd .tw-w-10 {
|
|
845
839
|
width: 2.5rem;
|
|
846
840
|
}
|
|
@@ -1721,9 +1715,6 @@ video {
|
|
|
1721
1715
|
.theme-designCrowd .tw-text-center {
|
|
1722
1716
|
text-align: center;
|
|
1723
1717
|
}
|
|
1724
|
-
.theme-designCrowd .tw-align-top {
|
|
1725
|
-
vertical-align: top;
|
|
1726
|
-
}
|
|
1727
1718
|
.theme-designCrowd .tw-align-middle {
|
|
1728
1719
|
vertical-align: middle;
|
|
1729
1720
|
}
|
|
@@ -2218,21 +2209,12 @@ video {
|
|
|
2218
2209
|
.theme-designCrowd .md\:tw-w-10 {
|
|
2219
2210
|
width: 2.5rem;
|
|
2220
2211
|
}
|
|
2221
|
-
.theme-designCrowd .md\:tw-w-24 {
|
|
2222
|
-
width: 6rem;
|
|
2223
|
-
}
|
|
2224
2212
|
.theme-designCrowd .md\:tw-w-auto {
|
|
2225
2213
|
width: auto;
|
|
2226
2214
|
}
|
|
2227
2215
|
.theme-designCrowd .md\:tw-w-full {
|
|
2228
2216
|
width: 100%;
|
|
2229
2217
|
}
|
|
2230
|
-
.theme-designCrowd .md\:tw-max-w-full {
|
|
2231
|
-
max-width: 100%;
|
|
2232
|
-
}
|
|
2233
|
-
.theme-designCrowd .md\:tw-grow {
|
|
2234
|
-
flex-grow: 1;
|
|
2235
|
-
}
|
|
2236
2218
|
.theme-designCrowd .md\:tw-grid-cols-2 {
|
|
2237
2219
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2238
2220
|
}
|
|
@@ -2254,9 +2236,6 @@ video {
|
|
|
2254
2236
|
.theme-designCrowd .md\:tw-justify-start {
|
|
2255
2237
|
justify-content: flex-start;
|
|
2256
2238
|
}
|
|
2257
|
-
.theme-designCrowd .md\:tw-justify-end {
|
|
2258
|
-
justify-content: flex-end;
|
|
2259
|
-
}
|
|
2260
2239
|
.theme-designCrowd .md\:tw-justify-center {
|
|
2261
2240
|
justify-content: center;
|
|
2262
2241
|
}
|
|
@@ -2299,9 +2278,6 @@ video {
|
|
|
2299
2278
|
padding-top: 0.5rem;
|
|
2300
2279
|
padding-bottom: 0.5rem;
|
|
2301
2280
|
}
|
|
2302
|
-
.theme-designCrowd .md\:tw-pl-4 {
|
|
2303
|
-
padding-left: 1rem;
|
|
2304
|
-
}
|
|
2305
2281
|
.theme-designCrowd .md\:tw-pr-2 {
|
|
2306
2282
|
padding-right: 0.5rem;
|
|
2307
2283
|
}
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
<div
|
|
3
3
|
v-show="visible"
|
|
4
4
|
:aria-hidden="visible ? 'false' : 'true'"
|
|
5
|
-
class="tw-bg-black tw-
|
|
5
|
+
class="tw-bg-black tw-flex tw-items-center tw-justify-center tw-fixed tw-w-full tw-h-full tw-top-0 tw-left-0 tw-z-50"
|
|
6
6
|
:class="{
|
|
7
7
|
'tw-px-4': fullScreenBreakpoint === undefined && !isImageMode,
|
|
8
8
|
'sm:tw-px-4': fullScreenBreakpoint === 'sm' && !isImageMode,
|
|
9
|
+
'tw-bg-opacity-75': !darkOverlay,
|
|
9
10
|
}"
|
|
10
11
|
@mousedown.self="close"
|
|
11
12
|
>
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
'tw-rounded-md': fullScreenBreakpoint !== 'sm',
|
|
24
25
|
'modal-bg': !simple && !isImageMode && showModalBackgroundImage,
|
|
25
26
|
'modal-image': isImageMode,
|
|
27
|
+
'tw-bg-transparent': transparentModal,
|
|
26
28
|
},
|
|
27
29
|
classes,
|
|
28
30
|
]"
|
|
@@ -144,6 +146,16 @@ export default {
|
|
|
144
146
|
required: false,
|
|
145
147
|
default: false,
|
|
146
148
|
},
|
|
149
|
+
darkOverlay: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
required: false,
|
|
152
|
+
default: false,
|
|
153
|
+
},
|
|
154
|
+
transparentModal: {
|
|
155
|
+
type: Boolean,
|
|
156
|
+
required: false,
|
|
157
|
+
default: false,
|
|
158
|
+
},
|
|
147
159
|
},
|
|
148
160
|
computed: {
|
|
149
161
|
isImageMode() {
|
|
@@ -38,3 +38,21 @@ export const SampleExternallyInvoked = () => {
|
|
|
38
38
|
`,
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
|
|
42
|
+
export const SampleSearchbar = () => {
|
|
43
|
+
window.addEventListener(Events.BeginUploadLogoExperience, (e) => {
|
|
44
|
+
console.log('BEGIN_UPLOAD_LOGO_EXPERIENCE', e);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
return {
|
|
48
|
+
components: {
|
|
49
|
+
UploadYourLogoDropzone,
|
|
50
|
+
},
|
|
51
|
+
template: `
|
|
52
|
+
<div>
|
|
53
|
+
<UploadYourLogoDropzone
|
|
54
|
+
:small-layout="true" :use-landscape-tile="true" :should-show-description-on-mobile-only="true" />
|
|
55
|
+
</div>
|
|
56
|
+
`,
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
:class="{
|
|
60
60
|
'tw-mb-0': !isDesignCom,
|
|
61
61
|
'tw-mb-3': isDesignCom,
|
|
62
|
+
'md:tw-hidden': shouldShowDescriptionOnMobileOnly
|
|
62
63
|
}"
|
|
63
64
|
>
|
|
64
65
|
Drop your file here or
|
|
@@ -125,6 +126,10 @@ export default {
|
|
|
125
126
|
required: false,
|
|
126
127
|
default: false,
|
|
127
128
|
},
|
|
129
|
+
shouldShowDescriptionOnMobileOnly: {
|
|
130
|
+
type: Boolean,
|
|
131
|
+
default: false,
|
|
132
|
+
},
|
|
128
133
|
isDesignCom: {
|
|
129
134
|
type: Boolean,
|
|
130
135
|
required: false,
|