gotcha-feedback 1.0.3 → 1.0.5
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/README.md +2 -3
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ function FeatureCard() {
|
|
|
42
42
|
- **Vote Mode** - Thumbs up/down
|
|
43
43
|
- **Customizable** - Themes, sizes, positions
|
|
44
44
|
- **Accessible** - Full keyboard navigation and screen reader support
|
|
45
|
-
- **Animated** - Smooth enter/exit animations with
|
|
45
|
+
- **Animated** - Smooth enter/exit animations with CSS transitions
|
|
46
46
|
- **Lightweight** - ~15KB minified
|
|
47
47
|
|
|
48
48
|
## Props
|
|
@@ -65,7 +65,7 @@ function FeatureCard() {
|
|
|
65
65
|
| `mode` | `'feedback' \| 'vote'` | `'feedback'` | Feedback mode |
|
|
66
66
|
| `position` | `'top-right' \| 'top-left' \| 'bottom-right' \| 'bottom-left' \| 'inline'` | `'top-right'` | Button position |
|
|
67
67
|
| `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Button size |
|
|
68
|
-
| `theme` | `'light' \| 'dark' \| 'auto'` | `'
|
|
68
|
+
| `theme` | `'light' \| 'dark' \| 'auto'` | `'light'` | Color theme |
|
|
69
69
|
| `showOnHover` | `boolean` | `true` | Only show on hover |
|
|
70
70
|
| `promptText` | `string` | Mode-specific | Custom prompt text |
|
|
71
71
|
| `onSubmit` | `function` | - | Callback after submission |
|
|
@@ -164,7 +164,6 @@ import type { GotchaProps, GotchaProviderProps } from 'gotcha-feedback';
|
|
|
164
164
|
## Requirements
|
|
165
165
|
|
|
166
166
|
- React 18+
|
|
167
|
-
- Framer Motion (peer dependency)
|
|
168
167
|
|
|
169
168
|
## License
|
|
170
169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gotcha-feedback",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Developer-first contextual feedback SDK",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|
|
50
|
-
"url": "https://github.com/
|
|
51
|
-
|
|
50
|
+
"url": "https://github.com/BrainTwoPoint0/Gotcha",
|
|
51
|
+
"directory": "packages/sdk"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://gotcha.cx"
|
|
52
54
|
}
|