@gymmymac/bob-widget 1.0.2 → 1.1.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/dist/components/Bob.d.ts +1 -24
- package/dist/components/mobile/MobileBobCharacter.d.ts +12 -0
- package/dist/components/mobile/MobileBobLayout.d.ts +35 -0
- package/dist/components/mobile/MobileChatDrawer.d.ts +19 -0
- package/dist/components/mobile/MobileProductColumn.d.ts +18 -0
- package/dist/components/mobile/index.d.ts +4 -0
- package/dist/hooks/useBobAnimation.d.ts +14 -0
- package/dist/hooks/useBobAnimationData.d.ts +53 -0
- package/dist/hooks/useBobBackdrop.d.ts +17 -0
- package/dist/hooks/useBobStateTransitions.d.ts +22 -0
- package/dist/hooks/useSpeechRecognition.d.ts +18 -0
- package/dist/index.d.ts +11 -30
- package/dist/index.js +13 -13
- package/dist/index.mjs +2305 -788
- package/dist/types/product.d.ts +12 -1
- package/package.json +4 -3
package/dist/types/product.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product
|
|
2
|
+
* Extended Product type for the Bob widget
|
|
3
3
|
*/
|
|
4
|
+
export interface Product {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
brand?: string;
|
|
8
|
+
price: number;
|
|
9
|
+
sku?: string;
|
|
10
|
+
partNumber?: string;
|
|
11
|
+
partslotDescription?: string;
|
|
12
|
+
image_url?: string;
|
|
13
|
+
quantity?: number;
|
|
14
|
+
}
|
|
4
15
|
export interface APIPart {
|
|
5
16
|
SKU?: string;
|
|
6
17
|
sku?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gymmymac/bob-widget",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Bob - AI-powered automotive parts assistant widget",
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Bob - AI-powered automotive parts assistant widget with full immersive experience",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "^18.0.0",
|
|
21
|
-
"react-dom": "^18.0.0"
|
|
21
|
+
"react-dom": "^18.0.0",
|
|
22
|
+
"@tanstack/react-query": "^5.0.0"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"@types/react": "^18.3.1",
|