@plasmicpkgs/react-twitter-widgets 0.0.233 → 0.0.234

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/Twitter.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { ComponentMeta } from "@plasmicapp/host";
2
- import registerComponent from "@plasmicapp/host/registerComponent";
1
+ import registerComponent, { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
3
2
  import React, { ComponentProps } from "react";
4
3
  export declare function TimelineWrapper({ className, url, tweetLimit, chrome, theme, }: {
5
4
  className?: string;
@@ -8,25 +7,25 @@ export declare function TimelineWrapper({ className, url, tweetLimit, chrome, th
8
7
  chrome?: string;
9
8
  theme?: string;
10
9
  }): React.JSX.Element;
11
- export declare const timelineWrapper: ComponentMeta<ComponentProps<typeof TimelineWrapper>>;
10
+ export declare const timelineWrapper: CodeComponentMeta<ComponentProps<typeof TimelineWrapper>>;
12
11
  export declare function registerTimelineWrapper(loader?: {
13
12
  registerComponent: typeof registerComponent;
14
- }, customTimelineWrapper?: ComponentMeta<ComponentProps<typeof TimelineWrapper>>): void;
13
+ }, customTimelineWrapper?: CodeComponentMeta<ComponentProps<typeof TimelineWrapper>>): void;
15
14
  export declare function TweetWrapper({ className, tweetId, theme, }: {
16
15
  className?: string;
17
16
  tweetId?: string;
18
17
  theme?: string;
19
18
  }): React.JSX.Element;
20
- export declare const tweetWrapper: ComponentMeta<ComponentProps<typeof TweetWrapper>>;
19
+ export declare const tweetWrapper: CodeComponentMeta<ComponentProps<typeof TweetWrapper>>;
21
20
  export declare function registerTweetWrapper(loader?: {
22
21
  registerComponent: typeof registerComponent;
23
- }, customTweetWrapper?: ComponentMeta<ComponentProps<typeof TweetWrapper>>): void;
22
+ }, customTweetWrapper?: CodeComponentMeta<ComponentProps<typeof TweetWrapper>>): void;
24
23
  export declare function FollowWrapper({ className, username, large, }: {
25
24
  className?: string;
26
25
  username?: string;
27
26
  large?: boolean;
28
27
  }): React.JSX.Element;
