|
| 1 | +diff --git a/dist/index.js b/dist/index.js |
| 2 | +index aad14841e0954a753d6b5a0fb7e4aa5a68f83041..05febf2377e5accfe71f4de8d4b87052b79b5569 100644 |
| 3 | +--- a/dist/index.js |
| 4 | ++++ b/dist/index.js |
| 5 | +@@ -1,6 +1,6 @@ |
| 6 | + // Export every other component that's part of our default theme (the Twitter theme) as that |
| 7 | + // can be useful for anyone that wans to do more deep edits in the default theme. |
| 8 | +-export * from './twitter-theme/components.js'; |
| 9 | ++// export * from './twitter-theme/components.js'; |
| 10 | + export * from './tweet.js'; |
| 11 | +-export * from './utils.js'; |
| 12 | +-export * from './hooks.js'; |
| 13 | ++// export * from './utils.js'; |
| 14 | ++// export * from './hooks.js'; |
| 15 | +diff --git a/dist/twitter-theme/quoted-tweet/quoted-tweet.js b/dist/twitter-theme/quoted-tweet/quoted-tweet.js |
| 16 | +index 75c3f63fc0747dba24ffe8ea482c82472444dc3f..59c39a7237d0e5cc7f8acb51d71cef138c1e4002 100644 |
| 17 | +--- a/dist/twitter-theme/quoted-tweet/quoted-tweet.js |
| 18 | ++++ b/dist/twitter-theme/quoted-tweet/quoted-tweet.js |
| 19 | +@@ -1,5 +1,5 @@ |
| 20 | + import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; |
| 21 | +-import { QuotedTweetContainer } from './quoted-tweet-container.js'; |
| 22 | ++import { QuotedTweetContainer } from 'react-tweet/dist/twitter-theme/quoted-tweet/quoted-tweet-container.js'; |
| 23 | + import { QuotedTweetHeader } from './quoted-tweet-header.js'; |
| 24 | + import { QuotedTweetBody } from './quoted-tweet-body.js'; |
| 25 | + import { TweetMedia } from '../tweet-media.js'; |
| 26 | +diff --git a/dist/twitter-theme/tweet-actions.js b/dist/twitter-theme/tweet-actions.js |
| 27 | +index 5487cddd7cf05de0ed3cc59d222939b7cbc0eaba..1ec537c02a5c3ef49b5a09e58ffad950459dee4f 100644 |
| 28 | +--- a/dist/twitter-theme/tweet-actions.js |
| 29 | ++++ b/dist/twitter-theme/tweet-actions.js |
| 30 | +@@ -1,6 +1,6 @@ |
| 31 | + import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; |
| 32 | + import { formatNumber } from '../utils.js'; |
| 33 | +-import { TweetActionsCopy } from './tweet-actions-copy.js'; |
| 34 | ++import { TweetActionsCopy } from 'react-tweet/dist/twitter-theme/tweet-actions-copy.js'; |
| 35 | + import s from './tweet-actions.module.css'; |
| 36 | + export const TweetActions = ({ tweet })=>{ |
| 37 | + const favoriteCount = formatNumber(tweet.favorite_count); |
| 38 | +diff --git a/dist/twitter-theme/tweet-media.js b/dist/twitter-theme/tweet-media.js |
| 39 | +index 9ca911465c726c3c6c94268fc06b24581669e26f..0aafea7be31cc6d36ef29c0a37a2c9498be5fafd 100644 |
| 40 | +--- a/dist/twitter-theme/tweet-media.js |
| 41 | ++++ b/dist/twitter-theme/tweet-media.js |
| 42 | +@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; |
| 43 | + import { Fragment } from 'react'; |
| 44 | + import clsx from 'clsx'; |
| 45 | + import { getMediaUrl } from '../utils.js'; |
| 46 | +-import { TweetMediaVideo } from './tweet-media-video.js'; |
| 47 | ++import { TweetMediaVideo } from 'react-tweet/dist/twitter-theme/tweet-media-video.js'; |
| 48 | + import { MediaImg } from './media-img.js'; |
| 49 | + import s from './tweet-media.module.css'; |
| 50 | + const getSkeletonStyle = (media, itemCount)=>{ |
| 51 | +diff --git a/package.json b/package.json |
| 52 | +index 0d2260f6cf4e40164c0f41972ac469c5e9d23739..109ff1b629f329076777a40aa921d4f80a6326b8 100644 |
| 53 | +--- a/package.json |
| 54 | ++++ b/package.json |
| 55 | +@@ -17,7 +17,8 @@ |
| 56 | + "default": "./dist/index.client.js" |
| 57 | + }, |
| 58 | + "./api": "./dist/api/index.js", |
| 59 | +- "./theme.css": "./dist/twitter-theme/theme.css" |
| 60 | ++ "./theme.css": "./dist/twitter-theme/theme.css", |
| 61 | ++ "./dist/*": "./dist/*" |
| 62 | + }, |
| 63 | + "files": [ |
| 64 | + "dist/**/*.{js,d.ts,css}" |
0 commit comments