Skip to content

Commit

Permalink
0.9.0 Release (#319)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency rollup to v4.18.0

* chore(deps): update dependency @rollup/plugin-commonjs to v25.0.8

* chore(deps): update babel monorepo to v7.24.6

* chore(deps): update dependency eslint-plugin-react to v7.34.2

* fix(deps): update dependency dompurify to v3.1.5

* chore(deps): update dependency css-loader to v7.1.2

* chore(deps): update babel monorepo to v7.24.7

* chore(deps): update dependency @rollup/plugin-replace to v5.0.7

* chore(deps): update dependency @rollup/plugin-commonjs to v26

* chore(deps): update dependency eslint-plugin-react to v7.34.3

* chore(deps): update dependency webpack to v5.92.1

* chore(deps): update dependency eslint-plugin-jsx-a11y to v6.9.0

* fix(deps): update dependency dompurify to v3.1.6

* feat: progress bar (#282)

* --added fixed progress bar

* --added props for readme and validation for progress bar input color

* --progressBarColor in quiz object

* --added some changes

* --minor error fixed

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>

* chore(deps): update dependency rollup to v4.18.1 (#288)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @babel/preset-env to v7.24.8 (#289)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rollup to v4.19.0 (#292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-react to v7.35.0 (#291)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack to v5.93.0 (#290)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps-dev): bump follow-redirects from 1.15.5 to 1.15.6 (#287)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump express from 4.18.2 to 4.19.2 (#286)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump ws from 8.16.0 to 8.18.0 (#285)

Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.18.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.16.0...8.18.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#284)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): update dependency @babel/preset-env to v7.25.4 (#293)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mini-css-extract-plugin to v2.9.1 (#296)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rollup to v4.21.2 (#294)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-react to v7.35.1 (#299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-import to v2.30.0 (#300)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-react to v7.35.2 (#301)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack-dev-server to v5.1.0 (#302)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-jsx-a11y to v6.10.0 (#303)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps-dev): bump webpack from 5.93.0 to 5.94.0 (#304)

Bumps [webpack](https://github.com/webpack/webpack) from 5.93.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.93.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack to v5.94.0 [security] (#298)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rollup to v4.22.0 (#305)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rollup to v4.22.4 (#310)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @rollup/plugin-node-resolve to v15.3.0 (#312)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(lib): undefined className (#318)

* chore(lib): lint

* chore(deps): update dependency @rollup/plugin-replace to v6 (#316)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-react to v7.36.1 (#306)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency babel-loader to v9.2.1 (#307)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.57.1 (#308)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @rollup/plugin-html to v1.0.4 (#311)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @rollup/plugin-commonjs to v28 (#315)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Expose time taken in result object (#295)

* --added fixed progress bar

* --added props for readme and validation for progress bar input color

* --progressBarColor in quiz object

* --added some changes

* --minor error fixed

* added time spent at QuestionSummary

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* 0.9.0 Release

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jay <44129484+Jaykovsky@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 25, 2024
1 parent ccb8a58 commit 8670289
Show file tree
Hide file tree
Showing 12 changed files with 1,640 additions and 1,671 deletions.
43 changes: 36 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 0.9.0

- Added Progress Bar
- Bumped dependencies
- Fixed undefined className
- Exposed time taken in result object

## 0.8.2

- Bumped dependencies
Expand Down Expand Up @@ -63,81 +70,100 @@
- Option to disable synopsis

## 0.3.9

- Added support for choosing number of questions to be used
- Added eslint

## 0.3.8

- Fixed wrong npm version in 0.3.7

## 0.3.7
- Fixed issue #54 - Custom result page is not displayed

- Fixed issue #54 - Custom result page is not displayed

## 0.3.6
- Added Segment to quiz config

- Added Segment to quiz config

## 0.3.5

- Fixed issue #48 - Maximum update depth exceeded with onComplete props
- Upgraded react version

## 0.3.4

- Fixed issue #35
- Upgraded several dependencies

## 0.3.3

- Added Picture in Question

## 0.3.2
## 0.3.2

- Fixed incorrect type and button issues (Ref to #32)

## 0.3.1

- Fixed Button issue introduced by v0.3.0 (Ref to #30)

## 0.3.0

- Added Feature: Multiple answers with multiple correct answers (Refer to #26)
- Added Feature: Quiz Input Validator
- Added Feature: Quiz Input Validator
- Added Selection Tags
- Introduced fields ``answerSelectionType``
- Updated ``correctAnswer`` to either ``String``(Single Selection) or ``Array`` (Multiple Selection)
- Introduced fields `answerSelectionType`
- Updated `correctAnswer` to either `String`(Single Selection) or `Array` (Multiple Selection)

## 0.2.8

- Renamed Question.jsx to Core.jsx
- Added Scoring System (Ref to #25)
- Revised Question tag to allow markdown (Ref to #24)

## 0.2.7

- Added Locale for customimzation (Refer to #21)
- Added logic to show incorrect answer users chose in result page (Refer to #22)

## 0.2.6

- Added showInstantFeedback & continueTillCorrect
- Revised font color to the incorrect answer container
- Fixed the incorrect index in the result page

## 0.2.5

- Added showDefaultResult, customResultPage, onComplete

## 0.2.4

- Added CHANGELOG.md
- Added Features to README.md
- Fixed potential security vulnerabilities

## 0.2.3

- Added filter question select tag
- Revised result page
- Revised styles
- Updated README.md for shuffling questions set in v0.2.2

## 0.2.2

- Added messageForCorrectAnswer
- Added messageForIncorrectAnswer
- Added explanation
- Added quizSynopsis
- Revised result page style

## 0.2.1

- Minor Fix

## 0.2.0

- Removed Paper CSS
- Added total number of questions & current question being answered (Refer to issue #3)
- Removed Answer.jsx and Result.jsx
Expand All @@ -146,10 +172,13 @@
- Allowed to review questions at the end

## 0.1.2

- Minor Fix

## 0.1.1

- Minor Fix

## 0.1.0
- Initial version, created by wingkwong

- Initial version, created by wingkwong
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The quiz source is a JSON object. You can use [react-quiz-form](https://github.c
export const quiz = {
"quizTitle": "React Quiz Component Demo",
"quizSynopsis": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim",
"progressBarColor": "#9de1f6",
"nrOfQuestions": "4",
"questions": [
{
Expand Down Expand Up @@ -279,6 +280,15 @@ import { quiz } from './quiz';
<Quiz quiz={quiz} timer={60} allowPauseTimer={true}/>
```


## Enable / Disable Progress Bar

```js
import { quiz } from './quiz';
...
<Quiz quiz={quiz} enableProgressBar={true} />
```

## Props

|Name|Type|Default|Required|Description|
Expand All @@ -295,6 +305,7 @@ import { quiz } from './quiz';
|disableSynopsis|`boolean`|`false`|N|Disable synopsis before quiz|
|timer|`number`|`false`|N|Sets timer in seconds|
|allowPauseTimer|`boolean`|`false`|N|Pause / Resume timer|
|enableProgressBar|`boolean`|`false`|N|Enable a progress bar|

## Contribution

Expand Down
4 changes: 2 additions & 2 deletions dist/index.es.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

Loading

0 comments on commit 8670289

Please sign in to comment.