29
- export declare const followWrapper: ComponentMeta<ComponentProps<typeof FollowWrapper>>;
28
+ export declare const followWrapper: CodeComponentMeta<ComponentProps<typeof FollowWrapper>>;
30
29
  export declare function registerFollowWrapper(loader?: {
31
30
  registerComponent: typeof registerComponent;
32
- }, customFollowWrapper?: ComponentMeta<ComponentProps<typeof FollowWrapper>>): void;
31
+ }, customFollowWrapper?: CodeComponentMeta<ComponentProps<typeof FollowWrapper>>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"react-twitter-widgets.cjs.development.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\nimport registerComponent from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: ComponentMeta<ComponentProps<\n typeof TimelineWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: ComponentMeta<ComponentProps<typeof TimelineWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: ComponentMeta<ComponentProps<\n typeof TweetWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: ComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: ComponentMeta<ComponentProps<\n typeof FollowWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: ComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","registerTimelineWrapper","loader","customTimelineWrapper","registerComponent","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","registerTweetWrapper","customTweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","registerFollowWrapper","customFollowWrapper"],"mappings":";;;;;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;SAEgBA,eAAeA,CAAAC,IAAA;MAC7BC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IACVC,MAA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CAACC,YAAY,EAAEM,kBAAkB,WAAlBA,kBAAkB,GAAIF,YAAY,CAAC;;AAEvE;SAEgBG,aAAaA,CAAAC,KAAA;MAC3BxC,SAAS,GAAAwC,KAAA,CAATxC,SAAS;IACTyC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IACRC,KAAK,GAAAF,KAAA,CAALE,KAAK;EAML,IAAI,CAACD,QAAQ,EAAE;IACb,MAAM,IAAIpC,KAAK,CAAC,sCAAsC,CAAC;;EAEzD,OACEC;IAAKN,SAAS,EAAEA;KACdM,oBAACqC,0BAAM;IACLF,QAAQ,EAAEA,QAAQ;IAClB/B,OAAO,EAAE;MAAEkC,IAAI,EAAEF,KAAK,GAAG,OAAO,GAAGG;;IACnC,CACE;AAEV;IAEaC,aAAa,GAErB;EACHlC,IAAI,EAAE,uCAAuC;EAC7CC,WAAW,EAAE,QAAQ;EACrBC,UAAU,EAAE,eAAe;EAC3BC,UAAU,EAAE,oCAAoC;EAChDC,KAAK,EAAE;IACLyB,QAAQ,EAAE;MACRxB,IAAI,EAAE,QAAQ;MACdC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE;KACf;IACDuB,KAAK,EAAE;MACLzB,IAAI,EAAE,SAAS;MACfC,WAAW,EAAE;;;;SAKH6B,qBAAqBA,CACnClB,MAAwD,EACxDmB,mBAAyE;EAEzE,IAAInB,MAAM,EAAE;IACVA,MAAM,CAACE,iBAAiB,CACtBQ,aAAa,EACbS,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CACrC;GACF,MAAM;IACLf,iBAAiB,CAACQ,aAAa,EAAES,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CAAC;;AAE1E;;;;;;;;;;;;"}
1
+ {"version":3,"file":"react-twitter-widgets.cjs.development.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n >\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: CodeComponentMeta<\n ComponentProps<typeof TweetWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: CodeComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: CodeComponentMeta<\n ComponentProps<typeof FollowWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: CodeComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","registerTimelineWrapper","loader","customTimelineWrapper","registerComponent","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","registerTweetWrapper","customTweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","registerFollowWrapper","customFollowWrapper"],"mappings":";;;;;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;SAEgBA,eAAeA,CAAAC,IAAA;MAC7BC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IACVC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IACNC,KAAK,GAAAL,IAAA,CAALK,KAAK;EAQL,IAAI,CAACH,GAAG,EAAE;IACR,MAAM,IAAII,KAAK,CAAC,mCAAmC,CAAC;;EAEtD,OACEC;IAAKN,SAAS,EAAEA;KACdM,oBAACC,4BAAQ;IACPC,UAAU,EAAE;MAAEC,UAAU,EAAE,KAAK;MAAER,GAAG,EAAHA;KAAK;IACtCS,OAAO,EAAE;MACPR,UAAU,EAAEA,UAAU;MACtBC,MAAM,EAAEA,MAAM;MACdC,KAAK,EAAEA;;IAET,CACE;AAEV;IAEaO,eAAe,GAExB;EACFC,IAAI,EAAE,yCAAyC;EAC/CC,WAAW,EAAE,UAAU;EACvBC,UAAU,EAAE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IAEaC,aAAa,GAEtB;EACFlC,IAAI,EAAE,uCAAuC;EAC7CC,WAAW,EAAE,QAAQ;EACrBC,UAAU,EAAE,eAAe;EAC3BC,UAAU,EAAE,oCAAoC;EAChDC,KAAK,EAAE;IACLyB,QAAQ,EAAE;MACRxB,IAAI,EAAE,QAAQ;MACdC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE;KACf;IACDuB,KAAK,EAAE;MACLzB,IAAI,EAAE,SAAS;MACfC,WAAW,EAAE;;;;SAKH6B,qBAAqBA,CACnClB,MAAwD,EACxDmB,mBAA6E;EAE7E,IAAInB,MAAM,EAAE;IACVA,MAAM,CAACE,iBAAiB,CACtBQ,aAAa,EACbS,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CACrC;GACF,MAAM;IACLf,iBAAiB,CAACQ,aAAa,EAAES,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CAAC;;AAE1E;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-twitter-widgets.cjs.production.min.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\nimport registerComponent from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: ComponentMeta<ComponentProps<\n typeof TimelineWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: ComponentMeta<ComponentProps<typeof TimelineWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: ComponentMeta<ComponentProps<\n typeof TweetWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: ComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: ComponentMeta<ComponentProps<\n typeof FollowWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: ComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","loader","customFollowWrapper","registerComponent","customTimelineWrapper","customTweetWrapper"],"mappings":"mQAagBA,EAAeC,OAC7BC,EAASD,EAATC,UACAC,EAAGF,EAAHE,IACAC,EAAUH,EAAVG,WACAC,EAAMJ,EAANI,OACAC,EAAKL,EAALK,MAQA,IAAKH,EACH,MAAM,IAAII,MAAM,qCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAACC,YACCC,WAAY,CAAEC,WAAY,MAAOR,IAAAA,GACjCS,QAAS,CACPR,WAAYA,EACZC,OAAQA,EACRC,MAAOA,UAOJO,EAER,CACHC,KAAM,0CACNC,YAAa,WACbC,WAAY,kBACZC,WAAY,qCACZC,MAAO,CACLf,IAAK,CACHgB,KAAM,SACNC,YAAa,gCACbC,aAAc,kCAEhBjB,WAAY,CACVe,KAAM,SACNC,YAAa,qDACbE,IAAK,EACLC,IAAK,IAEPlB,OAAQ,CACNc,KAAM,SACNC,YAAa,sDACbI,aAAa,EACbZ,QAAS,CACP,WACA,WACA,YACA,cACA,gBAGJN,MAAO,CACLa,KAAM,SACNC,YAAa,kCACbR,QAAS,CAAC,OAAQ,SAClBa,iBAAkB,UAGtBC,cAAe,CACbC,QAAS,OACTC,cAAe,SACfC,UAAW,kBAqBCC,EAAYC,OAC1B7B,EAAS6B,EAAT7B,UACA8B,EAAOD,EAAPC,QACA1B,EAAKyB,EAALzB,MAMA,IAAK0B,EACH,MAAM,IAAIzB,MAAM,sCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAACyB,SAAMD,QAASA,EAASpB,QAAS,CAAEN,MAAOA,UAKpC4B,EAER,CACHpB,KAAM,uCACNC,YAAa,QACbC,WAAY,eACZC,WAAY,qCACZC,MAAO,CACLc,QAAS,CACPb,KAAM,SACNC,YAAa,eACbC,aAAc,uBAEhBf,MAAO,CACLa,KAAM,SACNC,YAAa,kCACbR,QAAS,CAAC,OAAQ,SAClBa,iBAAkB,UAGtBC,cAAe,CACbC,QAAS,OACTC,cAAe,SACfC,UAAW,kBAeCM,EAAaC,OAC3BlC,EAASkC,EAATlC,UACAmC,EAAQD,EAARC,SACAC,EAAKF,EAALE,MAMA,IAAKD,EACH,MAAM,IAAI9B,MAAM,wCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAAC+B,UACCF,SAAUA,EACVzB,QAAS,CAAE4B,KAAMF,EAAQ,aAAUG,UAM9BC,EAER,CACH5B,KAAM,wCACNC,YAAa,SACbC,WAAY,gBACZC,WAAY,qCACZC,MAAO,CACLmB,SAAU,CACRlB,KAAM,SACNC,YAAa,6BACbC,aAAc,cAEhBiB,MAAO,CACLnB,KAAM,UACNC,YAAa,oKAMjBuB,EACAC,GAEID,EACFA,EAAOE,kBACLV,QACAS,EAAAA,EAAuBF,GAGzBG,EAAkBV,QAAeS,EAAAA,EAAuBF,6CA7H1DC,EACAG,GAEIH,EACFA,EAAOE,kBACL7C,QACA8C,EAAAA,EAAyBjC,GAG3BgC,EACE7C,QACA8C,EAAAA,EAAyBjC,0CAoD7B8B,EACAI,GAEIJ,EACFA,EAAOE,kBAAkBf,QAAciB,EAAAA,EAAsBb,GAE7DW,EAAkBf,QAAciB,EAAAA,EAAsBb"}
1
+ {"version":3,"file":"react-twitter-widgets.cjs.production.min.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n >\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: CodeComponentMeta<\n ComponentProps<typeof TweetWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: CodeComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: CodeComponentMeta<\n ComponentProps<typeof FollowWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: CodeComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","loader","customFollowWrapper","registerComponent","customTimelineWrapper","customTweetWrapper"],"mappings":"mQAcgBA,EAAeC,OAC7BC,EAASD,EAATC,UACAC,EAAGF,EAAHE,IACAC,EAAUH,EAAVG,WACAC,EAAMJ,EAANI,OACAC,EAAKL,EAALK,MAQA,IAAKH,EACH,MAAM,IAAII,MAAM,qCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAACC,YACCC,WAAY,CAAEC,WAAY,MAAOR,IAAAA,GACjCS,QAAS,CACPR,WAAYA,EACZC,OAAQA,EACRC,MAAOA,UAOJO,EAET,CACFC,KAAM,0CACNC,YAAa,WACbC,WAAY,kBACZC,WAAY,qCACZC,MAAO,CACLf,IAAK,CACHgB,KAAM,SACNC,YAAa,gCACbC,aAAc,kCAEhBjB,WAAY,CACVe,KAAM,SACNC,YAAa,qDACbE,IAAK,EACLC,IAAK,IAEPlB,OAAQ,CACNc,KAAM,SACNC,YAAa,sDACbI,aAAa,EACbZ,QAAS,CACP,WACA,WACA,YACA,cACA,gBAGJN,MAAO,CACLa,KAAM,SACNC,YAAa,kCACbR,QAAS,CAAC,OAAQ,SAClBa,iBAAkB,UAGtBC,cAAe,CACbC,QAAS,OACTC,cAAe,SACfC,UAAW,kBAuBCC,EAAYC,OAC1B7B,EAAS6B,EAAT7B,UACA8B,EAAOD,EAAPC,QACA1B,EAAKyB,EAALzB,MAMA,IAAK0B,EACH,MAAM,IAAIzB,MAAM,sCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAACyB,SAAMD,QAASA,EAASpB,QAAS,CAAEN,MAAOA,UAKpC4B,EAET,CACFpB,KAAM,uCACNC,YAAa,QACbC,WAAY,eACZC,WAAY,qCACZC,MAAO,CACLc,QAAS,CACPb,KAAM,SACNC,YAAa,eACbC,aAAc,uBAEhBf,MAAO,CACLa,KAAM,SACNC,YAAa,kCACbR,QAAS,CAAC,OAAQ,SAClBa,iBAAkB,UAGtBC,cAAe,CACbC,QAAS,OACTC,cAAe,SACfC,UAAW,kBAeCM,EAAaC,OAC3BlC,EAASkC,EAATlC,UACAmC,EAAQD,EAARC,SACAC,EAAKF,EAALE,MAMA,IAAKD,EACH,MAAM,IAAI9B,MAAM,wCAElB,OACEC,uBAAKN,UAAWA,GACdM,gBAAC+B,UACCF,SAAUA,EACVzB,QAAS,CAAE4B,KAAMF,EAAQ,aAAUG,UAM9BC,EAET,CACF5B,KAAM,wCACNC,YAAa,SACbC,WAAY,gBACZC,WAAY,qCACZC,MAAO,CACLmB,SAAU,CACRlB,KAAM,SACNC,YAAa,6BACbC,aAAc,cAEhBiB,MAAO,CACLnB,KAAM,UACNC,YAAa,oKAMjBuB,EACAC,GAEID,EACFA,EAAOE,kBACLV,QACAS,EAAAA,EAAuBF,GAGzBG,EAAkBV,QAAeS,EAAAA,EAAuBF,6CA/H1DC,EACAG,GAIIH,EACFA,EAAOE,kBACL7C,QACA8C,EAAAA,EAAyBjC,GAG3BgC,EACE7C,QACA8C,EAAAA,EAAyBjC,0CAoD7B8B,EACAI,GAEIJ,EACFA,EAAOE,kBAAkBf,QAAciB,EAAAA,EAAsBb,GAE7DW,EAAkBf,QAAciB,EAAAA,EAAsBb"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-twitter-widgets.esm.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\nimport registerComponent from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: ComponentMeta<ComponentProps<\n typeof TimelineWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: ComponentMeta<ComponentProps<typeof TimelineWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: ComponentMeta<ComponentProps<\n typeof TweetWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: ComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: ComponentMeta<ComponentProps<\n typeof FollowWrapper\n>> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: ComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","registerTimelineWrapper","loader","customTimelineWrapper","registerComponent","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","registerTweetWrapper","customTweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","registerFollowWrapper","customFollowWrapper"],"mappings":";;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;SAEgBA,eAAeA,CAAAC,IAAA;MAC7BC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IACHC,UAAU,GAAAH,IAAA,CAAVG,UAAU;IACVC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IACNC,KAAK,GAAAL,IAAA,CAALK,KAAK;EAQL,IAAI,CAACH,GAAG,EAAE;IACR,MAAM,IAAII,KAAK,CAAC,mCAAmC,CAAC;;EAEtD,OACEC;IAAKN,SAAS,EAAEA;KACdM,oBAACC,QAAQ;IACPC,UAAU,EAAE;MAAEC,UAAU,EAAE,KAAK;MAAER,GAAG,EAAHA;KAAK;IACtCS,OAAO,EAAE;MACPR,UAAU,EAAEA,UAAU;MACtBC,MAAM,EAAEA,MAAM;MACdC,KAAK,EAAEA;;IAET,CACE;AAEV;IAEaO,eAAe,GAEvB;EACHC,IAAI,EAAE,yCAAyC;EAC/CC,WAAW,EAAE,UAAU;EACvBC,UAAU,EAAE,iBAAiB;EAC7BC,UAAU,EAAE,oCAAoC;EAChDC,KAAK,EAAE;IACLf,GAAG,EAAE;MACHgB,IAAI,EAAE,QAAQ;MACdC,WAAW,EAAE,+BAA+B;MAC5CC,YAAY,EAAE;KACf;IACDjB,UAAU,EAAE;MACVe,IAAI,EAAE,QAAQ;M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dC,WAAW,EAAE,4BAA4B;MACzCC,YAAY,EAAE;KACf;IACDuB,KAAK,EAAE;MACLzB,IAAI,EAAE,SAAS;MACfC,WAAW,EAAE;;;;SAKH6B,qBAAqBA,CACnClB,MAAwD,EACxDmB,mBAAyE;EAEzE,IAAInB,MAAM,EAAE;IACVA,MAAM,CAACE,iBAAiB,CACtBQ,aAAa,EACbS,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CACrC;GACF,MAAM;IACLf,iBAAiB,CAACQ,aAAa,EAAES,mBAAmB,WAAnBA,mBAAmB,GAAIF,aAAa,CAAC;;AAE1E;;;;"}
1
+ {"version":3,"file":"react-twitter-widgets.esm.js","sources":["../src/Twitter.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport React, { ComponentProps } from \"react\";\nimport { Follow, Timeline, Tweet } from \"react-twitter-widgets\";\n\n//\n// This module registers Timeline, Tweet, and Follow, but not yet the Hashtag /\n// Mention / Share components (would be easy additions).\n//\n// The components auto-size their heights by default, so it's actually\n// sufficient to rely on just layout out an enclosing div.\n//\n\nexport function TimelineWrapper({\n className,\n url,\n tweetLimit,\n chrome,\n theme,\n}: {\n className?: string;\n url?: string;\n tweetLimit?: number;\n chrome?: string;\n theme?: string;\n}) {\n if (!url) {\n throw new Error(\"Timeline component requires a URL\");\n }\n return (\n <div className={className}>\n <Timeline\n dataSource={{ sourceType: \"url\", url }}\n options={{\n tweetLimit: tweetLimit,\n chrome: chrome,\n theme: theme,\n }}\n />\n </div>\n );\n}\n\nexport const timelineWrapper: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-timeline\",\n displayName: \"Timeline\",\n importName: \"TimelineWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n url: {\n type: \"string\",\n description: \"URL to a Twitter user or list\",\n defaultValue: \"https://twitter.com/plasmicapp\",\n },\n tweetLimit: {\n type: \"number\",\n description: \"Number of tweets to be displayed. Between 1 and 20\",\n min: 1,\n max: 20,\n },\n chrome: {\n type: \"choice\",\n description: \"Toggle the display of design elements in the widget\",\n multiSelect: true,\n options: [\n \"noheader\",\n \"nofooter\",\n \"noborders\",\n \"transparent\",\n \"noscrollbar\",\n ],\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTimelineWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTimelineWrapper?: CodeComponentMeta<\n ComponentProps<typeof TimelineWrapper>\n >\n) {\n if (loader) {\n loader.registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n } else {\n registerComponent(\n TimelineWrapper,\n customTimelineWrapper ?? timelineWrapper\n );\n }\n}\n\nexport function TweetWrapper({\n className,\n tweetId,\n theme,\n}: {\n className?: string;\n tweetId?: string;\n theme?: string;\n}) {\n if (!tweetId) {\n throw new Error(\"Tweet component requires a tweetId\");\n }\n return (\n <div className={className}>\n <Tweet tweetId={tweetId} options={{ theme: theme }} />\n </div>\n );\n}\n\nexport const tweetWrapper: CodeComponentMeta<\n ComponentProps<typeof TweetWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-tweet\",\n displayName: \"Tweet\",\n importName: \"TweetWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n tweetId: {\n type: \"string\",\n description: \"The tweet ID\",\n defaultValue: \"1381980305305694209\",\n },\n theme: {\n type: \"choice\",\n description: \"Toggle the default color scheme\",\n options: [\"dark\", \"light\"],\n defaultValueHint: \"light\",\n },\n },\n defaultStyles: {\n display: \"flex\",\n flexDirection: \"column\",\n overflowY: \"auto\",\n },\n};\n\nexport function registerTweetWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customTweetWrapper?: CodeComponentMeta<ComponentProps<typeof TweetWrapper>>\n) {\n if (loader) {\n loader.registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n } else {\n registerComponent(TweetWrapper, customTweetWrapper ?? tweetWrapper);\n }\n}\n\nexport function FollowWrapper({\n className,\n username,\n large,\n}: {\n className?: string;\n username?: string;\n large?: boolean;\n}) {\n if (!username) {\n throw new Error(\"Follow component requires a username\");\n }\n return (\n <div className={className}>\n <Follow\n username={username}\n options={{ size: large ? \"large\" : undefined }}\n />\n </div>\n );\n}\n\nexport const followWrapper: CodeComponentMeta<\n ComponentProps<typeof FollowWrapper>\n> = {\n name: \"hostless-react-twitter-widgets-follow\",\n displayName: \"Follow\",\n importName: \"FollowWrapper\",\n importPath: \"@plasmicpkgs/react-twitter-widgets\",\n props: {\n username: {\n type: \"string\",\n description: \"Twitter username to follow\",\n defaultValue: \"plasmicapp\",\n },\n large: {\n type: \"boolean\",\n description: \"Toggle the button size\",\n },\n },\n};\n\nexport function registerFollowWrapper(\n loader?: { registerComponent: typeof registerComponent },\n customFollowWrapper?: CodeComponentMeta<ComponentProps<typeof FollowWrapper>>\n) {\n if (loader) {\n loader.registerComponent(\n FollowWrapper,\n customFollowWrapper ?? followWrapper\n );\n } else {\n registerComponent(FollowWrapper, customFollowWrapper ?? followWrapper);\n }\n}\n"],"names":["TimelineWrapper","_ref","className","url","tweetLimit","chrome","theme","Error","React","Timeline","dataSource","sourceType","options","timelineWrapper","name","displayName","importName","importPath","props","type","description","defaultValue","min","max","multiSelect","defaultValueHint","defaultStyles","display","flexDirection","overflowY","registerTimelineWrapper","loader","customTimelineWrapper","registerComponent","TweetWrapper","_ref2","tweetId","Tweet","tweetWrapper","registerTweetWrapper","customTweetWrapper","FollowWrapper","_ref3","username","large","Follow","size","undefined","followWrapper","registerFollowWrapper","customFollowWrapper"],"mappings":";;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;SAEgBA,eAAeA,CAAAC,IAAA;MAC7BC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAC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.0.234",
4
4
  "description": "Plasmic registration calls for react-twitter-widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "react": ">=16.8.0",
43
43
  "react-dom": ">=16.8.0"
44
44
  },
45
- "gitHead": "30e1d9c40c46f513d507349568dc16bc5f3e9572"
45
+ "gitHead": "bbba4b6636e69a3441c6dbe4cefb860ed30e826f"
46
46
  }