@swipefindercom/finder-sdk 1.0.0
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/finder-sdk.esm.js +11608 -0
- package/dist/finder-sdk.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types/components/CardList/CardList.d.ts +14 -0
- package/dist/types/components/CardWrapper/CardWrapper.d.ts +18 -0
- package/dist/types/components/CardWrapper/ImageWrapper/ImageWrapper.d.ts +18 -0
- package/dist/types/components/CardWrapper/VideoWrapper/VideoWrapper.d.ts +26 -0
- package/dist/types/components/CardsCounter/CardsCounter.d.ts +9 -0
- package/dist/types/components/Drawer/Drawer.d.ts +19 -0
- package/dist/types/components/FiltersButton/FiltersButton.d.ts +11 -0
- package/dist/types/components/FiltersDrawer/FiltersDrawer.d.ts +25 -0
- package/dist/types/components/HistoryButton/HistoryButton.d.ts +13 -0
- package/dist/types/components/HistoryDrawer/HistoryDrawer.d.ts +30 -0
- package/dist/types/components/HorizontalCtaTooltip/HorizontalCtaTooltip.d.ts +26 -0
- package/dist/types/components/Logo/Logo.d.ts +14 -0
- package/dist/types/components/Positioned/Positioned.d.ts +20 -0
- package/dist/types/components/SideArrowsButtons/SideArrowsButtons.d.ts +49 -0
- package/dist/types/components/SideEmojisButtons/SideEmojisButtons.d.ts +23 -0
- package/dist/types/components/Summary/Summary.d.ts +27 -0
- package/dist/types/components/SwipeTutorialOverlay/SwipeTutorialOverlay.d.ts +20 -0
- package/dist/types/components/SwipeableCard/SwipeableCard.d.ts +58 -0
- package/dist/types/components/SwipeableFeed/SwipeableFeed.d.ts +55 -0
- package/dist/types/components/VerticalCtaTooltip/VerticalCtaTooltip.d.ts +28 -0
- package/dist/types/components/VerticalEmojisButtons/VerticalEmojisButtons.d.ts +48 -0
- package/dist/types/components/VolumeControl/VolumeControl.d.ts +19 -0
- package/dist/types/containers/InteractiveFeed/InteractiveFeed.d.ts +42 -0
- package/dist/types/containers/MainBootstrap/MainBootstrap.d.ts +17 -0
- package/dist/types/containers/SwippingJourney/SwippingJourney.d.ts +21 -0
- package/dist/types/contexts/AppStateContext.d.ts +45 -0
- package/dist/types/contexts/DataContext.d.ts +32 -0
- package/dist/types/contexts/MonitoringContext.d.ts +23 -0
- package/dist/types/contexts/UIContext.d.ts +25 -0
- package/dist/types/contexts/index.d.ts +25 -0
- package/dist/types/guards/cardType.guard.d.ts +4 -0
- package/dist/types/sdk/SwipeFinderSDK.d.ts +28 -0
- package/dist/types/sdk/index.d.ts +20 -0
- package/dist/types/services/DataService.d.ts +16 -0
- package/dist/types/services/MonitorService.d.ts +17 -0
- package/dist/types/types/FeedUIConfig.d.ts +214 -0
- package/dist/types/types/api.d.ts +40 -0
- package/dist/types/types/card.d.ts +22 -0
- package/dist/types/types/category.d.ts +4 -0
- package/dist/types/types/swipe.d.ts +12 -0
- package/package.json +66 -0
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@swipefindercom/finder-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "SwipeFinder SDK – embeddable swiping feed React component",
|
|
6
|
+
"main": "dist/finder-sdk.umd.js",
|
|
7
|
+
"module": "dist/finder-sdk.esm.js",
|
|
8
|
+
"types": "dist/types/sdk/index.d.ts",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/finder-sdk.esm.js",
|
|
16
|
+
"require": "./dist/finder-sdk.umd.js",
|
|
17
|
+
"types": "./dist/types/sdk/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./style.css": "./dist/style.css"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "vite build",
|
|
23
|
+
"build:sdk": "BUILD_SDK=true vite build",
|
|
24
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
25
|
+
"build:lib": "npm run build:sdk && npm run build:types",
|
|
26
|
+
"prepublishOnly": "npm run build:lib",
|
|
27
|
+
"start": "vite preview",
|
|
28
|
+
"dev": "vite --port 3010",
|
|
29
|
+
"dev:test": "vite --port 3011",
|
|
30
|
+
"serve": "vite preview --port 3010",
|
|
31
|
+
"vercel-build": "vite build",
|
|
32
|
+
"storybook": "storybook dev -p 6006",
|
|
33
|
+
"build-storybook": "storybook build",
|
|
34
|
+
"test:e2e": "playwright test",
|
|
35
|
+
"test:e2e:ui": "playwright test --ui",
|
|
36
|
+
"test:e2e:headed": "playwright test --headed",
|
|
37
|
+
"test:e2e:debug": "playwright test --debug",
|
|
38
|
+
"test:e2e:report": "playwright show-report"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
42
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@playwright/test": "^1.56.1",
|
|
46
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
47
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
48
|
+
"@storybook/addon-links": "^8.6.15",
|
|
49
|
+
"@storybook/blocks": "^8.6.14",
|
|
50
|
+
"@storybook/react-vite": "^8.6.15",
|
|
51
|
+
"@storybook/test": "^8.6.15",
|
|
52
|
+
"@types/node": "^24.10.0",
|
|
53
|
+
"@types/react": "^18.3.27",
|
|
54
|
+
"@types/react-dom": "^18.3.7",
|
|
55
|
+
"react": "^18.3.1",
|
|
56
|
+
"react-dom": "^18.3.1",
|
|
57
|
+
"storybook": "^8.6.15",
|
|
58
|
+
"terser": "^5.24.0",
|
|
59
|
+
"typescript": "^5.8.3",
|
|
60
|
+
"vite": "^5.0.0"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"classnames": "^2.5.1",
|
|
64
|
+
"motion": "^11.0.0"
|
|
65
|
+
}
|
|
66
|
+
}
|