@whoa-chat/react 0.3.1 → 0.3.2
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/LICENSE +14 -0
- package/dist/locales/bg.json +4 -3
- package/dist/locales/da.json +4 -3
- package/dist/locales/de.json +4 -3
- package/dist/locales/en.json +4 -3
- package/dist/locales/es.json +4 -3
- package/dist/locales/fr.json +4 -3
- package/dist/locales/index.d.ts +15 -0
- package/dist/locales/it.json +4 -3
- package/dist/locales/ja.json +4 -3
- package/dist/locales/nl.json +4 -3
- package/dist/locales/pl.json +4 -3
- package/dist/locales/pt-BR.json +4 -3
- package/dist/locales/pt-PT.json +4 -3
- package/dist/locales/sv.json +4 -3
- package/dist/locales/zh-CN.json +4 -3
- package/dist/locales/zh-TW.json +4 -3
- package/dist/src/Attachments.d.ts +0 -3
- package/dist/src/AvailabilityCard.d.ts +0 -4
- package/dist/src/ChatThread.d.ts +0 -5
- package/dist/src/ChatThread.js +7 -7
- package/dist/src/DraftCard.js +1 -1
- package/dist/src/FormattedText.d.ts +0 -4
- package/dist/src/HelpOfferCard.js +1 -1
- package/dist/src/InboxTools.d.ts +0 -3
- package/dist/src/MessagePreview.js +1 -1
- package/dist/src/PasswordCard.js +1 -1
- package/dist/src/ReviewCard.d.ts +0 -2
- package/dist/src/ReviewCard.js +1 -1
- package/dist/src/RichCards.d.ts +0 -3
- package/dist/src/RichCards.js +1 -1
- package/dist/src/RichInput.d.ts +0 -8
- package/dist/src/StoreAvatar.d.ts +0 -1
- package/dist/src/appearance.d.ts +0 -3
- package/dist/src/chatApi.d.ts +0 -4
- package/dist/src/chatEnv.d.ts +0 -1
- package/dist/src/chime.d.ts +0 -1
- package/dist/src/clock.d.ts +0 -1
- package/dist/src/copyToClipboard.d.ts +0 -9
- package/dist/src/host.d.ts +1 -7
- package/dist/src/refLinks.d.ts +0 -1
- package/dist/src/supportChat.css +1 -2521
- package/dist/src/useLive.d.ts +0 -2
- package/package.json +8 -8
package/dist/src/useLive.d.ts
CHANGED
|
@@ -30,12 +30,10 @@ export declare const useLive: (opts: {
|
|
|
30
30
|
}) => void;
|
|
31
31
|
viewing: (shop: string | null) => void;
|
|
32
32
|
};
|
|
33
|
-
/** Which conversation each teammate has open; forgotten a minute after they last said so. */
|
|
34
33
|
export declare const useViewers: () => {
|
|
35
34
|
apply: (e: LiveEvent) => void;
|
|
36
35
|
at: (shop: string) => string[];
|
|
37
36
|
};
|
|
38
|
-
/** Who is typing where, forgotten a few seconds after the last sign of it. */
|
|
39
37
|
export declare const useTypingState: () => {
|
|
40
38
|
typing: Record<string, {
|
|
41
39
|
merchant?: {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whoa-chat/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Whoa Chat's React components and styles: the merchant chat for your embedded Shopify app, its cards, files and live updates.",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://whoa.chat/docs/",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -186,20 +186,20 @@
|
|
|
186
186
|
"./locales/*.json": "./dist/locales/*.json"
|
|
187
187
|
},
|
|
188
188
|
"dependencies": {
|
|
189
|
-
"@whoa-chat/core": "0.3.
|
|
189
|
+
"@whoa-chat/core": "0.3.1"
|
|
190
190
|
},
|
|
191
191
|
"peerDependencies": {
|
|
192
|
-
"
|
|
193
|
-
"react-dom": "^18.3.1",
|
|
194
|
-
"react-i18next": "^17.1.1",
|
|
195
|
-
"i18next": "^26.5.5",
|
|
192
|
+
"@shopify/app-bridge-types": "0.7.2",
|
|
196
193
|
"@tiptap/core": "3.33.0",
|
|
197
194
|
"@tiptap/extension-code-block": "3.33.0",
|
|
198
195
|
"@tiptap/pm": "3.33.0",
|
|
199
196
|
"@tiptap/react": "3.33.0",
|
|
200
197
|
"@tiptap/starter-kit": "3.33.0",
|
|
198
|
+
"i18next": "^26.5.5",
|
|
201
199
|
"prismjs": "1.30.0",
|
|
202
|
-
"
|
|
200
|
+
"react": "^18.3.1",
|
|
201
|
+
"react-dom": "^18.3.1",
|
|
202
|
+
"react-i18next": "^17.1.1"
|
|
203
203
|
},
|
|
204
204
|
"scripts": {
|
|
205
205
|
"test": "vitest run",
|