@constructor-io/constructorio-ui-quizzes 1.19.10 → 1.19.12
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 +1 -1
- package/dist/constructorio-ui-quizzes-bundled.js +12 -12
- package/lib/cjs/components/CioQuiz/ErrorIconSVG.js +9 -0
- package/lib/cjs/components/CioQuiz/index.js +12 -3
- package/lib/cjs/components/ZeroResults/LightbulbIconSVG.js +9 -0
- package/lib/cjs/components/ZeroResults/ZeroResults.js +5 -1
- package/lib/cjs/hooks/useQuizEvents/index.js +1 -0
- package/lib/cjs/hooks/useQuizEvents/useQuizResetClick.js +4 -2
- package/lib/cjs/version.js +1 -1
- package/lib/mjs/components/CioQuiz/ErrorIconSVG.js +5 -0
- package/lib/mjs/components/CioQuiz/index.js +12 -3
- package/lib/mjs/components/ZeroResults/LightbulbIconSVG.js +5 -0
- package/lib/mjs/components/ZeroResults/ZeroResults.js +5 -1
- package/lib/mjs/hooks/useQuizEvents/index.js +1 -0
- package/lib/mjs/hooks/useQuizEvents/useQuizResetClick.js +4 -2
- package/lib/mjs/version.js +1 -1
- package/lib/styles.css +121 -11
- package/lib/types/components/CioQuiz/ErrorIconSVG.d.ts +2 -0
- package/lib/types/components/ZeroResults/LightbulbIconSVG.d.ts +2 -0
- package/lib/types/hooks/useQuizEvents/useQuizResetClick.d.ts +2 -0
- package/lib/types/version.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ function YourComponent() {
|
|
|
40
40
|
### Using the Javascript Bundle
|
|
41
41
|
|
|
42
42
|
This is a framework agnostic method that can be used in any JavaScript project. The `CioQuiz` function provides a simple interface to inject an entire Quizzes UI into the provided `selector`.
|
|
43
|
-
In addition to [Quiz component props](https://constructor-io.github.io/constructorio-ui-quizzes/?path=/docs/quiz-
|
|
43
|
+
In addition to [Quiz component props](https://constructor-io.github.io/constructorio-ui-quizzes/?path=/docs/quiz-cioquiz--props), this function also accepts `selector` and `includeCSS`.
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
46
|
import CioQuiz from '@constructor-io/constructorio-ui-quizzes/constructorio-ui-quizzes-bundled';
|