@designcrowd/fe-shared-lib 1.0.12 → 1.0.13

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -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,