diff --git a/.changeset/calm-chefs-boil.md b/.changeset/calm-chefs-boil.md deleted file mode 100644 index c0cf18f8f4..0000000000 --- a/.changeset/calm-chefs-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -TypeScript fixes diff --git a/.changeset/chilled-cameras-play.md b/.changeset/chilled-cameras-play.md deleted file mode 100644 index 7f4c4332c8..0000000000 --- a/.changeset/chilled-cameras-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Refactor internally used object mapping utilities to use ES6 exports diff --git a/.changeset/early-phones-remain.md b/.changeset/early-phones-remain.md deleted file mode 100644 index 66ef76e75b..0000000000 --- a/.changeset/early-phones-remain.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@khanacademy/perseus": patch -"@khanacademy/perseus-editor": patch ---- - -Type fixes diff --git a/.changeset/hip-pandas-argue.md b/.changeset/hip-pandas-argue.md deleted file mode 100644 index b139d775f5..0000000000 --- a/.changeset/hip-pandas-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Ensure that zoomed-in images retain alt text diff --git a/.changeset/large-melons-deny.md b/.changeset/large-melons-deny.md deleted file mode 100644 index d32d110c9e..0000000000 --- a/.changeset/large-melons-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus-editor": patch ---- - -Ensure links opening to style guide (Google Docs) set `rel="noreferrer"` diff --git a/.changeset/many-keys-smash.md b/.changeset/many-keys-smash.md deleted file mode 100644 index 3435bb94bd..0000000000 --- a/.changeset/many-keys-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -[Numeric Input] - Show format options as a list diff --git a/.changeset/mean-fans-boil.md b/.changeset/mean-fans-boil.md deleted file mode 100644 index 75fae553b0..0000000000 --- a/.changeset/mean-fans-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Minor refactoring of ServerItemRenderer's componentDidUpdate to reduce duplication diff --git a/.changeset/metal-readers-impress.md b/.changeset/metal-readers-impress.md deleted file mode 100644 index 5303398c8f..0000000000 --- a/.changeset/metal-readers-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Refactor scoring for `group` widget to follow the same pattern as all other widgets diff --git a/.changeset/odd-moons-remember.md b/.changeset/odd-moons-remember.md deleted file mode 100644 index 3ff9692b33..0000000000 --- a/.changeset/odd-moons-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -[Numeric Input] - Associate format options tooltip content with input field for assistive technologies diff --git a/.changeset/shiny-sloths-obey.md b/.changeset/shiny-sloths-obey.md deleted file mode 100644 index eff207a3db..0000000000 --- a/.changeset/shiny-sloths-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Add global styles to reflect prod styling diff --git a/.changeset/smooth-taxis-mate.md b/.changeset/smooth-taxis-mate.md deleted file mode 100644 index 10221029c8..0000000000 --- a/.changeset/smooth-taxis-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Internal: convert backgroundImage dimensions to numbers during parsing. diff --git a/.changeset/stupid-apricots-retire.md b/.changeset/stupid-apricots-retire.md deleted file mode 100644 index 5011192a2e..0000000000 --- a/.changeset/stupid-apricots-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus-editor": patch ---- - -Remove debugging call in GraphSettings component diff --git a/.changeset/sweet-ligers-arrive.md b/.changeset/sweet-ligers-arrive.md deleted file mode 100644 index a1f98675e0..0000000000 --- a/.changeset/sweet-ligers-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": minor ---- - -Introduces a validation function for the number line widget (extracted from the scoring function). diff --git a/.changeset/tall-pianos-tap.md b/.changeset/tall-pianos-tap.md deleted file mode 100644 index f83cd1ff79..0000000000 --- a/.changeset/tall-pianos-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Improve comments on some Perseus types diff --git a/.changeset/tender-planets-greet.md b/.changeset/tender-planets-greet.md deleted file mode 100644 index 6430e9226c..0000000000 --- a/.changeset/tender-planets-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": minor ---- - -Changes the PerseusWidgetsMap to be extensible so that widgets can be registered outside of Perseus and still have full type safety. diff --git a/.changeset/tiny-feet-give.md b/.changeset/tiny-feet-give.md deleted file mode 100644 index 9961b855b0..0000000000 --- a/.changeset/tiny-feet-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": patch ---- - -Internal: add and pass regression tests for PerseusItem parser's handling of legacy data diff --git a/.changeset/two-turtles-return.md b/.changeset/two-turtles-return.md deleted file mode 100644 index f04274f897..0000000000 --- a/.changeset/two-turtles-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/perseus": minor ---- - -[Numeric Input] - Update the UI to match Expression widget diff --git a/packages/perseus-editor/CHANGELOG.md b/packages/perseus-editor/CHANGELOG.md index 39f7a57d75..e8d14badb2 100644 --- a/packages/perseus-editor/CHANGELOG.md +++ b/packages/perseus-editor/CHANGELOG.md @@ -1,5 +1,18 @@ # @khanacademy/perseus-editor +## 15.1.2 + +### Patch Changes + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Type fixes + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Ensure links opening to style guide (Google Docs) set `rel="noreferrer"` + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Remove debugging call in GraphSettings component + +- Updated dependencies [[`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82), [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82)]: + - @khanacademy/perseus@45.1.0 + ## 15.1.1 ### Patch Changes diff --git a/packages/perseus-editor/package.json b/packages/perseus-editor/package.json index 4bb72e1636..4831646708 100644 --- a/packages/perseus-editor/package.json +++ b/packages/perseus-editor/package.json @@ -3,7 +3,7 @@ "description": "Perseus editors", "author": "Khan Academy", "license": "MIT", - "version": "15.1.1", + "version": "15.1.2", "publishConfig": { "access": "public" }, @@ -38,7 +38,7 @@ "@khanacademy/keypad-context": "^1.0.4", "@khanacademy/kmath": "^0.1.16", "@khanacademy/math-input": "^21.1.6", - "@khanacademy/perseus": "^45.0.0", + "@khanacademy/perseus": "^45.1.0", "@khanacademy/perseus-core": "1.5.3", "@khanacademy/pure-markdown": "^0.3.13", "mafs": "^0.19.0" diff --git a/packages/perseus/CHANGELOG.md b/packages/perseus/CHANGELOG.md index f2a72611c0..8cd2e8669c 100644 --- a/packages/perseus/CHANGELOG.md +++ b/packages/perseus/CHANGELOG.md @@ -1,5 +1,41 @@ # @khanacademy/perseus +## 45.1.0 + +### Minor Changes + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Introduces a validation function for the number line widget (extracted from the scoring function). + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Changes the PerseusWidgetsMap to be extensible so that widgets can be registered outside of Perseus and still have full type safety. + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - [Numeric Input] - Update the UI to match Expression widget + +### Patch Changes + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - TypeScript fixes + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Refactor internally used object mapping utilities to use ES6 exports + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Type fixes + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Ensure that zoomed-in images retain alt text + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - [Numeric Input] - Show format options as a list + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Minor refactoring of ServerItemRenderer's componentDidUpdate to reduce duplication + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Refactor scoring for `group` widget to follow the same pattern as all other widgets + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - [Numeric Input] - Associate format options tooltip content with input field for assistive technologies + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Add global styles to reflect prod styling + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Internal: convert backgroundImage dimensions to numbers during parsing. + +- [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Improve comments on some Perseus types + +* [#1958](https://github.com/Khan/perseus/pull/1958) [`051ba6392`](https://github.com/Khan/perseus/commit/051ba639242fc501e3196a63e3ab984b9338fa82) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Internal: add and pass regression tests for PerseusItem parser's handling of legacy data + ## 45.0.0 ### Major Changes diff --git a/packages/perseus/package.json b/packages/perseus/package.json index f2b5675d44..f3edd36dd7 100644 --- a/packages/perseus/package.json +++ b/packages/perseus/package.json @@ -3,7 +3,7 @@ "description": "Core Perseus API (includes renderers and widgets)", "author": "Khan Academy", "license": "MIT", - "version": "45.0.0", + "version": "45.1.0", "publishConfig": { "access": "public" }, diff --git a/yarn.lock b/yarn.lock index ee2e5b0fc5..ee32913250 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5166,16 +5166,11 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001541, caniuse-lite@^1.0.30001587: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001541, caniuse-lite@^1.0.30001587, caniuse-lite@^1.0.30001669: version "1.0.30001685" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001685.tgz" integrity sha512-e/kJN1EMyHQzgcMEEgoo+YTCO1NGCmIYHk5Qk8jT6AazWemS5QFKJ5ShCJlH3GZrNIdZofcNCEwZqbMjjKzmnA== -caniuse-lite@^1.0.30001669: - version "1.0.30001685" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001685.tgz#2d10d36c540a9a5d47ad6ab9e1ed5f61fdeadd8c" - integrity sha512-e/kJN1EMyHQzgcMEEgoo+YTCO1NGCmIYHk5Qk8jT6AazWemS5QFKJ5ShCJlH3GZrNIdZofcNCEwZqbMjjKzmnA== - caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"