- #2101
9cabe689a
Thanks @handeyeco! - Move scorers and validators toperseus-score
-
#2109
41ffd4a71
Thanks @dependabot! - Updating our wonder-blocks packages with the latest versions. -
Updated dependencies [
9cabe689a
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #2103
01caf5f31
Thanks @anakaren-rojas! - revert wb versions
- Updated dependencies [
bbf7f3b1b
,6cf647729
,5173c2e43
,bc3d955b5
,d2797bb2d
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #2057
2dc22def4
Thanks @dependabot! - update wonderblocks dependencies
- #1738
dbbc82f2d
Thanks @anakaren-rojas! - add scientific notation button / toggle to basic keypad
- Updated dependencies [
4345801bf
]:- @khanacademy/[email protected]
-
#2040
1496a7a93
Thanks @somewhatabstract! - Bump versions to fix release -
Updated dependencies [
1496a7a93
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
-
#2037
b80e7882b
Thanks @somewhatabstract! - Nothing has changed, but our action requires a changeset per package and I don't know how to do an infrastructure update like this and pass that check -
Updated dependencies [
b80e7882b
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
-
#2028
762b295ec
Thanks @jeremywiebe! - Forcing release -
Updated dependencies [
762b295ec
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
-
#2027
368e222a6
Thanks @handeyeco! - Bump all packages to reset releases -
Updated dependencies [
368e222a6
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
-
#1810
e21ead80e
Thanks @daniellewhyte! - Update Dropdown widget to support displaying TeX -
Updated dependencies [
e21ead80e
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #2022
266d240ed
Thanks @somewhatabstract! - Update to Wonder Blocks without custom ID generation API
- #2007
ea1bf0c2c
Thanks @somewhatabstract! - Update to latest webapp dependencies and prepare for deprecation of custom WB ID generators
- Updated dependencies [
ea1bf0c2c
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
-
#1971
341d316aa
Thanks @jeremywiebe! - Move to using optional chaining in a few places to resolve new lint rule violations. -
Updated dependencies [
f9906728c
,341d316aa
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #1904
83b1beab8
Thanks @mark-fitzgerald! - Upgrade Storybook to v8.x
- #1889
55a532175
Thanks @benchristel! - Internal: enable strict typechecking of function parameters
- #1802
d6381f773
Thanks @jeremywiebe! - Improve prop types for various components
-
#1791
b119147fc
Thanks @handeyeco! - Check types for import/no-extraneous-dependencies eslint check -
Updated dependencies [
b119147fc
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #1799
f3139edfe
Thanks @jeremywiebe! - Change functional components to use default parameters instead of deprecated 'defaultProps'
- #1779
e8160105c
Thanks @handeyeco! - Remove unused fake-react-native Text component
- #1781
f220366d0
Thanks @handeyeco! - Remove unused types
- #1776
d05a4a228
Thanks @handeyeco! - Don't export things that aren't used externally
- #1778
8eacf0bda
Thanks @handeyeco! - Remove unused dead code
- #1790
c27ee11bc
Thanks @handeyeco! - Revert process check PR (#1784)
- #1780
6729af8c8
Thanks @handeyeco! - Don't export types that aren't used externally
- #1775
c91cba9e0
Thanks @handeyeco! - Consolidate MathFieldActionTypes
- #1618
147f9a17d
Thanks @anakaren-rojas! - add scientific notation button / toggle to basic keypad
- #1733
74ba298fa
Thanks @anakaren-rojas! - reverts scientific option addition to keypad
- Updated dependencies [
d4f4e2be1
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- Updated dependencies [
eb733b3ec
]:- @khanacademy/[email protected]
- @khanacademy/[email protected]
- #1569
40d0b67a8
Thanks @handeyeco! - bump peer dependencies to match webapp
-
#1548
21a908e8f
Thanks @catandthemachines! - Fixing resizing behavior of Expression Widget in 400% zoom. -
Updated dependencies [
40d0b67a8
]:- @khanacademy/[email protected]
- #1538
96f0337ce
Thanks @handeyeco! - Use Portuguese sen and tg when updating Mathquill from the keypad
- #1502
84d9c62d2
Thanks @handeyeco! - Break out keypad-context from math-input to reduce bundle size
- Updated dependencies [
84d9c62d2
]:- @khanacademy/[email protected]
- #1497
5b6b97641
Thanks @handeyeco! - Switch trig keys from SVG to text
- #1490
c2464eef8
Thanks @jeremywiebe! - Explicitly export bundled css in package.json
- #1501
3f18a2211
Thanks @anakaren-rojas! - updates math input to fix color contrast issues
- #1495
6c6ff52f4
Thanks @handeyeco! - Remove old buttons that we weren't using anymore
- #1475
342a72211
Thanks @anakaren-rojas! - update wonder blocks popover versions
- #1496
5e66539e6
Thanks @handeyeco! - Remove unused buttons from MathInput; add Lato
- #1404
284e068b8
Thanks @handeyeco! - Add label options for Expression
- #1461
2e8022adb
Thanks @catandthemachines! - Reverting portal disabled functionality to ensure no clipping behavior.
- #1424
fedac0be5
Thanks @catandthemachines! - Updating wonderblock-popover version and disable portal functionality in Expression Popover functionality.
- #1064
c6a5cbe13
Thanks @jeremywiebe! - React 18
- #1421
9a3bce37f
Thanks @jeremywiebe! - Enhance types in tests using @testing-library/user-event
- #1064
c6a5cbe13
Thanks @jeremywiebe! - Fix: preventreact
andreact-dom
from being bundled
-
#1407
be7f14153
Thanks @handeyeco! - Updates to README files -
Updated dependencies [
b0df85a80
]:- @khanacademy/[email protected]
- #1384
5de483386
Thanks @catandthemachines! - Updating TabBar experience in to use arrow-key navigation to access the other TabItems. This will ensure the Expression Widget in perseus has proper keyboard navigation for users.
- #1259
c07644f63
Thanks @jeremywiebe! - Update all Perseus peer dependencies to match webapp exactly (commit: 2bd290251a8)- @khanacademy/wonder-blocks-clickable v4.2.1
- @khanacademy/wonder-blocks-core v6.4.0
- @khanacademy/wonder-blocks-popover v3.2.2
- @khanacademy/wonder-blocks-timing v5.0.0
- @khanacademy/wonder-blocks-tokens v1.3.0
- @khanacademy/wonder-stuff-core v1.5.2
- aphrodite v1.2.5
- katex v0.11.1
- react v16.14.0
- react-router v5.2.1
- react-router-dom v5.3.0
- #1235
87169b22b
Thanks @jeresig! - Update mathjax-renderer usage, locale is now required for createMathField.
- #1230
db041577d
Thanks @benchristel! - Get@khanacademy/mathjax-renderer
from NPM, to allow third-party clients of Perseus to install it
- #1205
71e74ff64
Thanks @benchristel! - Internal: Fix storybook stories for keypad button
- #1212
b4143615b
Thanks @handeyeco! - Bugfix: interactive graph editor kept resetting state
- #1168
a9c2308f9
Thanks @jeresig! - Remove wonder-blocks-i18n usage from perseus and perseus-editor packages.
- #1153
22709bd9b
Thanks @jeresig! - Remove wonder-blocks-i18n from math-input, support multiple exports in rollup.
- #1179
437bce7be
Thanks @jeremywiebe! - Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
- #1105
76dc2394d
Thanks @jeremywiebe! - Migrate to @khanacademy/wonder-blocks-tokens
- #1109
b53cf2a3a
Thanks @nedredmond! - Test fix following eslint rule change
- #1092
e70d1701
Thanks @SonicScrewdriver! - Bug fixes to ensure that users can properly focus a math input on mobile devices
- #978
881be46f
Thanks @nishasy! - Update WB Clickable. Stop keypad button clicks from removing focus from the input.
- #1052
54a301e9
Thanks @nedredmond! - Switch from github URL to tarball for MathQuill dependency
- #1004
16ca445c
Thanks @nedredmond! - Replace hardcoded MathQuill aria strings with translatable ones
- #1029
17d05e8e
Thanks @jeremywiebe! - Migrate to @testing-library/user-event v14.
- #1012
7e4a65f0
Thanks @jeremywiebe! - Fix handling of "Fractions" keypad in the keypad tab bar icon component
- #1000
7038c046
Thanks @SonicScrewdriver! - Bug fixes to ensure that users can properly interact with the numberline widget
- #1006
17c38bf7
Thanks @benchristel! - Allow learners to type trig operators in any language in the Expression widget
- #995
a4ead994
Thanks @benchristel! - Update formatting for Prettier 2.8.8
- #982
279c3730
Thanks @nedredmond! - Inject localized MathSpeak into MathQuill
-
#971
90ff7a48
Thanks @benchristel! - Remove source files from the distributed NPM package -
Updated dependencies [
90ff7a48
]:- @khanacademy/[email protected]
- #966
ba44dd40
Thanks @handeyeco! - Fix wrong SVG, make lower t use lower t SVG
- #963
a4a4dc44
Thanks @jeremywiebe! - Remove unused dependency: performance-now
- #957
19114138
Thanks @nedredmond! - MathQuill provided a translated label
- #940
e970dfcc
Thanks @nishasy! - Fixed the answer pill's height in Label Image widget to account for multi-line answers
- #921
81b9a562
Thanks @benchristel! - Make the Expression widget treatsen
as equivalent tosin
. The spellingsen
is used in Portuguese.
- #881
f02eb991
Thanks @nedredmond! - Swap out Label Image custom dropdown for WonderBlocks
- #871
610ebba2
Thanks @SonicScrewdriver! - Ensured that tapping an already focused math input will reopen the keypad if it is closed.
- #863
f910bd72
Thanks @handeyeco! - Localize the multiplication symbol in MathInput
- #853
cbcc0e68
Thanks @SonicScrewdriver! - Allowing click events on math-input in order to support third party browsers on ChromeOS.
- #859
e7bec961
Thanks @SonicScrewdriver! - Ensure that we're always getting the current keypadBounds
- #856
6c323dc3
Thanks @nedredmond! - Upgrade WB
-
#804
2c295e2c
Thanks @nixterrimus! - Upgrade WonderBlocks Popover -
Updated dependencies [
1f4e17ba
,8857950b
]:- @khanacademy/[email protected]
- #841
41d3cd93
Thanks @handeyeco! - Remove unused SVG tooling
- #843
27f691aa
Thanks @handeyeco! - Remove seemingly unused index.html
- #844
3803452b
Thanks @handeyeco! - Remove seemingly unused Less
- #846
ef32b88f
Thanks @handeyeco! - Break up common-styles.ts
- #840
820febc5
Thanks @handeyeco! - Remove Redux as a dependency
- #845
67a09051
Thanks @handeyeco! - Remove some seemingly unused types
- #794
a91c84fe
Thanks @SonicScrewdriver! - Removing the useV2Keypad apiOption as the V1 keypad is no longer in use.
-
#814
105d2060
Thanks @jeremywiebe! - Minor build change to how we provide Typescript type definitions (should be no change to build output). -
Updated dependencies [
a91c84fe
,105d2060
]:- @khanacademy/[email protected]
-
#825
7cb40e4c
Thanks @benchristel! - We've removed the deprecateduseV2Keypad
prop from the MobileKeypad component.The V2 keypad is now the default, and the old keypad has been removed.
Additionally, the mobile keypad no longer accepts the
keypadActive
orsetKeypadActive
props. It now gets those values itself from theKeypadContext
.
- #811
bca527ab
Thanks @jeremywiebe! - Bump all Wonder Blocks dependencies to latest
- #800
1d58b887
Thanks @handeyeco! - Bugfix: conditionally switch between period/comma for decimal separator
- #786
af4ebf37
Thanks @handeyeco! - Added a new required dep in Perseus and MathInput (required by WB)
- #791
3eb0e158
Thanks @SonicScrewdriver! - Minor fix to ensure that the keypadElement is always provided to mobile keypad consumers
-
#787
ed00ee59
Thanks @jeremywiebe! - Fix a bug where the mobile keypad didn't animate in the first time it appeared. -
Updated dependencies [
79403e06
]:- @khanacademy/[email protected]
- #759
c431c4b8
Thanks @handeyeco! - Remove references to unused font families
- #764
fb84640d
Thanks @handeyeco! - Use useMemo in keypad context to avoid needless rerenders
-
#767
33cc24c3
Thanks @jeremywiebe! - Small comment fixes in the math keypad -
Updated dependencies [
376eb0e4
]:- @khanacademy/[email protected]
- aea0387f: Change mobile-keypad to use AphroditeCSSTransitionGroup to animate mounting/unmounting the keypad when active (prevents DOM elements from being in the DOM unless the keypad is actually open).
- c4ae088f: Upgrades MathQuill to fix Android keyboard error
- Updated dependencies [22a9c408]
- @khanacademy/[email protected]
- 5bcf118c: Desktop Expression Widget now uses v2 keypad
- 4f8afadd: Fix provided-keypad so that it doesn't re-render unnecessarily.
- 7d8905b6: Removes "grid" role from keypad to un-muddle screen reader experience.
- 55d4cd00: Print package name and version when loaded in the page
- Updated dependencies [55d4cd00]
- @khanacademy/[email protected]
- 14138bb0: Move StatefulKeypadContextProvider into math-input
- 14138bb0: Hoist keypad active state into keypad context
- 3b19a1bf: Ensured that we're properly calling componentWillUnmount
- 7e2ae0ef: Bugfix for fraction button in v2 fraction keypad
- 1dc460c7: Add tests for mobile MathInput
- 609aeb0a: Ensured that the multiplication symbol in our keypad matches the selected symbol from content.
- 91f88d0b: Bugfix: v1 and v2 keypad using different FRAC configs
- 4aac71b3: Hide v2 mobile MathInput keypad when it's never been activated
- Updated dependencies [4f4fe4f9]
- @khanacademy/[email protected]
- a5a60852: revert focus changes to math input
- a383823d: Bump @khanacademy/wonder-stuff-core to v1.5.1 (which adds needed support for
isTruthy
helper function)
- fa5f463b: Added onAnalyticsEvent prop to the LegacyKeypad (aka ProvidedKeypad). You must now pass in this prop, which is a function, to handle analytics events originating from the legacy keypad.
- 6d8ede65: Added
onAnalyticsEvent
prop to MobileKeypad to pipe out Perseus analytics
- fa1bb6b4: Implemented some focus management fixes and improved the full-math-input story.
- 3afc0da2: Check for ResizeObserver before using it
- 2af4f9fa: Switch from using ProvideKeypad in ArticleRenderer to passing the keypad element down instead
- Updated dependencies [2af4f9fa]
- @khanacademy/[email protected]
- 3f7be05a: Updated Keypad V2 TabbarItemType to KeypadPageType as a more accurate description.
- 810c7bd9: Resize letter SVGs
- b161d004: Ensured that the keypad is hidden from screen readers when it is closed.
- a99a9ca4: Fix direction types for MathQuill interface
- 781551f9: Add an expanded view in the v2 MobileKeypad for larger screens
- 7b11736e: Fix cursor animation for MathInput
- dd800c22: Rename analytics prop from onEvent to onAnalyticsEvent
- 5352d512: Handle keypad resize better when it's positioned absolutely
- 673f61b3: Introduce
dependencies
on Keypad.
- Updated dependencies [dd800c22]
- @khanacademy/[email protected]
- 0993a46b: Don't generate Flow types
- 87aadc43: Surface event from
onClickKey
callback - b93f9f74: Added new Mobile Fraction Keypad View to the V2 Keypad
- 302ca7f7: Fix type for parameters of
moveOutOf
event. - afb14cff: Add eslint rule to make type imports consistent
- 19054322: Tweak to capital letter icon buttons
- ce5e6297: Upgrade wonder-blocks deps to package versions without Flow types
- 196d2a39: Add icons for all letters
- ea9dac75: Bugfix: allow legacy keypad to be positioned absolutely in column
- 30a99b82: Allow v2 keypad to receive style prop like v1 keypad
- 3fa556a3: Fixes bug where mouse hover causes grid to expand
- Updated dependencies [57f75510]
- @khanacademy/[email protected]
- 5611204a: Adds back the export of the unwrapped keypad for Khanmigo
- b4430dce: Make sendEvent in the Keypad an optional param
- Updated dependencies [b4c06409]
- @khanacademy/[email protected]
- f9ee9d24: Move KeypadContext from Perseus to MathInput
- b18986d3: Replace Legacy/Mobile keypads with a component that switches between them
- 04e68d1c: Change keypadElement from LegacyKeypad to KeypadAPI
- acafa72d: Add MobileKeypad to v2 keypad in MathInput
- d0f28dbd: Add story for ExpressionEditor
- 54590cc7: Add index.ts files to some dirs in MathInput for organization
- 037a2db6: Update MathQuill version
- 71c631ea: Add keypad opened and closed analytics events
- Updated dependencies [71c631ea]
- @khanacademy/[email protected]
- 8d1745c1: Removed double focus outline from keypad buttons
- 36e3a212: Make v2 keypad dismiss button optional, hidden by default
- fa735526: Fix issue with uses of CursorContext not being converted by flowgen
- 0cd9f3c4: Export getCursorContext helper from MathInput
- bfe68075: Update contextForCursor to further abstract MathQuill cursor
- 0b37940d: Add optional dismiss button to tabbar
- 1bad1cbe: Improved A11Y of Keypad
- 1f3fdc6c: Introduce analytics API
- 5f71cd01: Rearrange buttons in MathInput v2 keypad
- d609230e: Improve TypeScript types and documentation for Mathquill
- Updated dependencies [1f3fdc6c]
- @khanacademy/[email protected]
- bec7c91c: Update icons in MathInput's v2 keypad
- cf29ed88: Update layout of MathInput's keypad
- d497118e: MathInput exports tools for generating MathFields, replacing the need for direct MathQuill access
- e7d21b67: Add keypress logic from MathInput to key translator
- eceb4510: Updated aria-labels to be more descriptive and tests that used aria-labels.
- 31ed8380: Add math-input v2 keypad tests
- 937d2308: Added basic Cypress testing for the v2 math-input keypad
- a7f56710: add support for extraKeys to the v2 MathInput Keypad
- a7f56710: Make tabbar accept styles, create v2 keypad popover example
- c4b8d862: Type safety changes that touch our external exports. These are breaking changes to any consumers of the Key data and types.
- 0d352105: Added remaining missing keys for current pages
- e900688e: Centralize Key2MathQuill translator. TeXButtons send keypresses, not strings/functions anymore.
-
47055ffc: Switch several icons to Phosphor equivalents:
- All numbers 0-9
- Minus
- Plus
- Times
- Backspace
- Decimal (though this one is supposed to be a , per the code elsewhere)
- Period (same as decimal right now)
- Divide
- Equal
- Percent
- Centered Dot (same icon as Period/Decimal, without y-axis transform)
- Pi
- X with mathematical chi
- x with small mathematical chi
- Square root with "radical"
- Dismiss with caret
- Operators tab icon with "radical"
-
3a3c317d: Refactor MathWrapper to use shared key2MathQuill translator
- ec37eb3d: Export v2 keypad, rename v1 keypad to ProvidedKeypad
- 46417c53: add division key boolean
- 97438065: Add prop to Keypad to switch between · and × for multiplication
- 85d9132a: Added Basic Relations buttons
- 42297993: Add advanced relations buttons
- e86cc72f: Keypad API: Button sets on keypad switched to optional booleans. Added all designed button sets as props, but not all are yet implemented.
- c0a15907: adds logarithm buttons
- 1ffbe3ef:
- d9759ea6: Fix dom errors from SVG markup and adjust stories to remove warnings
- b585fe29: Switch most @khanacademy/math-input psuedo-enums to enums
- 0c1cf562: Removal of an unused keypad style
- 4c03a43d: Convert math-input to TS, changing the API in the process
- 22c5d564: Remove the use of React.FC<> and use types named Props/State in more components
- 8e8d85cd: Fix imported React types in a couple of files
- 1f062e98: Bump all package versions since the build settings have been updated
- 406edf6b: Extract strings to dist/string.js instead of dist/strings.
- 53fd3768: Migrate source code to TypeScript
- 2c843b38: Update to use wonder-blocks deps after migrating wonder-blocks to TS
- a1b4ab3c: Update wonder-blocks and wonder-stuff deps to fix an issue with wonder-stuff's generated flow types
- 6a7f36be: Update wonder-stuff and wonder-blocks dependencies
- c238d540: Wrap all ReactDOM.render() calls in
<RenderStateRoot>
to ensure it propagates properly
- 113953e8: Exports new types to support custom keypads:
CursorContext
,KeypadType
,KeyType
, andKey
- f567f660: Update the eslint config to look at both the package.json for the package and the one from the root
- bf180fe1: Fix our use of import/no-extraneous-dependencies
- 1a91b6c2: Adds missing wonder-blocks deps, makes wonder-blocks peerDeps
- 8fcd2a28: Inline the import of mathquill.css in math-input's main.less
- 98d283ff: Fix storybook
- 6f8f1ac9: Use wonder-blocks-i18n to determine the decimal separator
- f29b4975: Export the KeyConfigs type
- 96288b87: Export CursorContexts
- a15b0e86: Add 'perseus-build-settings' as a dev dep to packages that were missing it
- 591420a6: Add @flow comment to math-input's index.js and missing props to ProvidedKeypad
- ea57be17: Move math-input into khan/perseus repo (name changes to @khanacademy/math-input)
- 116df39b: Extract math-input strings from source and save them to packages/math-input/dist