fansunited-frontend-components 0.0.3 → 0.0.4-RC2
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 +8 -7
- package/components.js +2347 -2244
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,12 +62,13 @@ Interactive quiz component with multiple templates and customization options.
|
|
|
62
62
|
|
|
63
63
|
#### Optional Props
|
|
64
64
|
|
|
65
|
-
| Prop
|
|
66
|
-
|
|
|
67
|
-
| `themeOptions`
|
|
68
|
-
| `showAnswerExplanations`
|
|
69
|
-
| `leads`
|
|
70
|
-
| `imagePosition`
|
|
65
|
+
| Prop | Type | Description |
|
|
66
|
+
| ---------------------------- | -------------------- | --------------------------------------- |
|
|
67
|
+
| `themeOptions` | `CustomThemeOptions` | Theme configuration |
|
|
68
|
+
| `showAnswerExplanations` | `boolean` | Show explanations after quiz completion |
|
|
69
|
+
| `leads` | `LeadsOptions` | Lead collection settings |
|
|
70
|
+
| `imagePosition` | `"left" \| "right"` | Image position (STANDARD template only) |
|
|
71
|
+
| `defaultImagePlaceholderUrl` | `string` | URL for default image placeholder |
|
|
71
72
|
|
|
72
73
|
#### Templates
|
|
73
74
|
|
|
@@ -232,7 +233,7 @@ const themeOptions: CustomThemeOptions = {
|
|
|
232
233
|
size: "2px",
|
|
233
234
|
},
|
|
234
235
|
},
|
|
235
|
-
|
|
236
|
+
imageBackgroundGradient: {
|
|
236
237
|
light: {
|
|
237
238
|
standard:
|
|
238
239
|
"linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)",
|